summaryrefslogtreecommitdiff
path: root/audio/gtkpod/gtkpod.SlackBuild
diff options
context:
space:
mode:
authorVincent Batts <vbatts@hashbangbash.com>2010-03-18 16:51:37 -0500
committerErik Hanson <erik@slackbuilds.org>2010-05-13 13:31:58 +0200
commitfd007bb209c62febd1995b7d33a2a48ccfea7fbb (patch)
tree77db7f17ef24a2f8021bbcf2546643310d7016e1 /audio/gtkpod/gtkpod.SlackBuild
parente5d67f6f5b19506fff93ca480bf5a347d4d64e45 (diff)
downloadslackbuilds-fd007bb209c62febd1995b7d33a2a48ccfea7fbb.tar.gz
audio/gtkpod: Build bump.
Included patch for libmp4v2-1.9.1. Thanks to the new maintainer Vincent Batts.
Diffstat (limited to 'audio/gtkpod/gtkpod.SlackBuild')
-rw-r--r--audio/gtkpod/gtkpod.SlackBuild18
1 files changed, 11 insertions, 7 deletions
diff --git a/audio/gtkpod/gtkpod.SlackBuild b/audio/gtkpod/gtkpod.SlackBuild
index 6d87b0c1e1..f3c8bf5df1 100644
--- a/audio/gtkpod/gtkpod.SlackBuild
+++ b/audio/gtkpod/gtkpod.SlackBuild
@@ -2,16 +2,16 @@
# Slackware build script for gtkpod
-# Written by Alex Lysenka <me@alkos333.net>
+# Written by Alex Lysenka <me@alkos333.net>
# All rights reserved.
-#
+#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
-#
+#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
@@ -27,7 +27,7 @@
PRGNAM=gtkpod
VERSION=0.99.14
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -54,7 +54,9 @@ cd $TMP
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
+chmod -R u+w,go+r-w,a-s .
+
+zcat $CWD/MP4SetMetadata.diff.gz | patch -p1 || exit 1
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -70,6 +72,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+gzip -9 $PKG/usr/man/man?/*.?
+
mkdir -p $PKG/usr/share/applications
install -m 0644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/
@@ -77,7 +81,7 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp \
AUTHORS COPYING ChangeLog INSTALL NEWS README TODO* TROUBLESHOOTING \
$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/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
mkdir -p $PKG/install