public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-libs/libmygpo-qt: ChangeLog libmygpo-qt-9999.ebuild libmygpo-qt-1.0.7-r1.ebuild
@ 2014-07-04 20:40 Julian Ospald (hasufell)
  0 siblings, 0 replies; only message in thread
From: Julian Ospald (hasufell) @ 2014-07-04 20:40 UTC (permalink / raw
  To: gentoo-commits

hasufell    14/07/04 20:40:11

  Modified:             ChangeLog libmygpo-qt-9999.ebuild
  Added:                libmygpo-qt-1.0.7-r1.ebuild
  Log:
  fix test logic
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key BDEED020)

Revision  Changes    Path
1.5                  media-libs/libmygpo-qt/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libmygpo-qt/ChangeLog?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libmygpo-qt/ChangeLog?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libmygpo-qt/ChangeLog?r1=1.4&r2=1.5

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/libmygpo-qt/ChangeLog,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ChangeLog	16 Jun 2014 13:11:01 -0000	1.4
+++ ChangeLog	4 Jul 2014 20:40:11 -0000	1.5
@@ -1,6 +1,12 @@
 # ChangeLog for media-libs/libmygpo-qt
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmygpo-qt/ChangeLog,v 1.4 2014/06/16 13:11:01 nimiux Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmygpo-qt/ChangeLog,v 1.5 2014/07/04 20:40:11 hasufell Exp $
+
+*libmygpo-qt-1.0.7-r1 (04 Jul 2014)
+
+  04 Jul 2014; Julian Ospald <hasufell@gentoo.org>
+  +libmygpo-qt-1.0.7-r1.ebuild, libmygpo-qt-9999.ebuild:
+  fix test logic
 
   16 Jun 2014; Chema Alonso <nimiux@gentoo.org> libmygpo-qt-1.0.7.ebuild:
   Stable for amd64 wrt bug #508100



1.2                  media-libs/libmygpo-qt/libmygpo-qt-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libmygpo-qt/libmygpo-qt-9999.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libmygpo-qt/libmygpo-qt-9999.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libmygpo-qt/libmygpo-qt-9999.ebuild?r1=1.1&r2=1.2

Index: libmygpo-qt-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/libmygpo-qt/libmygpo-qt-9999.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- libmygpo-qt-9999.ebuild	26 Oct 2013 11:33:20 -0000	1.1
+++ libmygpo-qt-9999.ebuild	4 Jul 2014 20:40:11 -0000	1.2
@@ -1,6 +1,6 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmygpo-qt/libmygpo-qt-9999.ebuild,v 1.1 2013/10/26 11:33:20 yngwin Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmygpo-qt/libmygpo-qt-9999.ebuild,v 1.2 2014/07/04 20:40:11 hasufell Exp $
 
 EAPI=5
 inherit cmake-utils
@@ -20,12 +20,27 @@
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-IUSE=""
+IUSE="test"
 
 RDEPEND="dev-qt/qtcore:4
 	>=dev-libs/qjson-0.5"
 DEPEND="${RDEPEND}
 	dev-qt/qttest:4
-	virtual/pkgconfig"
+	virtual/pkgconfig
+	test? ( dev-qt/qttest:4 )"
 
 DOCS=( AUTHORS README )
+
+src_prepare() {
+	cmake-utils_src_prepare
+	if ! use test ; then
+		sed -i -e '/find_package/s/QtTest//' CMakeLists.txt || die
+	fi
+}
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use test MYGPO_BUILD_TESTS)
+	)
+	cmake-utils_src_configure
+}



1.1                  media-libs/libmygpo-qt/libmygpo-qt-1.0.7-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libmygpo-qt/libmygpo-qt-1.0.7-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libmygpo-qt/libmygpo-qt-1.0.7-r1.ebuild?rev=1.1&content-type=text/plain

Index: libmygpo-qt-1.0.7-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libmygpo-qt/libmygpo-qt-1.0.7-r1.ebuild,v 1.1 2014/07/04 20:40:11 hasufell Exp $

EAPI=5
inherit cmake-utils

DESCRIPTION="Qt/C++ library wrapping the gpodder.net webservice"
HOMEPAGE="http://wiki.gpodder.org/wiki/Libmygpo-qt"

if [[ ${PV} == *9999* ]]; then
	EGIT_REPO_URI="https://github.com/gpodder/libmygpo-qt.git"
	KEYWORDS=""
	SRC_URI=""
	inherit git-2
else
	KEYWORDS="~amd64 ~x86"
	SRC_URI="https://github.com/gpodder/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
fi

LICENSE="LGPL-2.1"
SLOT="0"
IUSE="test"

RDEPEND="dev-qt/qtcore:4
	>=dev-libs/qjson-0.5"
DEPEND="${RDEPEND}
	dev-qt/qttest:4
	virtual/pkgconfig
	test? ( dev-qt/qttest:4 )"

DOCS=( AUTHORS README )

src_prepare() {
	cmake-utils_src_prepare
	if ! use test ; then
		sed -i -e '/find_package/s/QtTest//' CMakeLists.txt || die
	fi
}

src_configure() {
	local mycmakeargs=(
		$(cmake-utils_use test MYGPO_BUILD_TESTS)
	)
	cmake-utils_src_configure
}





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-07-04 20:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-04 20:40 [gentoo-commits] gentoo-x86 commit in media-libs/libmygpo-qt: ChangeLog libmygpo-qt-9999.ebuild libmygpo-qt-1.0.7-r1.ebuild Julian Ospald (hasufell)

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