public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Slawek Lis" <slis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/assimp/
Date: Thu, 21 Jan 2016 06:58:51 +0000 (UTC)	[thread overview]
Message-ID: <1453359749.53efe0f5116074b19f63a1a4fabe405a95e56b7d.slis@gentoo> (raw)

commit:     53efe0f5116074b19f63a1a4fabe405a95e56b7d
Author:     Slawomir Lis <slis <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 21 07:01:49 2016 +0000
Commit:     Slawek Lis <slis <AT> gentoo <DOT> org>
CommitDate: Thu Jan 21 07:02:29 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53efe0f5

Fixed tests (#571896)

Package-Manager: portage-2.2.26

 .../{assimp-3.2-r1.ebuild => assimp-3.2-r2.ebuild}    | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)

diff --git a/media-libs/assimp/assimp-3.2-r1.ebuild b/media-libs/assimp/assimp-3.2-r2.ebuild
similarity index 72%
rename from media-libs/assimp/assimp-3.2-r1.ebuild
rename to media-libs/assimp/assimp-3.2-r2.ebuild
index 74d7856..22f1038 100644
--- a/media-libs/assimp/assimp-3.2-r1.ebuild
+++ b/media-libs/assimp/assimp-3.2-r2.ebuild
@@ -12,25 +12,36 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="BSD"
 KEYWORDS="~amd64 ~arm ~x86"
-IUSE="+boost samples static tools"
+IUSE="+boost samples static test tools"
 SLOT="0"
 
-DEPEND="
+RDEPEND="
 	boost? ( dev-libs/boost )
 	samples? ( x11-libs/libX11 virtual/opengl media-libs/freeglut )
 	sys-libs/zlib
 "
-RDEPEND="${DEPEND}"
+DEPEND="${RDEPEND}
+	test? ( dev-cpp/gtest )
+"
+
+src_prepare() {
+	epatch "${FILESDIR}/test-cmakelists.patch"
+}
 
 src_configure() {
 	mycmakeargs=(
 		$(cmake-utils_use_build samples ASSIMP_SAMPLES) \
 		$(cmake-utils_use_build tools ASSIMP_TOOLS) \
 		$(cmake-utils_use_build static STATIC_LIB) \
-		$(cmake-utils_use_enable !boost BOOST_WORKAROUND)
+		$(cmake-utils_use_enable !boost BOOST_WORKAROUND) \
+		$(cmake-utils_use_build test TESTS)
 		-DCMAKE_DEBUG_POSTFIX=""
 		-DASSIMP_LIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)/"
 	)
 
 	cmake-utils_src_configure
 }
+
+src_test() {
+	"${BUILD_DIR}/test/unit" || die
+}


             reply	other threads:[~2016-01-21  6:58 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-21  6:58 Slawek Lis [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-09  9:02 [gentoo-commits] repo/gentoo:master commit in: media-libs/assimp/ Arthur Zamarin
2024-11-06 14:28 Sam James
2024-11-06 14:28 Sam James
2024-11-06 13:35 Sam James
2024-11-06 13:35 Sam James
2024-09-22 16:25 Joonas Niilola
2024-09-22 16:25 Joonas Niilola
2024-07-31  0:02 Sam James
2024-07-31  0:02 Sam James
2024-07-31  0:02 Sam James
2024-07-31  0:02 Sam James
2024-07-30 23:44 Jakov Smolić
2024-07-03 22:43 Matthias Maier
2024-07-02  2:37 Ionen Wolkens
2024-04-09 15:54 Arthur Zamarin
2024-04-09 15:54 Arthur Zamarin
2024-04-09 15:54 Arthur Zamarin
2024-01-20 12:27 Sam James
2024-01-20 12:27 Sam James
2024-01-02 16:26 WANG Xuerui
2023-12-02 10:57 Arthur Zamarin
2023-12-02 10:57 Arthur Zamarin
2023-02-07  6:46 Joonas Niilola
2023-02-06 18:00 Sam James
2023-02-06 18:00 Sam James
2022-10-10 13:18 Joonas Niilola
2022-09-25 12:20 Agostino Sarubbo
2022-09-25  6:22 Joonas Niilola
2022-09-25  6:22 Joonas Niilola
2022-06-22 16:13 Arthur Zamarin
2022-06-22  7:10 Joonas Niilola
2022-06-22  7:01 Joonas Niilola
2022-04-29  7:50 Sam James
2022-03-31 11:59 Joonas Niilola
2022-03-21  9:18 Jakov Smolić
2022-03-21  7:47 Agostino Sarubbo
2021-07-24 23:43 Yixun Lan
2020-06-09  4:23 Mart Raudsepp
2020-06-06 17:38 Agostino Sarubbo
2020-06-06 17:27 Agostino Sarubbo
2020-06-05 12:48 Andreas Sturmlechner
2019-11-24 16:15 Aaron Bauman
2019-08-21 19:03 Slawek Lis
2018-09-12 20:47 Thomas Deutschmann
2018-06-24 14:45 Jason Zaman
2018-05-16 12:09 Andreas Sturmlechner
2016-09-19  5:44 Slawek Lis
2016-09-06  7:02 Slawek Lis
2016-01-19 13:49 Alexis Ballier
2016-01-19 13:49 Alexis Ballier
2016-01-19 13:49 Alexis Ballier
2016-01-13  6:37 Slawek Lis
2015-09-19 14:52 Agostino Sarubbo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1453359749.53efe0f5116074b19f63a1a4fabe405a95e56b7d.slis@gentoo \
    --to=slis@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox