summaryrefslogtreecommitdiff
path: root/lxqt-base/lxqt-policykit/lxqt-policykit-9999-r1.ebuild
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2017-12-14 12:44:07 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2017-12-14 12:44:07 +0300
commit724a94be65a90b6b873287b679d124e2fc31998f (patch)
tree684be12083f119607f394da579d7128141803385 /lxqt-base/lxqt-policykit/lxqt-policykit-9999-r1.ebuild
parent449391f96dee9158ac72246889e21c4c855d723c (diff)
lxqt-policykit: dep fix, use policykit-qt[qt5] from kde repo (gentoo dropped policykit-qt with qt5 support)
Diffstat (limited to 'lxqt-base/lxqt-policykit/lxqt-policykit-9999-r1.ebuild')
-rw-r--r--lxqt-base/lxqt-policykit/lxqt-policykit-9999-r1.ebuild47
1 files changed, 47 insertions, 0 deletions
diff --git a/lxqt-base/lxqt-policykit/lxqt-policykit-9999-r1.ebuild b/lxqt-base/lxqt-policykit/lxqt-policykit-9999-r1.ebuild
new file mode 100644
index 0000000..89325db
--- /dev/null
+++ b/lxqt-base/lxqt-policykit/lxqt-policykit-9999-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit cmake-utils
+
+DESCRIPTION="LXQt PolKit authentication agent"
+HOMEPAGE="http://lxqt.org/"
+
+if [[ ${PV} == *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/lxde/${PN}.git"
+else
+ SRC_URI="https://github.com/lxde/${PN}/releases/download/${PV}/${P}.tar.xz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+
+RDEPEND="
+ dev-libs/glib:2
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtx11extras:5
+ dev-qt/qtxml:5
+ lxqt-base/liblxqt
+ >=dev-libs/libqtxdg-2.0.0
+ kde-frameworks/polkit-qt
+"
+DEPEND="${RDEPEND}
+ dev-qt/linguist-tools:5
+ >=dev-util/lxqt-build-tools-0.3.1
+ virtual/pkgconfig
+"
+
+src_configure() {
+ local mycmakeargs=( -DPULL_TRANSLATIONS=OFF )
+ cmake-utils_src_configure
+}
+
+src_install(){
+ cmake-utils_src_install
+ doman man/*.1
+}