diff options
author | mezz <mezz@FreeBSD.org> | 2004-10-15 06:12:32 +0800 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2004-10-15 06:12:32 +0800 |
commit | d8d2cbd549b7965ae727f3fd97dcf97f1fa19c64 (patch) | |
tree | 5123263f4750af757aa923e7ecefea2cee3828a3 /multimedia/vlc-devel | |
parent | f9c256e1d594c6e2e2583c0c627f9c2ce8a16a61 (diff) | |
download | freebsd-ports-gnome-d8d2cbd549b7965ae727f3fd97dcf97f1fa19c64.tar.gz freebsd-ports-gnome-d8d2cbd549b7965ae727f3fd97dcf97f1fa19c64.tar.zst freebsd-ports-gnome-d8d2cbd549b7965ae727f3fd97dcf97f1fa19c64.zip |
-Use gcc 3.4 (update from 3.3).
-Use xvid default, xvid is becoming very popular. WITHOUT_XVID still exists.
-Always autodetect esound since this can be changed at runtime.
-Always autodetect gnome for gnome interface.
-Make gtk interface optional but still default interface.
PR: ports/72675
Submitted by: Michael Johnson <ahze@ahze.net> (maintainer)
Diffstat (limited to 'multimedia/vlc-devel')
-rw-r--r-- | multimedia/vlc-devel/Makefile | 53 | ||||
-rw-r--r-- | multimedia/vlc-devel/pkg-plist | 3 |
2 files changed, 42 insertions, 14 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 |