~ruther/guix-local

ba81085b2594e63c7b89c2c8517ca9f42d7feed2 — Hartmut Goebel 8 years ago 11f6570
gnu: phonon: Enable building the Qt Designer plugin.

Add native-inputs pkg-config, qttools and update comments.

This enables building the Qt Designer plugin.

* gnu/packages/kde-frameworks.scm (phonon): [native-inputs]: Add pkg-config,
  qttools.  [arguments]<#configure-flags>: Remove
  PHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT, to avoid installing the
  Phonon-Qt-extension into /gnu/store/…-qtbase-…/.
1 files changed, 5 insertions(+), 4 deletions(-)

M gnu/packages/kde-frameworks.scm
M gnu/packages/kde-frameworks.scm => gnu/packages/kde-frameworks.scm +5 -4
@@ 138,16 138,17 @@ common build settings used in software produced by the KDE community.")
                "177647r2jqfm32hqcz2nqfqv6v48hn5ab2vc31svba2wz23fkgk7"))))
    (build-system cmake-build-system)
    (native-inputs
     ;; TODO: Add qttools to build the Qt Designer plugin.
     ;; TODO: Think about adding pulseaudio. Is it required for sound?
     `(("extra-cmake-modules" ,extra-cmake-modules)))
     ;; TODO: Add building the super experimental QML support
     `(("extra-cmake-modules" ,extra-cmake-modules)
       ("pkg-config" ,pkg-config)
       ("qttools", qttools)))
    (inputs
     `(("qtbase" ,qtbase)))
    (arguments
     `(#:configure-flags
       '("-DCMAKE_CXX_FLAGS=-fPIC"
         "-DPHONON_BUILD_PHONON4QT5=ON"
         "-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON")
         "-DPHONON_BUILD_PHONON4QT5=ON")
       #:phases
       (modify-phases %standard-phases
         (add-before 'install 'patch-installdir