aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/mplayer/Makefile.shared
blob: 11252a4a785320346bca037634ea5b931fe38d76 (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
# Contains the build infrastructural definitions for both
# mplayer and mencoder....the variables that we need to set
# before we include bsd.port.pre.mk

MPLAYER_PORT_VERSION=   0.99.11
CATEGORIES?=    multimedia audio
MASTER_SITES=   http://www1.mplayerhq.hu/MPlayer/releases/ \
        http://www2.mplayerhq.hu/MPlayer/releases/ \
        http://ftp.lug.udel.edu/MPlayer/releases/ \
        http://www4.mplayerhq.hu/MPlayer/releases/ \
        http://mirrors.xmission.com/MPlayer/releases/ \
        ftp://ftp1.mplayerhq.hu/MPlayer/releases/ \
        ftp://ftp2.mplayerhq.hu/MPlayer/releases/ \
        ftp://ftp.lug.udel.edu/MPlayer/releases/ \
        ftp://mirrors.xmission.com/MPlayer/releases/ \
        http://www.rrr.de/~riggs/mplayer/
DISTNAME=   MPlayer-1.0rc2

MAINTAINER?=    riggs@rrr.de

PATCH_SITES=    http://www.mplayerhq.hu/MPlayer/patches/

LIB_DEPENDS=    png.5:${PORTSDIR}/graphics/png

USE_BZIP2=  yes
USE_GMAKE=  yes
USE_ICONV=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
        PTHREAD_LIBS=${PTHREAD_LIBS} \
        TMPDIR="${WRKSRC}"
CONFIGURE_ARGS= --enable-png \
        --enable-menu \
        --disable-faad-external \
        --disable-vidix-external \
        --disable-tv-v4l1 \
        --disable-tv-v4l2 \
        --disable-dvdnav

WANT_GNOME= yes
WANT_SDL=   yes