From ea7b5bb941b197c5a31f2fee54f9e0dcecec0bbd Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Mon, 9 Nov 2020 08:58:30 +0000 Subject: [PATCH] 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 --- multimedia/gst123/Makefile | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/multimedia/gst123/Makefile b/multimedia/gst123/Makefile index 65857c9a2089..5c330192ab37 100644 --- a/multimedia/gst123/Makefile +++ b/multimedia/gst123/Makefile @@ -3,7 +3,7 @@ PORTNAME= gst123 PORTVERSION= 0.3.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= multimedia MASTER_SITES= http://space.twc.de/~stefan/gst123/ @@ -13,24 +13,15 @@ COMMENT= Command-line tool to play audio and video files LICENSE= LGPL20 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 CONFIGURE_ENV= NCURSES5_CONFIG=/usr/bin/true -LDFLAGS+= -lncurses -L${LOCALBASE}/lib +LDFLAGS+= -ltinfo -lncurses 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 - -.if ${PORT_OPTIONS:MGSTREAMER1} || exists(${LOCALBASE}/libdata/pkgconfig/gstreamer-1.0.pc) USE_GSTREAMER1= good -.else -USE_GSTREAMER= good -.endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin