aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multimedia/imagination/enable_transitions.patch4
-rw-r--r--multimedia/imagination/imagination.SlackBuild17
-rw-r--r--multimedia/imagination/imagination.info8
-rw-r--r--multimedia/imagination/slack-desc2
4 files changed, 21 insertions, 10 deletions
diff --git a/multimedia/imagination/enable_transitions.patch b/multimedia/imagination/enable_transitions.patch
new file mode 100644
index 000000000000..3490c9f9d400
--- /dev/null
+++ b/multimedia/imagination/enable_transitions.patch
@@ -0,0 +1,4 @@
+23c23
+< #define PLUGINS_INSTALLED 0
+---
+> #define PLUGINS_INSTALLED 1
diff --git a/multimedia/imagination/imagination.SlackBuild b/multimedia/imagination/imagination.SlackBuild
index fdfd2434abc2..d8fed69c9742 100644
--- a/multimedia/imagination/imagination.SlackBuild
+++ b/multimedia/imagination/imagination.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for imagination
-# Copyright 2010 by Giovanne Castro, Campinas, Sao Paulo, Brazil <giovannefc@ig.com.br>
+# Copyright 2011 by Giovanne Castro, Campinas, Sao Paulo, Brazil <giovannefc@ig.com.br>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,9 +21,11 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# Transition patch added by Roberto Metere, Cagliari, Italy <roberto@metere.it>
PRGNAM=imagination
-VERSION=${VERSION:-2.1.1}
+VERSION=${VERSION:-3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,13 +56,13 @@ else
LIBDIRSUFFIX=""
fi
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -69,6 +71,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Enable all transitions with a patch
+patch src/support.h -i $CWD/enable_transitions.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -76,7 +81,9 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--build=$ARCH-slackware-linux
-make
+# configure.in forces a debug build with -g in CFLAGS,
+# so we force it to use our SLKCFLAGS during "make"
+make V=1 CFLAGS="$SLKCFLAGS"
make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
diff --git a/multimedia/imagination/imagination.info b/multimedia/imagination/imagination.info
index c2a007cda30f..75783c7c2dd8 100644
--- a/multimedia/imagination/imagination.info
+++ b/multimedia/imagination/imagination.info
@@ -1,10 +1,10 @@
PRGNAM="imagination"
-VERSION="2.1.1"
+VERSION="3.0"
HOMEPAGE="http://imagination.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/project/imagination/imagination/2.1.1/imagination-2.1.1.tar.bz2"
-MD5SUM="67889b55f28350de7f4d011c957485b9"
+DOWNLOAD="http://downloads.sourceforge.net/project/imagination/imagination/3.0/imagination-3.0.tar.gz"
+MD5SUM="ec7e6cf234020801a2af0fa04cfefef1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Giovanne Castro"
EMAIL="giovannefc@ig.com.br"
-APPROVED="Erik Hanson"
+APPROVED="Erik Hanson,Niels Horn"
diff --git a/multimedia/imagination/slack-desc b/multimedia/imagination/slack-desc
index baf4060db3c0..6adaee33486e 100644
--- a/multimedia/imagination/slack-desc
+++ b/multimedia/imagination/slack-desc
@@ -5,7 +5,7 @@
# make exactly 11 lines for the formatting to be correct. It's also customary
# to leave one space after the ':'.
- |----handy-ruler-----------------------------------------------------|
+ |----handy-ruler-------------------------------------------------------|
imagination: imagination (simple DVD slide show maker)
imagination:
imagination: Imagination is a lightweight and simple DVD slide show maker