diff options
author | Jimi Huotari <chiitoo@gentoo.org> | 2019-02-19 01:04:41 +0200 |
---|---|---|
committer | Jimi Huotari <chiitoo@gentoo.org> | 2019-02-19 01:10:54 +0200 |
commit | b52fba4b9c8ebf52d76d781df09c9f4326027e81 (patch) | |
tree | ac270d91afab864f6c3c96b17f7d629293963de9 | |
parent | lxqt: remove 'lxqt-base/lxqt-common' blockers (diff) | |
download | qt-b52fba4b9c8ebf52d76d781df09c9f4326027e81.tar.gz qt-b52fba4b9c8ebf52d76d781df09c9f4326027e81.tar.bz2 qt-b52fba4b9c8ebf52d76d781df09c9f4326027e81.zip |
dev-libs/libqtxdg: add 3.3.0 for testing
Package-Manager: Portage-2.3.61, Repoman-2.3.12
Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>
-rw-r--r-- | dev-libs/libqtxdg/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libqtxdg/libqtxdg-3.3.0.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-libs/libqtxdg/Manifest b/dev-libs/libqtxdg/Manifest new file mode 100644 index 00000000..cf9d7aa8 --- /dev/null +++ b/dev-libs/libqtxdg/Manifest @@ -0,0 +1 @@ +DIST libqtxdg-3.3.0.tar.xz 68412 BLAKE2B c78b1548883bdb77bd5de81c48487b08a6f1b0959e2d1e9b54a301935a76a4bcf60451379ea33dbd289dc4517282d335a0d616a0c4c31eb1e0e7ab3efcbe814f SHA512 e71e251870886aa71a1ce9372962cfa93c96ee91518f01758b4c015d36d1f4c95bf94eb8a54683bb2ab221c96514be4adb0387e18dcbaacde9d783fe9e6867d4 diff --git a/dev-libs/libqtxdg/libqtxdg-3.3.0.ebuild b/dev-libs/libqtxdg/libqtxdg-3.3.0.ebuild new file mode 100644 index 00000000..936e7f64 --- /dev/null +++ b/dev-libs/libqtxdg/libqtxdg-3.3.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils virtualx + +DESCRIPTION="A Qt implementation of XDG standards" +HOMEPAGE="https://lxqt.org/" + +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+ Nokia-Qt-LGPL-Exception-1.1" +SLOT="0" +IUSE="test" + +BDEPEND=" + virtual/pkgconfig + test? ( dev-qt/qttest:5 ) +" +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtgui:5= + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 + x11-misc/xdg-utils +" +DEPEND="${RDEPEND}" + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTS=$(usex test) + ) + cmake-utils_src_configure +} + +src_test() { + # Tests don't work with C + LC_ALL=en_US.utf8 virtx cmake-utils_src_test +} |