mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
- Update to 0.8.5
- Split Makefile into Makefile.inc to make it a little easier to maintain - Turn on or off knobs by default per configure script o GNOMEVFS on by default o AVAHI on by default o FLAC off by default o X264 on by default o DAAP on by default o LIVEMEDIA off by default o SAMBA on by default o SDL on by default o SPEEX on by default
This commit is contained in:
parent
614a6034a3
commit
7c6f948bbd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=161649
@ -3,231 +3,16 @@
|
||||
# Whom: Brian Somers <brian@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
# $MCom: ports-stable/multimedia/vlc-devel/Makefile,v 1.2 2005/08/15 05:48:27 mezz Exp $
|
||||
# $MCom: ports/multimedia/vlc-devel/Makefile,v 1.5 2006/05/06 06:06:47 ahze Exp $
|
||||
#
|
||||
# NOTES about VLC Knobs:
|
||||
# Below you will see a number of knobs, if it starts with WITHOUT_ it is
|
||||
# enabled by default, if it starts with WITH_ it is disabled by default
|
||||
# and will be autodetected to enable
|
||||
#
|
||||
# If you define for example WITH_FAAD and WITHOUT_FAAD
|
||||
# the WITHOUT_ will always over ride the WITH_.
|
||||
#
|
||||
# Interface Knobs:
|
||||
#
|
||||
# WITH_CORBA
|
||||
# Enable a Corba interface via orbit2
|
||||
#
|
||||
# WITH_NCURSES=yes
|
||||
# Ncurses (console) interface
|
||||
#
|
||||
# WITH_SKINS
|
||||
# This Interface supports a skinned gtk2.0 interface
|
||||
# Skins can be found at http://www.videolan.org/vlc/download-skins.html
|
||||
#
|
||||
# WITHOUT_WXGTK=yes
|
||||
# WxWindows/Gtk 2.x Interface
|
||||
# This is the default and most supported
|
||||
# x11 interface
|
||||
#
|
||||
# WITH_WXGTK_VER=[2.4|2.6]
|
||||
# Choose a WxGTK version you want to use.
|
||||
# Defaults to 26
|
||||
#
|
||||
# Audio Knobs:
|
||||
#
|
||||
# WITH_ARTS=yes
|
||||
# Arts Support
|
||||
#
|
||||
# WITH_DAAP=yes
|
||||
# Enable libopendaap to connect to iTunes(R) music shares.
|
||||
#
|
||||
# WITHOUT_DTS=yes
|
||||
# DTS decoder Support
|
||||
# useful for many dvds
|
||||
#
|
||||
# WITH_ESOUND=yes
|
||||
# Esound Support
|
||||
#
|
||||
# WITH_FAAC=yes
|
||||
# Faac audio encoder (mp4/aac) Support
|
||||
# ** Only enable this if you compiled multimedia/ffmpeg-devel with WITH_FAAC knob **
|
||||
#
|
||||
# WITH_FAAD=yes
|
||||
# Faad audio decoder (mp4/aac) Support
|
||||
#
|
||||
# WITHOUT_FLAC=yes
|
||||
# Flac Support
|
||||
#
|
||||
# WITHOUT_LAME=yes
|
||||
# Mp3 encoder Support
|
||||
# ** NOT DEFINED if PACKAGE_BUILDING is defined **
|
||||
#
|
||||
# WITHOUT_A52=yes
|
||||
# liba52 audio Support
|
||||
#
|
||||
# WITH_REALAUDIO
|
||||
# Real audio(R) support
|
||||
#
|
||||
# WITH_TREMOR
|
||||
# Interger-only Ogg Vorbis decoder
|
||||
# !!experimental!!
|
||||
#
|
||||
# WITHOUT_MAD=yes
|
||||
# Mad mp3 audio decoder Support
|
||||
#
|
||||
# WITHOUT_OGG=yes
|
||||
# Ogg audio decoder Support
|
||||
#
|
||||
# WITH_SPEEX=yes
|
||||
# Speex voice codec Support
|
||||
#
|
||||
# WITH_TOOLAME=yes
|
||||
# Toolame Support
|
||||
#
|
||||
# WITH_TWOLAME=yes
|
||||
# Twolame Mpeg layer 2 audio Support
|
||||
#
|
||||
# WITHOUT_VORBIS=yes
|
||||
# Vorbis Support
|
||||
#
|
||||
# Graphics Knobs:
|
||||
#
|
||||
# WITH_AALIB=yes
|
||||
# Console Graphics Support
|
||||
#
|
||||
# WITH_FRIBIDI=yes
|
||||
#
|
||||
# WITH_GGI=yes
|
||||
#
|
||||
# WITH_CACA=yes
|
||||
# Console Graphics Support (implies WITH_AALIB)
|
||||
#
|
||||
# WITH_SDL=yes
|
||||
# SDL video output
|
||||
#
|
||||
# WITH_SVG=yes
|
||||
#
|
||||
# WITH_SVGALIB=yes
|
||||
# SVGAlib video output
|
||||
#
|
||||
# WITH_XOSD=yes
|
||||
#
|
||||
# Multimedia Knobs:
|
||||
#
|
||||
# WITH_DIRAC
|
||||
# Enable dirac general-purpose video codec
|
||||
#
|
||||
# WITH_X264
|
||||
# Enable H.264/AVC Video Support
|
||||
#
|
||||
# WITHOUT_MATROSKA=yes
|
||||
# Matroska Container Format Support
|
||||
#
|
||||
# WITHOUT_MPEG2=yes
|
||||
# Mpeg-2 A/V Decoder Support
|
||||
#
|
||||
# WITH_THEORA=yes
|
||||
# Video codec for OGG/Vorbis Support
|
||||
#
|
||||
# WITH_TRANSCODE=yes
|
||||
# Disable transcode of multimedia via transcode (multimedia/transcode).
|
||||
# This option allows you to convert a media file, dvd, A/V stream, etc
|
||||
# in to another format. This also allows you to transcode multimedia
|
||||
# on-the-fly and stream to a network and/or local playback.
|
||||
#
|
||||
# Streaming Knobs:
|
||||
#
|
||||
# WITHOUT_HTTPD=yes
|
||||
# Web interface to control streaming media
|
||||
#
|
||||
# WITHOUT_LIVEMEDIA=yes
|
||||
# Support for rstp/rtp/sdp protocols
|
||||
# Only versions 2004.11.11 and higher are supported.
|
||||
#
|
||||
# WITHOUT_STREAM_PLUGINS=yes
|
||||
# Disable build and install of Streaming plugins
|
||||
#
|
||||
# WITH_WIN32_CODECS=yes
|
||||
# Support for win32 multimedia DLL's
|
||||
#
|
||||
# Other Knobs:
|
||||
#
|
||||
# WITH_AVAHI=yes
|
||||
# Enables bonjour(r) network
|
||||
#
|
||||
# WITH_DEBUG=yes
|
||||
# Enable debuging support
|
||||
#
|
||||
# WITHOUT_CDROM=yes
|
||||
# Disable cddb and vcd support
|
||||
# and other cdrom support
|
||||
#
|
||||
# WITHOUT_CDPARANOIA=yes
|
||||
# Disable Cdparanoia support
|
||||
#
|
||||
# WITHOUT_DVBPSI=yes
|
||||
# TS MUX and DEMUX support
|
||||
#
|
||||
# WITHOUT_DVDNAV=yes
|
||||
# Disable DVD (dvd menus) support
|
||||
#
|
||||
# WITH_DVDREAD=yes
|
||||
# Enable Regular DVD support (non-menu)
|
||||
#
|
||||
# WITH_GECKO= [firefox|mozilla|seamonkey|nvu]
|
||||
# WITH_VLC_MOZILLA_PLUGIN= yes
|
||||
# Enable A mozilla plugin for VLC
|
||||
# See http://www.videolan.org/doc/vlc-user-guide/en/ch07.html#id2529837
|
||||
# for more info on using this plugin.
|
||||
# defaults to www/mozilla
|
||||
#
|
||||
# WITH_OPENGL=yes
|
||||
# Enable OpenGL visual plugin (not playback, play back is default with X11)
|
||||
#
|
||||
# WITH_SAMBA=yes
|
||||
# Enable SAMBA Access module
|
||||
#
|
||||
# WITH_SSL=yes
|
||||
# Enable TLS/SSL Support for web (httpd) interface
|
||||
#
|
||||
# WITHOUT_SLP=yes
|
||||
# Disable SLP service discovery support
|
||||
# * recommended if you want to stream media
|
||||
#
|
||||
# WITH_OPTIMIZED_CFLAGS=yes
|
||||
# Compile with -O2 -ffast-math -fomit-frame-pointer
|
||||
#
|
||||
# WITH_DVD_DEVICE=/dev/somedevice
|
||||
# default 5.x and above: /dev/acd0
|
||||
# default 4.x and below: /dev/acd0c
|
||||
# This option changes the default dvd device
|
||||
#
|
||||
# WITH_CDROM_DEVICE=/dev/somedevice
|
||||
# default 5.x and above: /dev/acd0
|
||||
# default 4.x and below: /dev/acd0c
|
||||
# This option changes the default cdrom device
|
||||
#
|
||||
# WITHOUT_NLS=yes
|
||||
# Disable Languarge Support
|
||||
#
|
||||
# WITHOUT_STREAM_PLUGINS=yes
|
||||
# Disable ALL streaming plugins.
|
||||
#
|
||||
# WITH_VLC_DEFAULT_FONT=/path/to/font
|
||||
# default: ${X11BASE}/lib/X11/fonts/bitstream-vera/Vera.ttf
|
||||
# This option lets you change the default font for subtitles
|
||||
#
|
||||
# NOPORTDOCS=yes
|
||||
# Do not install Vlc's Documents
|
||||
# *** PLEASE READ Makefile.inc for more information on knobs ***
|
||||
#
|
||||
|
||||
PORTNAME= vlc
|
||||
PORTVERSION= 0.8.4a
|
||||
PORTREVISION= 3
|
||||
DISTVERSION= 0.8.5
|
||||
PORTREVISION= 0
|
||||
CATEGORIES= multimedia audio ipv6 net www
|
||||
MASTER_SITES= http://download2.videolan.org/pub/videolan/testing/${PORTNAME}-${DISTVERSION}/ \
|
||||
http://download.videolan.org/pub/videolan/vlc/${PORTVERSION}/ \
|
||||
MASTER_SITES= http://download.videolan.org/pub/videolan/vlc/${PORTVERSION}/ \
|
||||
http://ftp.snt.utwente.nl/pub/software/videolan/vlc/${PORTVERSION}/ \
|
||||
ftp://ftp.crans.org/pub/videolan/vlc/${PORTVERSION}/ \
|
||||
ftp://videolan.cs.pu.edu.tw/Windows/VideoLAN/vlc/${PORTVERSION}/ \
|
||||
@ -236,14 +21,8 @@ MAINTAINER= ahze@FreeBSD.org
|
||||
COMMENT= Multimedia streaming server and player for various audio/video formats
|
||||
|
||||
RUN_DEPENDS= ${X11BASE}/lib/X11/fonts/bitstream-vera/Vera.ttf:${PORTSDIR}/x11-fonts/bitstream-vera
|
||||
LIB_DEPENDS= avcodec.1:${PORTSDIR}/multimedia/ffmpeg
|
||||
|
||||
CONFLICTS= vlc-devel*
|
||||
|
||||
### BROKEN -- Needs newer verision of toolame ###
|
||||
WITHOUT_TOOLAME= yes
|
||||
WITHOUT_AVAHI= yes # Needs 0.6...
|
||||
### BROKEN ###
|
||||
CONFLICTS= vlc-devel-[0-9]*
|
||||
|
||||
WITH_VLC_DEFAULT_FONT?= ${X11BASE}/lib/X11/fonts/bitstream-vera/Vera.ttf
|
||||
|
||||
@ -268,26 +47,16 @@ CONFIGURE_ENV= CPPFLAGS="-I${WRKSRC}/include ${CPPFLAGS} -I${LOCALBASE}/include
|
||||
|
||||
CONFIGURE_ARGS+= --enable-ffmpeg \
|
||||
--with-ffmpeg=${LOCALBASE} \
|
||||
--with-libiconv-prefix=${LOCALBASE} \
|
||||
--with-ffmpeg-zlib \
|
||||
--disable-gnome \
|
||||
--disable-gtk \
|
||||
--without-libintl-prefix
|
||||
--without-libintl-prefix \
|
||||
--without-dv-raw1394
|
||||
|
||||
MAN1= vlc.1 \
|
||||
vlc-config.1
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_VLC_MOZILLA_PLUGIN) && !defined(WITHOUT_VLC_MOZILLA_PLUGIN)
|
||||
USE_GECKO= firefox mozilla seamonkey nvu
|
||||
.include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk"
|
||||
CONFIGURE_ENV+= MOZILLA_CONFIG="${GECKO_CONFIG}" \
|
||||
XPIDL="${XPIDL}" \
|
||||
XPIDL_INCL="${XPIDL_INCL}"
|
||||
MOZILLA_SUFFIX=-mozilla
|
||||
CONFIGURE_ARGS+=--enable-mozilla
|
||||
.endif
|
||||
|
||||
.if defined(WITH_WXGTK_VER) && ${WITH_WXGTK_VER}=="2.4"
|
||||
WX_CONFIG= wxgtk2-2.4-config
|
||||
WXGTK2_PORT= wxgtk24
|
||||
@ -297,12 +66,16 @@ WXGTK2_PORT= wxgtk26
|
||||
CPPFLAGS+= -I${X11BASE}/include/wx-2.6/
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} < 500800
|
||||
BROKEN= does not compile with perl ${PERL_VERSION}
|
||||
.endif
|
||||
|
||||
.if ${ARCH}=="amd64"
|
||||
WITH_WXGTK_VER= 2.4
|
||||
.if exists(${LOCALBASE}/libdata/pkgconfig/libavcodec.pc) || !exists(${LOCALBASE}/lib/libavformat.a)
|
||||
LIB_DEPENDS+= avcodec.1:${PORTSDIR}/multimedia/ffmpeg-devel
|
||||
.else
|
||||
LIB_DEPENDS+= avcodec.1:${PORTSDIR}/multimedia/ffmpeg
|
||||
.endif
|
||||
|
||||
# compatible knobs.
|
||||
@ -349,7 +122,7 @@ DEFAULT_DVD_DEVICE=/dev/acd0
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if ${HAVE_GNOME:Mgnomevfs2} || defined(WITH_GNOMEVFS)
|
||||
.if !defined(WITHOUT_GNOMEVFS)
|
||||
USE_GNOME+= gnomevfs2
|
||||
CONFIGURE_ARGS+= --enable-gnomevfs
|
||||
.else
|
||||
@ -397,7 +170,7 @@ CONFIGURE_ARGS+= --enable-arts
|
||||
CONFIGURE_ARGS+= --disable-arts
|
||||
.endif
|
||||
|
||||
.if (defined(WITH_AVAHI) || exists(${LOCALBASE}/lib/libavahi-client.a)) && !defined(WITHOUT_AVAHI)
|
||||
.if !defined(WITHOUT_AVAHI)
|
||||
LIB_DEPENDS+= avahi-common.3:${PORTSDIR}/net/avahi
|
||||
CONFIGURE_ARGS+= --enable-bonjour
|
||||
.else
|
||||
@ -457,7 +230,6 @@ CONFIGURE_ARGS+=--disable-dvdread
|
||||
.endif
|
||||
|
||||
.if (defined(WITH_ESOUND) || ${HAVE_GNOME:Mesound}!="") && !defined(WITHOUT_ESOUND)
|
||||
ESOUND_SUFFIX= -esound
|
||||
USE_GNOME+= esound
|
||||
CONFIGURE_ARGS+=--enable-esd
|
||||
.else
|
||||
@ -476,7 +248,7 @@ CONFIGURE_ARGS+=--enable-faad
|
||||
CONFIGURE_ARGS+=--disable-faad
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_FLAC)
|
||||
.if (defined(WITH_FLAC) || exists(${LOCALBASE}/lib/libFLAC.a)) && !defined(WITHOUT_FLAC)
|
||||
LIB_DEPENDS+= FLAC.7:${PORTSDIR}/audio/flac
|
||||
CONFIGURE_ARGS+=--enable-flac
|
||||
.else
|
||||
@ -505,7 +277,7 @@ CPPFLAGS+= -I${LOCALBASE}/include/dirac
|
||||
CONFIGURE_ARGS+=--disable-dirac
|
||||
.endif
|
||||
|
||||
.if (defined(WITH_H264) || defined(WITH_X264) || exists(${LOCALBASE}/lib/libx264.a)) && !defined(WITHOUT_X264)
|
||||
.if !defined(WITHOUT_X264)
|
||||
CONFIGURE_ARGS+=--enable-x264
|
||||
LIB_DEPENDS+= x264.1:${PORTSDIR}/multimedia/x264
|
||||
.else
|
||||
@ -524,7 +296,7 @@ CONFIGURE_ARGS+=--enable-caca
|
||||
CONFIGURE_ARGS+=--disable-caca
|
||||
.endif
|
||||
|
||||
.if (defined(WITH_DAAP) || exists(${LOCALBASE}/lib/libopendaap.a)) && !defined(WITHOUT_DAAP)
|
||||
.if !defined(WITHOUT_DAAP)
|
||||
LIB_DEPENDS+= opendaap.0:${PORTSDIR}/devel/libopendaap
|
||||
CONFIGURE_ARGS+=--enable-daap
|
||||
.else
|
||||
@ -538,6 +310,13 @@ CONFIGURE_ARGS+=--enable-dts
|
||||
CONFIGURE_ARGS+=--disable-dts
|
||||
.endif
|
||||
|
||||
.if (defined(WITH_DV) || exists(${LOCALBASE}/lib/libdv.a)) && !defined(WITHOUT_DV)
|
||||
LIB_DEPENDS+= dv.4:${PORTSDIR}/multimedia/libdv
|
||||
CONFIGURE_ARGS+=--enable-dv
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-dv
|
||||
.endif
|
||||
|
||||
.if defined(WITHOUT_HTTPD)
|
||||
CONFIGURE_ARGS+=--disable-httpd
|
||||
.endif
|
||||
@ -560,7 +339,6 @@ CONFIGURE_ARGS+=--disable-mp3lame
|
||||
|
||||
.if !defined(WITHOUT_MATROSKA)
|
||||
LIB_DEPENDS+= matroska.0:${PORTSDIR}/multimedia/libmatroska
|
||||
BUILD_DEPENDS+= libebml>=0.7.6:${PORTSDIR}/textproc/libebml
|
||||
CONFIGURE_ARGS+=--enable-mkv
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-mkv
|
||||
@ -573,6 +351,15 @@ CONFIGURE_ARGS+=--enable-a52
|
||||
CONFIGURE_ARGS+=--disable-a52
|
||||
.endif
|
||||
|
||||
.if defined(WITH_VLC_MOZILLA_PLUGIN) && !defined(WITHOUT_VLC_MOZILLA_PLUGIN)
|
||||
USE_GECKO= firefox mozilla seamonkey nvu
|
||||
.include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk"
|
||||
CONFIGURE_ENV+= MOZILLA_CONFIG="${GECKO_CONFIG}" \
|
||||
XPIDL="${XPIDL}" \
|
||||
XPIDL_INCL="${XPIDL_INCL}"
|
||||
CONFIGURE_ARGS+=--enable-mozilla
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_MPEG2)
|
||||
LIB_DEPENDS+= mpeg2.0:${PORTSDIR}/multimedia/libmpeg2
|
||||
CONFIGURE_ARGS+=--enable-libmpeg2
|
||||
@ -581,7 +368,13 @@ CONFIGURE_ARGS+=--disable-libmpeg2
|
||||
.endif
|
||||
|
||||
.if defined(WITH_REALAUDIO)
|
||||
CONFIGURE_ARGS+= --enable-real
|
||||
CONFIGURE_ARGS+= --enable-real \
|
||||
--enable-realrtsp
|
||||
.endif
|
||||
|
||||
.if (defined(WITH_SHOUT) || exists(${LOCALBASE}/lib/libshout.a)) && !defined(WITHOUT_SHOUT)
|
||||
LIB_DEPENDS+= shout.5:${PORTSDIR}/audio/libshout2
|
||||
CONFIGURE_AGRS+= --enable-shout
|
||||
.endif
|
||||
|
||||
.if (defined(WITH_THEORA) || exists(${LOCALBASE}/lib/libtheora.a)) && !defined(WITHOUT_THEORA)
|
||||
@ -591,7 +384,7 @@ CONFIGURE_ARGS+=--enable-theora
|
||||
CONFIGURE_ARGS+=--disable-theora
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_LIVEMEDIA)
|
||||
.if (defined(WITH_LIVEMEDIA) || exists(${LOCALBASE}/live/liveMedia/libliveMedia.a)) && !defined(WITHOUT_LIVEMEDIA)
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/live/liveMedia/libliveMedia.a:${PORTSDIR}/net/liveMedia
|
||||
CONFIGURE_ARGS+=--enable-livedotcom \
|
||||
--with-livedotcom-tree=${LOCALBASE}/live
|
||||
@ -627,15 +420,15 @@ CONFIGURE_ARGS+=--enable-galaktos
|
||||
CONFIGURE_ARGS+=--disable-galaktos
|
||||
.endif
|
||||
|
||||
.if (defined(WITH_SAMBA) || exists(${LOCALBASE}/lib/lib/libsmbclient.a)) && !defined(WITHOUT_SAMBA)
|
||||
.if !defined(WITHOUT_SAMBA)
|
||||
LIB_DEPEND+= smbclient.0:${PORTSDIR}/net/samba-libsmbclient
|
||||
CONFIGURE_ARGS+=--enable-smb
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-smb
|
||||
.endif
|
||||
|
||||
.if defined(WITH_SDL) && !defined(WITHOUT_SDL)
|
||||
USE_SDL= yes
|
||||
.if !defined(WITHOUT_SDL)
|
||||
USE_SDL= image
|
||||
CONFIGURE_ARGS+=--enable-sdl
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-sdl
|
||||
@ -658,7 +451,7 @@ LIB_DEPENDS+= slp.1:${PORTSDIR}/net/openslp
|
||||
CONFIGURE_ARGS+=--disable-slp
|
||||
.endif
|
||||
|
||||
.if (defined(WITH_SPEEX) || exists(${LOCALBASE}/lib/libspeex.a)) && !defined(WITHOUT_SPEEX)
|
||||
.if !defined(WITHOUT_SPEEX)
|
||||
LIB_DEPENDS+= speex.3:${PORTSDIR}/audio/speex
|
||||
CONFIGURE_ARGS+=--enable-speex
|
||||
CPPFLAGS+=-I${LOCALBASE}/include/speex
|
||||
@ -690,14 +483,6 @@ LIB_DEPENDS+= vorbisidec.1:${PORTSDIR}/audio/libtremor
|
||||
CONFIGURE_ARGS+=--disable-tremor
|
||||
.endif
|
||||
|
||||
.if defined(WITH_TOOLAME) && !defined(WITHOUT_TOOLAME)
|
||||
BUILD_DEPENDS+= toolame:${PORTSDIR}/audio/toolame
|
||||
RUN_DEPEDNS+= toolame:${PORTSDIR}/audio/toolame
|
||||
CONFIGURE_ARGS+= --enable-toolame
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-toolame
|
||||
.endif
|
||||
|
||||
.if (defined(WITH_TWOLAME) || exists(${LOCALBASE}/lib/libtwolame.a)) && !defined(WITHOUT_TWOLAME)
|
||||
LIB_DEPENDS+= twolame.0:${PORTSDIR}/audio/twolame
|
||||
CONFIGURE_ARGS+= --enable-twolame
|
||||
@ -737,137 +522,5 @@ CONFIGURE_ARGS+=--enable-release
|
||||
CONFIGURE_ENV+= LIBS="-L/usr/lib -lcipher"
|
||||
.endif
|
||||
|
||||
pre-everything::
|
||||
@${ECHO_MSG} ""
|
||||
@${ECHO_MSG} "Take a careful look at the beginning of the Makefile in order"
|
||||
@${ECHO_MSG} "to learn how to tune VLC to your personal preferences!"
|
||||
@${ECHO_MSG} ""
|
||||
|
||||
post-patch:
|
||||
# Subtitle default font
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|/usr/share/fonts/truetype/freefont/FreeSerifBold.ttf|${WITH_VLC_DEFAULT_FONT}|' \
|
||||
${WRKSRC}/modules/misc/freetype.c
|
||||
# mozilla plugin
|
||||
@${REINPLACE_CMD} -e 's|$$(libdir)/mozilla/plugins|${FAKEDIR}/mozilla|; \
|
||||
s|$$(libdir)/mozilla/components|${FAKEDIR}/mozilla|' \
|
||||
${WRKSRC}/mozilla/Makefile.in
|
||||
# skins2 interface, no lrint on < 504000
|
||||
.if ${OSVERSION} < 504000
|
||||
@${REINPLACE_CMD} -e 's|lrint|rint|' \
|
||||
${WRKSRC}/modules/gui/skins2/controls/ctrl_list.cpp
|
||||
.endif
|
||||
# s/Linux/FreeBSD/
|
||||
@${REINPLACE_CMD} -e 's|Linux|FreeBSD|' \
|
||||
${WRKSRC}/po/*
|
||||
@${RM} -f ${WRKSRC}/po/*.bak
|
||||
@${REINPLACE_CMD} -e 's|Linux OSS|FreeBSD OSS|' \
|
||||
${WRKSRC}/modules/audio_output/oss.c
|
||||
# pthreads/cflags
|
||||
@${REINPLACE_CMD} -e 's/-lpthread/${PTHREAD_LIBS}/' \
|
||||
-e 's/-lc_r/${PTHREAD_LIBS}/' \
|
||||
-e 's|-mcpu=pentiumpro||' \
|
||||
-e 's|postproc/postprocess.h|ffmpeg/postproc/postprocess.h|' \
|
||||
${WRKSRC}/configure
|
||||
# cdrom/dvd support
|
||||
@${REINPLACE_CMD} -e 's|/dev/cdrom|${DEFAULT_CDROM_DEVICE}|; \
|
||||
s|/dev/dvd|${DEFAULT_DVD_DEVICE}|' \
|
||||
${WRKSRC}/include/vlc_config.h
|
||||
.if ${ARCH}=="i386" && defined(WITH_WIN32_CODECS)
|
||||
@${REINPLACE_CMD} -e 's|-DWIN32_PATH=\\"\\"|-DWIN32_PATH=\\"${LOCALBASE}/lib/win32\\"|' \
|
||||
${WRKSRC}/loader/Makefile.in
|
||||
@${REINPLACE_CMD} -e 's|/usr/lib/win32|${LOCALBASE}/lib/win32|' \
|
||||
${WRKSRC}/loader/module.c
|
||||
.endif
|
||||
|
||||
pre-install:
|
||||
${RM} -rf ${PLIST} ${FAKEDIR}
|
||||
${MKDIR} ${FAKEDIR}
|
||||
${TOUCH} -f ${PLIST}
|
||||
.if defined(WITH_SKINS) && !defined(WITHOUT_SKINS)
|
||||
${ECHO_CMD} "share/pixmaps/gvlc.png" >> ${PLIST}
|
||||
${ECHO_CMD} "share/applications/svlc.desktop" >> ${PLIST}
|
||||
.endif
|
||||
.if !defined(WITHOUT_WXGTK)
|
||||
${ECHO_CMD} "share/pixmaps/vlc.png" >> ${PLIST}
|
||||
${ECHO_CMD} "share/applications/wxvlc.desktop" >> ${PLIST}
|
||||
.endif
|
||||
.if !defined(WITHOUT_WXGTK) || defined(WITH_SKINS)
|
||||
${ECHO_CMD} "@unexec ${RMDIR} %D/share/applications 2>/dev/null || ${TRUE}" >> ${PLIST}
|
||||
.endif
|
||||
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
|
||||
${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET} prefix=${FAKEDIR}
|
||||
cd ${FAKEDIR}/bin && ${FIND} -s * | \
|
||||
${SED} -e 's|^|bin/|' >> ${PLIST}
|
||||
cd ${FAKEDIR}/include && ${FIND} -s * -type f -o -type l | \
|
||||
${SED} -e 's|^|include/|' >> ${PLIST} \
|
||||
&& ${FIND} -d * -type d | \
|
||||
${SED} -e 's|^|@dirrm include/|' >> ${PLIST}
|
||||
cd ${FAKEDIR}/lib && ${FIND} -s * -type f -o -type l| \
|
||||
${SED} -e 's|^|lib/|' >> ${PLIST} \
|
||||
&& ${FIND} -d * -type d | \
|
||||
${SED} -e 's|^|@dirrm lib/|' >> ${PLIST}
|
||||
.for dir in vlc
|
||||
cd ${FAKEDIR}/share/${dir} && ${FIND} -s * -type f -o -type l | \
|
||||
${SED} -e 's|^|share/${dir}/|' >> ${PLIST} \
|
||||
&& ${FIND} -d * -type d | \
|
||||
${SED} -e 's|^|@dirrm share/${dir}/|' >> ${PLIST}
|
||||
.endfor
|
||||
.if !defined(NOPORTDOCS)
|
||||
cd ${FAKEDIR}/share/doc && ${FIND} -s * -type f -o -type l | \
|
||||
${SED} -e 's|^|share/doc/|' >> ${PLIST} \
|
||||
&& ${FIND} -d * -type d | \
|
||||
${SED} -e 's|^|@dirrm share/doc/|' >> ${PLIST}
|
||||
.else
|
||||
${RM} -rf ${FAKEDIR}/share/doc
|
||||
.endif
|
||||
${ECHO_MSG} "@dirrm share/vlc" >> ${PLIST}
|
||||
.if !defined(WITHOUT_NLS)
|
||||
cd ${FAKEDIR}/share/locale && ${FIND} -s * -type f -o -type l | \
|
||||
${SED} -e 's|^|share/locale/|' >> ${PLIST}
|
||||
.endif
|
||||
.if defined(WITH_VLC_MOZILLA_PLUGIN) && !defined(WITHOUT_VLC_MOZILLA_PLUGIN)
|
||||
cd ${FAKEDIR}/mozilla && ${FIND} -s * | \
|
||||
${SED} -e 's|^|lib/browser_plugins/|' >> ${PLIST}
|
||||
.endif
|
||||
.for locale in my ps tet tl
|
||||
${ECHO_CMD} "@unexec ${RMDIR} %D/share/locale/${locale}/LC_MESSAGES 2>/dev/null || ${TRUE}" >> ${PLIST}
|
||||
${ECHO_CMD} "@unexec ${RMDIR} %D/share/locale/${locale} 2>/dev/null || ${TRUE}" >> ${PLIST}
|
||||
.endfor
|
||||
|
||||
do-install:
|
||||
@${REINPLACE_CMD} -e 's|${FAKEDIR}|${PREFIX}|' \
|
||||
${FAKEDIR}/bin/vlc-config
|
||||
@${RM} -f ${FAKEDIR}/bin/*.bak
|
||||
cd ${FAKEDIR}/bin && ${FIND} . | \
|
||||
${CPIO} -vpdm -R ${BINOWN}:${BINGRP} ${PREFIX}/bin
|
||||
cd ${FAKEDIR}/include && ${FIND} . | \
|
||||
${CPIO} -vpdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/include
|
||||
cd ${FAKEDIR}/lib && ${FIND} . | \
|
||||
${CPIO} -vpdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib
|
||||
cd ${FAKEDIR}/share && ${FIND} . | \
|
||||
${CPIO} -vpdm -L -R ${SHAREOWN} ${PREFIX}/share
|
||||
.if defined(WITH_VLC_MOZILLA_PLUGIN) && !defined(WITHOUT_VLC_MOZILLA_PLUGIN)
|
||||
@${MKDIR} ${PREFIX}/lib/browser_plugins
|
||||
${INSTALL_DATA} ${FAKEDIR}/mozilla/* ${PREFIX}/lib/browser_plugins
|
||||
.endif
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/vlc.1 ${MANPREFIX}/man/man1/
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/vlc-config.1 ${MANPREFIX}/man/man1/
|
||||
.if defined(WITH_SKINS) || !defined(WITHOUT_WXGTK)
|
||||
if [ ! -d ${PREFIX}/share/applications ]; then \
|
||||
${MKDIR} ${PREFIX}/share/applications ; \
|
||||
fi
|
||||
if [ ! -d ${PREFIX}/share/pixmaps ]; then \
|
||||
${MKDIR} ${PREFIX}/share/pixmaps ; \
|
||||
fi
|
||||
.if defined(WITH_SKINS) && !defined(WITHOUT_SKINS)
|
||||
${INSTALL_DATA} ${FILESDIR}/svlc.desktop ${PREFIX}/share/applications
|
||||
${INSTALL_DATA} ${FAKEDIR}/share/vlc/vlc48x48.png ${PREFIX}/share/pixmaps/gvlc.png
|
||||
.endif
|
||||
.if !defined(WITHOUT_WXGTK)
|
||||
${INSTALL_DATA} ${FILESDIR}/wxvlc.desktop ${PREFIX}/share/applications
|
||||
${INSTALL_DATA} ${FAKEDIR}/share/vlc/vlc48x48.png ${PREFIX}/share/pixmaps/vlc.png
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.include "${.CURDIR}/Makefile.inc"
|
||||
.include <bsd.port.post.mk>
|
||||
|
368
multimedia/vlc/Makefile.inc
Normal file
368
multimedia/vlc/Makefile.inc
Normal file
@ -0,0 +1,368 @@
|
||||
|
||||
# NOTES about VLC Knobs:
|
||||
# Below you will see a number of knobs, if it starts with WITHOUT_ it is
|
||||
# enabled by default, if it starts with WITH_ it is disabled by default
|
||||
# and will be autodetected to enable
|
||||
#
|
||||
# $FreeBSD$
|
||||
# $MCom: ports/multimedia/vlc-devel/Makefile.inc,v 1.1 2006/05/06 06:06:47 ahze Exp $
|
||||
#
|
||||
# If you define for example WITH_FAAD and WITHOUT_FAAD
|
||||
# the WITHOUT_ will always over ride the WITH_.
|
||||
#
|
||||
# Interface Knobs:
|
||||
#
|
||||
# WITH_CORBA
|
||||
# Enable a Corba interface via orbit2
|
||||
#
|
||||
# WITH_NCURSES=yes
|
||||
# Ncurses (console) interface
|
||||
#
|
||||
# WITH_SKINS
|
||||
# This Interface supports a skinned gtk2.0 interface
|
||||
# Skins can be found at http://www.videolan.org/vlc/download-skins.html
|
||||
#
|
||||
# WITHOUT_WXGTK=yes
|
||||
# WxWindows/Gtk 2.x Interface
|
||||
# This is the default and most supported
|
||||
# x11 interface
|
||||
#
|
||||
# WITH_WXGTK_VER=[2.4|2.6]
|
||||
# Choose a WxGTK version you want to use.
|
||||
# Defaults to 26
|
||||
#
|
||||
# Audio Knobs:
|
||||
#
|
||||
# WITH_ARTS=yes
|
||||
# Arts Support
|
||||
#
|
||||
# WITHOUT_DAAP=yes
|
||||
# Enable libopendaap to connect to iTunes(R) music shares.
|
||||
#
|
||||
# WITHOUT_DTS=yes
|
||||
# DTS decoder Support
|
||||
# useful for many dvds
|
||||
#
|
||||
# WITH_ESOUND=yes
|
||||
# Esound Support
|
||||
#
|
||||
# WITH_FAAC=yes
|
||||
# Faac audio encoder (mp4/aac) Support
|
||||
# ** Only enable this if you compiled multimedia/ffmpeg-devel with WITH_FAAC knob **
|
||||
#
|
||||
# WITH_FAAD=yes
|
||||
# Faad audio decoder (mp4/aac) Support
|
||||
#
|
||||
# WITH_FLAC=yes
|
||||
# Flac Support
|
||||
#
|
||||
# WITHOUT_LAME=yes
|
||||
# Mp3 encoder Support
|
||||
# ** NOT DEFINED if PACKAGE_BUILDING is defined **
|
||||
#
|
||||
# WITHOUT_A52=yes
|
||||
# liba52 audio Support
|
||||
#
|
||||
# WITH_REALAUDIO
|
||||
# Real audio(R) support
|
||||
#
|
||||
# WITH_SHOUT
|
||||
# Libshout2 support
|
||||
#
|
||||
# WITH_TREMOR
|
||||
# Interger-only Ogg Vorbis decoder
|
||||
# !!experimental!!
|
||||
#
|
||||
# WITHOUT_MAD=yes
|
||||
# Mad mp3 audio decoder Support
|
||||
#
|
||||
# WITHOUT_OGG=yes
|
||||
# Ogg audio decoder Support
|
||||
#
|
||||
# WITHOUT_SPEEX=yes
|
||||
# Speex voice codec Support
|
||||
#
|
||||
# WITH_TWOLAME=yes
|
||||
# Twolame Mpeg layer 2 audio Support
|
||||
#
|
||||
# WITHOUT_VORBIS=yes
|
||||
# Vorbis Support
|
||||
#
|
||||
# Graphics Knobs:
|
||||
#
|
||||
# WITH_AALIB=yes
|
||||
# Console Graphics Support
|
||||
#
|
||||
# WITH_CACA=yes
|
||||
# Console Graphics Support (implies WITH_AALIB)
|
||||
#
|
||||
# WITH_DV=yes
|
||||
# Digital video input
|
||||
#
|
||||
# WITH_FRIBIDI=yes
|
||||
#
|
||||
# WITH_GGI=yes
|
||||
#
|
||||
# WITHOUT_SDL=yes
|
||||
# SDL video output
|
||||
#
|
||||
# WITH_SVG=yes
|
||||
#
|
||||
# WITH_SVGALIB=yes
|
||||
# SVGAlib video output
|
||||
#
|
||||
# WITH_XOSD=yes
|
||||
#
|
||||
# Multimedia Knobs:
|
||||
#
|
||||
# WITH_DIRAC
|
||||
# Enable dirac general-purpose video codec
|
||||
#
|
||||
# WITHOUT_X264
|
||||
# Enable H.264/AVC Video Support
|
||||
#
|
||||
# WITHOUT_MATROSKA=yes
|
||||
# Matroska Container Format Support
|
||||
#
|
||||
# WITHOUT_MPEG2=yes
|
||||
# Mpeg-2 A/V Decoder Support
|
||||
#
|
||||
# WITH_THEORA=yes
|
||||
# Video codec for OGG/Vorbis Support
|
||||
#
|
||||
# WITH_TRANSCODE=yes
|
||||
# Disable transcode of multimedia via transcode (multimedia/transcode).
|
||||
# This option allows you to convert a media file, dvd, A/V stream, etc
|
||||
# in to another format. This also allows you to transcode multimedia
|
||||
# on-the-fly and stream to a network and/or local playback.
|
||||
#
|
||||
# Streaming Knobs:
|
||||
#
|
||||
# WITHOUT_HTTPD=yes
|
||||
# Web interface to control streaming media
|
||||
#
|
||||
# WITH_LIVEMEDIA=yes
|
||||
# Support for rstp/rtp/sdp protocols
|
||||
# Only versions 2004.11.11 and higher are supported.
|
||||
#
|
||||
# WITHOUT_STREAM_PLUGINS=yes
|
||||
# Disable build and install of Streaming plugins
|
||||
#
|
||||
# WITH_WIN32_CODECS=yes
|
||||
# Support for win32 multimedia DLL's
|
||||
#
|
||||
# Other Knobs:
|
||||
#
|
||||
# WITHOUT_AVAHI=yes
|
||||
# Avahi (Rendezvous/Bonjour (R) ) networking
|
||||
#
|
||||
# WITH_DEBUG=yes
|
||||
# Enable debuging support
|
||||
#
|
||||
# WITHOUT_CDROM=yes
|
||||
# Disable cddb and vcd support
|
||||
# and other cdrom support
|
||||
#
|
||||
# WITHOUT_CDPARANOIA=yes
|
||||
# Disable Cdparanoia support
|
||||
#
|
||||
# WITHOUT_DVBPSI=yes
|
||||
# TS MUX and DEMUX support
|
||||
#
|
||||
# WITHOUT_DVDNAV=yes
|
||||
# Disable DVD (dvd menus) support
|
||||
#
|
||||
# WITH_DVDREAD=yes
|
||||
# Enable Regular DVD support (non-menu)
|
||||
#
|
||||
# WITH_GECKO= [firefox|mozilla|seamonkey|nvu]
|
||||
# WITH_VLC_MOZILLA_PLUGIN= yes
|
||||
# Enable A mozilla plugin for VLC
|
||||
# See http://www.videolan.org/doc/vlc-user-guide/en/ch07.html#id2529837
|
||||
# for more info on using this plugin.
|
||||
# defaults to www/mozilla
|
||||
#
|
||||
# NOTE: The www/mplayer-plugin is much more complete.
|
||||
#
|
||||
# WITHOUT_GNOMEVFS
|
||||
# GnomeVFS support
|
||||
#
|
||||
# WITH_OPENGL=yes
|
||||
# Enable OpenGL visual plugin (not playback, play back is default with X11)
|
||||
#
|
||||
# WITHOUT_SAMBA=yes
|
||||
# Enable SAMBA Access module
|
||||
#
|
||||
# WITH_SSL=yes
|
||||
# Enable TLS/SSL Support for web (httpd) interface
|
||||
#
|
||||
# WITHOUT_SLP=yes
|
||||
# Disable SLP service discovery support
|
||||
# * recommended if you want to stream media
|
||||
#
|
||||
# WITH_OPTIMIZED_CFLAGS=yes
|
||||
# Compile with -O2 -ffast-math -fomit-frame-pointer
|
||||
#
|
||||
# WITH_DVD_DEVICE=/dev/somedevice
|
||||
# default 5.x and above: /dev/acd0
|
||||
# default 4.x and below: /dev/acd0c
|
||||
# This option changes the default dvd device
|
||||
#
|
||||
# WITH_CDROM_DEVICE=/dev/somedevice
|
||||
# default 5.x and above: /dev/acd0
|
||||
# default 4.x and below: /dev/acd0c
|
||||
# This option changes the default cdrom device
|
||||
#
|
||||
# WITHOUT_NLS=yes
|
||||
# Disable Languarge Support
|
||||
#
|
||||
# WITHOUT_STREAM_PLUGINS=yes
|
||||
# Disable ALL streaming plugins.
|
||||
#
|
||||
# WITH_VLC_DEFAULT_FONT=/path/to/font
|
||||
# default: ${X11BASE}/lib/X11/fonts/bitstream-vera/Vera.ttf
|
||||
# This option lets you change the default font for subtitles
|
||||
#
|
||||
# NOPORTDOCS=yes
|
||||
# Do not install Vlc's Documents
|
||||
#
|
||||
|
||||
pre-everything::
|
||||
@${ECHO_MSG} ""
|
||||
@${ECHO_MSG} "Take a careful look at Makefile.inc in order"
|
||||
@${ECHO_MSG} "to learn how to tune VLC to your personal preferences!"
|
||||
@${ECHO_MSG} ""
|
||||
.if !defined(BATCH) || !defined(PACKAGE_BUILDING)
|
||||
@sleep 3
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
# Subtitle default font
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|/usr/share/fonts/truetype/freefont/FreeSerifBold.ttf|${WITH_VLC_DEFAULT_FONT}|' \
|
||||
${WRKSRC}/modules/misc/freetype.c
|
||||
# mozilla plugin
|
||||
@${REINPLACE_CMD} -e 's|$$(libdir)/mozilla/plugins|${FAKEDIR}/mozilla|; \
|
||||
s|$$(libdir)/mozilla/components|${FAKEDIR}/mozilla|' \
|
||||
${WRKSRC}/mozilla/Makefile.in
|
||||
# skins2 interface, no lrint on < 504000
|
||||
.if ${OSVERSION} < 504000
|
||||
@${REINPLACE_CMD} -e 's|lrint|rint|' \
|
||||
${WRKSRC}/modules/gui/skins2/controls/ctrl_list.cpp
|
||||
.endif
|
||||
# s/Linux/FreeBSD/
|
||||
@${REINPLACE_CMD} -e 's|Linux|FreeBSD|' \
|
||||
${WRKSRC}/po/*
|
||||
@${RM} -f ${WRKSRC}/po/*.bak
|
||||
@${REINPLACE_CMD} -e 's|Linux OSS|FreeBSD OSS|' \
|
||||
${WRKSRC}/modules/audio_output/oss.c
|
||||
# pthreads/cflags
|
||||
@${REINPLACE_CMD} -e 's/-lpthread/${PTHREAD_LIBS}/' \
|
||||
-e 's/-lc_r/${PTHREAD_LIBS}/' \
|
||||
-e 's|-mcpu=pentiumpro||' \
|
||||
-e 's|postproc/postprocess.h|ffmpeg/postproc/postprocess.h|' \
|
||||
${WRKSRC}/configure
|
||||
# cdrom/dvd support
|
||||
@${REINPLACE_CMD} -e 's|/dev/cdrom|${DEFAULT_CDROM_DEVICE}|; \
|
||||
s|/dev/dvd|${DEFAULT_DVD_DEVICE}|' \
|
||||
${WRKSRC}/include/vlc_config.h
|
||||
.if ${ARCH}=="i386" && defined(WITH_WIN32_CODECS)
|
||||
@${REINPLACE_CMD} -e 's|-DWIN32_PATH=\\"\\"|-DWIN32_PATH=\\"${LOCALBASE}/lib/win32\\"|' \
|
||||
${WRKSRC}/loader/Makefile.in
|
||||
@${REINPLACE_CMD} -e 's|/usr/lib/win32|${LOCALBASE}/lib/win32|' \
|
||||
${WRKSRC}/loader/module.c
|
||||
.endif
|
||||
|
||||
pre-build:
|
||||
@${REINPLACE_CMD} -e 's|/intl/libintl.a|${WRKSRC}/intl/libintl.a|' \
|
||||
${WRKSRC}/vlc-config
|
||||
|
||||
pre-install:
|
||||
${RM} -rf ${PLIST} ${FAKEDIR}
|
||||
${MKDIR} ${FAKEDIR}
|
||||
${TOUCH} -f ${PLIST}
|
||||
.if defined(WITH_SKINS) && !defined(WITHOUT_SKINS)
|
||||
${ECHO_CMD} "share/pixmaps/gvlc.png" >> ${PLIST}
|
||||
${ECHO_CMD} "share/applications/svlc.desktop" >> ${PLIST}
|
||||
.endif
|
||||
.if !defined(WITHOUT_WXGTK)
|
||||
${ECHO_CMD} "share/pixmaps/vlc.png" >> ${PLIST}
|
||||
${ECHO_CMD} "share/applications/wxvlc.desktop" >> ${PLIST}
|
||||
.endif
|
||||
.if !defined(WITHOUT_WXGTK) || defined(WITH_SKINS)
|
||||
${ECHO_CMD} "@unexec ${RMDIR} %D/share/applications 2>/dev/null || ${TRUE}" >> ${PLIST}
|
||||
.endif
|
||||
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
|
||||
${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET} prefix=${FAKEDIR}
|
||||
cd ${FAKEDIR}/bin && ${FIND} -s * | \
|
||||
${SED} -e 's|^|bin/|' >> ${PLIST}
|
||||
cd ${FAKEDIR}/include && ${FIND} -s * -type f -o -type l | \
|
||||
${SED} -e 's|^|include/|' >> ${PLIST} \
|
||||
&& ${FIND} -d * -type d | \
|
||||
${SED} -e 's|^|@dirrm include/|' >> ${PLIST}
|
||||
cd ${FAKEDIR}/lib && ${FIND} -s * -type f -o -type l| \
|
||||
${SED} -e 's|^|lib/|' >> ${PLIST} \
|
||||
&& ${FIND} -d * -type d | \
|
||||
${SED} -e 's|^|@dirrm lib/|' >> ${PLIST}
|
||||
.for dir in vlc
|
||||
cd ${FAKEDIR}/share/${dir} && ${FIND} -s * -type f -o -type l | \
|
||||
${SED} -e 's|^|share/${dir}/|' >> ${PLIST} \
|
||||
&& ${FIND} -d * -type d | \
|
||||
${SED} -e 's|^|@dirrm share/${dir}/|' >> ${PLIST}
|
||||
.endfor
|
||||
.if !defined(NOPORTDOCS)
|
||||
cd ${FAKEDIR}/share/doc && ${FIND} -s * -type f -o -type l | \
|
||||
${SED} -e 's|^|share/doc/|' >> ${PLIST} \
|
||||
&& ${FIND} -d * -type d | \
|
||||
${SED} -e 's|^|@dirrm share/doc/|' >> ${PLIST}
|
||||
.else
|
||||
${RM} -rf ${FAKEDIR}/share/doc
|
||||
.endif
|
||||
${ECHO_MSG} "@dirrm share/vlc" >> ${PLIST}
|
||||
.if !defined(WITHOUT_NLS)
|
||||
cd ${FAKEDIR}/share/locale && ${FIND} -s * -type f -o -type l | \
|
||||
${SED} -e 's|^|share/locale/|' >> ${PLIST}
|
||||
.endif
|
||||
.if defined(WITH_VLC_MOZILLA_PLUGIN) && !defined(WITHOUT_VLC_MOZILLA_PLUGIN)
|
||||
cd ${FAKEDIR}/mozilla && ${FIND} -s * | \
|
||||
${SED} -e 's|^|lib/browser_plugins/|' >> ${PLIST}
|
||||
.endif
|
||||
.for locale in my oc ps tet tl
|
||||
${ECHO_CMD} "@unexec ${RMDIR} %D/share/locale/${locale}/LC_MESSAGES 2>/dev/null || ${TRUE}" >> ${PLIST}
|
||||
${ECHO_CMD} "@unexec ${RMDIR} %D/share/locale/${locale} 2>/dev/null || ${TRUE}" >> ${PLIST}
|
||||
.endfor
|
||||
|
||||
do-install:
|
||||
@${REINPLACE_CMD} -e 's|${FAKEDIR}|${PREFIX}|' \
|
||||
${FAKEDIR}/bin/vlc-config
|
||||
@${RM} -f ${FAKEDIR}/bin/*.bak
|
||||
cd ${FAKEDIR}/bin && ${FIND} . | \
|
||||
${CPIO} -vpdm -R ${BINOWN}:${BINGRP} ${PREFIX}/bin
|
||||
cd ${FAKEDIR}/include && ${FIND} . | \
|
||||
${CPIO} -vpdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/include
|
||||
cd ${FAKEDIR}/lib && ${FIND} . | \
|
||||
${CPIO} -vpdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib
|
||||
cd ${FAKEDIR}/share && ${FIND} . | \
|
||||
${CPIO} -vpdm -L -R ${SHAREOWN} ${PREFIX}/share
|
||||
.if defined(WITH_VLC_MOZILLA_PLUGIN) && !defined(WITH_VLC_MOZILLA_PLUGIN)
|
||||
@${MKDIR} ${PREFIX}/lib/browser_plugins
|
||||
${INSTALL_DATA} ${FAKEDIR}/mozilla/* ${PREFIX}/lib/browser_plugins
|
||||
.endif
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/vlc.1 ${MANPREFIX}/man/man1/
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/vlc-config.1 ${MANPREFIX}/man/man1/
|
||||
.if defined(WITH_SKINS) || !defined(WITHOUT_WXGTK)
|
||||
if [ ! -d ${PREFIX}/share/applications ]; then \
|
||||
${MKDIR} ${PREFIX}/share/applications ; \
|
||||
fi
|
||||
if [ ! -d ${PREFIX}/share/pixmaps ]; then \
|
||||
${MKDIR} ${PREFIX}/share/pixmaps ; \
|
||||
fi
|
||||
.if defined(WITH_SKINS) && !defined(WITHOUT_SKINS)
|
||||
${INSTALL_DATA} ${FILESDIR}/svlc.desktop ${PREFIX}/share/applications
|
||||
${INSTALL_DATA} ${FAKEDIR}/share/vlc/vlc48x48.png ${PREFIX}/share/pixmaps/gvlc.png
|
||||
.endif
|
||||
.if !defined(WITHOUT_WXGTK)
|
||||
${INSTALL_DATA} ${FILESDIR}/wxvlc.desktop ${PREFIX}/share/applications
|
||||
${INSTALL_DATA} ${FAKEDIR}/share/vlc/vlc48x48.png ${PREFIX}/share/pixmaps/vlc.png
|
||||
.endif
|
||||
.endif
|
@ -1,3 +1,3 @@
|
||||
MD5 (vlc-0.8.4a.tar.bz2) = 944329bc288ef815e678745e07f1999e
|
||||
SHA256 (vlc-0.8.4a.tar.bz2) = 003b6bb71255af006ac3a36ff0184e0cb9d5e08589b2d500f73b3c8052d6adf9
|
||||
SIZE (vlc-0.8.4a.tar.bz2) = 7191539
|
||||
MD5 (vlc-0.8.5.tar.bz2) = 16bb5bf87ed94879a8eb7b0ff9b4f16f
|
||||
SHA256 (vlc-0.8.5.tar.bz2) = 48bc557bec16b48a304e5e760aef10e1c3cca2d74a011bc900bd1768d9ee79fa
|
||||
SIZE (vlc-0.8.5.tar.bz2) = 8562996
|
||||
|
@ -1,34 +1,45 @@
|
||||
--- configure.orig Sun Nov 27 13:45:02 2005
|
||||
+++ configure Sun Nov 27 13:46:20 2005
|
||||
@@ -41006,12 +41006,12 @@
|
||||
pkg_cv_BONJOUR_CFLAGS="$BONJOUR_CFLAGS"
|
||||
--- configure.orig Sun Jan 1 18:01:13 2006
|
||||
+++ configure Mon Jan 2 14:38:53 2006
|
||||
@@ -21195,11 +21195,7 @@
|
||||
done
|
||||
|
||||
else
|
||||
if test -n "$PKG_CONFIG" && \
|
||||
- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"avahi-client >= 0.3\"") >&5
|
||||
- ($PKG_CONFIG --exists --print-errors "avahi-client >= 0.3") 2>&5
|
||||
+ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"avahi-client >= 0.3\"" avahi-client < 0.6) >&5
|
||||
+ ($PKG_CONFIG --exists --print-errors "avahi-client >= 0.3 avahi-client < 0.6") 2>&5
|
||||
ac_status=$?
|
||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
(exit $ac_status); }; then
|
||||
- pkg_cv_BONJOUR_CFLAGS=`$PKG_CONFIG --cflags "avahi-client >= 0.3" 2>/dev/null`
|
||||
+ pkg_cv_BONJOUR_CFLAGS=`$PKG_CONFIG --cflags "avahi-client >= 0.3 avahi-client < 0.6" 2>/dev/null`
|
||||
else
|
||||
pkg_failed=yes
|
||||
- echo "$as_me:$LINENO: result: no" >&5
|
||||
-echo "${ECHO_T}no" >&6
|
||||
- { { echo "$as_me:$LINENO: error: cannot find ${with_dv_raw1394}/include/libraw1394/raw1394.h" >&5
|
||||
-echo "$as_me: error: cannot find ${with_dv_raw1394}/include/libraw1394/raw1394.h" >&2;}
|
||||
- { (exit 1); exit 1; }; }
|
||||
+ echo "not found"
|
||||
fi
|
||||
else
|
||||
|
||||
@@ -21361,8 +21357,7 @@
|
||||
if test -n "${enable_dv}"
|
||||
then
|
||||
{ { echo "$as_me:$LINENO: error: cannot find libraw1394 headers" >&5
|
||||
-echo "$as_me: error: cannot find libraw1394 headers" >&2;}
|
||||
- { (exit 1); exit 1; }; }
|
||||
+echo "$as_me: error: cannot find libraw1394 headers" >&2;} ;}
|
||||
fi
|
||||
|
||||
fi
|
||||
@@ -41024,12 +41024,12 @@
|
||||
pkg_cv_BONJOUR_LIBS="$BONJOUR_LIBS"
|
||||
else
|
||||
if test -n "$PKG_CONFIG" && \
|
||||
- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"avahi-client >= 0.3\"") >&5
|
||||
- ($PKG_CONFIG --exists --print-errors "avahi-client >= 0.3") 2>&5
|
||||
+ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"avahi-client >= 0.3 avahi-client < 0.6\"") >&5
|
||||
+ ($PKG_CONFIG --exists --print-errors "avahi-client >= 0.3 avahi-client < 0.6") 2>&5
|
||||
ac_status=$?
|
||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
(exit $ac_status); }; then
|
||||
- pkg_cv_BONJOUR_LIBS=`$PKG_CONFIG --libs "avahi-client >= 0.3" 2>/dev/null`
|
||||
+ pkg_cv_BONJOUR_LIBS=`$PKG_CONFIG --libs "avahi-client >= 0.3 avahi-client < 0.6" 2>/dev/null`
|
||||
else
|
||||
pkg_failed=yes
|
||||
@@ -21381,8 +21376,7 @@
|
||||
echo "$as_me:$LINENO: result: no" >&5
|
||||
echo "${ECHO_T}no" >&6
|
||||
{ { echo "$as_me:$LINENO: error: cannot cd to ${real_dv_raw1394_tree}" >&5
|
||||
-echo "$as_me: error: cannot cd to ${real_dv_raw1394_tree}" >&2;}
|
||||
- { (exit 1); exit 1; }; }
|
||||
+echo "$as_me: error: cannot cd to ${real_dv_raw1394_tree}" >&2;} ;}
|
||||
fi
|
||||
if test -f "${real_dv_raw1394_tree}/src/.libs/libraw1394.a"
|
||||
then
|
||||
@@ -21610,8 +21604,7 @@
|
||||
if test -n "${enable_dv}"
|
||||
then
|
||||
{ { echo "$as_me:$LINENO: error: cannot find libavc1394 headers" >&5
|
||||
-echo "$as_me: error: cannot find libavc1394 headers" >&2;}
|
||||
- { (exit 1); exit 1; }; }
|
||||
+echo "$as_me: error: cannot find libavc1394 headers" >&2;} ; }
|
||||
fi
|
||||
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user