[lxqt] fix SRC_URI again

This commit is contained in:
2018-04-11 18:33:36 +02:00
parent c12ac6c485
commit 004862fe08
21 changed files with 28 additions and 26 deletions

View File

@@ -2,16 +2,18 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit cmake-utils
inherit cmake-utils versionator
DESCRIPTION="LXQt desktop panel and plugins"
HOMEPAGE="https://lxqt.org/"
MY_PV="$(get_version_component_range 1-2)*"
if [[ ${PV} = *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/lxqt/${PN}.git"
else
SRC_URI="https://downloads.lxqt.org/downloads/${PV}/${P}.tar.xz"
SRC_URI="https://downloads.lxqt.org/downloads/${PN}/${PV}/${P}.tar.xz"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
fi
@@ -33,8 +35,8 @@ CDEPEND="
kde-frameworks/kguiaddons:5
kde-frameworks/kwindowsystem:5[X]
>=lxde-base/menu-cache-0.3.3
~lxqt-base/liblxqt-${PV}
~lxqt-base/lxqt-globalkeys-${PV}
=lxqt-base/liblxqt-${MY_PV}
=lxqt-base/lxqt-globalkeys-${MY_PV}
x11-libs/libX11
cpuload? ( sys-libs/libstatgrab )
kbindicator? ( x11-libs/libxkbcommon )