multimedia/devede: Patched to fix background pixmap installation

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Niels Horn 2010-09-14 12:57:05 -05:00 committed by Robby Workman
parent bf08fafc1d
commit 1fa150086e
3 changed files with 23 additions and 10 deletions

View file

@ -27,12 +27,12 @@
# - pass the version number to the build script
# As of v3.16.8 maintained by Niels Horn <niels.horn@gmail.com>
# Revision date: 2010/07/10
# Revision date: 2010/09/13
PRGNAM=devede
VERSION=${VERSION:-3.16.9}
ARCH=noarch
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@ -51,15 +51,16 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
# Fix an error in the install.sh script that creates an unneeded "backgrounds"
# directory
patch -p1 < $CWD/fix_extra_backgrounds_dir.patch
./install.sh \
--prefix=/usr \
--pkgdocdir=/usr/doc/$PRGNAM-$VERSION \
--uninstall=no \
DESTDIR=$PKG
# Copy the missed backgrounds (not sure why install.sh skips them)
cp -a pixmaps/backgrounds/* $PKG/usr/share/pixmaps/backgrounds
cp -a version.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -0,0 +1,12 @@
--- devede-3.16.9/install.sh 2010-07-02 19:29:29.000000000 -0300
+++ devede-3.16.9_patched/install.sh 2010-09-13 22:57:48.000000000 -0300
@@ -64,9 +64,6 @@
install -m 755 -d "${DESTDIR}${2}/pixmaps"
install -m 644 "${scriptdir}/devede.svg" "${DESTDIR}${2}/pixmaps/"
- install -m 755 -d "${DESTDIR}${2}/pixmaps/backgrounds"
- install -m 644 "${scriptdir}/devede.svg" "${DESTDIR}${2}/pixmaps/"
-
install -m 755 -d "${DESTDIR}${2}/applications"
install -m 644 "${scriptdir}/devede.desktop" \
"${DESTDIR}${2}/applications/"

View file

@ -11,9 +11,9 @@ devede:
devede: DeVeDe is a program to create video DVDs and CDs (VCD, sVCD or CVD)
devede: suitable for home players, from any number of video files, in any of
devede: the formats supported by Mplayer.
devede:
devede:
devede: Homepage: http://www.rastersoft.com/programas/devede.html
devede:
devede:
devede:
devede:
devede:
devede:
devede:
devede: