diff options
author | Jonathan Scruggs <j.scruggs@gmail.com> | 2016-09-05 12:20:23 +0100 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2016-09-05 23:28:52 +0200 |
commit | 43598878275d89bd6e3d8e397dc31984f8212b2a (patch) | |
tree | b58ab01d0e6b5a90de458bfb21aea012866abb1f /media-libs/opencollada | |
parent | dev-python/moviepy: new ebuild (diff) | |
download | gentoo-43598878275d89bd6e3d8e397dc31984f8212b2a.tar.gz gentoo-43598878275d89bd6e3d8e397dc31984f8212b2a.tar.bz2 gentoo-43598878275d89bd6e3d8e397dc31984f8212b2a.zip |
media-libs/opencollada: version bump to 1.6.31.
Closes: https://github.com/gentoo/gentoo/pull/2245
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'media-libs/opencollada')
-rw-r--r-- | media-libs/opencollada/Manifest | 1 | ||||
-rw-r--r-- | media-libs/opencollada/opencollada-1.6.31.ebuild | 75 |
2 files changed, 76 insertions, 0 deletions
diff --git a/media-libs/opencollada/Manifest b/media-libs/opencollada/Manifest index 23cfa80e7a6c..98cdb0b5951f 100644 --- a/media-libs/opencollada/Manifest +++ b/media-libs/opencollada/Manifest @@ -1,3 +1,4 @@ DIST opencollada-1.2.2_p20150207.tar.gz 11715849 SHA256 b6a4362c559d790a04dfef4606cb0a0ffe01e34708f898bf3453e69318bc5cc1 SHA512 0780e4401f130832d9802ddd6183ac11294ed84f43e0b497673c66fa2c1ae47ebc853484f8e68871887a1e99ab1f1df786cfc6ebd5868f039d9101ab82646f09 WHIRLPOOL 4cf7c7f03caf37e4c9342e139ed036b3c43984917ac4a3876e464f2065e2c515e2e85e5408d32901572d6b56a94d82963f5a2e6d3bb17dec04ecf35ee8be2d98 DIST opencollada-1.6.18.tar.gz 11807970 SHA256 9835aa0b6efdb6602e58a84ee245a443002dc7196af3b7660e6888680d5d5990 SHA512 e4f72c41c8c619bbfb842517fb1217f616ebe6d9576ef0b7fd8bcb26443b66245107e8d04475c32946b7b73bf093977d1911d486f2d2ae92a165cfde55f67baa WHIRLPOOL 7d35758667c7a1293c376712d47cae0f87ea243e04de9fc526297805fa59f405510584ac6d79c13f77f80f1ef0e6cbea05692b3c65a09d88031dd220b4132ead DIST opencollada-1.6.25.tar.gz 11817949 SHA256 9cea5c85164758b01ac0d5c37ea10373a0d1fc7eba1e5d9dea9ba4af8aa6dca9 SHA512 48ede841d43beddbaa153899e2a1eb45d875c468536b276f6b9cb80a84b90b16ca376fb2fbc68a7f25f4908ef94a376c431ed7e94e7c6657afe60464f067a00e WHIRLPOOL e074a66424e66b98476d40f7c525a4e05e0e5537efc7c695f0e1b9099a51bd8d4645ce7a2ceae646607c7399446f22098a93dbc0bcf8c49013a49940f5737d87 +DIST opencollada-1.6.31.tar.gz 11832790 SHA256 ef338d03646da3039cf67382b19f39fe51aa638e05213ba9ad6a41f8069ad683 SHA512 6290600bed59fef72c4986a9d00683ae1bfedf6811a44fb9e05e1a46e4ceaee7585c2281918f0a491369e49b01d3dfab0eb38b3e0728f96fe8264a80ca28d8c9 WHIRLPOOL 6ad70665178e54bd93c431c6fe6c03800fc62a99e845c54a502d21e995b77dd6d1f5624aa2d70a03ba271bdfb5d60a0b9b9ac876ab8a14e14308458eea1118ab diff --git a/media-libs/opencollada/opencollada-1.6.31.ebuild b/media-libs/opencollada/opencollada-1.6.31.ebuild new file mode 100644 index 000000000000..2978d51245b0 --- /dev/null +++ b/media-libs/opencollada/opencollada-1.6.31.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils cmake-utils + +DESCRIPTION="Stream based read/write library for COLLADA files" +HOMEPAGE="http://www.opencollada.org/" +SRC_URI="https://github.com/KhronosGroup/OpenCOLLADA/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" + +KEYWORDS="~amd64 ~ppc64 ~x86" + +IUSE="expat static-libs" + +# This is still needed to have so version numbers +MY_SOVERSION="1.6" + +RDEPEND="dev-libs/libpcre + dev-libs/zziplib + media-libs/lib3ds + sys-libs/zlib + expat? ( dev-libs/expat ) + !expat? ( dev-libs/libxml2 )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S="${WORKDIR}"/OpenCOLLADA-${PV} +# This is needed or you get an error on install +BUILD_DIR="${S}"/build + +PATCHES=( + "${FILESDIR}"/${PN}-0_p864-expat.patch + "${FILESDIR}"/${PN}-1.2.2-soversion.patch + "${FILESDIR}"/${PN}-1.2.2-no-undefined.patch + "${FILESDIR}"/${PN}-1.2.2-libdir.patch +) + +src_prepare() { + edos2unix CMakeLists.txt + + default + + # Remove bundled depends that have portage equivalents + rm -rv Externals/{expat,lib3ds,LibXML,pcre,zlib,zziplib} || die + + # Remove unused build systems + rm -v Makefile scripts/{unixbuild.sh,vcproj2cmake.rb} || die + find "${S}" -name SConscript -delete || die +} + +src_configure() { + local mycmakeargs=( + -DUSE_SHARED=ON + -DUSE_STATIC=$(usex static-libs ON OFF) + -DUSE_EXPAT=$(usex expat ON OFF) + -DUSE_LIBXML=$(usex !expat ON OFF) + -Dsoversion=${MY_SOVERSION} + ) + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + echo "LDPATH=/usr/$(get_libdir)/opencollada" > "${T}"/99${PN} || die "echo failed" + doenvd "${T}"/99${PN} + + dobin build/bin/OpenCOLLADAValidator +} |