mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 10:57:07 -08:00
media-libs/opencollada: Removed old
Closes: https://bugs.gentoo.org/682448 Closes: https://bugs.gentoo.org/651756 Package-Manager: Portage-2.3.88, Repoman-2.3.20 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST opencollada-1.6.62.tar.gz 12094443 BLAKE2B 6cd0ec893fc212bf3e8f166ad9c51c894dc298a3627e65dd41ece850a5638d91b8839830d5456bf3ba072a0b23f8c01247d8c676cc79d98464cdf0c1b55fd3c5 SHA512 bd39406b9a833409303ef7cd4e93beee0675fa57c267af95a34699348a81650d50ae042dbb1837cd41c72433533a3a9b827a44e9775a5b06c7c4f1a351146574
|
||||
DIST opencollada-1.6.63.tar.gz 12094044 BLAKE2B dbe38ab2976f72d47a38bd147e05a58555acc2b70618d4d47d2beff87ace54f7fcd2f116b9ba9908cfb38b5699e547375e902128c2f378c295308f1601a18b17 SHA512 e1b92e932d0256224b026281fb5691219c5171f57b968307288b6e5481b5d6fee39825702e18017055bd0fb0e3d4c40b6ce526d3ce4defe2994138db54220d01
|
||||
|
||||
@@ -1,69 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils flag-o-matic
|
||||
|
||||
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="static-libs"
|
||||
|
||||
# bug 651756
|
||||
RDEPEND="<dev-libs/libpcre-8.42
|
||||
dev-libs/zziplib
|
||||
media-libs/lib3ds
|
||||
sys-libs/zlib
|
||||
dev-libs/libxml2"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S="${WORKDIR}/OpenCOLLADA-${PV}"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-cmake-fixes.patch" )
|
||||
|
||||
src_prepare() {
|
||||
edos2unix CMakeLists.txt
|
||||
|
||||
cmake-utils_src_prepare
|
||||
|
||||
# Remove bundled depends that have portage equivalents
|
||||
rm -rv Externals/{expat,lib3ds,LibXML,pcre,zziplib} || die
|
||||
|
||||
# Remove unused build systems
|
||||
rm -v Makefile scripts/{unixbuild.sh,vcproj2cmake.rb} || die
|
||||
find "${S}" -name SConscript -delete || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# bug 619670
|
||||
append-cxxflags -std=c++14
|
||||
|
||||
local mycmakeargs=(
|
||||
-DUSE_SHARED=ON
|
||||
-DUSE_STATIC=$(usex static-libs)
|
||||
-DUSE_LIBXML=ON
|
||||
)
|
||||
|
||||
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_DIR}/bin/DAEValidator"
|
||||
dobin "${BUILD_DIR}/bin/OpenCOLLADAValidator"
|
||||
# Need to be in same directory as above binaries
|
||||
docinto "/usr/bin"
|
||||
dodoc "${BUILD_DIR}/bin/COLLADAPhysX3Schema.xsd"
|
||||
dodoc "${BUILD_DIR}/bin/collada_schema_1_4_1.xsd"
|
||||
dodoc "${BUILD_DIR}/bin/collada_schema_1_5.xsd"
|
||||
}
|
||||
Reference in New Issue
Block a user