From: "Slawek Lis" <slis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/assimp/
Date: Tue, 6 Sep 2016 07:02:59 +0000 (UTC) [thread overview]
Message-ID: <1473145354.f8601c9036718d6d4722694c8d36b97bd417d8d0.slis@gentoo> (raw)
commit: f8601c9036718d6d4722694c8d36b97bd417d8d0
Author: Slawomir Lis <slis <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 6 07:02:34 2016 +0000
Commit: Slawek Lis <slis <AT> gentoo <DOT> org>
CommitDate: Tue Sep 6 07:02:34 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8601c90
media-libs/assimp: install Findassimp cmake module
As reported in bug 592892 there is need to install Findassimp.cmake
file in target system
Reported-by: Grygoriy I. Fuchedzhy <grygoriy.fuchedzhy <AT> gmail.com>
Package-Manager: portage-2.3.0
media-libs/assimp/assimp-3.2-r3.ebuild | 55 ++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
diff --git a/media-libs/assimp/assimp-3.2-r3.ebuild b/media-libs/assimp/assimp-3.2-r3.ebuild
new file mode 100644
index 00000000..69d5b6a
--- /dev/null
+++ b/media-libs/assimp/assimp-3.2-r3.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit cmake-utils versionator multilib
+
+DESCRIPTION="Importer library to import assets from 3D files"
+HOMEPAGE="https://github.com/assimp/assimp"
+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 test tools"
+SLOT="0"
+
+RDEPEND="
+ boost? ( dev-libs/boost )
+ samples? ( x11-libs/libX11 virtual/opengl media-libs/freeglut )
+ sys-libs/zlib
+"
+DEPEND="${RDEPEND}
+ test? ( dev-cpp/gtest )
+"
+
+src_prepare() {
+ epatch "${FILESDIR}/test-cmakelists.patch"
+ epatch "${FILESDIR}/findassimp.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_build test TESTS)
+ -DCMAKE_DEBUG_POSTFIX=""
+ -DASSIMP_LIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)/"
+ )
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ insinto /usr/share/cmake/Modules
+ doins cmake-modules/Findassimp.cmake
+}
+
+src_test() {
+ "${BUILD_DIR}/test/unit" || die
+}
next reply other threads:[~2016-09-06 7:03 UTC|newest]
Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-06 7:02 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-01-21 6:58 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=1473145354.f8601c9036718d6d4722694c8d36b97bd417d8d0.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