aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimi Huotari <chiitoo@gentoo.org>2017-11-03 19:59:42 +0200
committerJimi Huotari <chiitoo@gentoo.org>2017-11-03 23:11:22 +0200
commit22e0020535283854d9b59bc4096334e4fb49bf7e (patch)
tree69dbb11f65a7f1977a7c25cf4c33edb6ec319a85 /dev-libs
parentdev-util/lxqt-build-tools: add live ebuild (diff)
downloadqt-22e0020535283854d9b59bc4096334e4fb49bf7e.tar.gz
qt-22e0020535283854d9b59bc4096334e4fb49bf7e.tar.bz2
qt-22e0020535283854d9b59bc4096334e4fb49bf7e.zip
dev-libs/libqtxdg: add live ebuild
To be used with LXQt.
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libqtxdg/libqtxdg-9999.ebuild47
-rw-r--r--dev-libs/libqtxdg/metadata.xml12
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-libs/libqtxdg/libqtxdg-9999.ebuild b/dev-libs/libqtxdg/libqtxdg-9999.ebuild
new file mode 100644
index 00000000..d4790dcd
--- /dev/null
+++ b/dev-libs/libqtxdg/libqtxdg-9999.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 virtualx
+
+DESCRIPTION="A Qt implementation of XDG standards"
+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"
+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
+}
diff --git a/dev-libs/libqtxdg/metadata.xml b/dev-libs/libqtxdg/metadata.xml
new file mode 100644
index 00000000..77812fec
--- /dev/null
+++ b/dev-libs/libqtxdg/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>lxqt@gentoo.org</email>
+ <name>LXQt</name>
+ </maintainer>
+<maintainer type="project">
+ <email>qt@gentoo.org</email>
+ <name>Gentoo Qt Project</name>
+ </maintainer>
+</pkgmetadata>