diff options
author | MANTANI Nobutaka <nobutaka@FreeBSD.org> | 2006-08-27 12:47:13 +0000 |
---|---|---|
committer | MANTANI Nobutaka <nobutaka@FreeBSD.org> | 2006-08-27 12:47:13 +0000 |
commit | 65022425683a9127b15e338e37d2d95611f6297c (patch) | |
tree | 69edb2687fc5050eba2a5df8e142afca08f35da2 /multimedia/libxine | |
parent | 72509b52bb76e525bd968f21c6f1d0a6f18957b9 (diff) |
Notes
Diffstat (limited to 'multimedia/libxine')
-rw-r--r-- | multimedia/libxine/Makefile | 51 | ||||
-rw-r--r-- | multimedia/libxine/pkg-plist | 10 |
2 files changed, 43 insertions, 18 deletions
diff --git a/multimedia/libxine/Makefile b/multimedia/libxine/Makefile index 55e2657a96a5..d849b2258946 100644 --- a/multimedia/libxine/Makefile +++ b/multimedia/libxine/Makefile @@ -7,6 +7,7 @@ PORTNAME= xine PORTVERSION= 1.1.2 +PORTREVISION= 1 CATEGORIES= multimedia ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -16,11 +17,10 @@ DISTNAME= ${PORTNAME}-lib-${PORTVERSION} MAINTAINER= nobutaka@FreeBSD.org COMMENT= Libraries for xine multimedia player -BUILD_DEPENDS= ${LOCALBASE}/lib/libdjbfft.a:${PORTSDIR}/math/djbfft +BUILD_DEPENDS= ${LOCALBASE}/lib/libdts.a:${PORTSDIR}/multimedia/libdts LIB_DEPENDS= FLAC.7:${PORTSDIR}/audio/flac \ vorbis.3:${PORTSDIR}/audio/libvorbis \ speex.3:${PORTSDIR}/audio/speex \ - aa.1:${PORTSDIR}/graphics/aalib \ mng.1:${PORTSDIR}/graphics/libmng \ png.5:${PORTSDIR}/graphics/png \ dvdread.3:${PORTSDIR}/multimedia/libdvdread \ @@ -29,8 +29,8 @@ LIB_DEPENDS= FLAC.7:${PORTSDIR}/audio/flac \ cdio.7:${PORTSDIR}/sysutils/libcdio \ modplug.0:${PORTSDIR}/audio/libmodplug \ vcdinfo.2:${PORTSDIR}/multimedia/vcdimager \ - Wand.10:${PORTSDIR}/graphics/ImageMagick \ - theora.2:${PORTSDIR}/multimedia/libtheora + theora.2:${PORTSDIR}/multimedia/libtheora \ + mad.2:${PORTSDIR}/audio/libmad USE_BZIP2= yes USE_GETTEXT= yes @@ -38,7 +38,7 @@ USE_ICONV= yes USE_X_PREFIX= yes GNU_CONFIGURE= yes WANT_GNOME= yes -USE_GNOME= gnomehack gnometarget gtk20 +USE_GNOME= gnomehack gnometarget USE_GMAKE= yes USE_GL= yes USE_SDL= sdl @@ -50,7 +50,8 @@ CONFIGURE_ENV= CFLAGS="${CFLAGS} -fno-force-addr -I${LOCALBASE}/include -I${LOCA THREAD_LIBS="${PTHREAD_LIBS}" \ EXTRA_X_LIBS="-lGL -lGLU -lXext -lX11 -lm" CONFIGURE_ARGS= --with-w32-path=${LOCALBASE}/lib/win32 --enable-ipv6 \ - --mandir=${PREFIX}/man + --mandir=${PREFIX}/man --with-external-libmad \ + --with-external-libdts INSTALLS_SHLIB= yes MAN1= xine-config.1 @@ -104,13 +105,6 @@ PLIST_SUB+= WITH_POLYPAUDIO="@comment " CONFIGURE_ARGS+= --disable-polypaudio .endif -.if ${ARCH} == "i386" -PLIST_SUB+= WITH_VIDIX="" -.else -PLIST_SUB+= WITH_VIDIX="@comment " -CONFIGURE_ARGS+= --disable-vidix -.endif - .if !defined(WITHOUT_XVMC) && (exists(${X11BASE}/lib/libXvMCNVIDIA.so.1) || defined(WITH_XVMC)) CONFIGURE_ARGS+=--with-xvmc-lib=XvMCNVIDIA LIB_DEPENDS+= XvMCNVIDIA.1:${PORTSDIR}/x11/nvidia-driver @@ -127,6 +121,37 @@ PLIST_SUB+= WITH_SMB="@comment " CONFIGURE_ARGS+= --disable-samba .endif +.if !defined(WITHOUT_AALIB) && (exists(${LOCALBASE}/lib/libaa.so.1) || defined (WITH_AALIB)) +LIB_DEPENDS+= aa.1:${PORTSDIR}/graphics/aalib +PLIST_SUB+= WITH_AALIB="" +.else +PLIST_SUB+= WITH_AALIB="@comment " +CONFIGURE_ARGS+= --disable-aalib +.endif + +.if !defined(WITHOUT_IMAGEMAGICK) && (exists(${LOCALBASE}/lib/libWand.so.10) || defined (WITH_IMAGEMAGICK)) +LIB_DEPENDS+= Wand.10:${PORTSDIR}/graphics/ImageMagick +PLIST_SUB+= WITH_IMAGEMAGICK="" +.else +PLIST_SUB+= WITH_IMAGEMAGICK="@comment " +CONFIGURE_ARGS+= --disable-imagemagick +.endif + +.if !defined(WITHOUT_GTK2) && (exists(${X11BASE}/lib/libgtk-x11-2.0.so.0) || defined (WITH_GTK2)) +USE_GNOME+= gtk20 +PLIST_SUB+= WITH_GTK2="" +.else +PLIST_SUB+= WITH_GTK2="@comment " +CONFIGURE_ARGS+= --disable-gdkpixbuf +.endif + +.if ${ARCH} == "i386" +PLIST_SUB+= WITH_VIDIX="" +.else +PLIST_SUB+= WITH_VIDIX="@comment " +CONFIGURE_ARGS+= --disable-vidix +.endif + pre-everything:: @${ECHO_MSG} "===>" @${ECHO_MSG} "===> You can enable some features by defining following variables." diff --git a/multimedia/libxine/pkg-plist b/multimedia/libxine/pkg-plist index 56b83f7c661d..f2b9b48de294 100644 --- a/multimedia/libxine/pkg-plist +++ b/multimedia/libxine/pkg-plist @@ -72,9 +72,9 @@ lib/xine/plugins/1.1.2/xineplug_decode_dts.so lib/xine/plugins/1.1.2/xineplug_decode_dvaudio.so lib/xine/plugins/1.1.2/xineplug_decode_faad.so lib/xine/plugins/1.1.2/xineplug_decode_ff.so -lib/xine/plugins/1.1.2/xineplug_decode_gdk_pixbuf.so +%%WITH_GTK2%%lib/xine/plugins/1.1.2/xineplug_decode_gdk_pixbuf.so lib/xine/plugins/1.1.2/xineplug_decode_gsm610.so -lib/xine/plugins/1.1.2/xineplug_decode_image.so +%%WITH_IMAGEMAGICK%%lib/xine/plugins/1.1.2/xineplug_decode_image.so lib/xine/plugins/1.1.2/xineplug_decode_lpcm.so lib/xine/plugins/1.1.2/xineplug_decode_mad.so lib/xine/plugins/1.1.2/xineplug_decode_mpc.so @@ -91,7 +91,6 @@ lib/xine/plugins/1.1.2/xineplug_decode_spucmml.so lib/xine/plugins/1.1.2/xineplug_decode_spudvb.so lib/xine/plugins/1.1.2/xineplug_decode_sputext.so lib/xine/plugins/1.1.2/xineplug_decode_theora.so -%%WITH_CACA%%lib/xine/plugins/1.1.2/xineplug_vo_out_caca.so lib/xine/plugins/1.1.2/xineplug_decode_vorbis.so %%WITH_VIDIX%%lib/xine/plugins/1.1.2/xineplug_decode_w32dll.so lib/xine/plugins/1.1.2/xineplug_decode_yuv.so @@ -102,7 +101,7 @@ lib/xine/plugins/1.1.2/xineplug_dmx_fli.so lib/xine/plugins/1.1.2/xineplug_dmx_flv.so lib/xine/plugins/1.1.2/xineplug_dmx_games.so lib/xine/plugins/1.1.2/xineplug_dmx_iff.so -lib/xine/plugins/1.1.2/xineplug_dmx_image.so +%%WITH_IMAGEMAGICK%%lib/xine/plugins/1.1.2/xineplug_dmx_image.so lib/xine/plugins/1.1.2/xineplug_dmx_matroska.so lib/xine/plugins/1.1.2/xineplug_dmx_mng.so lib/xine/plugins/1.1.2/xineplug_dmx_mpeg.so @@ -136,7 +135,8 @@ lib/xine/plugins/1.1.2/xineplug_inp_rtsp.so lib/xine/plugins/1.1.2/xineplug_inp_stdin_fifo.so lib/xine/plugins/1.1.2/xineplug_inp_vcd.so lib/xine/plugins/1.1.2/xineplug_inp_vcdo.so -lib/xine/plugins/1.1.2/xineplug_vo_out_aa.so +%%WITH_AALIB%%lib/xine/plugins/1.1.2/xineplug_vo_out_aa.so +%%WITH_CACA%%lib/xine/plugins/1.1.2/xineplug_vo_out_caca.so lib/xine/plugins/1.1.2/xineplug_vo_out_none.so lib/xine/plugins/1.1.2/xineplug_vo_out_opengl.so lib/xine/plugins/1.1.2/xineplug_vo_out_sdl.so |