media-libs/libgltf: 0.1.0 version bump
authorAndreas Sturmlechner <asturm@gentoo.org>
Mon, 26 Jun 2017 19:48:42 +0000 (21:48 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Mon, 26 Jun 2017 19:54:53 +0000 (21:54 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.1

media-libs/libgltf/Manifest
media-libs/libgltf/libgltf-0.1.0.ebuild [new file with mode: 0644]
media-libs/libgltf/libgltf-9999.ebuild

index b18edd4af0704270c1e31b83f8f8ae6351f45d98..6fbb14013aff019725792259c8f12deea6cc4f13 100644 (file)
@@ -1 +1,2 @@
 DIST libgltf-0.0.2.tar.bz2 538040 SHA256 d1cc7297ed1921aa969e26413b4c4e18afc882ce4d2f5a2aa2a2905706f7206b SHA512 74ca5e5e0f38ee5a67e870b49f4adf6c9710dc696afb776149618c05d15e3527d605143230f7ceacd199b609bcbb683cfc72d8e4ef22ba5b9ca777c8a2b53dcf WHIRLPOOL fbac1dc41cab63d4f322893d1b55d513fe8eefad5d625db703134dc429b3b87b5b6d36c481810d6e819c8f8213846b700d318421ac7858347c5ddf1cd875a246
+DIST libgltf-0.1.0.tar.gz 736163 SHA256 119e730fbf002dd0eaafa4930167267d7d910aa17f29979ca9ca8b66625fd2da SHA512 c4ef222d638a3f691bcce493776ef451830168ef0569c417f0acdd305e5f261500767943f92a3e65d6b00aecf6c02bdae56f52e0943b8d36490ef66474d9252a WHIRLPOOL 3994d7200b351dbc73c1041aad1ff802344226a61c5d46e366f5f42ecf3d5fbd5410c40d2eb9cd6b0b92d25f496ebf06cdc9c942470d6b6a99c9e69ff31d9106
diff --git a/media-libs/libgltf/libgltf-0.1.0.ebuild b/media-libs/libgltf/libgltf-0.1.0.ebuild
new file mode 100644 (file)
index 0000000..320dc63
--- /dev/null
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGIT_REPO_URI="git://gerrit.libreoffice.org/libgltf.git"
+[[ ${PV} == 9999 ]] && inherit autotools git-r3
+
+DESCRIPTION="C++ Library for rendering OpenGL models stored in glTF format"
+HOMEPAGE="http://www.libreoffice.org https://gerrit.libreoffice.org/gitweb?p=libgltf.git"
+[[ ${PV} == 9999 ]] || SRC_URI="http://dev-www.libreoffice.org/src/${PN}/${P}.tar.gz"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+[[ ${PV} == 9999 ]] || \
+KEYWORDS="~amd64 ~x86"
+IUSE="debug test"
+
+RDEPEND="
+       >=media-libs/libepoxy-1.3.1
+       virtual/opengl
+"
+DEPEND="${RDEPEND}
+       dev-libs/boost
+       media-libs/glm
+       sys-devel/libtool
+       virtual/pkgconfig
+"
+
+# testsuite not in tarball
+# only in git; unsure
+RESTRICT="test"
+
+src_prepare() {
+       default
+       [[ -d m4 ]] || mkdir "m4"
+       [[ ${PV} == 9999 ]] && eautoreconf
+}
+
+src_configure() {
+       econf \
+               --disable-werror \
+               $(use_enable debug) \
+               $(use_enable test tests)
+}
+
+src_install() {
+       default
+       find "${D}" -name '*.la' -delete || die
+}
index ee2dc78b474ba523b37ea35d87c2992d6d287b64..320dc63b2873ff43b8ead60e9d916be558e9c75b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -7,8 +7,8 @@ EGIT_REPO_URI="git://gerrit.libreoffice.org/libgltf.git"
 [[ ${PV} == 9999 ]] && inherit autotools git-r3
 
 DESCRIPTION="C++ Library for rendering OpenGL models stored in glTF format"
-HOMEPAGE="http://www.libreoffice.org"
-[[ ${PV} == 9999 ]] || SRC_URI="http://dev-www.libreoffice.org/src/${PN}/${P}.tar.bz2"
+HOMEPAGE="http://www.libreoffice.org https://gerrit.libreoffice.org/gitweb?p=libgltf.git"
+[[ ${PV} == 9999 ]] || SRC_URI="http://dev-www.libreoffice.org/src/${PN}/${P}.tar.gz"
 
 LICENSE="MPL-2.0"
 SLOT="0"
@@ -40,6 +40,7 @@ src_prepare() {
 src_configure() {
        econf \
                --disable-werror \
+               $(use_enable debug) \
                $(use_enable test tests)
 }