1 |
commit: 2906664f97991195c9b476a0b5be7b673226d46a |
2 |
Author: Jonathan Scruggs <j.scruggs <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Jul 8 18:05:28 2016 +0000 |
4 |
Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 9 01:57:40 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2906664f |
7 |
|
8 |
media-libs/opencollada: Remove live ebuild as it's no longer needed |
9 |
|
10 |
media-libs/opencollada/opencollada-9999.ebuild | 77 -------------------------- |
11 |
1 file changed, 77 deletions(-) |
12 |
|
13 |
diff --git a/media-libs/opencollada/opencollada-9999.ebuild b/media-libs/opencollada/opencollada-9999.ebuild |
14 |
deleted file mode 100644 |
15 |
index 53164b4..0000000 |
16 |
--- a/media-libs/opencollada/opencollada-9999.ebuild |
17 |
+++ /dev/null |
18 |
@@ -1,77 +0,0 @@ |
19 |
-# Copyright 1999-2016 Gentoo Foundation |
20 |
-# Distributed under the terms of the GNU General Public License v2 |
21 |
-# $Id$ |
22 |
- |
23 |
-EAPI=6 |
24 |
- |
25 |
-EGIT_REPO_URI="https://github.com/KhronosGroup/OpenCOLLADA.git" |
26 |
-inherit multilib cmake-utils |
27 |
-[[ ${PV} == "9999" ]] && inherit git-r3 |
28 |
- |
29 |
-DESCRIPTION="Stream based read/write library for COLLADA files" |
30 |
-HOMEPAGE="http://www.opencollada.org/" |
31 |
-[[ ${PV} == "9999" ]] || \ |
32 |
- SRC_URI="https://github.com/KhronosGroup/OpenCOLLADA/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
33 |
- |
34 |
-LICENSE="MIT" |
35 |
-SLOT="0" |
36 |
-[[ ${PV} == "9999" ]] || \ |
37 |
- KEYWORDS="~amd64 ~ppc64 ~x86" \ |
38 |
- S="${WORKDIR}"/OpenCOLLADA-${PV} |
39 |
- |
40 |
-IUSE="expat static-libs" |
41 |
- |
42 |
-# This is still needed to have so version numbers |
43 |
-MY_SOVERSION="1.6" |
44 |
- |
45 |
-RDEPEND="dev-libs/libpcre |
46 |
- dev-libs/zziplib |
47 |
- media-libs/lib3ds |
48 |
- sys-libs/zlib |
49 |
- expat? ( dev-libs/expat ) |
50 |
- !expat? ( dev-libs/libxml2 )" |
51 |
-DEPEND="${RDEPEND}" |
52 |
- |
53 |
-# This is needed or you get an error on install |
54 |
-BUILD_DIR="${S}"/build |
55 |
- |
56 |
-PATCHES=( |
57 |
- "${FILESDIR}"/${PN}-0_p864-expat.patch |
58 |
- "${FILESDIR}"/${PN}-1.2.2-soversion.patch |
59 |
- "${FILESDIR}"/${PN}-1.2.2-no-undefined.patch |
60 |
- "${FILESDIR}"/${PN}-1.2.2-libdir.patch |
61 |
-) |
62 |
- |
63 |
-src_prepare() { |
64 |
- edos2unix CMakeLists.txt |
65 |
- |
66 |
- default |
67 |
- |
68 |
- # Remove bundled depends that have portage equivalents |
69 |
- rm -R Externals/{expat,lib3ds,LibXML,pcre,zlib,zziplib} || die |
70 |
- |
71 |
- # Remove unused build systems |
72 |
- rm Makefile scripts/{unixbuild.sh,vcproj2cmake.rb} || die |
73 |
- find "${S}" -name SConscript -delete || die |
74 |
-} |
75 |
- |
76 |
-src_configure() { |
77 |
- local mycmakeargs=( |
78 |
- -DUSE_SHARED=ON |
79 |
- -DUSE_STATIC=$(usex static-libs ON OFF) |
80 |
- -DUSE_EXPAT=$(usex expat ON OFF) |
81 |
- -DUSE_LIBXML=$(usex !expat ON OFF) |
82 |
- -Dsoversion=${MY_SOVERSION} |
83 |
- ) |
84 |
- |
85 |
- cmake-utils_src_configure |
86 |
-} |
87 |
- |
88 |
-src_install() { |
89 |
- cmake-utils_src_install |
90 |
- |
91 |
- echo "LDPATH=/usr/$(get_libdir)/opencollada" > "${T}"/99${PN}; \ |
92 |
- doenvd "${T}"/99${PN} |
93 |
- |
94 |
- dobin build/bin/OpenCOLLADAValidator |
95 |
-} |