[118910] trunk/dports/gnome/eog-plugins
devans at macports.org
devans at macports.org
Sun Apr 13 17:56:57 PDT 2014
Revision: 118910
https://trac.macports.org/changeset/118910
Author: devans at macports.org
Date: 2014-04-13 17:56:57 -0700 (Sun, 13 Apr 2014)
Log Message:
-----------
eog-plugins: update to version 3.12.0.
Modified Paths:
--------------
trunk/dports/gnome/eog-plugins/Portfile
Added Paths:
-----------
trunk/dports/gnome/eog-plugins/files/
Property Changed:
----------------
trunk/dports/gnome/eog-plugins/
Property changes on: trunk/dports/gnome/eog-plugins
___________________________________________________________________
Added: svn:mergeinfo
+ /users/devans/GNOME-3/stable/dports/gnome/eog-plugins:113175-118732
/users/devans/GNOME-3/unstable/dports/gnome/eog-plugins:116525-118152
Modified: trunk/dports/gnome/eog-plugins/Portfile
===================================================================
--- trunk/dports/gnome/eog-plugins/Portfile 2014-04-14 00:56:48 UTC (rev 118909)
+++ trunk/dports/gnome/eog-plugins/Portfile 2014-04-14 00:56:57 UTC (rev 118910)
@@ -4,8 +4,7 @@
PortSystem 1.0
name eog-plugins
-version 3.10.1
-revision 2
+version 3.12.0
license GPL-2+
set branch [join [lrange [split ${version} .] 0 1] .]
description Extra plugins for the Eye of GNOME image viewer
@@ -19,8 +18,8 @@
use_xz yes
-checksums rmd160 28859d3ade22dc275b452a28930c8155fa89e65f \
- sha256 d5b32c49dbf1e0b6cf56c9fdc6c19186c92e98d92b71aa98805491e2bb2f8e12
+checksums rmd160 c1bded4b72f9dada2328b1c636a7da4e22900e2a \
+ sha256 3f6c4e0dd63c1003f31c08636b6540cf0312b9b42e2e621c96b946c72e3d9742
depends_build port:pkgconfig \
port:intltool
@@ -35,8 +34,15 @@
port:libexif \
port:gsettings-desktop-schemas
-# reconfigure with our intltool.m4
+patchfiles patch-export-to-folder-less-chatty-bz727218.diff \
+ patch-slideshowshuffle-use-python3-bz727222.diff
+# update m4/intltool.m4 and autoreconf
+
+pre-configure {
+ copy -force ${prefix}/share/aclocal/intltool.m4 ${worksrcpath}/m4
+}
+
use_autoreconf yes
autoreconf.args -fvi
@@ -44,19 +50,36 @@
--disable-schemas-compile \
--disable-silent-rules
-# provided python plugins use libpeas python2 loader only
-# libpeas python2 loader supports python27
+# requires python32 or later
-variant python27 description {Use python 2.7} {
- depends_lib-append port:py27-pygtk
- configure.python ${prefix}/bin/python2.7
- set python_framework ${frameworks_dir}/Python.framework/Versions/2.7
+variant python32 conflicts python33 python34 description {Use python 3.2} {
+ depends_build-append port:python32
+ configure.python ${prefix}/bin/python3.2
+ set python_framework ${frameworks_dir}/Python.framework/Versions/3.2
configure.pkg_config_path ${python_framework}/lib/pkgconfig
configure.args-replace --disable-python --enable-python
}
-default_variants +python27
+variant python33 conflicts python32 python34 description {Use python 3.3} {
+ depends_build-append port:python33
+ configure.python ${prefix}/bin/python3.3
+ set python_framework ${frameworks_dir}/Python.framework/Versions/3.3
+ configure.pkg_config_path ${python_framework}/lib/pkgconfig
+ configure.args-replace --disable-python --enable-python
+}
+variant python34 conflicts python32 python33 description {Use python 3.4} {
+ depends_build-append port:python34
+ configure.python ${prefix}/bin/python3.4
+ set python_framework ${frameworks_dir}/Python.framework/Versions/3.4
+ configure.pkg_config_path ${python_framework}/lib/pkgconfig
+ configure.args-replace --disable-python --enable-python
+}
+
+if {![variant_isset python32] && ![variant_isset python34]} {
+ default_variants +python33
+}
+
post-activate {
system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140413/e0df6355/attachment.html>
More information about the macports-changes
mailing list