mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
multimedia/dvdauthor: Updated for version 0.7.0.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
e9fe55c10a
commit
e1b729bea7
3 changed files with 9 additions and 34 deletions
|
@ -23,19 +23,17 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
# Maintained as of version 0.6.18 by Niels Horn <niels.horn@gmail.com>
|
# Maintained as of version 0.6.18 by Niels Horn <niels.horn@gmail.com>
|
||||||
# Revision date: 2010/06/21
|
# Revision date: 2010/10/23
|
||||||
|
|
||||||
PRGNAM=dvdauthor
|
PRGNAM=dvdauthor
|
||||||
VERSION=${VERSION:-0.6.18}
|
VERSION=${VERSION:-0.7.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
# Automatically determine the architecture we're building on:
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
case "$( uname -m )" in
|
case "$( uname -m )" in
|
||||||
i?86) ARCH=i486 ;;
|
i?86) ARCH=i486 ;;
|
||||||
arm*) ARCH=arm ;;
|
arm*) ARCH=arm ;;
|
||||||
# Unless $ARCH is already set, use uname -m for all other archs:
|
|
||||||
*) ARCH=$( uname -m ) ;;
|
*) ARCH=$( uname -m ) ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
@ -45,8 +43,6 @@ TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
PDOCS="AUTHORS ChangeLog COPYING INSTALL NEWS README TODO"
|
|
||||||
|
|
||||||
if [ "$ARCH" = "i486" ]; then
|
if [ "$ARCH" = "i486" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||||
LIBDIRSUFFIX=""
|
LIBDIRSUFFIX=""
|
||||||
|
@ -72,9 +68,6 @@ cd $PRGNAM
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
chmod -R u+w,go+r-w,a-s .
|
chmod -R u+w,go+r-w,a-s .
|
||||||
|
|
||||||
# Patch for new libpng
|
|
||||||
patch -p1 < $CWD/png14.patch
|
|
||||||
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
|
@ -89,7 +82,9 @@ make
|
||||||
make install-strip DESTDIR=$PKG
|
make install-strip DESTDIR=$PKG
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a $PDOCS $PKG/usr/doc/$PRGNAM-$VERSION
|
cp -a \
|
||||||
|
AUTHORS ChangeLog COPYING INSTALL NEWS README TODO \
|
||||||
|
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
PRGNAM="dvdauthor"
|
PRGNAM="dvdauthor"
|
||||||
VERSION="0.6.18"
|
VERSION="0.7.0"
|
||||||
HOMEPAGE="http://dvdauthor.sf.net"
|
HOMEPAGE="http://dvdauthor.sf.net"
|
||||||
DOWNLOAD="http://downloads.sourceforge.net/dvdauthor/dvdauthor-0.6.18.tar.gz"
|
DOWNLOAD="http://downloads.sourceforge.net/dvdauthor/dvdauthor-0.7.0.tar.gz"
|
||||||
MD5SUM="ded5373800ac6448ff044606f5047550"
|
MD5SUM="33a447fb98ab3293ac40f869eedc17ff"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="Niels Horn"
|
MAINTAINER="Niels Horn"
|
||||||
EMAIL="niels.horn@gmail.com"
|
EMAIL="niels.horn@gmail.com"
|
||||||
APPROVED="rworkman"
|
APPROVED="dsomero"
|
||||||
|
|
|
@ -1,20 +0,0 @@
|
||||||
--- dvdauthor/src/subgen-image.c 2010-03-13 05:14:07.000000000 -0300
|
|
||||||
+++ dvdauthor_patched/src/subgen-image.c 2010-06-11 08:10:04.000000000 -0300
|
|
||||||
@@ -226,7 +226,7 @@
|
|
||||||
png_struct *ps;
|
|
||||||
png_info *pi;
|
|
||||||
png_byte **rowp;
|
|
||||||
- unsigned long width,height;
|
|
||||||
+ png_uint_32 width,height;
|
|
||||||
int bit_depth,color_type,channels,x,y;
|
|
||||||
|
|
||||||
fp=fopen(s->fname,"rb");
|
|
||||||
@@ -271,7 +271,7 @@
|
|
||||||
assert(bit_depth==8); // 8bpp, not 1, 2, 4, or 16
|
|
||||||
assert(!(color_type&PNG_COLOR_MASK_PALETTE)); // not a palette
|
|
||||||
if( width>MAXX || height>MAXY ) {
|
|
||||||
- fprintf(stderr,"ERR: PNG %s is too big: %lux%lu\n",s->fname,width,height);
|
|
||||||
+ fprintf(stderr,"ERR: PNG %s is too big: %lux%lu\n",s->fname,(long unsigned int)width,(long unsigned int)height);
|
|
||||||
png_destroy_read_struct(&ps,&pi,NULL);
|
|
||||||
return -1;
|
|
||||||
}
|
|
Loading…
Reference in a new issue