diff options
author | nobutaka <nobutaka@FreeBSD.org> | 2001-12-01 03:53:00 +0800 |
---|---|---|
committer | nobutaka <nobutaka@FreeBSD.org> | 2001-12-01 03:53:00 +0800 |
commit | 53d74751dc145e2db5ca7f25e9c4534014c1e0a1 (patch) | |
tree | aa90f876be2639ffb94a610a5c214f0ef5d59903 /multimedia/libxine | |
parent | fc06e4a76409be2601f9444fdff007a71a6e78dd (diff) | |
download | freebsd-ports-gnome-53d74751dc145e2db5ca7f25e9c4534014c1e0a1.tar.gz freebsd-ports-gnome-53d74751dc145e2db5ca7f25e9c4534014c1e0a1.tar.zst freebsd-ports-gnome-53d74751dc145e2db5ca7f25e9c4534014c1e0a1.zip |
Update xine and libxine to 0.9.6.
Submitted by: lioux (for updating to 0.9.3)
Reviewed by: knu
Diffstat (limited to 'multimedia/libxine')
-rw-r--r-- | multimedia/libxine/Makefile | 16 | ||||
-rw-r--r-- | multimedia/libxine/distinfo | 3 | ||||
-rw-r--r-- | multimedia/libxine/files/patch-src:libffmpeg:Makefile.am | 13 | ||||
-rw-r--r-- | multimedia/libxine/files/patch-src:liblpcm:xine_decoder.c | 11 | ||||
-rw-r--r-- | multimedia/libxine/files/patch-src:xine-utils:Makefile.am | 12 | ||||
-rw-r--r-- | multimedia/libxine/pkg-plist | 15 |
6 files changed, 53 insertions, 17 deletions
diff --git a/multimedia/libxine/Makefile b/multimedia/libxine/Makefile index 1305034043d4..cb0c75430077 100644 --- a/multimedia/libxine/Makefile +++ b/multimedia/libxine/Makefile @@ -6,7 +6,7 @@ # PORTNAME= xine -PORTVERSION= 0.9.2 +PORTVERSION= 0.9.6 CATEGORIES= graphics MASTER_SITES= http://xine.sourceforge.net/files/ \ ${MASTER_SITE_SOURCEFORGE} @@ -21,12 +21,12 @@ LIB_DEPENDS= a52.0:${PORTSDIR}/audio/liba52 \ aa.1:${PORTSDIR}/graphics/aalib WRKSRC= ${WRKDIR}/${PORTNAME}-lib-${PORTVERSION} +CONFIGURE_ARGS= --with-w32-path=${LOCALBASE}/lib/win32 USE_AUTOMAKE= yes USE_GMAKE= yes USE_X_PREFIX= yes USE_IMLIB= yes USE_ESOUND= yes -CONFIGURE_ARGS= --with-w32-path=${LOCALBASE}/lib/win32 INSTALLS_SHLIB= yes MAN1= xine-config.1 @@ -71,6 +71,8 @@ PLIST_SUB+= HAVE_OGG="" PLIST_SUB+= HAVE_OGG="@comment " .endif +# DVD input plugin for xine-0.9.5 is not available yet. +.if 0 .if defined(WITH_CSS) # http://members.home.nl/mphm.janssen/linuxvideo/linuxvideo.html MASTER_SITES+= http://members.home.nl/mphm.janssen/files/ @@ -81,19 +83,29 @@ LIB_DEPENDS+= dvdcss.0:${PORTSDIR}/graphics/libdvdcss PLUGIN_CSS= dvd-plugin-${PLUGIN_CSS_VERSION} PLUGIN_CSS_VERSION= 0.4 .endif +.endif pre-everything:: +.if 0 .if !defined(WITH_CSS) @${ECHO_MSG} "====>" @${ECHO_MSG} "====> To enable css support, define WITH_CSS" @${ECHO_MSG} "====>" .endif +.endif + +# XXX: To avoid internal error in gcc. +post-configure: + @${SED} -e "s/-funroll-loops//" < ${WRKSRC}/src/libw32dll/wine/Makefile > ${WRKSRC}/src/libw32dll/wine/Makefile.tmp + @${MV} ${WRKSRC}/src/libw32dll/wine/Makefile.tmp ${WRKSRC}/src/libw32dll/wine/Makefile post-patch: +.if 0 .if defined(WITH_CSS) @${PERL} -pi.orig -e 's/(xineplug_inp_dvd_la_LDFLAGS = -avoid-version -module)/\1 -ldvdcss/' \ ${WRKSRC}/src/input/Makefile.am @${CP} -f ${WRKDIR}/${PLUGIN_CSS}/*.[ch] ${WRKSRC}/src/input .endif +.endif .include <bsd.port.post.mk> diff --git a/multimedia/libxine/distinfo b/multimedia/libxine/distinfo index 65238d50b364..cbea96d23a66 100644 --- a/multimedia/libxine/distinfo +++ b/multimedia/libxine/distinfo @@ -1,2 +1 @@ -MD5 (xine-lib-0.9.2.tar.gz) = 5806ced82d5ccd95a94020e73152473c -MD5 (dvd-plugin-0.4.tar.gz) = 3b3020690cf16ada39bcc5385cbfd338 +MD5 (xine-lib-0.9.6.tar.gz) = 24029e1afc6f12fc1dec81a733f895f3 diff --git a/multimedia/libxine/files/patch-src:libffmpeg:Makefile.am b/multimedia/libxine/files/patch-src:libffmpeg:Makefile.am index 587a80910811..3ad31f89d757 100644 --- a/multimedia/libxine/files/patch-src:libffmpeg:Makefile.am +++ b/multimedia/libxine/files/patch-src:libffmpeg:Makefile.am @@ -1,5 +1,5 @@ ---- src/libffmpeg/Makefile.am.orig Fri Oct 19 21:19:47 2001 -+++ src/libffmpeg/Makefile.am Fri Oct 19 21:23:02 2001 +--- src/libffmpeg/Makefile.am.orig Tue Nov 27 03:34:06 2001 ++++ src/libffmpeg/Makefile.am Thu Nov 29 17:26:16 2001 @@ -2,7 +2,6 @@ ## Process this file with automake to produce Makefile.in ## @@ -8,18 +8,15 @@ CFLAGS = @GLOBAL_CFLAGS@ -@@ -13,12 +12,9 @@ +@@ -13,9 +12,8 @@ lib_LTLIBRARIES = xineplug_decode_ff.la xineplug_decode_ff_la_SOURCES = xine_decoder.c -+xineplug_decode_ff_la_LIBADD = -lavcodec -+xineplug_decode_ff_la_LDFLAGS = -avoid-version -module - -xineplug_decode_ff_la_LDFLAGS = \ - $(top_builddir)/src/libffmpeg/libavcodec/libavcodec.la \ - -avoid-version -module -- --noinst_HEADERS = config.h ++xineplug_decode_ff_la_LIBADD = -lavcodec ++xineplug_decode_ff_la_LDFLAGS = -avoid-version -module debug: @list='$(SUBDIRS)'; for subdir in $$list; do \ diff --git a/multimedia/libxine/files/patch-src:liblpcm:xine_decoder.c b/multimedia/libxine/files/patch-src:liblpcm:xine_decoder.c new file mode 100644 index 000000000000..7099b9ce9ce8 --- /dev/null +++ b/multimedia/libxine/files/patch-src:liblpcm:xine_decoder.c @@ -0,0 +1,11 @@ +--- src/liblpcm/xine_decoder.c.orig Fri Nov 30 20:46:02 2001 ++++ src/liblpcm/xine_decoder.c Fri Nov 30 20:46:23 2001 +@@ -117,7 +117,7 @@ + + stream_be = ( buf->type == BUF_AUDIO_LPCM_BE ); + if (stream_be != this->cpu_be) +- swab (audio_buffer->mem, sample_buffer, buf->size); ++ swab (sample_buffer, audio_buffer->mem, buf->size); + else + memcpy (audio_buffer->mem, sample_buffer, buf->size); + diff --git a/multimedia/libxine/files/patch-src:xine-utils:Makefile.am b/multimedia/libxine/files/patch-src:xine-utils:Makefile.am new file mode 100644 index 000000000000..b32ff6a3f970 --- /dev/null +++ b/multimedia/libxine/files/patch-src:xine-utils:Makefile.am @@ -0,0 +1,12 @@ +--- src/xine-utils/Makefile.am.orig Thu Nov 8 02:41:14 2001 ++++ src/xine-utils/Makefile.am Thu Nov 8 02:41:46 2001 +@@ -16,8 +16,7 @@ + -lm + + libxineutils_la_LDFLAGS = \ +- -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \ +- -release $(LT_RELEASE) ++ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) + + include_HEADERS = attributes.h cpu_accel.h memcpy.h utils.h monitor.h + diff --git a/multimedia/libxine/pkg-plist b/multimedia/libxine/pkg-plist index c57d7e0d8d4b..b47cb2196c51 100644 --- a/multimedia/libxine/pkg-plist +++ b/multimedia/libxine/pkg-plist @@ -1,26 +1,29 @@ bin/xine-config -include/dxr3_overlay.h include/xine/attributes.h include/xine/audio_out.h include/xine/buffer.h include/xine/configfile.h -include/xine/cpu_accel.h include/xine/demux.h +include/xine/dxr3_video_out.h +include/xine/dxr3_vo_encoder.h include/xine/events.h include/xine/input_plugin.h +include/xine/lrb.h include/xine/metronom.h -include/xine/monitor.h include/xine/resample.h include/xine/spu_decoder.h include/xine/spu_decoder_api.h -include/xine/utils.h include/xine/video_out.h include/xine/video_out_x11.h include/xine/xine_internal.h +include/xine/xineutils.h include/xine.h lib/libxine.la lib/libxine.so -lib/libxine.so.0 +lib/libxine.so.5 +lib/libxineutils.la +lib/libxineutils.so +lib/libxineutils.so.5 %%HAVE_ARTS%%lib/xine/plugins/xineplug_ao_out_arts.la %%HAVE_ARTS%%lib/xine/plugins/xineplug_ao_out_arts.so lib/xine/plugins/xineplug_ao_out_esd.la @@ -73,6 +76,8 @@ lib/xine/plugins/xineplug_inp_dvd.la lib/xine/plugins/xineplug_inp_dvd.so lib/xine/plugins/xineplug_inp_file.la lib/xine/plugins/xineplug_inp_file.so +lib/xine/plugins/xineplug_inp_http.la +lib/xine/plugins/xineplug_inp_http.so lib/xine/plugins/xineplug_inp_net.la lib/xine/plugins/xineplug_inp_net.so lib/xine/plugins/xineplug_inp_rtp.la |