diff options
author | Robby Workman <rworkman@slackware.com> | 2016-06-23 14:14:07 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2016-06-26 14:09:41 -0500 |
commit | 9eadae587d8132ce12312c803a0c513119fb3691 (patch) | |
tree | a6f6806ca2ba1fac5a58505b0596eba39bdfc727 | |
parent | 55d459ceab6efa97519d8dbf09e0487b90d32c16 (diff) | |
download | slackbuilds-9eadae587d8132ce12312c803a0c513119fb3691.tar.gz |
multimedia/devede: Re-added. devedeng doesn't work on 14.1.
Revert "multimedia/devede: Removed (replaced with devedeng)."
This reverts commit 052fd5bf273cc03df4ad0f7899d0af1b198ea556.
According to orbea on ##slackware/freenode, devedeng cannot work
on 14.1 due to gtk3 version being too old. git master is fine.
-rw-r--r-- | multimedia/devede/README | 3 | ||||
-rw-r--r-- | multimedia/devede/devede.SlackBuild | 79 | ||||
-rw-r--r-- | multimedia/devede/devede.info | 10 | ||||
-rw-r--r-- | multimedia/devede/doinst.sh | 4 | ||||
-rw-r--r-- | multimedia/devede/fix_extra_backgrounds_dir.patch | 12 | ||||
-rw-r--r-- | multimedia/devede/slack-desc | 19 |
6 files changed, 127 insertions, 0 deletions
diff --git a/multimedia/devede/README b/multimedia/devede/README new file mode 100644 index 0000000000..193d618c20 --- /dev/null +++ b/multimedia/devede/README @@ -0,0 +1,3 @@ +DeVeDe is a program to create video DVDs and CDs (VCD, sVCD, or CVD) +suitable for home players from any number of video files, in any of +the formats supported by MPlayer. diff --git a/multimedia/devede/devede.SlackBuild b/multimedia/devede/devede.SlackBuild new file mode 100644 index 0000000000..09c4bcdb3f --- /dev/null +++ b/multimedia/devede/devede.SlackBuild @@ -0,0 +1,79 @@ +#!/bin/sh + +# Slackware build script for devede + +# Copyright 2007 Brian Reichert <rignes@pobox.com> +# Copyright 2010-2012 Niels Horn, Rio de Janeiro, Brazil +# Copyright 2013 Erwin van Zanten <e.van.zanten.evz@gmail.com> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# 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. + +# Modified by Roberto Neri <rneri@libero.it> to +# - use 'pkgdocdir' and 'uninstall' install script options +# - pass the version number to the build script + +PRGNAM=devede +VERSION=${VERSION:-3.23.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +ARCH=noarch + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +# Fix an error in the install.sh script that creates an unneeded "backgrounds" +# directory +patch -p1 < $CWD/fix_extra_backgrounds_dir.patch + +# Patch program to find the help file in our docdir +sed -i "s|usr/share/doc/$PRGNAM|usr/doc/$PRGNAM-$VERSION|" devede.py + +./install.sh \ + --prefix=/usr \ + --pkgdocdir=/usr/doc/$PRGNAM-$VERSION \ + --uninstall=no \ + DESTDIR=$PKG + +cp -a version.txt $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/multimedia/devede/devede.info b/multimedia/devede/devede.info new file mode 100644 index 0000000000..319bb61d27 --- /dev/null +++ b/multimedia/devede/devede.info @@ -0,0 +1,10 @@ +PRGNAM="devede" +VERSION="3.23.0" +HOMEPAGE="http://www.rastersoft.com/programas/devede.html" +DOWNLOAD="http://www.rastersoft.com/descargas/devede-3.23.0.tar.bz2" +MD5SUM="c6c012630bb2492b1c9146c727681963" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="dvdauthor ffmpeg vcdimager" +MAINTAINER="Erwin van Zanten" +EMAIL="e.van.zanten.evz@gmail.com" diff --git a/multimedia/devede/doinst.sh b/multimedia/devede/doinst.sh new file mode 100644 index 0000000000..4e8ba7071d --- /dev/null +++ b/multimedia/devede/doinst.sh @@ -0,0 +1,4 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + diff --git a/multimedia/devede/fix_extra_backgrounds_dir.patch b/multimedia/devede/fix_extra_backgrounds_dir.patch new file mode 100644 index 0000000000..7562900b37 --- /dev/null +++ b/multimedia/devede/fix_extra_backgrounds_dir.patch @@ -0,0 +1,12 @@ +--- devede/install.sh 2011-05-05 19:38:01.000000000 -0300 ++++ devede_patched/install.sh 2011-07-11 20:23:09.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/" diff --git a/multimedia/devede/slack-desc b/multimedia/devede/slack-desc new file mode 100644 index 0000000000..1cc1e2056a --- /dev/null +++ b/multimedia/devede/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +devede: DeVeDe (create video CDs and DVDs) +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: Homepage: http://www.rastersoft.com/programas/devede.html +devede: +devede: +devede: +devede: |