[119569] users/devans/GNOME-3/stable/dports/gnome
devans at macports.org
devans at macports.org
Wed Apr 30 12:48:18 PDT 2014
Revision: 119569
https://trac.macports.org/changeset/119569
Author: devans at macports.org
Date: 2014-04-30 12:48:18 -0700 (Wed, 30 Apr 2014)
Log Message:
-----------
GNOME-3/stable: commit new port, gnome-music version 3.12.1, for testing.
Added Paths:
-----------
users/devans/GNOME-3/stable/dports/gnome/gnome-music/
users/devans/GNOME-3/stable/dports/gnome/gnome-music/Portfile
Added: users/devans/GNOME-3/stable/dports/gnome/gnome-music/Portfile
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/gnome-music/Portfile (rev 0)
+++ users/devans/GNOME-3/stable/dports/gnome/gnome-music/Portfile 2014-04-30 19:48:18 UTC (rev 119569)
@@ -0,0 +1,80 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name gnome-music
+version 3.12.1
+license GPL-2
+set branch [join [lrange [split ${version} .] 0 1] .]
+description Music is the GNOME music playing application.
+long_description ${description}
+
+maintainers devans openmaintainer
+categories gnome
+platforms darwin
+homepage https://wiki.gnome.org/Apps/Music
+master_sites gnome:sources/${name}/${branch}/
+
+use_xz yes
+
+checksums rmd160 6349e52f39a2d057995d9a8755082613e5142ada \
+ sha256 197a62475a8f13eb9548a8d885c30f01d7f5b04e95dc09933e57f90dd79470fc
+
+depends_build port:pkgconfig \
+ port:intltool \
+ port:yelp-tools \
+ port:itstool
+
+depends_lib port:desktop-file-utils \
+ port:gtk3 \
+ port:gobject-introspection \
+ port:grilo \
+ port:tracker
+
+#depends_run port:gnome-settings-daemon \
+# port:yelp
+
+post-patch {
+ reinplace "s|^#!/.*|#!${configure.python}|" ${worksrcpath}/gnome-music.in
+}
+
+# update m4/intltool.m4 and autoreconf
+
+pre-configure {
+ copy -force ${prefix}/share/aclocal/intltool.m4 ${worksrcpath}/m4
+}
+
+use_autoreconf yes
+autoreconf.args -fvi
+
+configure.args --disable-schemas-compile \
+ --disable-silent-rules
+
+variant python32 conflicts python33 python34 description {Use Python3.2} {
+ depends_lib-append port:py32-gobject3
+ configure.python ${prefix}/bin/python3.2
+}
+
+variant python33 conflicts python32 python34 description {Use Python3.3} {
+ depends_lib-append port:py33-gobject3
+ configure.python ${prefix}/bin/python3.3
+}
+
+variant python34 conflicts python33 python34 description {Use Python3.4} {
+ depends_lib-append port:py34-gobject3
+ configure.python ${prefix}/bin/python3.4
+}
+
+if {![variant_isset python32] && ![variant_isset python34]} {
+ default_variants +python33
+}
+
+# port installs hicolor icons, desktop application file, and gschemas
+post-activate {
+ system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor"
+ system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
+ system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
+}
+
+livecheck.type gnome
Property changes on: users/devans/GNOME-3/stable/dports/gnome/gnome-music/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140430/8268ce39/attachment.html>
More information about the macports-changes
mailing list