aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2004-10-14 22:12:32 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2004-10-14 22:12:32 +0000
commit2592c76765f4c558c76762d098ca700044b5025a (patch)
tree3f5f6588755fede9634bd0e085f2828191075a76
parent78e0a143cd36ebbb3db20283d585054599b2e38c (diff)
downloadports-2592c76765f4c558c76762d098ca700044b5025a.tar.gz
ports-2592c76765f4c558c76762d098ca700044b5025a.zip
Notes
-rw-r--r--multimedia/vlc-devel/Makefile53
-rw-r--r--multimedia/vlc-devel/pkg-plist3
-rw-r--r--multimedia/vlc/Makefile53
-rw-r--r--multimedia/vlc/pkg-plist3
4 files changed, 84 insertions, 28 deletions
diff --git a/multimedia/vlc-devel/Makefile b/multimedia/vlc-devel/Makefile
index 3e8764b15521..db86e4ecd699 100644
--- a/multimedia/vlc-devel/Makefile
+++ b/multimedia/vlc-devel/Makefile
@@ -6,29 +6,58 @@
#
# Options to define Features:
# WITH_AUTODETECT=yes
+#
# WITH_GNOME=yes
+# Gnome Interface
+#
+# WITHOUT_GTKVLC=yes
+# Gtk12 Interface (Default interface)
+#
# WITH_ESOUND=yes
+#
# WITH_AALIB=yes
+#
# WITH_CDDB=yes
+#
# WITH_DTS=yes
+#
# WITH_FRIBIDI=yes
+#
# WITH_GGI=yes
+#
# WITH_LIBDVBPSI=yes
+#
# WITH_LIBID3TAG=yes
+#
# WITH_LIBMATROSKA=yes
+#
# WITH_LIBMPEG2=yes
+#
# WITH_LIBTHEORA=yes
+#
# WITH_LIVEMEDIA=yes
-# WITH_NCURSES=yes (ncurses interface)
+#
+# WITH_NCURSES=yes
+# Ncurses interface
+#
# WITH_SPEEX=yes
+#
# WITH_SVGALIB=yes
+#
# WITH_XOSD=yes
-# WITH_XVID=yes
+#
+# WITHOUT_XVID=yes
+#
# WITH_WXWINDOWS=yes
+# WxWindows Interface
+#
# WITH_OPTIMIZED_CFLAGS=yes
+#
# WITH_DVD_DEVICE=/dev/somedevice (5.x: default is acd0, 4:x default is acd0c)
# WITH_CDROM_DEVICE=/dev/somedevice
+#
# WITHOUT_NLS=yes
+#
# WITHOUT_LIBID3TAG=yes
PORTNAME= vlc
@@ -92,11 +121,9 @@ WITHOUT_SPEEX= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
-USE_GCC= 3.3
+USE_GCC= 3.4
.endif
-.if defined(WITH_AUTODETECT) && !defined(BATCH)
-
.if ${HAVE_GNOME:Mgnomelibs}!="" && !defined(WITHOUT_GNOME)
WITH_GNOME= yes
.endif
@@ -105,6 +132,8 @@ WITH_GNOME= yes
WITH_ESOUND= yes
.endif
+.if defined(WITH_AUTODETECT) && !defined(BATCH)
+
.if exists(${LOCALBASE}/lib/libaa.so.1) && !defined(WITHOUT_AALIB)
WITH_AALIB= yes
.endif
@@ -153,10 +182,6 @@ WITH_SVGALIB= yes
WITH_XOSD= yes
.endif
-.if exists(${LOCALBASE}/lib/libxvidcore.so.4) && !defined(WITHOUT_XVID)
-WITH_XVID= yes
-.endif
-
.endif
.if defined(WITH_MATROSKA)
@@ -194,8 +219,14 @@ CONFIGURE_ARGS+=--enable-gnome
PLIST_FILES+= bin/gnome-vlc \
lib/vlc/gui/libgnome_plugin.so \
lib/vlc/misc/libgnome_main_plugin.so
+.endif
+
+.if !defined(WITHOUT_GTKVLC)
+PLIST_FILES+= bin/gvlc \
+ lib/vlc/gui/libgtk_plugin.so \
+ lib/vlc/misc/libgtk_main_plugin.so
.else
-CONFIGURE_ARGS+=--enable-gtk
+CONFIGURE_ARGS+=--disable-gtk
.endif
.if defined(WITH_WXWINDOWS) && !defined(WITHOUT_WXWINDOWS)
@@ -322,7 +353,7 @@ CONFIGURE_ARGS+=--enable-xosd
CONFIGURE_ARGS+=--disable-xosd
.endif
-.if defined(WITH_XVID) && !defined(WITHOUT_XVID)
+.if !defined(WITHOUT_XVID)
LIB_DEPENDS+= xvidcore.4:${PORTSDIR}/multimedia/xvid
CONFIGURE_ARGS+=--enable-xvideo
PLIST_FILES+= lib/vlc/video_output/libxvideo_plugin.so
diff --git a/multimedia/vlc-devel/pkg-plist b/multimedia/vlc-devel/pkg-plist
index 5eec25c978bd..1fe4021a06f0 100644
--- a/multimedia/vlc-devel/pkg-plist
+++ b/multimedia/vlc-devel/pkg-plist
@@ -1,4 +1,3 @@
-bin/gvlc
bin/vlc
bin/vlc-config
include/vlc/aout.h
@@ -103,13 +102,11 @@ lib/vlc/demux/libreal_plugin.so
lib/vlc/demux/libsgimb_plugin.so
lib/vlc/demux/libts_plugin.so
lib/vlc/demux/libwav_plugin.so
-lib/vlc/gui/libgtk_plugin.so
lib/vlc/libffmpeg.a
lib/vlc/libstream_out_transcode.a
lib/vlc/misc/libdummy_plugin.so
lib/vlc/misc/libexport_plugin.so
lib/vlc/misc/libfreetype_plugin.so
-lib/vlc/misc/libgtk_main_plugin.so
lib/vlc/misc/libipv4_plugin.so
lib/vlc/misc/libipv6_plugin.so
lib/vlc/misc/liblogger_plugin.so
diff --git a/multimedia/vlc/Makefile b/multimedia/vlc/Makefile
index 3e8764b15521..db86e4ecd699 100644
--- a/multimedia/vlc/Makefile
+++ b/multimedia/vlc/Makefile
@@ -6,29 +6,58 @@
#
# Options to define Features:
# WITH_AUTODETECT=yes
+#
# WITH_GNOME=yes
+# Gnome Interface
+#
+# WITHOUT_GTKVLC=yes
+# Gtk12 Interface (Default interface)
+#
# WITH_ESOUND=yes
+#
# WITH_AALIB=yes
+#
# WITH_CDDB=yes
+#
# WITH_DTS=yes
+#
# WITH_FRIBIDI=yes
+#
# WITH_GGI=yes
+#
# WITH_LIBDVBPSI=yes
+#
# WITH_LIBID3TAG=yes
+#
# WITH_LIBMATROSKA=yes
+#
# WITH_LIBMPEG2=yes
+#
# WITH_LIBTHEORA=yes
+#
# WITH_LIVEMEDIA=yes
-# WITH_NCURSES=yes (ncurses interface)
+#
+# WITH_NCURSES=yes
+# Ncurses interface
+#
# WITH_SPEEX=yes
+#
# WITH_SVGALIB=yes
+#
# WITH_XOSD=yes
-# WITH_XVID=yes
+#
+# WITHOUT_XVID=yes
+#
# WITH_WXWINDOWS=yes
+# WxWindows Interface
+#
# WITH_OPTIMIZED_CFLAGS=yes
+#
# WITH_DVD_DEVICE=/dev/somedevice (5.x: default is acd0, 4:x default is acd0c)
# WITH_CDROM_DEVICE=/dev/somedevice
+#
# WITHOUT_NLS=yes
+#
# WITHOUT_LIBID3TAG=yes
PORTNAME= vlc
@@ -92,11 +121,9 @@ WITHOUT_SPEEX= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
-USE_GCC= 3.3
+USE_GCC= 3.4
.endif
-.if defined(WITH_AUTODETECT) && !defined(BATCH)
-
.if ${HAVE_GNOME:Mgnomelibs}!="" && !defined(WITHOUT_GNOME)
WITH_GNOME= yes
.endif
@@ -105,6 +132,8 @@ WITH_GNOME= yes
WITH_ESOUND= yes
.endif
+.if defined(WITH_AUTODETECT) && !defined(BATCH)
+
.if exists(${LOCALBASE}/lib/libaa.so.1) && !defined(WITHOUT_AALIB)
WITH_AALIB= yes
.endif
@@ -153,10 +182,6 @@ WITH_SVGALIB= yes
WITH_XOSD= yes
.endif
-.if exists(${LOCALBASE}/lib/libxvidcore.so.4) && !defined(WITHOUT_XVID)
-WITH_XVID= yes
-.endif
-
.endif
.if defined(WITH_MATROSKA)
@@ -194,8 +219,14 @@ CONFIGURE_ARGS+=--enable-gnome
PLIST_FILES+= bin/gnome-vlc \
lib/vlc/gui/libgnome_plugin.so \
lib/vlc/misc/libgnome_main_plugin.so
+.endif
+
+.if !defined(WITHOUT_GTKVLC)
+PLIST_FILES+= bin/gvlc \
+ lib/vlc/gui/libgtk_plugin.so \
+ lib/vlc/misc/libgtk_main_plugin.so
.else
-CONFIGURE_ARGS+=--enable-gtk
+CONFIGURE_ARGS+=--disable-gtk
.endif
.if defined(WITH_WXWINDOWS) && !defined(WITHOUT_WXWINDOWS)
@@ -322,7 +353,7 @@ CONFIGURE_ARGS+=--enable-xosd
CONFIGURE_ARGS+=--disable-xosd
.endif
-.if defined(WITH_XVID) && !defined(WITHOUT_XVID)
+.if !defined(WITHOUT_XVID)
LIB_DEPENDS+= xvidcore.4:${PORTSDIR}/multimedia/xvid
CONFIGURE_ARGS+=--enable-xvideo
PLIST_FILES+= lib/vlc/video_output/libxvideo_plugin.so
diff --git a/multimedia/vlc/pkg-plist b/multimedia/vlc/pkg-plist
index 5eec25c978bd..1fe4021a06f0 100644
--- a/multimedia/vlc/pkg-plist
+++ b/multimedia/vlc/pkg-plist
@@ -1,4 +1,3 @@
-bin/gvlc
bin/vlc
bin/vlc-config
include/vlc/aout.h
@@ -103,13 +102,11 @@ lib/vlc/demux/libreal_plugin.so
lib/vlc/demux/libsgimb_plugin.so
lib/vlc/demux/libts_plugin.so
lib/vlc/demux/libwav_plugin.so
-lib/vlc/gui/libgtk_plugin.so
lib/vlc/libffmpeg.a
lib/vlc/libstream_out_transcode.a
lib/vlc/misc/libdummy_plugin.so
lib/vlc/misc/libexport_plugin.so
lib/vlc/misc/libfreetype_plugin.so
-lib/vlc/misc/libgtk_main_plugin.so
lib/vlc/misc/libipv4_plugin.so
lib/vlc/misc/libipv6_plugin.so
lib/vlc/misc/liblogger_plugin.so