aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2014-07-09 22:21:06 +1000
committerMichael Palimaka <kensington@gentoo.org>2014-07-09 22:21:06 +1000
commitadcdc0bec6632c50b4df11a0138aba8680553579 (patch)
treea6178589bfa854a6dc1eb6c9e40eb5214c22e76a /sys-auth
parent[profiles/package.mask] Update Plasma 5 mask. (diff)
downloadkde-adcdc0bec6632c50b4df11a0138aba8680553579.tar.gz
kde-adcdc0bec6632c50b4df11a0138aba8680553579.tar.bz2
kde-adcdc0bec6632c50b4df11a0138aba8680553579.zip
[sys-auth/polkit-qt] Add snapshot.
Package-Manager: portage-2.2.10
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/polkit-qt/Manifest1
-rw-r--r--sys-auth/polkit-qt/polkit-qt-0.103.0_p20140709.ebuild76
2 files changed, 77 insertions, 0 deletions
diff --git a/sys-auth/polkit-qt/Manifest b/sys-auth/polkit-qt/Manifest
new file mode 100644
index 0000000000..79476b0fda
--- /dev/null
+++ b/sys-auth/polkit-qt/Manifest
@@ -0,0 +1 @@
+DIST polkit-qt-1-0.103.0_p20140709.tar.bz2 67835 SHA256 e90c882157bba2c9c99b79f375c727f83dbf30232de9109acebaa0437b8f2f0b SHA512 c863081daf9ec878f255c0ff0bf61b35b2bf4774aa7cc9c7120cffa7d1f05fafed4ee4b6baf2200bb4367b73ddc91dfab818786da14ca17daf3ce1dc9139a62b WHIRLPOOL 3e5b7ffaaaf88ff61c44b8cd8a2fd6df3d031fc0cdf2d12452df8775df2643d638de02a1265c479cec24d2805cd9b67092eccbcb9abad64f4a3164907124830d
diff --git a/sys-auth/polkit-qt/polkit-qt-0.103.0_p20140709.ebuild b/sys-auth/polkit-qt/polkit-qt-0.103.0_p20140709.ebuild
new file mode 100644
index 0000000000..69492eceeb
--- /dev/null
+++ b/sys-auth/polkit-qt/polkit-qt-0.103.0_p20140709.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+MY_P="${P/qt/qt-1}"
+inherit cmake-utils multibuild
+
+DESCRIPTION="PolicyKit Qt4 API wrapper library."
+HOMEPAGE="http://kde.org/"
+SRC_URI="http://dev.gentoo.org/~kensington/distfiles/${MY_P}.tar.bz2"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="debug examples +qt4 qt5"
+
+REQUIRED_USE="|| ( qt4 qt5 )"
+
+RDEPEND="
+ dev-libs/glib:2
+ >=sys-auth/polkit-0.103
+ qt4? (
+ dev-qt/qtcore:4[glib]
+ dev-qt/qtdbus:4
+ dev-qt/qtgui:4[glib]
+ )
+ qt5? (
+ dev-qt/qtcore:5[glib]
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5[glib]
+ dev-qt/qtwidgets:5
+ examples? ( dev-qt/qtxml:5 )
+ )
+"
+DEPEND="${RDEPEND}
+ dev-util/automoc
+"
+
+DOCS=( AUTHORS README README.porting TODO )
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ MULTIBUILD_VARIANTS=()
+ use qt4 && MULTIBUILD_VARIANTS+=( qt4 )
+ use qt5 && MULTIBUILD_VARIANTS+=( qt5 )
+}
+
+src_configure() {
+ myconfigure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_build examples)
+ )
+
+ if [[ ${MULTIBUILD_VARIANT} = qt4 ]] ; then
+ mycmakeargs+=( -DUSE_QT4=ON )
+ fi
+ if [[ ${MULTIBUILD_VARIANT} = qt5 ]] ; then
+ mycmakeargs+=( -DUSE_QT5=ON )
+ fi
+
+ cmake-utils_src_configure
+ }
+
+ multibuild_foreach_variant myconfigure
+}
+
+src_compile() {
+ multibuild_foreach_variant cmake-utils_src_compile
+}
+
+src_install() {
+ multibuild_foreach_variant cmake-utils_src_install
+}