multimedia/gstreamer1-qt4, multimedia/gstreamer1-qt5: create flavors

Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D14641
This commit is contained in:
Tobias C. Berner 2018-04-14 14:02:49 +00:00
parent 0c47b51805
commit 976792c819
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=467319
14 changed files with 27 additions and 29 deletions

2
MOVED
View file

@ -10148,3 +10148,5 @@ devel/py-libusb115|devel/py-libusb1|2018-04-14|Unused and unmaintained upstream
devel/qca-qt5|devel/qca@qt5|2018-04-14|Moved to a flavoured version
devel/qjson-qt5|devel/qjson@qt5|2018-04-14|Moved to a flavoured version
sysutils/polkit-qt5|sysutils/polkit-qt@qt5|2018-04-14|Moved to flavoured version
multimedia/gstreamer1-qt4|multiemdia/gstreamer1-qt@qt4|2018-04-14|Moved to a flavoured version
multimedia/gstreamer1-qt5|multimedia/gstreamer1-qt@qt5|2018-04-14|Moved to a flavoured version

View file

@ -3,6 +3,7 @@
PORTNAME= lumina-mediaplayer
PORTVERSION= 1.4.1
PORTREVISION= 1
CATEGORIES= deskutils
MAINTAINER= jt@ixsystems.com
@ -10,7 +11,7 @@ COMMENT= Streaming media player from the Lumina Desktop
LICENSE= BSD3CLAUSE
RUN_DEPENDS= gstreamer1-qt5>=0:multimedia/gstreamer1-qt5 \
RUN_DEPENDS= gstreamer1-qt5>=0:multimedia/gstreamer1-qt@qt5 \
gstreamer1-plugins-gl>=0:graphics/gstreamer1-plugins-gl
OPTIONS_DEFINE= I18N

View file

@ -2,14 +2,14 @@
PORTNAME= kipi-plugin-${KIPI_PLUGIN}
PORTVERSION= ${DIGIKAM_VER}
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= graphics kde
MAINTAINER= kde@FreeBSD.org
COMMENT= ${${KIPI_PLUGIN}_DESC}
LIB_DEPENDS= libMagickCore-6.so:graphics/ImageMagick \
libQtGLib-2.0.so:multimedia/gstreamer1-qt4
libQtGLib-2.0.so:multimedia/gstreamer1-qt@qt4
KIPI_PLUGIN= videoslideshow
.include "${.CURDIR}/../digikam-kde4/Makefile.common"

View file

@ -2,13 +2,13 @@
PORTNAME= artikulate
PORTVERSION= ${KDE4_VERSION}
PORTREVISION= 9
PORTREVISION= 10
CATEGORIES= misc kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= Pronunciation trainer for KDE
LIB_DEPENDS= libQtGStreamer-1.0.so:multimedia/gstreamer1-qt4 \
LIB_DEPENDS= libQtGStreamer-1.0.so:multimedia/gstreamer1-qt@qt4 \
libboost_thread.so:devel/boost-libs
RUN_DEPENDS= ${LOCALBASE}/lib/kde4/imports/org/kde/charts/qmldir:graphics/kqtquickcharts-kde4

View file

@ -2,13 +2,14 @@
PORTNAME= artikulate
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
PORTREVISION= 1
CATEGORIES= misc kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= Pronunciation trainer for KDE
LIB_DEPENDS= libboost_thread.so:devel/boost-libs \
libQt5GStreamer-1.0.so:multimedia/gstreamer1-qt5
libQt5GStreamer-1.0.so:multimedia/gstreamer1-qt@qt5
USES= cmake:outsource gettext kde:5 tar:xz
USE_KDE= archive attica auth codecs config configwidgets coreaddons \

View file

@ -147,8 +147,7 @@
SUBDIR += gstreamer1-plugins-vpx
SUBDIR += gstreamer1-plugins-x264
SUBDIR += gstreamer1-plugins-x265
SUBDIR += gstreamer1-qt4
SUBDIR += gstreamer1-qt5
SUBDIR += gstreamer1-qt
SUBDIR += gstreamer1-rtsp-server
SUBDIR += gstreamer1-vaapi
SUBDIR += gstreamer1-validate

View file

@ -1,27 +1,35 @@
# $FreeBSD$
PORTNAME= gstreamer1-qt
PORTNAME= gstreamer1
PORTVERSION= 1.2.0
PORTREVISION?= 9
PORTREVISION= 10
CATEGORIES= multimedia
MASTER_SITES= http://gstreamer.freedesktop.org/src/qt-gstreamer/
PKGNAMESUFFIX?= 4
PKGNAMESUFFIX= -${FLAVOR}
DISTNAME= qt-gstreamer-${PORTVERSION}
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt ${PKGNAMESUFFIX} bindings for GStreamer 1.x multimedia library
COMMENT= Qt ${FLAVOR:C/qt//} bindings for GStreamer 1.x multimedia library
LIB_DEPENDS= libboost_thread.so:devel/boost-libs \
libgstreamer-1.0.so:multimedia/gstreamer1
CONFLICTS_INSTALL= gstreamer-qt${PKGNAMESUFFIX}-*
FLAVORS= qt4 qt5
FLAVOR?= ${FLAVORS:[1]}
CONFLICTS_INSTALL= gstreamer${PKGNAMESUFFIX}-*
USES= bison cmake:outsource pathfix pkgconfig tar:xz
USE_GSTREAMER1= yes
USE_GL= gl
USE_GNOME= glib20
. if ${PKGNAMESUFFIX:M4}
USE_LDCONFIG= yes
CMAKE_OFF= USE_GST_PLUGIN_DIR USE_QT_PLUGIN_DIR
CMAKE_ARGS= -DQT_VERSION=${FLAVOR:C/qt//}
. if ${FLAVOR} == qt4
USE_QT4= corelib gui opengl declarative script \
qmake_build moc_build rcc_build uic_build qtestlib_build
PLIST_SUB= QT4_ONLY="" QT5_ONLY="@comment "
@ -32,11 +40,6 @@ QTVER_SUFFIX= 5
PLIST_SUB= QT4_ONLY="@comment " QT5_ONLY=""
. endif
USE_LDCONFIG= yes
CMAKE_ARGS= -DUSE_GST_PLUGIN_DIR=off \
-DUSE_QT_PLUGIN_DIR=off \
-DQT_VERSION=${PKGNAMESUFFIX}
PLIST_SUB+= SHLIB_VER="${PORTVERSION}" \
QTVER_SUFFIX="${QTVER_SUFFIX}"

View file

@ -1,9 +0,0 @@
# $FreeBSD$
PORTNAME= gstreamer-qt
PORTREVISION= 6
PKGNAMESUFFIX= 5
MASTERDIR= ${.CURDIR:H}/gstreamer1-qt4
.include "${MASTERDIR}/Makefile"

View file

@ -2,13 +2,14 @@
PORTNAME= ktp-call-ui
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
PORTREVISION= 1
CATEGORIES= net-im kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= Voice/Video Call UI for Telepathy
LIB_DEPENDS= libKTpCommonInternals.so:net-im/ktp-common-internals \
libQt5GStreamer-1.0.so:multimedia/gstreamer1-qt5 \
libQt5GStreamer-1.0.so:multimedia/gstreamer1-qt@qt5 \
libboost_thread.so:devel/boost-libs \
libfarstream-0.2.so:net-im/farstream \
libtelepathy-farstream.so:net-im/telepathy-farstream \