milis/talimatname/genel/phonon-qt4/talimat

28 lines
807 B
Plaintext
Raw Normal View History

2016-07-20 22:55:05 +02:00
# Description: API multimedia of KDE. the replaces the old aRts, which is more supported by KDE.
2016-02-24 01:27:23 +01:00
# URL: http://www.kde.org
2016-07-20 22:55:05 +02:00
# Packager: alihan-ozturk28@hotmail.com
2016-02-24 01:27:23 +01:00
# Depends on: qt4 glib pulseaudio
2016-07-20 22:55:05 +02:00
name=phonon-qt4
version=4.9.0
2016-02-24 01:27:23 +01:00
release=1
source=(http://download.kde.org/stable/$name/$version/src/$name-$version.tar.xz)
build() {
cd $name-$version
2016-07-20 22:55:05 +02:00
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr \
2016-02-24 01:27:23 +01:00
-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON \
2016-07-20 22:55:05 +02:00
-D__KDE_HAVE_GCC_VISIBILITY=NO \
-DCMAKE_INSTALL_LIBDIR=lib
2016-02-24 01:27:23 +01:00
make
make DESTDIR=$PKG install
install -d $PKG/usr/include/qt4
mv $PKG/usr/include/{phonon,KDE} $PKG/usr/include/qt4/
sed -i 's#includedir=/usr/include#includedir=/usr/include/qt4#' \
$PKG/usr/lib/pkgconfig/phonon.pc
}