aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/dvbcut
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/dvbcut')
-rw-r--r--multimedia/dvbcut/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/multimedia/dvbcut/Makefile b/multimedia/dvbcut/Makefile
index ffc6c04a2819..aa99f5ec1c3b 100644
--- a/multimedia/dvbcut/Makefile
+++ b/multimedia/dvbcut/Makefile
@@ -21,8 +21,10 @@ LIB_DEPENDS= liba52.so:audio/liba52 \
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= compiler:c++11-lang desktop-file-utils pkgconfig \
- qmake:outsource shared-mime-info
+ qmake:outsource qt:5 shared-mime-info
+USE_QT= core gui widgets xml buildtools_build linguisttools_build
+USE_GL= gl
USE_GITHUB= yes
GH_ACCOUNT= bernhardu
GH_PROJECT= dvbcut-deb
@@ -36,12 +38,6 @@ CXXFLAGS+= -I${LOCALBASE}/include \
QMAKE_SOURCE_PATH=${WRKSRC}/src
QMAKE_ARGS= LRELEASE="${LRELEASE}"
-OPTIONS_DEFINE= QT5
-OPTIONS_DEFAULT= QT5
-
-QT5_USES= qt:5
-QT5_USE= QT=core,gui,widgets,xml,buildtools_build,linguisttools_build GL=gl
-
post-build:
@${SED} -e 's;@prefix@;${PREFIX};' \
< ${WRKSRC}/dvbcut.desktop.in \