[46589] trunk/dports/kde/amarok/Portfile
illogic-al at macports.org
illogic-al at macports.org
Sun Feb 8 05:49:40 PST 2009
Revision: 46589
http://trac.macports.org/changeset/46589
Author: illogic-al at macports.org
Date: 2009-02-08 05:49:38 -0800 (Sun, 08 Feb 2009)
Log Message:
-----------
Use kde4 portgroup. Update some dependencies.
Modified Paths:
--------------
trunk/dports/kde/amarok/Portfile
Modified: trunk/dports/kde/amarok/Portfile
===================================================================
--- trunk/dports/kde/amarok/Portfile 2009-02-08 02:52:10 UTC (rev 46588)
+++ trunk/dports/kde/amarok/Portfile 2009-02-08 13:49:38 UTC (rev 46589)
@@ -1,10 +1,11 @@
# $Id$
PortSystem 1.0
+PortGroup kde4 1.0
name amarok
version 2.0.1.1
-revision 0
+revision 1
categories kde kde4
maintainers illogic-al openmaintainer
description Amarok, the world renown media player/.
@@ -13,24 +14,18 @@
help you to discover and manage your music.
platforms darwin
homepage http://amarok.kde.org
-master_sites http://ftp.kde.org/stable/${name}/${version}/src/
+master_sites kde:stable/${name}/${version}/src/
distfiles ${name}-${version}-mac.tar.bz2
use_bzip2 yes
checksums md5 881ae12942aa146bc08cca7db2501802
-depends_lib port:kdelibs4 \
- path:bin/kde4:kdebase4-runtime \
- port:taglib port:phonon \
+depends_lib-append port:kdelibs4 \
+ kdebase4-runtime \
+ port:taglib-devel \
+ port:libmp4v2 \
path:lib/mysql5/libmysqld.a:mysql5-devel
-# need to add embedded_server variant to mysql5 portfiles for this to work
-
-depends_build port:cmake port:automoc
-use_parallel_build yes
-worksrcdir build
-
post-extract {
- file mkdir ${worksrcpath}
reinplace \
"s|macro_optional_add_subdirectory( po )|#macro_optional_add_subdirectory( po )|" \
${workpath}/${distname}/CMakeLists.txt
@@ -43,31 +38,10 @@
}
}
-configure.cmd cmake
-configure.ccache no
-configure.compiler gcc-4.2
-configure.args ../${distname} -DBUILD_SHARED_LIBS=ON \
- -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \
- -DCMAKE_VERBOSE_MAKEFILE=ON \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_SYSTEM_PREFIX_PATH=\"${prefix}\;/usr\" \
- -DCMAKE_INSTALL_PREFIX=${prefix} \
- -DPHONON_INCLUDE_DIR=${prefix}/include \
- -DPHONON_LIBRARY=${prefix}/lib/libphonon.dylib \
- -DCMAKE_OSX_SYSROOT=${universal_sysroot} \
- -DQT_QMAKE_EXECUTABLE=${prefix}/libexec/qt4-mac/bin/qmake \
- -Wno-dev
+configure.args-append ../${distname} \
+ -DPHONON_INCLUDE_DIR=${prefix}/include \
+ -DPHONON_LIBRARY=${prefix}/lib/libphonon.dylib
-variant universal {
- configure.universal_args-delete --disable-dependency-tracking
- configure.args-append -DCMAKE_OSX_ARCHITECTURES=\"[strsed ${configure.universal_archs} "g| |;|"]\"
-}
-
-variant debug description "Enable debug binaries" {
- configure.args-delete -DCMAKE_BUILD_TYPE=Release
- configure.args-append -DCMAKE_BUILD_TYPE=debugFull
-}
-
post-destroot {
# This puts the bundle icons where they should go
system "mv ${destroot}/${prefix}/bin/amarok.app/Contents/Resources/amarok.icns ${destroot}/Applications/KDE4/Amarok.app/Contents/Resources/"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090208/d3e5c027/attachment.html>
More information about the macports-changes
mailing list