2007-08-05 23:27:31 +02:00
|
|
|
# Contains the build infrastructural definitions for both
|
|
|
|
# mplayer and mencoder....the variables that we need to set
|
|
|
|
# before we include bsd.port.pre.mk
|
2011-08-21 10:11:55 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2007-08-05 23:27:31 +02:00
|
|
|
|
2016-02-27 18:48:11 +01:00
|
|
|
MPLAYER_PORT_VERSION= 1.3.0
|
2016-05-08 20:05:42 +02:00
|
|
|
MPLAYER_SNAPSHOT_DATE= 2016-05-08
|
2016-04-09 20:48:45 +02:00
|
|
|
MASTER_SITES= LOCAL/riggs/mplayer
|
|
|
|
DISTNAME= mplayer-${MPLAYER_PORT_VERSION}.${MPLAYER_SNAPSHOT_DATE:S/-//g}
|
|
|
|
WRKSRC= ${WRKDIR}/mplayer-export-${MPLAYER_SNAPSHOT_DATE}
|
2007-08-05 23:27:31 +02:00
|
|
|
|
2010-08-03 14:37:29 +02:00
|
|
|
LICENSE= GPLv2
|
2015-08-23 18:41:23 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
2010-08-03 14:37:29 +02:00
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
LIB_DEPENDS= libpng.so:graphics/png \
|
|
|
|
libfreetype.so:print/freetype2
|
2007-08-05 23:27:31 +02:00
|
|
|
|
2016-02-27 18:48:11 +01:00
|
|
|
USES= compiler:c11 gmake iconv ncurses tar:xz
|
2007-08-05 23:27:31 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2015-03-25 18:36:47 +01:00
|
|
|
CONFIGURE_ENV= TMPDIR="${WRKSRC}"
|
2012-01-15 23:31:53 +01:00
|
|
|
CONFIGURE_ARGS= --cc="${CC}" \
|
|
|
|
--host-cc="${CC}" \
|
|
|
|
--as="${AS}" \
|
|
|
|
--extra-cflags="-I${PREFIX}/include -I${LOCALBASE}/include" \
|
|
|
|
--extra-libs="-L${PREFIX}/lib" \
|
2013-12-15 19:50:51 +01:00
|
|
|
--disable-alsa \
|
2011-04-01 13:09:36 +02:00
|
|
|
--disable-bitmap-font \
|
2013-12-15 19:50:51 +01:00
|
|
|
--disable-crystalhd \
|
2014-04-27 16:22:25 +02:00
|
|
|
--disable-esd \
|
2013-12-15 19:50:51 +01:00
|
|
|
--disable-faad \
|
2014-04-27 16:22:25 +02:00
|
|
|
--disable-ggi \
|
|
|
|
--disable-ggiwmh \
|
2012-01-15 23:31:53 +01:00
|
|
|
--disable-liba52 \
|
2012-07-11 17:07:50 +02:00
|
|
|
--disable-libbs2b \
|
2014-12-29 09:39:33 +01:00
|
|
|
--disable-libdirac-lavc \
|
2013-12-15 19:50:51 +01:00
|
|
|
--disable-libilbc \
|
|
|
|
--disable-libnut \
|
2013-03-23 16:45:25 +01:00
|
|
|
--disable-libvorbis \
|
2013-12-15 19:50:51 +01:00
|
|
|
--disable-live \
|
|
|
|
--disable-joystick \
|
|
|
|
--disable-mad \
|
2014-04-27 16:22:25 +02:00
|
|
|
--disable-libmpeg2 \
|
2013-12-15 19:50:51 +01:00
|
|
|
--disable-nemesi \
|
2016-08-09 20:03:57 +02:00
|
|
|
--disable-real \
|
2013-12-15 19:50:51 +01:00
|
|
|
--enable-ass-internal
|
2010-04-21 15:07:23 +02:00
|
|
|
|
2007-08-05 23:27:31 +02:00
|
|
|
WANT_GNOME= yes
|