aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/mplayer/Makefile.shared
blob: 8edc0befa86ec4c7ca433e281aa4e3c6e97a80f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# 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?=    riggs@FreeBSD.org

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