aboutsummaryrefslogtreecommitdiff
path: root/audio/gtkpod/gtkpod.SlackBuild
diff options
context:
space:
mode:
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 6d87b0c1e198..f3c8bf5df13a 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