ports/kde4 (3.0): phonon: Fixed installation of designer widget, added optional dependency, build outside source directory
commit 571d72c0871361e5cc76c497bb1dea4da4894464 Author: Alan Mizrahi <alan+crux@mizrahi.com.ve> Date: Tue Feb 4 17:41:30 2014 +0900 phonon: Fixed installation of designer widget, added optional dependency, build outside source directory diff --git a/phonon/.footprint b/phonon/.footprint index 5ce71ee..002558e 100644 --- a/phonon/.footprint +++ b/phonon/.footprint @@ -178,10 +178,6 @@ lrwxrwxrwx root/root usr/lib64/libphononexperimental.so.4 -> libphononexperiment -rwxr-xr-x root/root usr/lib64/libphononexperimental.so.4.7.1 drwxr-xr-x root/root usr/lib64/pkgconfig/ -rw-r--r-- root/root usr/lib64/pkgconfig/phonon.pc -drwxr-xr-x root/root usr/lib64/qt5/ -drwxr-xr-x root/root usr/lib64/qt5/plugins/ -drwxr-xr-x root/root usr/lib64/qt5/plugins/designer/ --rwxr-xr-x root/root usr/lib64/qt5/plugins/designer/libphononwidgets.so drwxr-xr-x root/root usr/share/ drwxr-xr-x root/root usr/share/dbus-1/ drwxr-xr-x root/root usr/share/dbus-1/interfaces/ @@ -197,7 +193,10 @@ drwxr-xr-x root/root usr/share/phonon/buildsystem/ -rw-r--r-- root/root usr/share/phonon/buildsystem/MacroPushRequiredVars.cmake -rw-r--r-- root/root usr/share/phonon/buildsystem/PhononMacros.cmake -rw-r--r-- root/root usr/share/phonon/buildsystem/cmake_uninstall.cmake.in -drwxr-xr-x root/root usr/share/qt5/ -drwxr-xr-x root/root usr/share/qt5/mkspecs/ -drwxr-xr-x root/root usr/share/qt5/mkspecs/modules/ --rw-r--r-- root/root usr/share/qt5/mkspecs/modules/qt_phonon.pri +drwxr-xr-x root/root usr/share/qt4/ +drwxr-xr-x root/root usr/share/qt4/mkspecs/ +drwxr-xr-x root/root usr/share/qt4/mkspecs/modules/ +-rw-r--r-- root/root usr/share/qt4/mkspecs/modules/qt_phonon.pri +drwxr-xr-x root/root usr/share/qt4/plugins/ +drwxr-xr-x root/root usr/share/qt4/plugins/designer/ +-rwxr-xr-x root/root usr/share/qt4/plugins/designer/libphononwidgets.so diff --git a/phonon/Pkgfile b/phonon/Pkgfile index 6f40e1d..b253383 100644 --- a/phonon/Pkgfile +++ b/phonon/Pkgfile @@ -2,10 +2,11 @@ # URL: http://www.kde.org # Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve # Depends on: cmake qt4 glib libxml2 xine-lib xorg-libxcb automoc4 +# Optional: libqzeitgeist name=phonon version=4.7.1 -release=1 +release=2 source=(http://download.kde.org/stable/$name/$version/$name-$version.tar.xz) build() { @@ -16,9 +17,13 @@ build() { # export DO_NOT_COMPILE="" export DO_NOT_COMPILE="$DO_NOT_COMPILE doc" - cd $name-$version - cat CMakeLists.txt | egrep -v 'add_subdirectory *\( *'`echo $DO_NOT_COMPILE |tr ' ' '|'`' *\)' > CMakeLists.txt - cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE + cat $name-$version/CMakeLists.txt | egrep -v 'add_subdirectory *\( *'`echo $DO_NOT_COMPILE |tr ' ' '|'`' *\)' > $name-$version/CMakeLists.txt + + mkdir build; cd build + cmake ../$name-$version \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=RELEASE \ + -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON make make DESTDIR=$PKG install rm -f $PKG/usr/share/phonon/buildsystem/COPYING-CMAKE-SCRIPTS
participants (1)
-
crux@crux.nu