aboutsummaryrefslogtreecommitdiff
path: root/multimedia/phonon-vlc/Makefile
diff options
context:
space:
mode:
authorThomas Zander <riggs@FreeBSD.org>2019-01-02 13:23:06 +0000
committerThomas Zander <riggs@FreeBSD.org>2019-01-02 13:23:06 +0000
commit7374a2e47b9afd20b1d2f4f22c9d6424c1311bf1 (patch)
tree68969996204f242a414b88c0463b4e93ba8d2468 /multimedia/phonon-vlc/Makefile
parent7e5cdafd8af0ad58f0cd934b56393c1089574a2f (diff)
Remove qt4 flavor due to removal of multimedia/vlc-qt4
Approved by: tcberner
Notes
Notes: svn path=/head/; revision=489082
Diffstat (limited to 'multimedia/phonon-vlc/Makefile')
-rw-r--r--multimedia/phonon-vlc/Makefile29
1 files changed, 3 insertions, 26 deletions
diff --git a/multimedia/phonon-vlc/Makefile b/multimedia/phonon-vlc/Makefile
index b8b82edc86e7..f1436d3f1a84 100644
--- a/multimedia/phonon-vlc/Makefile
+++ b/multimedia/phonon-vlc/Makefile
@@ -2,10 +2,10 @@
PORTNAME= phonon
DISTVERSION= 0.10.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= multimedia kde
MASTER_SITES= KDE/stable/${PORTNAME}/${PORTNAME}-backend-${PHONON_PLUGIN}/${DISTVERSION}
-PKGNAMESUFFIX= -${PHONON_PLUGIN}-${FLAVOR}
+PKGNAMESUFFIX= -${PHONON_PLUGIN}
DISTNAME= ${PORTNAME}-backend-${PHONON_PLUGIN}-${DISTVERSION}
DIST_SUBDIR= KDE/phonon
@@ -15,41 +15,18 @@ COMMENT= VLC backend for Phonon
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING.LIB
-FLAVORS= qt5 qt4
-FLAVOR?= ${FLAVORS:[1]}
-
-qt4_BUILD_DEPENDS= automoc4:devel/automoc4
-qt4_LIB_DEPENDS= libvlc.so:multimedia/vlc-qt4
-qt5_LIB_DEPENDS= libvlc.so:multimedia/vlc3
+LIB_DEPENDS= libvlc.so:multimedia/vlc3
USES= cmake pkgconfig tar:xz
-. if ${FLAVOR} == qt4
-DEPRECATED= Qt4 has been EOL since december 2015
-EXPIRATION_DATE=2019-03-15
-USES+= qt:4
-USE_QT= corelib gui phonon \
- qmake_build moc_build rcc_build uic_build
-PLIST_FILES= lib/kde4/plugins/phonon_backend/phonon_vlc.so \
- share/kde4/services/phononbackends/vlc.desktop \
- ${QT_PLUGINDIR}/phonon_backend/libphonon_vlc.so
-. else
USES+= compiler:c++11-lang kde:5 qt:5
USE_KDE= ecm
USE_QT= core gui widgets phonon4 \
buildtools_build qmake_build
CMAKE_ON= PHONON_BUILD_PHONON4QT5
PLIST_FILES= ${QT_PLUGINDIR_REL}/phonon4qt5_backend/phonon_vlc.so
-. endif
PHONON_PLUGIN= vlc
WRKSRC= ${WRKDIR}/${PORTNAME}-${PHONON_PLUGIN}-${DISTVERSION}
-. if ${FLAVOR} == qt4
-post-install:
- ${MKDIR} ${STAGEDIR}${QT_PLUGINDIR}/phonon_backend
- ${RLN} ${STAGEDIR}${PREFIX}/lib/kde4/plugins/phonon_backend/phonon_vlc.so \
- ${STAGEDIR}${QT_PLUGINDIR}/phonon_backend/libphonon_vlc.so
-. endif
-
.include <bsd.port.mk>