freebsd-ports/multimedia/mplayer/Makefile.shared
Thierry Thomas f8cfface7c . Update to 1.1.20131223
. This addresses multiple mplayer + mencoder problems:
- Wrong aspect ratio in certain (old) h264 files
  (Thanks Carl + Reimar for fixing this upstream)
- Proper handling of RTCPU. Fixes ports/184937 and ports/153776
- Remove explicit cat pkg_messag. Fixes ports/184945
- Dependency registration on screensaver works now. Fixes ports/177721

PR:		ports/185142
Submitted by:	Thomas Zander (maintainer)
2013-12-24 17:26:22 +00:00

54 lines
1.4 KiB
Text

# Contains the build infrastructural definitions for both
# mplayer and mencoder....the variables that we need to set
# before we include bsd.port.pre.mk
#
# $FreeBSD$
MPLAYER_SNAPSHOT_DATE= 2013-12-23
MPLAYER_PORT_VERSION= 1.1.r${MPLAYER_SNAPSHOT_DATE:S/-//g}
CATEGORIES?= multimedia audio
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
DISTNAME= mplayer-${MPLAYER_PORT_VERSION:S/.r/./g}
WRKSRC= ${WRKDIR}/mplayer-export-${MPLAYER_SNAPSHOT_DATE}
PROJECTHOST= bsdistfiles
MAINTAINER?= thomas.e.zander@googlemail.com
LICENSE= GPLv2
LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \
libfreetype.so:${PORTSDIR}/print/freetype2
BUILD_DEPENDS= ${LOCALBASE}/bin/yasm:${PORTSDIR}/devel/yasm
USES= gmake iconv ncurses
USE_XZ= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}" \
TMPDIR="${WRKSRC}"
CONFIGURE_ARGS= --cc="${CC}" \
--host-cc="${CC}" \
--as="${AS}" \
--extra-cflags="-I${PREFIX}/include -I${LOCALBASE}/include" \
--extra-libs="-L${PREFIX}/lib" \
--disable-alsa \
--disable-bitmap-font \
--disable-crystalhd \
--disable-faad \
--disable-liba52 \
--disable-libbs2b \
--disable-libilbc \
--disable-libnut \
--disable-libvorbis \
--disable-live \
--disable-joystick \
--disable-mad \
--disable-mp3lib \
--disable-nemesi \
--disable-speex \
--enable-ass-internal
WANT_GNOME= yes
WANT_SDL= yes