diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-05-22 12:09:10 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-05-22 12:09:10 +0100 |
commit | b431f8d3f29fff44247db8a3c849c8e9b5eee03c (patch) | |
tree | f803396607c173f10d203e78e799fca184d92149 | |
parent | 14bec122a23b01f70c1f25f907bc8c18dc01974e (diff) |
lxqt-base/lxqt-powermanagement : EAPI bump
-rw-r--r-- | lxqt-base/lxqt-powermanagement/lxqt-powermanagement-0.14.1.ebuild | 42 |
1 files changed, 24 insertions, 18 deletions
diff --git a/lxqt-base/lxqt-powermanagement/lxqt-powermanagement-0.14.1.ebuild b/lxqt-base/lxqt-powermanagement/lxqt-powermanagement-0.14.1.ebuild index 228f22a2..d9d161bb 100644 --- a/lxqt-base/lxqt-powermanagement/lxqt-powermanagement-0.14.1.ebuild +++ b/lxqt-base/lxqt-powermanagement/lxqt-powermanagement-0.14.1.ebuild @@ -1,20 +1,31 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 + inherit cmake-utils DESCRIPTION="LXQt daemon for power management and auto-suspend" -HOMEPAGE="http://lxqt.org/" +HOMEPAGE="https://lxqt.org/" -SRC_URI="https://github.com/lxde/${PN}/releases/download/${PV}/${P}.tar.xz" -KEYWORDS="amd64" +if [[ ${PV} = *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/lxqt/${PN}.git" +else + SRC_URI="https://downloads.lxqt.org/downloads/${PN}/${PV}/${P}.tar.xz" + KEYWORDS="~amd64 ~arm ~arm64 ~x86" +fi LICENSE="LGPL-2.1+" SLOT="0" -CDEPEND=" - >=dev-libs/libqtxdg-3.2.0 +BDEPEND=" + dev-qt/linguist-tools:5 + >=lxqt-base/lxqt-build-tools-0.6.0 + virtual/pkgconfig +" +DEPEND=" + >=dev-libs/libqtxdg-3.3.1 dev-qt/qtcore:5 dev-qt/qtdbus:5 dev-qt/qtgui:5 @@ -23,14 +34,9 @@ CDEPEND=" dev-qt/qtx11extras:5 kde-frameworks/kidletime:5 kde-frameworks/solid:5 - ~lxqt-base/liblxqt-${PV}" -DEPEND="${CDEPEND} - dev-qt/linguist-tools:5 - virtual/pkgconfig" -RDEPEND="${CDEPEND} - || ( sys-power/upower sys-power/upower-pm-utils )" - -src_configure() { - local mycmakeargs=( -DPULL_TRANSLATIONS=OFF ) - cmake-utils_src_configure -} + =lxqt-base/liblxqt-$(ver_cut 1-2)* + sys-power/upower +" +RDEPEND="${DEPEND} + !lxqt-base/lxqt-l10n +" |