[57523] trunk/dports/multimedia
mnick at macports.org
mnick at macports.org
Sat Sep 12 06:43:36 PDT 2009
Revision: 57523
http://trac.macports.org/changeset/57523
Author: mnick at macports.org
Date: 2009-09-12 06:43:30 -0700 (Sat, 12 Sep 2009)
Log Message:
-----------
new port: provides VLC 0.9 branch for people on 10.4 (closes #20349)
Modified Paths:
--------------
trunk/dports/multimedia/VLC09/Portfile
trunk/dports/multimedia/VLC09/files/patch-Makefile.am.diff
Added Paths:
-----------
trunk/dports/multimedia/VLC09/
Removed Paths:
-------------
trunk/dports/multimedia/VLC09/files/patch-configure.ac-xcb.diff
Modified: trunk/dports/multimedia/VLC09/Portfile
===================================================================
--- trunk/dports/multimedia/VLC/Portfile 2009-09-12 12:49:44 UTC (rev 57519)
+++ trunk/dports/multimedia/VLC09/Portfile 2009-09-12 13:43:30 UTC (rev 57523)
@@ -3,30 +3,30 @@
PortSystem 1.0
-name VLC
-version 1.0.1
-revision 1
+name VLC09
+version 0.9.10
categories multimedia
maintainers mnick openmaintainer
description VLC is a cross-platform media player and streaming server
long_description VLC media player is a highly portable multimedia player for \
- various audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX, \
- mp3, ogg, ...) as well as DVDs, VCDs, and various streaming protocols. \
- It can also be used as a server to stream in unicast or multicast \
- in IPv4 or IPv6 on a high-bandwidth network.
+ various audio and video formats. This is the 0.9 branch of VLC \
+ and intended for Mac OS X 10.4. On 10.5+ the 'VLC' port is recommended \
+ instead
+license GPL
platforms darwin
+conflicts VLC
homepage http://www.videolan.org
master_sites http://download.videolan.org/pub/videolan/vlc/${version}/
distname vlc-${version}
use_bzip2 yes
-checksums md5 6e299d373e7751bb36de001cdc6a2989 \
- sha1 4bd670f538651633c1115c8f4efc94211ff882ec \
- rmd160 9604d3fd33888a058472ebda711ac17f78f8de3f
+checksums md5 5035b2ea8f88ff6ee92b0a9feaed8c7c \
+ sha1 8b562a5327c358a332f97d9012702ca2b445c0ed \
+ rmd160 25a96098e3507d48f7d62d1b2f3a1138c2004832
depends_lib port:lame port:a52dec port:libogg port:flac \
port:libdca port:libcddb port:libcdio port:libmad \
@@ -35,21 +35,11 @@
port:libdvdplay port:libdvdnav port:ffmpeg \
port:gnutls port:taglib port:libxml2 port:faad2
-pre-fetch {
- if {"darwin" == ${os.platform} && ${os.major} < 9} {
- ui_error "${name} ${version} requires Mac OS X 10.5 or greater"
- return -code error "incompatible Mac OS X version"
- }
-}
+patchfiles patch-Makefile.am.diff
-patchfiles patch-Makefile.am.diff patch-configure.ac-xcb.diff
-
use_autoreconf yes
autoreconf.args -fvi
-# VLC needs to be compiled with llvm-gcc frontend
-configure.compiler llvm-gcc-4.2
-
build.target all
destroot.target install
@@ -217,8 +207,7 @@
platform macosx {
destroot.target-append VLC.app
post-destroot {
- file mkdir ${destroot}${applications_dir}
- file rename ${worksrcpath}/VLC.app ${destroot}${applications_dir}/VLC.app
+ file rename ${worksrcpath}/VLC.app ${destroot}${applications_dir}/VLC09.app
}
}
Modified: trunk/dports/multimedia/VLC09/files/patch-Makefile.am.diff
===================================================================
--- trunk/dports/multimedia/VLC/files/patch-Makefile.am.diff 2009-09-12 12:49:44 UTC (rev 57519)
+++ trunk/dports/multimedia/VLC09/files/patch-Makefile.am.diff 2009-09-12 13:43:30 UTC (rev 57523)
@@ -1,8 +1,8 @@
---- Makefile.am.orig 2009-07-07 17:34:22.000000000 +0200
-+++ Makefile.am 2009-07-07 17:38:50.000000000 +0200
-@@ -411,13 +411,6 @@
- vlc$(EXEEXT):
- ln -sf bin/vlc-static$(EXEEXT) vlc$(EXEEXT)
+--- Makefile.am.orig 2009-04-13 18:30:56.000000000 -0700
++++ Makefile.am 2009-04-13 18:31:20.000000000 -0700
+@@ -398,13 +398,6 @@ vlc$(EXEEXT): Makefile.am
+ chmod +x vlc.tmp
+ mv -f -- vlc.tmp vlc
-if HAVE_DARWIN
-if BUILD_VLC
@@ -14,20 +14,20 @@
# VLC-release.app for packaging and giving it to your friends
# use package-macosx to get a nice dmg
VLC-release.app: vlc
-@@ -428,7 +421,7 @@
+@@ -415,7 +408,7 @@ VLC-release.app: vlc
for i in vlc.xcodeproj Resources README.MacOSX.rtf ; do \
cp -R $(srcdir)/extras/package/macosx/$$i $(top_builddir)/tmp/extras/package/macosx/; \
done
-- REVISION=`git describe --always` && \
-+ REVISION="$(VERISON_REVISION)" && \
+- REVISION=`git describe` && \
++ REVISION="$(VERSION_REVISION)" && \
cat $(top_builddir)/extras/package/macosx/Info.plist | \
sed "s/#REVISION#/$$REVISION/g" > $(top_builddir)/tmp/extras/package/macosx/Info.plist
cp -R $(top_builddir)/extras/package/macosx/Resources $(top_builddir)/tmp/extras/package/macosx/
-@@ -582,7 +575,7 @@
+@@ -582,7 +575,7 @@ VLC.app: vlc $(top_builddir)/src/.libs/l
for i in vlc.xcodeproj Resources README.MacOSX.rtf; do \
cp -R $(srcdir)/extras/package/macosx/$$i $(top_builddir)/tmp/extras/package/macosx/; \
done
-- REVISION=`git describe --always` && \
+- REVISION=`git describe` && \
+ REVISION="$(VERSION_REVISION)" && \
cat $(top_builddir)/extras/package/macosx/Info.plist | \
sed "s/#REVISION#/$$REVISION/g" > $(top_builddir)/tmp/extras/package/macosx/Info.plist
Deleted: trunk/dports/multimedia/VLC09/files/patch-configure.ac-xcb.diff
===================================================================
--- trunk/dports/multimedia/VLC/files/patch-configure.ac-xcb.diff 2009-09-12 12:49:44 UTC (rev 57519)
+++ trunk/dports/multimedia/VLC09/files/patch-configure.ac-xcb.diff 2009-09-12 13:43:30 UTC (rev 57523)
@@ -1,22 +0,0 @@
---- configure.ac.orig 2009-07-12 12:31:28.000000000 +0200
-+++ configure.ac 2009-07-12 12:32:23.000000000 +0200
-@@ -5362,19 +5362,6 @@
- fi
- fi
-
--dnl
--dnl Global hotkeys using XCB
--dnl
--PKG_CHECK_MODULES(XCB, [xcb], [
-- PKG_CHECK_MODULES(XCB_KEYSYMS, [xcb-keysyms], [
-- PKG_CHECK_MODULES(XPROTO, [xproto], [
-- VLC_ADD_PLUGIN([globalhotkeys])
-- VLC_ADD_CFLAGS([globalhotkeys],[${XCB_KEYSYMS_CFLAGS} ${XCB_CFLAGS}] )
-- VLC_ADD_LIBS([globalhotkeys],[${XCB_KEYSYMS_LIBS} ${XCB_LIBS}] )
-- ], [ AC_MSG_WARN( [Xproto not found] ) ])
-- ], [ AC_MSG_WARN( [XCB keysyms was not found]) ])
--], [ AC_MSG_WARN( [XCB was not found]) ])
--
- AC_ARG_WITH(,[Misc options:])
-
- dnl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090912/b8baf0cd/attachment.html>
More information about the macports-changes
mailing list