multimedia/HandBrake: Add the GTK+ front-end.
Install the GTK+ front-end, there is basically no point to this package without it.
This commit is contained in:
parent
2a85ff439b
commit
8296e8ecb1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue