From c130b632819d6136b923149211e1ec3de933eaf5 Mon Sep 17 00:00:00 2001 From: giresun28 Date: Wed, 20 Jul 2016 20:55:05 +0000 Subject: [PATCH] phonon-qt4,qt5.paketlendi --- .../genel/{phonon => phonon-qt4}/talimat | 21 ++++++++-------- talimatname/genel/phonon-qt5/talimat | 24 +++++++++++++++++++ 2 files changed, 34 insertions(+), 11 deletions(-) rename talimatname/genel/{phonon => phonon-qt4}/talimat (55%) create mode 100644 talimatname/genel/phonon-qt5/talimat diff --git a/talimatname/genel/phonon/talimat b/talimatname/genel/phonon-qt4/talimat similarity index 55% rename from talimatname/genel/phonon/talimat rename to talimatname/genel/phonon-qt4/talimat index 93b3dfaba..41244afb1 100644 --- a/talimatname/genel/phonon/talimat +++ b/talimatname/genel/phonon-qt4/talimat @@ -1,22 +1,21 @@ -# Description: API multimedia of KDE4. the replaces the old aRts, which is more supported by KDE. +# Description: API multimedia of KDE. the replaces the old aRts, which is more supported by KDE. # URL: http://www.kde.org -# Packager: - pierre at nutyx dot org +# Packager: alihan-ozturk28@hotmail.com # Depends on: qt4 glib pulseaudio -name=phonon -version=4.8.3 + +name=phonon-qt4 +version=4.9.0 release=1 source=(http://download.kde.org/stable/$name/$version/src/$name-$version.tar.xz) build() { cd $name-$version -mkdir build -cd build -cmake -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_LIBDIR=lib \ +cmake -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_INSTALL_PREFIX=/usr \ -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON \ - -DDBUS_INTERFACES_INSTALL_DIR=/usr/share/dbus-1/interfaces \ - -Wno-dev .. + -D__KDE_HAVE_GCC_VISIBILITY=NO \ + -DCMAKE_INSTALL_LIBDIR=lib make make DESTDIR=$PKG install diff --git a/talimatname/genel/phonon-qt5/talimat b/talimatname/genel/phonon-qt5/talimat new file mode 100644 index 000000000..6640067e0 --- /dev/null +++ b/talimatname/genel/phonon-qt5/talimat @@ -0,0 +1,24 @@ +# Description: API multimedia of KDE. the replaces the old aRts, which is more supported by KDE. +# URL: http://www.kde.org +# Packager: alihan-ozturk28@hotmail.com +# Depends on: qt5 glib pulseaudio + +name=phonon-qt5 +version=4.9.0 +release=1 + +source=( http://download.kde.org/stable/$name/$version/src/$name-$version.tar.xz) +build() { +cd $name-$version +cmake -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON \ + -DPHONON_BUILD_PHONON4QT5=ON \ + -D__KDE_HAVE_GCC_VISIBILITY=NO \ + -DCMAKE_INSTALL_LIBDIR=lib + +make +make DESTDIR=$PKG install + +}