diff --git a/graphics/vlc/Makefile b/graphics/vlc/Makefile index 68407b6a3842..8fc791328602 100644 --- a/graphics/vlc/Makefile +++ b/graphics/vlc/Makefile @@ -7,6 +7,7 @@ PORTNAME= vlc PORTVERSION= 0.2.82 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://www.videolan.org/pub/videolan/vlc/${PORTVERSION}/ \ ftp://ftp.Awfulhak.org/pub/vlc/ \ @@ -16,12 +17,23 @@ MAINTAINER= brian@Awfulhak.org LIB_DEPENDS= SDL-1.1:${PORTSDIR}/devel/sdl12 -HAS_CONFIGURE= yes -CONFIGURE_ENV= PATH_GTKCONFIG="${PREFIX}/bin/gtk12-config" \ - CPPFLAGS="-I${LOCALBASE}/include" \ +GNU_CONFIGURE= yes +CONFIGURE_ENV= PATH_GTKCONFIG="${GTK_CONFIG}" \ + CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ LDFLAGS="-L${LOCALBASE}/lib" USE_GTK= yes USE_GMAKE= yes USE_BZIP2= yes -.include +post-patch: + ${PERL} -pi.orig -e 's,-lpthread,${PTHREAD_LIBS},g' ${WRKSRC}/configure + +.include + +.if ${XFREE86_VERSION} == 4 +PLIST_SUB= XF4="" +.else +PLIST_SUB= XF4="@comment " +.endif + +.include diff --git a/graphics/vlc/files/patch-Makefile.opts.in b/graphics/vlc/files/patch-Makefile.opts.in new file mode 100644 index 000000000000..23b7d5b96c22 --- /dev/null +++ b/graphics/vlc/files/patch-Makefile.opts.in @@ -0,0 +1,18 @@ +--- Makefile.opts.in.orig Tue Aug 7 19:55:49 2001 ++++ Makefile.opts.in Sun Aug 12 15:01:13 2001 +@@ -200,6 +200,7 @@ + CFLAGS += -fnative-struct -D_OFF_T_ -D_off_t=long + endif + ++ifeq ($(MODIFY_CFLAGS),1) + ifneq (,$(findstring bsd,$(SYS))) + CFLAGS += -pthread + endif +@@ -235,6 +236,7 @@ + endif + + #end of optimisations ++endif + endif + + # diff --git a/graphics/vlc/files/patch-configure b/graphics/vlc/files/patch-configure new file mode 100644 index 000000000000..d2a8c34e446d --- /dev/null +++ b/graphics/vlc/files/patch-configure @@ -0,0 +1,14 @@ +--- configure.orig Tue Aug 7 19:55:49 2001 ++++ configure Sun Aug 12 15:36:05 2001 +@@ -3924,10 +3924,7 @@ + + if test x$enable_dsp != xno + then +- if test -c /dev/dsp +- then +- PLUGINS="${PLUGINS} dsp" +- fi ++ PLUGINS="${PLUGINS} dsp" + fi + + # Check whether --enable-esd or --disable-esd was given. diff --git a/graphics/vlc/pkg-plist b/graphics/vlc/pkg-plist index f20dd09a6c33..b609b33b925a 100644 --- a/graphics/vlc/pkg-plist +++ b/graphics/vlc/pkg-plist @@ -2,12 +2,14 @@ bin/vlc bin/gvlc include/videolan/dvdcss.h lib/libdvdcss.a +lib/libdvdcss.so +lib/libdvdcss.so.0 lib/libdvdcss.so.0.0.2 lib/videolan/vlc/dsp.so lib/videolan/vlc/gtk.so lib/videolan/vlc/sdl.so lib/videolan/vlc/x11.so -lib/videolan/vlc/xvideo.so +%%XF4%%lib/videolan/vlc/xvideo.so share/videolan/default8x16.psf share/videolan/default8x9.psf share/videolan/gnome-vlc.png diff --git a/multimedia/vlc-devel/Makefile b/multimedia/vlc-devel/Makefile index 68407b6a3842..8fc791328602 100644 --- a/multimedia/vlc-devel/Makefile +++ b/multimedia/vlc-devel/Makefile @@ -7,6 +7,7 @@ PORTNAME= vlc PORTVERSION= 0.2.82 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://www.videolan.org/pub/videolan/vlc/${PORTVERSION}/ \ ftp://ftp.Awfulhak.org/pub/vlc/ \ @@ -16,12 +17,23 @@ MAINTAINER= brian@Awfulhak.org LIB_DEPENDS= SDL-1.1:${PORTSDIR}/devel/sdl12 -HAS_CONFIGURE= yes -CONFIGURE_ENV= PATH_GTKCONFIG="${PREFIX}/bin/gtk12-config" \ - CPPFLAGS="-I${LOCALBASE}/include" \ +GNU_CONFIGURE= yes +CONFIGURE_ENV= PATH_GTKCONFIG="${GTK_CONFIG}" \ + CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ LDFLAGS="-L${LOCALBASE}/lib" USE_GTK= yes USE_GMAKE= yes USE_BZIP2= yes -.include +post-patch: + ${PERL} -pi.orig -e 's,-lpthread,${PTHREAD_LIBS},g' ${WRKSRC}/configure + +.include + +.if ${XFREE86_VERSION} == 4 +PLIST_SUB= XF4="" +.else +PLIST_SUB= XF4="@comment " +.endif + +.include diff --git a/multimedia/vlc-devel/files/patch-Makefile.opts.in b/multimedia/vlc-devel/files/patch-Makefile.opts.in new file mode 100644 index 000000000000..23b7d5b96c22 --- /dev/null +++ b/multimedia/vlc-devel/files/patch-Makefile.opts.in @@ -0,0 +1,18 @@ +--- Makefile.opts.in.orig Tue Aug 7 19:55:49 2001 ++++ Makefile.opts.in Sun Aug 12 15:01:13 2001 +@@ -200,6 +200,7 @@ + CFLAGS += -fnative-struct -D_OFF_T_ -D_off_t=long + endif + ++ifeq ($(MODIFY_CFLAGS),1) + ifneq (,$(findstring bsd,$(SYS))) + CFLAGS += -pthread + endif +@@ -235,6 +236,7 @@ + endif + + #end of optimisations ++endif + endif + + # diff --git a/multimedia/vlc-devel/files/patch-configure b/multimedia/vlc-devel/files/patch-configure new file mode 100644 index 000000000000..d2a8c34e446d --- /dev/null +++ b/multimedia/vlc-devel/files/patch-configure @@ -0,0 +1,14 @@ +--- configure.orig Tue Aug 7 19:55:49 2001 ++++ configure Sun Aug 12 15:36:05 2001 +@@ -3924,10 +3924,7 @@ + + if test x$enable_dsp != xno + then +- if test -c /dev/dsp +- then +- PLUGINS="${PLUGINS} dsp" +- fi ++ PLUGINS="${PLUGINS} dsp" + fi + + # Check whether --enable-esd or --disable-esd was given. diff --git a/multimedia/vlc-devel/pkg-plist b/multimedia/vlc-devel/pkg-plist index f20dd09a6c33..b609b33b925a 100644 --- a/multimedia/vlc-devel/pkg-plist +++ b/multimedia/vlc-devel/pkg-plist @@ -2,12 +2,14 @@ bin/vlc bin/gvlc include/videolan/dvdcss.h lib/libdvdcss.a +lib/libdvdcss.so +lib/libdvdcss.so.0 lib/libdvdcss.so.0.0.2 lib/videolan/vlc/dsp.so lib/videolan/vlc/gtk.so lib/videolan/vlc/sdl.so lib/videolan/vlc/x11.so -lib/videolan/vlc/xvideo.so +%%XF4%%lib/videolan/vlc/xvideo.so share/videolan/default8x16.psf share/videolan/default8x9.psf share/videolan/gnome-vlc.png diff --git a/multimedia/vlc/Makefile b/multimedia/vlc/Makefile index 68407b6a3842..8fc791328602 100644 --- a/multimedia/vlc/Makefile +++ b/multimedia/vlc/Makefile @@ -7,6 +7,7 @@ PORTNAME= vlc PORTVERSION= 0.2.82 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://www.videolan.org/pub/videolan/vlc/${PORTVERSION}/ \ ftp://ftp.Awfulhak.org/pub/vlc/ \ @@ -16,12 +17,23 @@ MAINTAINER= brian@Awfulhak.org LIB_DEPENDS= SDL-1.1:${PORTSDIR}/devel/sdl12 -HAS_CONFIGURE= yes -CONFIGURE_ENV= PATH_GTKCONFIG="${PREFIX}/bin/gtk12-config" \ - CPPFLAGS="-I${LOCALBASE}/include" \ +GNU_CONFIGURE= yes +CONFIGURE_ENV= PATH_GTKCONFIG="${GTK_CONFIG}" \ + CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ LDFLAGS="-L${LOCALBASE}/lib" USE_GTK= yes USE_GMAKE= yes USE_BZIP2= yes -.include +post-patch: + ${PERL} -pi.orig -e 's,-lpthread,${PTHREAD_LIBS},g' ${WRKSRC}/configure + +.include + +.if ${XFREE86_VERSION} == 4 +PLIST_SUB= XF4="" +.else +PLIST_SUB= XF4="@comment " +.endif + +.include diff --git a/multimedia/vlc/files/patch-Makefile.opts.in b/multimedia/vlc/files/patch-Makefile.opts.in new file mode 100644 index 000000000000..23b7d5b96c22 --- /dev/null +++ b/multimedia/vlc/files/patch-Makefile.opts.in @@ -0,0 +1,18 @@ +--- Makefile.opts.in.orig Tue Aug 7 19:55:49 2001 ++++ Makefile.opts.in Sun Aug 12 15:01:13 2001 +@@ -200,6 +200,7 @@ + CFLAGS += -fnative-struct -D_OFF_T_ -D_off_t=long + endif + ++ifeq ($(MODIFY_CFLAGS),1) + ifneq (,$(findstring bsd,$(SYS))) + CFLAGS += -pthread + endif +@@ -235,6 +236,7 @@ + endif + + #end of optimisations ++endif + endif + + # diff --git a/multimedia/vlc/files/patch-configure b/multimedia/vlc/files/patch-configure new file mode 100644 index 000000000000..d2a8c34e446d --- /dev/null +++ b/multimedia/vlc/files/patch-configure @@ -0,0 +1,14 @@ +--- configure.orig Tue Aug 7 19:55:49 2001 ++++ configure Sun Aug 12 15:36:05 2001 +@@ -3924,10 +3924,7 @@ + + if test x$enable_dsp != xno + then +- if test -c /dev/dsp +- then +- PLUGINS="${PLUGINS} dsp" +- fi ++ PLUGINS="${PLUGINS} dsp" + fi + + # Check whether --enable-esd or --disable-esd was given. diff --git a/multimedia/vlc/pkg-plist b/multimedia/vlc/pkg-plist index f20dd09a6c33..b609b33b925a 100644 --- a/multimedia/vlc/pkg-plist +++ b/multimedia/vlc/pkg-plist @@ -2,12 +2,14 @@ bin/vlc bin/gvlc include/videolan/dvdcss.h lib/libdvdcss.a +lib/libdvdcss.so +lib/libdvdcss.so.0 lib/libdvdcss.so.0.0.2 lib/videolan/vlc/dsp.so lib/videolan/vlc/gtk.so lib/videolan/vlc/sdl.so lib/videolan/vlc/x11.so -lib/videolan/vlc/xvideo.so +%%XF4%%lib/videolan/vlc/xvideo.so share/videolan/default8x16.psf share/videolan/default8x9.psf share/videolan/gnome-vlc.png