mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +01:00
multimedia/imagination: Updated for version 3.0.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
parent
a02a59b20a
commit
c955ae0724
4 changed files with 21 additions and 10 deletions
4
multimedia/imagination/enable_transitions.patch
Normal file
4
multimedia/imagination/enable_transitions.patch
Normal file
|
@ -0,0 +1,4 @@
|
|||
23c23
|
||||
< #define PLUGINS_INSTALLED 0
|
||||
---
|
||||
> #define PLUGINS_INSTALLED 1
|
|
@ -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 \
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue