summaryrefslogtreecommitdiff
path: root/graphics/shotwell/shotwell.SlackBuild
diff options
context:
space:
mode:
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 2dd03af005..ecbf94b5e3 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)