summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaatu <klaatu@member.fsf.org>2018-11-02 12:11:52 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-03 07:46:40 +0700
commit62e62a903653430853d933e89295a5aca02a3003 (patch)
tree455bb2ac82c8d9769f841f3e63ed6c1568536982
parent3375fce00a5fb473341ed2d32c87bc6cd4428a71 (diff)
downloadslackbuilds-62e62a903653430853d933e89295a5aca02a3003.tar.gz
multimedia/imagination: Updated for version 3.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--multimedia/imagination/enable_transitions.patch4
-rw-r--r--multimedia/imagination/imagination.SlackBuild19
-rw-r--r--multimedia/imagination/imagination.info6
3 files changed, 12 insertions, 17 deletions
diff --git a/multimedia/imagination/enable_transitions.patch b/multimedia/imagination/enable_transitions.patch
deleted file mode 100644
index 3490c9f9d4..0000000000
--- a/multimedia/imagination/enable_transitions.patch
+++ /dev/null
@@ -1,4 +0,0 @@
-23c23
-< #define PLUGINS_INSTALLED 0
----
-> #define PLUGINS_INSTALLED 1
diff --git a/multimedia/imagination/imagination.SlackBuild b/multimedia/imagination/imagination.SlackBuild
index 01651c975f..13a249b69f 100644
--- a/multimedia/imagination/imagination.SlackBuild
+++ b/multimedia/imagination/imagination.SlackBuild
@@ -22,17 +22,15 @@
# 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:-3.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-3.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -43,8 +41,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -63,7 +61,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -72,8 +70,8 @@ find -L . \
\( -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
+sed -i -e 's|\$(datadir)/doc|\$(docdir)|' $(find doc/ -name Makefile.am)
+autoreconf -vif
LDFLAGS="-lgmodule-2.0 -lm" \
CFLAGS="$SLKCFLAGS" \
@@ -81,6 +79,7 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
# configure.in forces a debug build with -g in CFLAGS,
diff --git a/multimedia/imagination/imagination.info b/multimedia/imagination/imagination.info
index 1a99c9843d..ec367cb94a 100644
--- a/multimedia/imagination/imagination.info
+++ b/multimedia/imagination/imagination.info
@@ -1,8 +1,8 @@
PRGNAM="imagination"
-VERSION="3.0"
+VERSION="3.1"
HOMEPAGE="http://imagination.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/imagination/imagination-3.0.tar.gz"
-MD5SUM="ec7e6cf234020801a2af0fa04cfefef1"
+DOWNLOAD="http://downloads.sourceforge.net/imagination/imagination-3.1.tar.bz2"
+MD5SUM="0c430f90a58cbd6c9fcebf1f8385d777"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ffmpeg"