diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-libs/libindicate-qt | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-libs/libindicate-qt')
-rw-r--r-- | dev-libs/libindicate-qt/Manifest | 2 | ||||
-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 | 50 | ||||
-rw-r--r-- | dev-libs/libindicate-qt/metadata.xml | 12 |
4 files changed, 88 insertions, 0 deletions
diff --git a/dev-libs/libindicate-qt/Manifest b/dev-libs/libindicate-qt/Manifest new file mode 100644 index 00000000000..21b307d1a11 --- /dev/null +++ b/dev-libs/libindicate-qt/Manifest @@ -0,0 +1,2 @@ +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 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 00000000000..70a54fdbe6f --- /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' +--- CMakeLists.txt 2010-03-08 09:02:19 +0000 ++++ 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 00000000000..14c4a896693 --- /dev/null +++ b/dev-libs/libindicate-qt/libindicate-qt-0.2.5.91.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit eutils 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/qtgui:4" +DEPEND="${RDEPEND} + test? ( dev-qt/qttest:4 ) + virtual/pkgconfig" + +# bug #440042 +RESTRICT="test" + +src_prepare() { + EPATCH_FORCE=yes EPATCH_SUFFIX=diff epatch "${WORKDIR}"/debian/patches + epatch "${FILESDIR}"/${P}-optionaltests.patch +} + +src_configure() { + local mycmakeargs=( + -DBUILD_EXAMPLES=OFF + $(cmake-utils_use_build test TESTS) + ) + + 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 00000000000..887d1ab3b56 --- /dev/null +++ b/dev-libs/libindicate-qt/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>kde</herd> + <herd>ayatana</herd> + <maintainer> + <email>ayatana-bugs@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="launchpad">libindicate-qt</remote-id> + </upstream> +</pkgmetadata> |