aboutsummaryrefslogtreecommitdiff
path: root/graphics/shotwell/shotwell.SlackBuild
diff options
context:
space:
mode:
authorBrad Hermanson <apeitheo@gmail.com>2012-05-29 17:31:41 -0400
committerErik Hanson <erik@slackbuilds.org>2012-06-03 15:21:08 -0500
commit6782b437bd7157c129158d810e224591256344f7 (patch)
treefaefe7ba8a2f5d18c912ab6f2283cff17ab49c2a /graphics/shotwell/shotwell.SlackBuild
parenta1bb68f9dcd0b5ef9dbe008d32fbe8ef66365135 (diff)
graphics/shotwell: Updated to work with our vala-12 build.
Newer versions of shotwell won't compile on 13.37 and this version on shotwell won't compile with newer vala. :/ So we made a vala-12 build that can install side by side other vala build. Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'graphics/shotwell/shotwell.SlackBuild')
-rw-r--r--graphics/shotwell/shotwell.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/graphics/shotwell/shotwell.SlackBuild b/graphics/shotwell/shotwell.SlackBuild
index 2dd03af005c2..ecbf94b5e3c0 100644
--- a/graphics/shotwell/shotwell.SlackBuild
+++ b/graphics/shotwell/shotwell.SlackBuild
@@ -4,7 +4,7 @@
PRGNAM=shotwell
VERSION=0.11.6
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -55,11 +55,15 @@ CXXFLAGS="$SLKCFLAGS" \
--install-headers \
--release
+# Allow shotwell to find our tweaked vala-12 package.
+sed -e 's/valac/valac-0.12/' -i plugins/Makefile.plugin.mk
+sed -e 's/valac/valac-0.12/' -i Makefile
+
make
make install DESTDIR=$PKG
# Yes, we're going to overwrite the Slackware-provided rules file.
-# 1. It's incorrect (it should have been generated this way in the
+# 1. It's incorrect (it should have been generated this way in the
# libgphoto2 package, but blame rworkman for that) :)
# 2. Shotwell needs this to function correctly
# 3. It won't hurt at all to leave it if/when shotwell is removed (see #1)