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
|
|
|
|
2013-03-23 16:45:25 +01:00
|
|
|
MPLAYER_SNAPSHOT_DATE= 2013-03-08
|
2012-09-01 16:13:10 +02:00
|
|
|
MPLAYER_PORT_VERSION= 1.1.r${MPLAYER_SNAPSHOT_DATE:S/-//g}
|
2007-08-05 23:27:31 +02:00
|
|
|
CATEGORIES?= multimedia audio
|
2012-09-01 16:13:10 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
|
|
|
DISTNAME= mplayer-${MPLAYER_PORT_VERSION:S/.r/./g}
|
2010-04-21 15:07:23 +02:00
|
|
|
WRKSRC= ${WRKDIR}/mplayer-export-${MPLAYER_SNAPSHOT_DATE}
|
2007-08-05 23:27:31 +02:00
|
|
|
|
2012-02-02 09:42:05 +01:00
|
|
|
PROJECTHOST= bsdistfiles
|
|
|
|
|
2012-01-15 23:31:53 +01:00
|
|
|
MAINTAINER?= thomas.e.zander@googlemail.com
|
2007-08-05 23:27:31 +02:00
|
|
|
|
2010-08-03 14:37:29 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2012-06-01 07:26:28 +02:00
|
|
|
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \
|
2012-09-01 16:13:10 +02:00
|
|
|
freetype:${PORTSDIR}/print/freetype2
|
2007-08-05 23:27:31 +02:00
|
|
|
|
2010-12-02 10:18:01 +01:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/bin/yasm:${PORTSDIR}/devel/yasm
|
|
|
|
|
2013-05-06 17:34:17 +02:00
|
|
|
USES= iconv ncurses
|
2012-01-15 23:31:53 +01:00
|
|
|
USE_XZ= yes
|
2007-08-05 23:27:31 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
|
2010-04-21 15:07:23 +02:00
|
|
|
PTHREAD_LIBS="${PTHREAD_LIBS}" \
|
2007-08-05 23:27:31 +02:00
|
|
|
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" \
|
2011-04-01 13:09:36 +02:00
|
|
|
--disable-bitmap-font \
|
2012-01-15 23:31:53 +01:00
|
|
|
--disable-liba52 \
|
|
|
|
--disable-alsa \
|
2012-07-11 17:07:50 +02:00
|
|
|
--disable-libbs2b \
|
2013-02-13 11:39:13 +01:00
|
|
|
--disable-mp3lib \
|
2013-03-23 16:45:25 +01:00
|
|
|
--enable-ass-internal \
|
|
|
|
--disable-libvorbis \
|
|
|
|
--disable-speex \
|
|
|
|
--disable-libopus \
|
|
|
|
--disable-libilbc
|
2010-04-21 15:07:23 +02:00
|
|
|
|
2007-08-05 23:27:31 +02:00
|
|
|
WANT_GNOME= yes
|
|
|
|
WANT_SDL= yes
|