mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
bbc8c4d740
Approved by: portmgr (not really, but touches unstaged ports)
39 lines
1.0 KiB
Makefile
39 lines
1.0 KiB
Makefile
# Created by: Dima Panov <fluffy@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gstreamer
|
|
PORTVERSION= 0.10.3
|
|
PORTREVISION= 2
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= http://gstreamer.freedesktop.org/src/qt-${PORTNAME}/
|
|
PKGNAMESUFFIX= -qt4
|
|
DISTNAME= qt-${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= fluffy@FreeBSD.org
|
|
COMMENT= Qt4 bindings for GStreamer multimedia library
|
|
|
|
LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
|
|
|
|
LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs
|
|
|
|
USES= bison cmake gmake pkgconfig tar:bzip2
|
|
USE_LDCONFIG= yes
|
|
USE_GSTREAMER= yes
|
|
USE_GNOME= glib20
|
|
USE_KDE4= automoc4
|
|
USE_QT4= corelib gui opengl declarative \
|
|
qmake_build moc_build rcc_build uic_build qtestlib_build
|
|
|
|
PLIST_SUB= VERSION="${PORTVERSION}" GST_VERSION="${GST_VERSION}"
|
|
|
|
GST_VERSION= ${PORTVERSION:C/..$//}
|
|
|
|
CMAKE_ARGS+= -DCMAKE_INCLUDE_PATH:STRING="${LOCALBASE}/include"
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
post-extract:
|
|
${REINPLACE_CMD} -e 's|$${CMAKE_INSTALL_LIBDIR}/pkgconfig|$${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig|' \
|
|
${WRKSRC}/CMakeLists.txt
|
|
|
|
.include <bsd.port.mk>
|