contrib/smplayer/Pkgfile

22 lines
588 B
Plaintext
Raw Normal View History

2009-06-05 10:30:38 +02:00
# Description: Mplayer frontend
2013-03-29 09:43:23 +01:00
# URL: http://smplayer.sf.net/
2009-06-05 10:30:38 +02:00
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
2013-03-29 09:43:23 +01:00
# Depends on: mplayer qt4
# Optional: kdelibs
2009-06-05 10:30:38 +02:00
name=smplayer
2017-01-23 08:16:16 +01:00
version=17.1.0
2009-06-05 10:30:38 +02:00
release=1
2013-03-29 09:43:23 +01:00
source=(http://prdownloads.sf.net/$name/$name-$version.tar.bz2)
2009-06-05 10:30:38 +02:00
build() {
cd $name-$version
2013-03-29 09:43:23 +01:00
sed -i -e 's|kde-config|kde4-config|g' Makefile
# Check if kdelibs is installed, since its not detected automatically
[ -x /usr/bin/kde4-config ] && kde=KDE_SUPPORT=1
make DESTDIR=$PKG PREFIX=/usr QMAKE_OPTS=DEFINES+=NO_DEBUG_ON_CONSOLE $kde install
2013-03-29 09:43:23 +01:00
rm -rf $PKG/usr/share/doc
2009-06-05 10:30:38 +02:00
}