diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/libindicate-qt |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/libindicate-qt')
-rw-r--r-- | dev-libs/libindicate-qt/Manifest | 7 | ||||
-rw-r--r-- | dev-libs/libindicate-qt/files/libindicate-qt-0.2.5.91-optionaltests.patch | 24 | ||||
-rw-r--r-- | dev-libs/libindicate-qt/libindicate-qt-0.2.5.91.ebuild | 55 | ||||
-rw-r--r-- | dev-libs/libindicate-qt/metadata.xml | 11 |
4 files changed, 97 insertions, 0 deletions
diff --git a/dev-libs/libindicate-qt/Manifest b/dev-libs/libindicate-qt/Manifest new file mode 100644 index 000000000000..22b17266767e --- /dev/null +++ b/dev-libs/libindicate-qt/Manifest @@ -0,0 +1,7 @@ +AUX libindicate-qt-0.2.5.91-optionaltests.patch 676 SHA256 810cf77816062be19e5a7e5449f38b8b209b279b60e837c3a264475df2b60ad6 SHA512 0d9b89c7827e4adf63369d51f20b199f9a308801100ed3f7cc9d062596e8cef0d28674b561fed0ea189ab31541b33071902dcb27e830299ff94faf7f95f3f117 WHIRLPOOL 68e76aa41ff6c9c376fac9560fed0dfc5711ecfaf7300c70c0b0d29f7843ce00be1c5680370a6ad68f2b2d78c7e68e8c7ea79e77c922f917cfcb0309e9fbb7ae +DIST libindicate-qt_0.2.5.91-5.debian.tar.gz 5263 SHA256 11ac1c983dc0f326c9280941d82d51e98d246dfb033cbdcdddacd9bbb8d98066 SHA512 9e377d06be8b65f54bceb7fb50f83c9aefae1c5f27ca1a695997d6cd4b39ec3a1d1fe0b39322b276e1c0fc2157d5eb9a89fa3d7cc6879fbaa9d027e255c3cdc3 WHIRLPOOL bcc54a04cfe2613dabaf6ccd1d5cd060ff8cf771ae2a22375279b92b5a9cd2574814933e29df694f0795f66bbb71138f23d50630321cf8f987045df2ddd6ed36 +DIST libindicate-qt_0.2.5.91.orig.tar.bz2 33799 SHA256 bcdcbe92f5917e6622836c67a897c7399d25448984614a08eb184e82bfc14385 SHA512 62b6ee0a758729f8007d0dfe6c7b9f55264f0bc110cebc8ef9f782c345fb81e45d9b652de45db06105510a232449b2427fb9a8344f86fb911d3fac1d5c552a23 WHIRLPOOL ada9936a5c2f754a3a5afb4c8bddb7ead9261111134360a65db3f39d73a4174774b45ca584e0b5476facf4e57746456ba5ecb9a99d76d50b3de30b38d166129b +EBUILD libindicate-qt-0.2.5.91.ebuild 1111 SHA256 39b5fe5a48e51f4752ed81b7dd39394b881ec6b357e99e5a5ddefc5ea6c723e1 SHA512 17ff068bf0d4ed65ce4536194269ecb6c190be58ede9aa1bf24295b93db98866f84e53f4879bc3695aa02d4057541795fc61f4300f2af930210a9800b5399c8b WHIRLPOOL b4c47a4fc0b5cdf04d97999b2021f461408bf025ba4cbecfdaf35a5ac7ff99529ebf53829476ef9545bc699b82bccbdd03374769f60665db327fea0cd4b1ea6a +MISC ChangeLog 2640 SHA256 0b5d1ae30dad207e079fba0e4a19d99c2cd1993fb959e4553c91fa62f1d2c4e5 SHA512 72e1099cfdce9bb38c4e132df54b04af4ff7b72250e4a896293d9ab8376847573475e5da0a79c416df77813aac9be800789d5c54c4b64f09f8f752bf9041d0cb WHIRLPOOL ca68af549c67be339b59e8c3dded49e70da0c1ceb1a569f2bb67c24e444d69a2fe6b338f3122bbf1cd0ea13a13c2b9bee2614298a3b9e9074d3e5d1e72ab93bd +MISC ChangeLog-2015 2450 SHA256 6c1423e1ce3887b309a18cde0d0a560b2f7b8a6c11a75d964040c79e96c9339f SHA512 2b03eceb4d6cc366833fd28f67c2394dfaf6f4ab0eb59e5628729dfd140800bf11004eab89e192f57e86b878e9873cb19830c3b926d2bcc489d3c6e220c42700 WHIRLPOOL a57783a348d75c3dbc4fbffd56a22d90db61407bf5ff6dd4d3c77a6ef46a7ecec7685c9ef42367f6ba1eb3b7516100fd576db5a8c9dd76002a7aae3753c0645e +MISC metadata.xml 331 SHA256 52563ce0ac093340e316da4b5b1aba4593e0372d32b1cc763dd245a3098d84c9 SHA512 969b6e184a308a88b1fe9e7d9427fd28101c8d7884f85016991a021c635679c0d7222864a0ba54a65adfbded058c13c08d44eecf9dc2ea417201899cc8bda9be WHIRLPOOL 89faeba49df734479e56ff66c1d9829c9cf54aa3c6d5b8bf3a5dbf17cd0f95c4525015ee34644bb69bd9d7cb95f02ce7d797a1b6e4e8fbb1318ee4ae08c2d9b6 diff --git a/dev-libs/libindicate-qt/files/libindicate-qt-0.2.5.91-optionaltests.patch b/dev-libs/libindicate-qt/files/libindicate-qt-0.2.5.91-optionaltests.patch new file mode 100644 index 000000000000..5fa46f33081d --- /dev/null +++ b/dev-libs/libindicate-qt/files/libindicate-qt-0.2.5.91-optionaltests.patch @@ -0,0 +1,24 @@ +https://code.launchpad.net/~ballogy/libindicate-qt/make-examples-and-tests-optional/+merge/82829 +=== modified file 'CMakeLists.txt' +--- A/CMakeLists.txt 2010-03-08 09:02:19 +0000 ++++ B/CMakeLists.txt 2011-11-20 20:28:23 +0000 +@@ -36,8 +36,16 @@ + DESTINATION lib${LIB_SUFFIX}/pkgconfig) + + add_subdirectory(src) +-add_subdirectory(examples) +-add_subdirectory(tests) ++ ++option( BUILD_EXAMPLES "build examples" ON ) ++if (BUILD_EXAMPLES) ++ add_subdirectory(examples) ++endif (BUILD_EXAMPLES) ++ ++option( BUILD_TESTS "build tests" ON ) ++if (BUILD_TESTS) ++ add_subdirectory(tests) ++endif (BUILD_TESTS) + + # Packaging + set(ARCHIVE_NAME libindicate-qt-${indicate_qt_VERSION}) + diff --git a/dev-libs/libindicate-qt/libindicate-qt-0.2.5.91.ebuild b/dev-libs/libindicate-qt/libindicate-qt-0.2.5.91.ebuild new file mode 100644 index 000000000000..57833115c671 --- /dev/null +++ b/dev-libs/libindicate-qt/libindicate-qt-0.2.5.91.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit virtualx cmake-utils + +_UBUNTU_REVISION=5 + +DESCRIPTION="Qt wrapper for libindicate library" +HOMEPAGE="https://launchpad.net/libindicate-qt/" +SRC_URI="mirror://ubuntu/pool/main/libi/${PN}/${PN}_${PV}.orig.tar.bz2 + mirror://ubuntu/pool/main/libi/${PN}/${PN}_${PV}-${_UBUNTU_REVISION}.debian.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=" + >=dev-libs/libindicate-12.10.0 + dev-qt/qtcore:4 + dev-qt/qtgui:4 +" +DEPEND="${RDEPEND} + virtual/pkgconfig + test? ( dev-qt/qttest:4 ) +" + +# bug #440042 +RESTRICT="test" + +src_prepare() { + eapply "${WORKDIR}"/debian/patches + eapply "${FILESDIR}"/${P}-optionaltests.patch + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DBUILD_EXAMPLES=OFF + -DBUILD_TESTS=$(usex test) + ) + + cmake-utils_src_configure +} + +src_test() { + local ctestargs + [[ -n ${TEST_VERBOSE} ]] && ctestargs="--extra-verbose --output-on-failure" + + cd "${CMAKE_BUILD_DIR}"/tests + + VIRTUALX_COMMAND="ctest ${ctestargs}" virtualmake || die +} diff --git a/dev-libs/libindicate-qt/metadata.xml b/dev-libs/libindicate-qt/metadata.xml new file mode 100644 index 000000000000..d82f5059bb61 --- /dev/null +++ b/dev-libs/libindicate-qt/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>kde@gentoo.org</email> + <name>Gentoo KDE Project</name> + </maintainer> + <upstream> + <remote-id type="launchpad">libindicate-qt</remote-id> + </upstream> +</pkgmetadata> |