Changeset View
Changeset View
Standalone View
Standalone View
multimedia/gstreamer1-qt4/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= gstreamer | PORTNAME= gstreamer1-qt | ||||
PORTVERSION= 1.2.0 | PORTVERSION= 1.2.0 | ||||
PORTREVISION= 1 | PORTREVISION?= 2 | ||||
CATEGORIES= multimedia | CATEGORIES= multimedia | ||||
MASTER_SITES= http://gstreamer.freedesktop.org/src/qt-${PORTNAME}/ | MASTER_SITES= http://gstreamer.freedesktop.org/src/qt-gstreamer/ | ||||
PKGNAMESUFFIX= 1-qt4 | PKGNAMESUFFIX?= 4 | ||||
DISTNAME= qt-${PORTNAME}-${PORTVERSION} | DISTNAME= qt-gstreamer-${PORTVERSION} | ||||
MAINTAINER= kde@FreeBSD.org | MAINTAINER= kde@FreeBSD.org | ||||
COMMENT= Qt 4 bindings for GStreamer 1.x multimedia library | COMMENT= Qt ${PKGNAMESUFFIX} bindings for GStreamer 1.x multimedia library | ||||
LIB_DEPENDS= libboost_thread.so:devel/boost-libs | LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ | ||||
libgstreamer-1.0.so:multimedia/gstreamer1 | |||||
CONFLICTS_INSTALL= gstreamer-qt4-* | CONFLICTS_INSTALL= gstreamer-qt${PKGNAMESUFFIX}-* | ||||
mat: I think this is wrong. | |||||
tcbernerAuthorUnsubmitted Not Done Inline ActionsPreviously gstreamer1-qt4 had a conflict with gstreamer-qt4, now it does with gstreamer-qt${evaluates to 4}.
Am I missing something? -- yes, there is no gstreamer-qt5, so that conflict points to nirvana for the qt5 one. Is that the issue? tcberner: Previously `gstreamer1-qt4` had a conflict with `gstreamer-qt4`, now it does with `gstreamer… | |||||
matUnsubmitted Not Done Inline ActionsOh, ok, yes, did not see the 1 difference. I thought the qt4/qt5 ports were supposed to conflict each-other and that the qt4 was in conflict with itself 😅 mat: Oh, ok, yes, did not see the `1` difference. I thought the qt4/qt5 ports were supposed to… | |||||
USES= bison cmake:outsource pathfix pkgconfig tar:xz | USES= bison cmake:outsource pathfix pkgconfig tar:xz | ||||
USE_GSTREAMER1= yes | USE_GSTREAMER1= yes | ||||
USE_QT4= corelib gui opengl declarative \ | |||||
USE_GL= gl | |||||
USE_GNOME= glib20 | |||||
. if ${PKGNAMESUFFIX:M4} | |||||
USE_QT4= corelib gui opengl declarative script \ | |||||
qmake_build moc_build rcc_build uic_build qtestlib_build | qmake_build moc_build rcc_build uic_build qtestlib_build | ||||
PLIST_SUB= QT4_ONLY="" QT5_ONLY="@comment " | |||||
. else | |||||
USE_QT5= buildtools_build qmake_build core gui network opengl \ | |||||
qml quick testlib widgets | |||||
QTVER_SUFFIX= 5 | |||||
PLIST_SUB= QT4_ONLY="@comment " QT5_ONLY="" | |||||
. endif | |||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
CMAKE_ARGS= -DUSE_GST_PLUGIN_DIR=off \ | CMAKE_ARGS= -DUSE_GST_PLUGIN_DIR=off \ | ||||
-DUSE_QT_PLUGIN_DIR=off | -DUSE_QT_PLUGIN_DIR=off \ | ||||
-DQT_VERSION=${PKGNAMESUFFIX} | |||||
PLIST_SUB= SHLIB_VER="${PORTVERSION}" | PLIST_SUB+= SHLIB_VER="${PORTVERSION}" \ | ||||
QTVER_SUFFIX="${QTVER_SUFFIX}" | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |
I think this is wrong.