# Description: Mplayer frontend # URL: http://smplayer.sf.net/ # Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve # Depends on: mplayer qt4 name=smplayer version=0.8.3 release=1 source=(http://prdownloads.sf.net/$name/$name-$version.tar.bz2) build() { cd $name-$version sed -i -e 's|kde-config|kde4-config|g' Makefile # Remove most debug messages find src -type f -name '*.cpp' -print0 | xargs -0 sed -i -e 's|qDebug(.*);|{}|g' # Change man path sed -i -e 's|/share/man/|/man/|g' Makefile make DESTDIR=$PKG PREFIX=/usr KDE_SUPPORT=1 install rm -rf $PKG/usr/share/doc }