milis/talimatname/genel/p/phonon-qt4/talimat

31 lines
948 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: KDE'nin API multimedya programı. KDE tarafından daha fazla desteklenen eski aRts'in yerini alıyor.
2017-04-17 19:12:14 +02:00
# URL: https://www.kde.org/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: cmake kf5-extra-cmake-modules glib qt4 pulseaudio
2017-04-17 19:12:14 +02:00
2017-10-28 14:10:23 +02:00
isim=phonon-qt4
devir=1
surum=4.9.0
_isim=phonon
kaynak=(http://download.kde.org/stable/${_name}/$surum/${_name}-$surum.tar.xz)
2017-04-17 19:12:14 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd phonon-$surum
cmake ../phonon-$surum \
2017-04-17 19:12:14 +02:00
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr \
-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON \
-DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4 \
-D__KDE_HAVE_GCC_VISIBILITY=NO \
-DCMAKE_INSTALL_LIBDIR=lib
make
make DESTDIR=$PKG install
# Install headers into the Qt4 dir
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"
}