commit:     4d1bf5e598bbdbc1fcffdf7386c0b355b9a835b0
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  6 02:24:32 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Dec  6 22:15:49 2020 +0000
URL:        https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=4d1bf5e5

sys-auth/polkit-qt: SLOT="0-qt4", EAPI-7, 0.112.0_p20190531 snapshot bump

Use cmake.eclass and kde.org.eclass

Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../polkit-qt/polkit-qt-0.112.0_p20190531.ebuild   | 40 ++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/sys-auth/polkit-qt/polkit-qt-0.112.0_p20190531.ebuild 
b/sys-auth/polkit-qt/polkit-qt-0.112.0_p20190531.ebuild
new file mode 100644
index 00000000..cfdb268b
--- /dev/null
+++ b/sys-auth/polkit-qt/polkit-qt-0.112.0_p20190531.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+COMMIT=55776dc9c51d7153c66402b257f7a0992f9d4ae5
+KDE_ORG_NAME="polkit-qt-1"
+inherit cmake kde.org
+
+DESCRIPTION="Qt wrapper around polkit-1 client libraries"
+HOMEPAGE="https://api.kde.org/kdesupport-api/polkit-qt-1-apidocs/";
+SRC_URI="https://invent.kde.org/libraries/${KDE_ORG_NAME}/-/archive/${COMMIT}/${KDE_ORG_NAME}-${COMMIT}.tar.gz
 -> ${P}.tar.gz"
+S="${WORKDIR}/${KDE_ORG_NAME}-${COMMIT}"
+
+LICENSE="LGPL-2"
+SLOT="0-qt4"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
+IUSE="debug"
+
+RDEPEND="
+       dev-libs/glib:2
+       dev-qt/qtcore:4[glib]
+       dev-qt/qtdbus:4
+       dev-qt/qtgui:4[glib]
+       >=sys-auth/polkit-0.103
+"
+DEPEND="${RDEPEND}
+       !<sys-auth/polkit-qt-0.113:0
+"
+
+DOCS=( AUTHORS README README.porting TODO )
+
+src_configure() {
+       local mycmakeargs=(
+               -DSYSCONF_INSTALL_DIR="${EPREFIX}"/etc
+               -DBUILD_EXAMPLES=OFF
+               -DUSE_QT4=ON
+       )
+       cmake_src_configure
+}

Reply via email to