summaryrefslogblamecommitdiff
path: root/multimedia/mplayer/Makefile.shared
blob: 185b612e1d9bd0ba310ad3bfb5d675c990a2ae3d (plain) (tree)
1
2
3
4
5



                                                           
                               










                                                               
                              



                                                        









                                                    
                            


                               


                                          


                                   


                   
# 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=	--cc=${CC} \
		--as=${AS} \
		--enable-png \
		--enable-menu \
		--disable-faad-external \
		--disable-vidix-external \
		--disable-tv-v4l1 \
		--disable-tv-v4l2 \
		--disable-dvdnav \
		--disable-dvdread

WANT_GNOME=	yes
WANT_SDL=	yes