lxqt-base/liblxqt: Version bump to 0.10.0
authorPaolo Pedroni <PPed72@users.noreply.github.com>
Tue, 24 Nov 2015 10:47:39 +0000 (11:47 +0100)
committerPaolo Pedroni <paolo.pedroni@iol.it>
Thu, 26 Nov 2015 08:18:38 +0000 (09:18 +0100)
Also fixes https://bugs.gentoo.org/show_bug.cgi?id=561420
Thanks to Alpha Bravo <aos@ungwana.de> in bug #564718

lxqt-base/liblxqt/liblxqt-0.10.0.ebuild [new file with mode: 0644]

diff --git a/lxqt-base/liblxqt/liblxqt-0.10.0.ebuild b/lxqt-base/liblxqt/liblxqt-0.10.0.ebuild
new file mode 100644 (file)
index 0000000..e2d80d2
--- /dev/null
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit cmake-utils
+
+DESCRIPTION="Common base library for the LXQt desktop environment"
+HOMEPAGE="http://lxqt.org/"
+
+if [[ ${PV} = *9999* ]]; then
+        inherit git-r3
+        EGIT_REPO_URI="git://git.lxde.org/git/lxde/${PN}.git"
+else
+        SRC_URI="https://downloads.lxqt.org/lxqt/${PV}/${P}.tar.xz"
+        KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+LICENSE="GPL-2 LGPL-2.1+"
+SLOT="0"
+
+RDEPEND=">=dev-libs/libqtxdg-1.0.0
+        dev-qt/qtcore:5
+        dev-qt/qtdbus:5
+        dev-qt/qtgui:5
+        dev-qt/qtwidgets:5
+        dev-qt/qtx11extras:5
+        dev-qt/qtxml:5
+        kde-frameworks/kwindowsystem:5[X]
+"
+DEPEND="${RDEPEND}
+        dev-qt/linguist-tools:5
+"
+
+pkg_pretend() {
+        if [[ ${MERGE_TYPE} != binary ]]; then
+                [[ $(gcc-version) < 4.8 ]] && \
+                        die 'The active compiler needs to be gcc 4.8 (or newer)'
+        fi
+}