3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

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-…/.
This commit is contained in:
Hartmut Goebel 2017-09-19 19:45:58 +02:00
parent 11f6570011
commit ba81085b25
No known key found for this signature in database
GPG key ID: 634A8DFFD3F631DF

View file

@ -138,16 +138,17 @@ common build settings used in software produced by the KDE community.")
"177647r2jqfm32hqcz2nqfqv6v48hn5ab2vc31svba2wz23fkgk7")))) "177647r2jqfm32hqcz2nqfqv6v48hn5ab2vc31svba2wz23fkgk7"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(native-inputs (native-inputs
;; TODO: Add qttools to build the Qt Designer plugin.
;; TODO: Think about adding pulseaudio. Is it required for sound? ;; 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 (inputs
`(("qtbase" ,qtbase))) `(("qtbase" ,qtbase)))
(arguments (arguments
`(#:configure-flags `(#:configure-flags
'("-DCMAKE_CXX_FLAGS=-fPIC" '("-DCMAKE_CXX_FLAGS=-fPIC"
"-DPHONON_BUILD_PHONON4QT5=ON" "-DPHONON_BUILD_PHONON4QT5=ON")
"-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON")
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-before 'install 'patch-installdir (add-before 'install 'patch-installdir