[44109] trunk/dports/kde

illogic-al at macports.org illogic-al at macports.org
Sun Dec 21 16:52:07 PST 2008


Revision: 44109
          http://trac.macports.org/changeset/44109
Author:   illogic-al at macports.org
Date:     2008-12-21 16:52:07 -0800 (Sun, 21 Dec 2008)
Log Message:
-----------
Development version of amarok

Added Paths:
-----------
    trunk/dports/kde/amarok-devel/
    trunk/dports/kde/amarok-devel/Portfile

Added: trunk/dports/kde/amarok-devel/Portfile
===================================================================
--- trunk/dports/kde/amarok-devel/Portfile	                        (rev 0)
+++ trunk/dports/kde/amarok-devel/Portfile	2008-12-22 00:52:07 UTC (rev 44109)
@@ -0,0 +1,72 @@
+# $Id$
+
+PortSystem          1.0
+
+name                amarok-devel
+version             2.0-svn
+revision            0
+categories          kde kde4
+maintainers         illogic-al at macports.org openmaintainer
+description         Amarok, the world renown media player/.
+long_description    Amarok is a music player and manager with an intuitive \
+                    interface. It provides a variety of feature which helps \
+                    to discover and manage your music.
+platforms           darwin
+homepage            http://amarok.kde.org
+master_sites        http://anonsvn.kde.org/
+fetch.type          svn
+svn.url             svn://anonsvn.kde.org/home/kde/trunk/extragear/multimedia/${distname}
+svn.tag             899860
+# The following are placeholders for official beta releases
+#master_sites	    http://ftp.kde.org/unstable/${name}/${version}/src/
+#use_bzip2           yes
+#distname            ${name}-${version}
+#distfiles           ${distname}.tar.bz2
+#checksums           md5 410863050e5de95df82106cc9dfe486a
+
+
+depends_lib         port:kdelibs4 \
+                    path:bin/kde4:kdebase4-runtime \
+                    port:taglib port:phonon \
+                    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
+pre-configure 	    { file mkdir ${worksrcpath} }
+
+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} \
+		-Wno-dev
+
+default_variants    +debug
+
+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 {
+    # put the bundle icons where they should go
+	system "mv ${destroot}/${prefix}/bin/amarok.app/Contents/Resources ${destroot}/Applications/KDE4/Amarok.app/Contents/"
+	system "rm -rf ${destroot}/${prefix}/bin"
+}
+


Property changes on: trunk/dports/kde/amarok-devel/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081221/e97c24a9/attachment.html>


More information about the macports-changes mailing list