talimat 968 B

12345678910111213141516171819202122232425262728293031
  1. # Description : KDE'nin API multimedya programı. KDE tarafından daha fazla desteklenen eski aRts'in yerini alıyor.
  2. # URL: https://www.kde.org/
  3. # Packager: milisarge
  4. # Depends on: cmake kf5-extra-cmake-modules glib qt4 pulseaudio
  5. name=phonon-qt4
  6. release=1
  7. version=4.9.0
  8. _name=phonon
  9. source=(http://download.kde.org/stable/${_name}/$version/${_name}-$version.tar.xz)
  10. build() {
  11. cd phonon-$version
  12. cmake ../phonon-$version \
  13. -DCMAKE_BUILD_TYPE=Release \
  14. -DCMAKE_SKIP_RPATH=ON \
  15. -DCMAKE_INSTALL_PREFIX=/usr \
  16. -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON \
  17. -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4 \
  18. -D__KDE_HAVE_GCC_VISIBILITY=NO \
  19. -DCMAKE_INSTALL_LIBDIR=lib
  20. make
  21. make DESTDIR=$PKG install
  22. # Install headers into the Qt4 dir
  23. install -d "${PKG}"/usr/include/qt4
  24. mv "${PKG}"/usr/include/{phonon,KDE} "${PKG}"/usr/include/qt4/
  25. sed -i 's#includedir=/usr/include#includedir=/usr/include/qt4#' "${PKG}/usr/lib/pkgconfig/phonon.pc"
  26. }