public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/betagarden:master commit in: media-gfx/u3d/
Date: Sun,  4 Jun 2017 18:17:58 +0000 (UTC)	[thread overview]
Message-ID: <1496600246.8a0525e05e3ea27a3e2d5a84f321a67645911199.jlec@gentoo> (raw)

commit:     8a0525e05e3ea27a3e2d5a84f321a67645911199
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  4 18:17:26 2017 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun Jun  4 18:17:26 2017 +0000
URL:        https://gitweb.gentoo.org/proj/betagarden.git/commit/?id=8a0525e0

media-gfx/u3d: Bump EAPI

Package-Manager: Portage-2.3.6, Repoman-2.3.2
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 media-gfx/u3d/u3d-1.4.4.ebuild | 28 ++++++++++++++++++----------
 1 file changed, 18 insertions(+), 10 deletions(-)

diff --git a/media-gfx/u3d/u3d-1.4.4.ebuild b/media-gfx/u3d/u3d-1.4.4.ebuild
index a16cb3a..fa83a53 100644
--- a/media-gfx/u3d/u3d-1.4.4.ebuild
+++ b/media-gfx/u3d/u3d-1.4.4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
-inherit base cmake-utils multilib
+inherit cmake-utils
 
 DESCRIPTION="Port of Intel's U3D library to gnu build tools"
 HOMEPAGE="http://u3d.sourceforge.net/"
@@ -15,22 +15,30 @@ KEYWORDS="~amd64"
 IUSE=""
 
 DEPEND="
-		sys-libs/zlib
-		virtual/jpeg
-		media-libs/libpng
-		"
+	media-libs/libpng:0=
+	sys-libs/zlib
+	virtual/jpeg:0=
+"
 RDEPEND="${DEPEND}"
 
-MYCMAKEARGS="-DU3D_SHARED=ON -DBUILD_SHARED_LIBS=ON"
-
 src_prepare() {
 	sed \
+		-e "s:LIB_DESTINATION lib:LIB_DESTINATION $(get_libdir):g" \
 		-e "s:LIB_DESTINATION u3d:LIB_DESTINATION $(get_libdir):g" \
+		-e "s:PLUGIN_DESTINATION lib:PLUGIN_DESTINATION $(get_libdir):g" \
 		-e "s:PLUGIN_DESTINATION u3d:PLUGIN_DESTINATION $(get_libdir):g" \
 		-e "s:BIN_DESTINATION u3d:BIN_DESTINATION bin:g" \
 		-e "s:INCLUDE_DESTINATION u3d/include:INCLUDE_DESTINATION include:g" \
 		-e "s:SAMPLE_DESTINATION u3d/samples:SAMPLE_DESTINATION share/${PN}/samples:g" \
 		-e "s:DOC_DESTINATION u3d/docs:DOC_DESTINATION share/docs/${P}:g" \
 		-i CMakeLists.txt
-	base_src_prepare
+	cmake-utils_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DU3D_SHARED=ON
+		-DBUILD_SHARED_LIBS=ON
+	)
+	cmake-utils_src_configure
 }


             reply	other threads:[~2017-06-04 18:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-04 18:17 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-05-08 22:54 [gentoo-commits] proj/betagarden:master commit in: media-gfx/u3d/ Alexey Shvetsov
2011-11-26 21:30 Alexey Shvetsov

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=1496600246.8a0525e05e3ea27a3e2d5a84f321a67645911199.jlec@gentoo \
    --to=jlec@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