@ -21,7 +21,7 @@
# --- ROCK-COPYRIGHT-NOTE-END ---
mplayer_postmake() {
if type -p gtk-config > /dev/null ; then
if [ -f $root/var/adm/package/gtk+12 ] ; then
echo "extracting the default GUI ..."
mkdir -p $datadir/$pkg/Skin
tar $taropt $archdir/default-1.7.tar.bz2 -C $datadir/$pkg/Skin
@ -33,8 +33,7 @@ mplayer_postmake() {
ln -sf font-arial-24-iso-8859-1 $datadir/$pkg/font
echo "copy/move some documentation ..."
cp -fR DOCS/*.{css,html} DOCS/tech $docdir
rm -f $docdir/users_against_developers.html
cp -fR DOCS/HTML/en/*.{css,html} DOCS/tech $docdir
mv -f $datadir/$pkg/README* $docdir
echo "create a default configuration ..."
@ -59,11 +58,7 @@ mplayer_postmake() {
sysconfdir="$sysconfdir/mplayer"
confopt="--prefix=$root/$prefix --confdir=$sysconfdir --enable-menu"
confopt="$confopt --enable-linux-devfs --with-extraincdir=/usr/include/libpng"
confopt="$confopt --enable-fbdev --enable-largefiles --enable-streaming"
confopt="$confopt --enable-shared-pp"
# enable live support if present
[ -f $root/var/adm/package/rtsp ] && var_append confopt " " "--enable-live"
confopt="$confopt --enable-fbdev --enable-largefiles --enable-shared-pp"
if [ $arch = x86 ] ; then
var_append confopt " " "--with-win32libdir=$root/$prefix/lib/win32"
@ -77,8 +72,10 @@ if test "$ROCKCFG_PKG_MPLAYER_BLINKENLIGHTS" != 0 ; then
var_append confopt " " "--enable-bl"
fi
type -p gtk-config > /dev/null && var_append confopt " " "--enable-gui"
test "$ROCKCFG_DISABLE_NLS" = 1 && var_append confopt " " "--disable-i18n"
test -f $root/var/adm/packages/rtsp && var_append confopt " " "--enable-live"
test -f $root/var/adm/packages/xmms && var_append confopt " " "--enable-xmms"
test -f $root/var/adm/packages/gtk+12 && var_append confopt " " "--enable-gui"
test "$ROCKCFG_DISABLE_NLS" = 0 || var_append confopt " " "--disable-i18n"
postmake=mplayer_postmake