public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/kde-sunset:master commit in: dev-libs/libattica/
@ 2018-04-10 13:22 Andreas Sturmlechner
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Sturmlechner @ 2018-04-10 13:22 UTC (permalink / raw
  To: gentoo-commits

commit:     07aa5b20f77a57c17d7d6e4e0ae7ff167c92aa25
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 10 13:21:40 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Apr 10 13:21:40 2018 +0000
URL:        https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=07aa5b20

dev-libs/libattica: Import from Gentoo ebuild repo

Package-Manager: Portage-2.3.28, Repoman-2.3.9

 dev-libs/libattica/libattica-0.4.2.ebuild | 47 +++++++++++++++++++++++++++++++
 dev-libs/libattica/metadata.xml           |  5 ++++
 2 files changed, 52 insertions(+)

diff --git a/dev-libs/libattica/libattica-0.4.2.ebuild b/dev-libs/libattica/libattica-0.4.2.ebuild
new file mode 100644
index 0000000..045b7dd
--- /dev/null
+++ b/dev-libs/libattica/libattica-0.4.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+MY_P="${P#lib}"
+MY_PN="${PN#lib}"
+
+if [[ $PV = *9999* ]]; then
+	EGIT_REPO_URI="git://anongit.kde.org/attica"
+	KEYWORDS=""
+	scm_eclass=git-2
+else
+	SRC_URI="mirror://kde/stable/${MY_PN}/${MY_P}.tar.bz2"
+	KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
+fi
+
+inherit cmake-utils ${scm_eclass}
+
+DESCRIPTION="A library providing access to Open Collaboration Services"
+HOMEPAGE="https://www.kde.org/"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+IUSE="debug test"
+
+RDEPEND="
+	dev-qt/qtcore:4
+"
+DEPEND="${RDEPEND}
+	test? (
+		dev-qt/qtgui:4
+		dev-qt/qttest:4
+	)
+"
+
+DOCS=( AUTHORS ChangeLog README )
+
+S=${WORKDIR}/${MY_P}
+
+src_configure() {
+	local mycmakeargs=(
+		-DQT4_BUILD=true
+		$(cmake-utils_use test ATTICA_ENABLE_TESTS)
+	)
+	cmake-utils_src_configure
+}

diff --git a/dev-libs/libattica/metadata.xml b/dev-libs/libattica/metadata.xml
new file mode 100644
index 0000000..6f49eba
--- /dev/null
+++ b/dev-libs/libattica/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] proj/kde-sunset:master commit in: dev-libs/libattica/
@ 2020-12-03  1:04 Andreas Sturmlechner
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Sturmlechner @ 2020-12-03  1:04 UTC (permalink / raw
  To: gentoo-commits

commit:     e1d6d0961f7ee360cd6a4517fa0cc2dbf646327a
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  3 00:00:48 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Dec  3 00:45:57 2020 +0000
URL:        https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=e1d6d096

dev-libs/libattica: Fix MissingTestRestrict, drop obsolete live switch

Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-libs/libattica/libattica-0.4.2.ebuild | 17 ++++++-----------
 1 file changed, 6 insertions(+), 11 deletions(-)

diff --git a/dev-libs/libattica/libattica-0.4.2.ebuild b/dev-libs/libattica/libattica-0.4.2.ebuild
index d6bd8d82..a3258ad0 100644
--- a/dev-libs/libattica/libattica-0.4.2.ebuild
+++ b/dev-libs/libattica/libattica-0.4.2.ebuild
@@ -1,28 +1,23 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
 
 MY_P="${P#lib}"
 MY_PN="${PN#lib}"
-
-if [[ $PV = *9999* ]]; then
-	EGIT_REPO_URI="git://anongit.kde.org/attica"
-	scm_eclass=git-2
-else
-	SRC_URI="mirror://kde/stable/${MY_PN}/${MY_P}.tar.bz2"
-	KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
-fi
-
-inherit cmake-utils ${scm_eclass}
+inherit cmake-utils
 
 DESCRIPTION="A library providing access to Open Collaboration Services"
 HOMEPAGE="https://www.kde.org/"
+SRC_URI="mirror://kde/stable/${MY_PN}/${MY_P}.tar.bz2"
 
 LICENSE="GPL-2 LGPL-2"
 SLOT="0"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
 IUSE="debug test"
 
+RESTRICT+=" !test? ( test )"
+
 RDEPEND="
 	dev-qt/qtcore:4
 "


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-03  1:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-10 13:22 [gentoo-commits] proj/kde-sunset:master commit in: dev-libs/libattica/ Andreas Sturmlechner
  -- strict thread matches above, loose matches on Subject: below --
2020-12-03  1:04 Andreas Sturmlechner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox