1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/multimedia/gst123/Makefile
Mark Linimon fdb8fd2399 Fix build on gcc-based architectures:
/usr/local/lib/libgraphite2.so.3: undefined reference to '__cxa_throw_bad_array_new_length@CXXABI_1.3.8'

Approved by:	portmgr (tier-2 blanket)
2019-03-12 04:11:55 +00:00

40 lines
1000 B
Makefile

# Created by: Herbert J. Skuhra <h.skuhra@gmail.com>
# $FreeBSD$
PORTNAME= gst123
PORTVERSION= 0.3.3
PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= http://space.twc.de/~stefan/gst123/
MAINTAINER= h.skuhra@gmail.com
COMMENT= Command-line tool to play audio and video files
LICENSE= LGPL20
GNU_CONFIGURE= yes
USES= compiler:c++11-lang gmake ncurses pkgconfig tar:bzip2
USE_GNOME= gtk20
CONFIGURE_ENV= NCURSES5_CONFIG=/usr/bin/true
LDFLAGS+= -lncurses -L${LOCALBASE}/lib
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
.else
USE_GSTREAMER= good
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/docs/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>