Remove gstreamer 0.10 support
Only build with gstreamer 1 While here: - switch to USES=localbase - fix build with ports ncurses is installed (by forcing linking to libtinfo
This commit is contained in:
parent
9d065501c6
commit
ea7b5bb941
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=554692
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
PORTNAME= gst123
|
PORTNAME= gst123
|
||||||
PORTVERSION= 0.3.3
|
PORTVERSION= 0.3.3
|
||||||
PORTREVISION= 2
|
PORTREVISION= 3
|
||||||
CATEGORIES= multimedia
|
CATEGORIES= multimedia
|
||||||
MASTER_SITES= http://space.twc.de/~stefan/gst123/
|
MASTER_SITES= http://space.twc.de/~stefan/gst123/
|
||||||
|
|
||||||
@ -13,24 +13,15 @@ COMMENT= Command-line tool to play audio and video files
|
|||||||
LICENSE= LGPL20
|
LICENSE= LGPL20
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
USES= compiler:c++11-lang gmake gnome ncurses pkgconfig tar:bzip2
|
USES= compiler:c++11-lang localbase gmake gnome ncurses pkgconfig \
|
||||||
|
tar:bzip2
|
||||||
USE_GNOME= gtk20
|
USE_GNOME= gtk20
|
||||||
CONFIGURE_ENV= NCURSES5_CONFIG=/usr/bin/true
|
CONFIGURE_ENV= NCURSES5_CONFIG=/usr/bin/true
|
||||||
LDFLAGS+= -lncurses -L${LOCALBASE}/lib
|
LDFLAGS+= -ltinfo -lncurses
|
||||||
|
|
||||||
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
|
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
|
||||||
|
|
||||||
OPTIONS_DEFINE= GSTREAMER1
|
|
||||||
|
|
||||||
GSTREAMER1_DESC= Multimedia support via GStreamer 1.0 (instead of 0.10)
|
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MGSTREAMER1} || exists(${LOCALBASE}/libdata/pkgconfig/gstreamer-1.0.pc)
|
|
||||||
USE_GSTREAMER1= good
|
USE_GSTREAMER1= good
|
||||||
.else
|
|
||||||
USE_GSTREAMER= good
|
|
||||||
.endif
|
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||||
|
Loading…
Reference in New Issue
Block a user