[138011] users/devans/GNOME-3/unstable/dports/gnome
devans at macports.org
devans at macports.org
Thu Jun 25 16:02:39 PDT 2015
Revision: 138011
https://trac.macports.org/changeset/138011
Author: devans at macports.org
Date: 2015-06-25 16:02:39 -0700 (Thu, 25 Jun 2015)
Log Message:
-----------
GNOME-3/unstable: libpeas, copy from stable and update to unstable version 1.15.0, configuration, variants, use gnome unstable livecheck.
Modified Paths:
--------------
users/devans/GNOME-3/unstable/dports/gnome/libpeas/Portfile
Added Paths:
-----------
users/devans/GNOME-3/unstable/dports/gnome/libpeas/
users/devans/GNOME-3/unstable/dports/gnome/libpeas/files/patch-configure.ac.diff
Modified: users/devans/GNOME-3/unstable/dports/gnome/libpeas/Portfile
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/libpeas/Portfile 2015-06-25 12:52:02 UTC (rev 138002)
+++ users/devans/GNOME-3/unstable/dports/gnome/libpeas/Portfile 2015-06-25 23:02:39 UTC (rev 138011)
@@ -5,7 +5,7 @@
PortGroup gobject_introspection 1.0
name libpeas
-version 1.14.0
+version 1.15.0
license LGPL-2
set branch [join [lrange [split ${version} .] 0 1] .]
description libpeas is a GObject-based plugins engine
@@ -18,8 +18,8 @@
use_xz yes
-checksums rmd160 51db7e66974cbc78bbf5121019e941dc86c795c1 \
- sha256 5e4b3a8968b71497ab26a7a528c414c4c640c5724328fa3507854f04788e2d76
+checksums rmd160 e934b1702896fb98ceb98ccfe9773f8c678acd45 \
+ sha256 5690c99cce35fa972a93b20d061bf2384017072d939c95ab50bdf2b72be41e1c
depends_build port:pkgconfig \
port:intltool \
@@ -33,6 +33,8 @@
gobject_introspection yes
+patchfiles patch-configure.ac.diff
+
# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
post-patch {
@@ -43,6 +45,8 @@
configure.args --enable-gtk \
--disable-glade-catalog \
+ --disable-lua5.1 \
+ --disable-luajit \
--disable-python2 \
--disable-python3 \
--disable-silent-rules
@@ -52,9 +56,21 @@
configure.args-replace --disable-glade-catalog --enable-glade-catalog
}
+# lua 5.1 support requires lua lgi support but lua-lgi uses lua 5.2
+
+# variant lua51 description {Enable lua 5.1 plugin support} {
+# depends_lib-append port:lua51
+# configure.args-replace --disable-lua5.1 --enable-lua5.1
+# }
+#
+# variant luajit requires lua51 description {Enable luajit plugin support} {
+# depends_lib-append port:luajit
+# configure.args-replace --disable-luajit --enable-luajit
+# }
+
# supports one version each of python2 python3 in parallel
-variant python27 description {Use python 2.7} {
+variant python27 description {Enable Python 2.7 plugin support} {
depends_lib-append port:py27-gobject3
set python_prefix ${frameworks_dir}/Python.framework/Versions/2.7
configure.pkg_config_path ${python_prefix}/lib/pkgconfig
@@ -67,7 +83,7 @@
# python3 minimum version is 3.2.0
-variant python34 description {Use python 3.4} {
+variant python34 description {Enable Python 3.4 plugin support} {
depends_lib-append port:py34-gobject3
set python_prefix ${frameworks_dir}/Python.framework/Versions/3.4
configure.pkg_config_path ${python_prefix}/lib/pkgconfig
@@ -92,4 +108,4 @@
system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor"
}
-livecheck.type gnome
+livecheck.type gnome-with-unstable
Added: users/devans/GNOME-3/unstable/dports/gnome/libpeas/files/patch-configure.ac.diff
===================================================================
--- users/devans/GNOME-3/unstable/dports/gnome/libpeas/files/patch-configure.ac.diff (rev 0)
+++ users/devans/GNOME-3/unstable/dports/gnome/libpeas/files/patch-configure.ac.diff 2015-06-25 23:02:39 UTC (rev 138011)
@@ -0,0 +1,14 @@
+--- configure.ac.orig 2015-06-25 08:09:27.000000000 -0700
++++ configure.ac 2015-06-25 08:12:46.000000000 -0700
+@@ -305,9 +305,9 @@
+ fi
+
+ if test "x$found_lua51" != "xyes"; then
+- PKG_CHECK_EXISTS([lua5.1 >= $LUA51_REQUIRED], [
++ PKG_CHECK_EXISTS([lua-5.1 >= $LUA51_REQUIRED], [
+ found_lua51=yes
+- with_lua51=lua5.1
++ with_lua51=lua-5.1
+ ], [
+ found_lua51=no
+ ])
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150625/ea7e9d2c/attachment.html>
More information about the macports-changes
mailing list