summaryrefslogtreecommitdiff
path: root/dev-libs/libqtxdg
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libqtxdg')
-rw-r--r--dev-libs/libqtxdg/Manifest1
-rw-r--r--dev-libs/libqtxdg/libqtxdg-3.1.0.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-libs/libqtxdg/Manifest b/dev-libs/libqtxdg/Manifest
new file mode 100644
index 00000000..81a32861
--- /dev/null
+++ b/dev-libs/libqtxdg/Manifest
@@ -0,0 +1 @@
+DIST libqtxdg-3.1.0.tar.xz 66680 SHA256 0ee1a4684b782e34950c55dc06df1b4ef2dc3d9b3562a512de004191c18a2e08 SHA512 58c02b804a5fac38e13cfd0ea5b9c5dc547d2f0a4324ac2f8d62d6050164f3f19edf48c5466a227fc3439f76436db4535ae1855dc21c4d92fe086c89267754fd WHIRLPOOL 8b074a642493aa3ac107b46ffb617e4d1321575ac65bcc648a46ff05bd6157124e2aa0455b2ed0b56f41d4c0e4e37badd03309c42a1900322a32e8bdec347a9f
diff --git a/dev-libs/libqtxdg/libqtxdg-3.1.0.ebuild b/dev-libs/libqtxdg/libqtxdg-3.1.0.ebuild
new file mode 100644
index 00000000..b93d3a94
--- /dev/null
+++ b/dev-libs/libqtxdg/libqtxdg-3.1.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit cmake-utils virtualx
+
+DESCRIPTION="A Qt implementation of XDG standards"
+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://github.com/lxde/${PN}/releases/download/${PV}/${P}.tar.xz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+IUSE="test"
+
+CDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtxml:5
+"
+DEPEND="${CDEPEND}
+ virtual/pkgconfig
+ test? ( dev-qt/qttest:5 )
+"
+RDEPEND="${CDEPEND}
+ x11-misc/xdg-utils
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_TESTS=$(usex test)
+ )
+ cmake-utils_src_configure
+}
+
+src_test() {
+ VIRTUALX_COMMAND="cmake-utils_src_test" virtualmake
+}