summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-21 15:50:18 -0500
committererik@slackbuilds.org <erik@slackbuilds.org>2010-05-23 23:17:12 -0500
commit8296e8ecb1bdd29b333116991d781730be577fe6 (patch)
tree60bc20e514e6e1b85cf25827b76d4a9ab5bcf095
parent2a85ff439bdfa0140adc493d1cc4f76c251fd2d2 (diff)
downloadslackbuilds-8296e8ecb1bdd29b333116991d781730be577fe6.tar.gz
multimedia/HandBrake: Add the GTK+ front-end.
Install the GTK+ front-end, there is basically no point to this package without it.
-rw-r--r--multimedia/HandBrake/HandBrake.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/multimedia/HandBrake/HandBrake.SlackBuild b/multimedia/HandBrake/HandBrake.SlackBuild
index bc15c56033..f65066329c 100644
--- a/multimedia/HandBrake/HandBrake.SlackBuild
+++ b/multimedia/HandBrake/HandBrake.SlackBuild
@@ -39,22 +39,21 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
mkdir download
-for file in $DLOADS ; do mv $CWD/$file download ; done
+for file in $DLOADS ; do cp $CWD/$file download ; done
chown -R root:root .
chmod -R a-s,u+w,g-w+r,o-w+r .
./configure \
--prefix=/usr\
- --disable-gtk \
--arch=$ARCH
cd build
make
- install -D -m0755 HandBrakeCLI $PKG/usr/bin/HandBrakeCLI
cd ..
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+ install -D -m0755 -s build/HandBrakeCLI $PKG/usr/bin/HandBrakeCLI
+ install -D -m0755 -s build/gtk/src/ghb $PKG/usr/bin/ghb
+ install -D -m0644 gtk/src/ghb.desktop $PKG/usr/share/applications/ghb.desktop
+ install -D -m0644 gtk/src/hb-icon.64.png $PKG/usr/share/pixmaps/hb-icon.png
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING CREDITS NEWS THANKS $PKG/usr/doc/$PRGNAM-$VERSION