[116466] users/devans/dports/gnome
devans at macports.org
devans at macports.org
Sat Jan 25 16:20:04 PST 2014
Revision: 116466
https://trac.macports.org/changeset/116466
Author: devans at macports.org
Date: 2014-01-25 16:20:03 -0800 (Sat, 25 Jan 2014)
Log Message:
-----------
users/devans/dports: add proposed ports gnome-screenshot, grilo.
Added Paths:
-----------
users/devans/dports/gnome/gnome-screenshot/
users/devans/dports/gnome/gnome-screenshot/Portfile
users/devans/dports/gnome/grilo/
users/devans/dports/gnome/grilo/Portfile
users/devans/dports/gnome/grilo/files/
users/devans/dports/gnome/grilo/files/patch-vala022-support.diff
Added: users/devans/dports/gnome/gnome-screenshot/Portfile
===================================================================
--- users/devans/dports/gnome/gnome-screenshot/Portfile (rev 0)
+++ users/devans/dports/gnome/gnome-screenshot/Portfile 2014-01-26 00:20:03 UTC (rev 116466)
@@ -0,0 +1,61 @@
+# -*- 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-screenshot
+version 3.10.1
+license GPL-2
+set branch [join [lrange [split ${version} .] 0 1] .]
+description GNOME dictionary application.
+long_description GNOME Dictionary can look for the definition or translation \
+ of a word in existing databases over the Internet.
+
+maintainers gmail.com:juanrgar openmaintainer
+categories gnome
+platforms darwin
+homepage https://www.gnome.org
+master_sites gnome:sources/${name}/${branch}/
+
+use_xz yes
+
+checksums rmd160 dfe871e614d4b477aea2b211edd237f50c14e0da \
+ sha256 9a4ed8821187e5a6923245508df4c116f28278b3089580eb2c4e6d32d178ba68
+
+depends_build port:pkgconfig \
+ port:intltool
+
+depends_lib port:desktop-file-utils \
+ port:gnome-icon-theme \
+ port:gtk3 \
+ port:libcanberra \
+ port:xorg-libXext
+
+depends_run port:gnome-settings-daemon \
+ port:yelp
+
+configure.args --disable-schemas-compile \
+ --disable-silent-rules
+
+# if port gnome-utils is installed
+# and gnome-screenshot binary exists
+# and port gnome-screenshot is NOT installed
+# deactivate outdated port gnome-utils
+
+pre-activate {
+ if {![catch {registry_active gnome-utils}]} {
+ if {[file exists ${prefix}/bin/gnome-screenshot]} {
+ if {[catch {registry_active gnome-screenshot}]} {
+ registry_deactivate_composite gnome-utils "" [list ports_nodepcheck 1]
+ }
+ }
+ }
+}
+
+# port installs desktop application file, and gschemas
+post-activate {
+ 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/dports/gnome/gnome-screenshot/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: users/devans/dports/gnome/grilo/Portfile
===================================================================
--- users/devans/dports/gnome/grilo/Portfile (rev 0)
+++ users/devans/dports/gnome/grilo/Portfile 2014-01-26 00:20:03 UTC (rev 116466)
@@ -0,0 +1,63 @@
+# -*- 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 grilo
+version 0.2.7
+license LGPL-2.1
+set branch [join [lrange [split ${version} .] 0 1] .]
+description Framework for discovering and browsing media.
+long_description Grilo is a framework for browsing and searching media \
+ content from various sources using a single API.
+
+maintainers gmail.com:juanrgar openmaintainer
+categories gnome
+platforms darwin
+homepage https://wiki.gnome.org/Grilo
+master_sites gnome:sources/${name}/${branch}/
+
+use_xz yes
+
+checksums rmd160 c5c387028efc16eb663335afc38776037eefb838 \
+ sha256 4a854ee6f9a220f05e696813949be94780c12a7fb281253f10a545f30ed596d8
+
+depends_build port:pkgconfig \
+ port:intltool
+
+depends_lib port:glib2 \
+ port:libxml2 \
+ port:liboauth \
+ port:gobject-introspection
+
+configure.args --enable-introspection=yes \
+ --disable-silent-rules \
+ --disable-debug \
+ --enable-compile-warnings=no \
+ --disable-test-ui \
+ --disable-grl-net \
+ --disable-tests \
+ --disable-vala
+
+patchfiles patch-vala022-support.diff
+
+use_autoreconf yes
+autoreconf.args -fvi
+
+variant vala description {Vala plugin support} {
+ depends_lib-append port:vala
+
+ configure.args-delete --disable-vala
+ configure.args-append --enable-vala
+}
+
+variant net description {Enable Grilo Net library} {
+ depends_lib-append port:libsoup
+
+ configure.args-delete --disable-grl-net
+ configure.args-append --enable-grl-net
+}
+
+default_variants +net
+
+livecheck.type gnome
Property changes on: users/devans/dports/gnome/grilo/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: users/devans/dports/gnome/grilo/files/patch-vala022-support.diff
===================================================================
--- users/devans/dports/gnome/grilo/files/patch-vala022-support.diff (rev 0)
+++ users/devans/dports/gnome/grilo/files/patch-vala022-support.diff 2014-01-26 00:20:03 UTC (rev 116466)
@@ -0,0 +1,11 @@
+--- configure.ac.orig 2014-01-25 17:16:34.000000000 +0100
++++ configure.ac 2014-01-25 17:17:57.000000000 +0100
+@@ -228,7 +228,7 @@
+ AC_MSG_RESULT([$enable_vala])
+ if test "x$enable_vala" != "xno"; then
+ valapkg=""
+- m4_foreach([VERSION], [[0.12], [0.14], [0.16], [0.18], [0.20]],
++ m4_foreach([VERSION], [[0.12], [0.14], [0.16], [0.18], [0.20], [0.22]],
+ [PKG_CHECK_EXISTS([ libvala-VERSION ],
+ [ valapkg="libvala-VERSION" ])
+ ])
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140125/36bf03e4/attachment-0001.html>
More information about the macports-changes
mailing list