summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2014-09-14 18:21:49 +0000
committerAndreas K. Hüttel <dilfridge@gentoo.org>2014-09-14 18:21:49 +0000
commitd66dda2baac6f780f92eaead38f8ff82b86a8c13 (patch)
tree8a17fbb1269b54c94dec118bc27bce4e454e38c9 /media-libs/libgltf
parentFix license, bug #420025. (diff)
downloadgentoo-2-d66dda2baac6f780f92eaead38f8ff82b86a8c13.tar.gz
gentoo-2-d66dda2baac6f780f92eaead38f8ff82b86a8c13.tar.bz2
gentoo-2-d66dda2baac6f780f92eaead38f8ff82b86a8c13.zip
New library, dependency of libreoffice-4.3. Thanks to Andreas Sturmlechner.
(Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 84AD142F)
Diffstat (limited to 'media-libs/libgltf')
-rw-r--r--media-libs/libgltf/ChangeLog11
-rw-r--r--media-libs/libgltf/libgltf-0.0.1.ebuild51
-rw-r--r--media-libs/libgltf/libgltf-9999.ebuild51
-rw-r--r--media-libs/libgltf/metadata.xml5
4 files changed, 118 insertions, 0 deletions
diff --git a/media-libs/libgltf/ChangeLog b/media-libs/libgltf/ChangeLog
new file mode 100644
index 000000000000..9c8a231f5a9e
--- /dev/null
+++ b/media-libs/libgltf/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-libs/libgltf
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libgltf/ChangeLog,v 1.1 2014/09/14 18:21:49 dilfridge Exp $
+
+*libgltf-9999 (14 Sep 2014)
+*libgltf-0.0.1 (14 Sep 2014)
+
+ 14 Sep 2014; Andreas K. Huettel <dilfridge@gentoo.org> +libgltf-0.0.1.ebuild,
+ +libgltf-9999.ebuild, +metadata.xml:
+ New library, dependency of libreoffice-4.3. Thanks to Andreas Sturmlechner.
+
diff --git a/media-libs/libgltf/libgltf-0.0.1.ebuild b/media-libs/libgltf/libgltf-0.0.1.ebuild
new file mode 100644
index 000000000000..5f9abe2e5763
--- /dev/null
+++ b/media-libs/libgltf/libgltf-0.0.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libgltf/libgltf-0.0.1.ebuild,v 1.1 2014/09/14 18:21:49 dilfridge Exp $
+
+EAPI=5
+
+EGIT_REPO_URI="git://gerrit.libreoffice.org/libgltf.git"
+inherit base eutils
+[[ ${PV} == 9999 ]] && inherit autotools git-2
+
+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"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+[[ ${PV} == 9999 ]] || \
+KEYWORDS="~amd64 ~x86"
+IUSE="debug test"
+
+RDEPEND="virtual/opengl"
+
+DEPEND="${RDEPEND}
+ dev-libs/boost
+ media-libs/glew
+ media-libs/glm
+ sys-devel/libtool
+ virtual/pkgconfig
+"
+
+# testsuite not in tarball
+# only in git; unsure
+RESTRICT="test"
+
+src_prepare() {
+ [[ -d m4 ]] || mkdir "m4"
+ base_src_prepare
+ [[ ${PV} == 9999 ]] && eautoreconf
+}
+
+src_configure() {
+ econf \
+ --docdir="${EPREFIX}/usr/share/doc/${PF}" \
+ --disable-werror \
+ $(use_enable test tests)
+}
+
+src_install() {
+ default
+ prune_libtool_files --all
+}
diff --git a/media-libs/libgltf/libgltf-9999.ebuild b/media-libs/libgltf/libgltf-9999.ebuild
new file mode 100644
index 000000000000..950bb6dbebbb
--- /dev/null
+++ b/media-libs/libgltf/libgltf-9999.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libgltf/libgltf-9999.ebuild,v 1.1 2014/09/14 18:21:49 dilfridge Exp $
+
+EAPI=5
+
+EGIT_REPO_URI="git://gerrit.libreoffice.org/libgltf.git"
+inherit base eutils
+[[ ${PV} == 9999 ]] && inherit autotools git-2
+
+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"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+[[ ${PV} == 9999 ]] || \
+KEYWORDS="~amd64 ~x86"
+IUSE="debug test"
+
+RDEPEND="virtual/opengl"
+
+DEPEND="${RDEPEND}
+ dev-libs/boost
+ media-libs/glew
+ media-libs/glm
+ sys-devel/libtool
+ virtual/pkgconfig
+"
+
+# testsuite not in tarball
+# only in git; unsure
+RESTRICT="test"
+
+src_prepare() {
+ [[ -d m4 ]] || mkdir "m4"
+ base_src_prepare
+ [[ ${PV} == 9999 ]] && eautoreconf
+}
+
+src_configure() {
+ econf \
+ --docdir="${EPREFIX}/usr/share/doc/${PF}" \
+ --disable-werror \
+ $(use_enable test tests)
+}
+
+src_install() {
+ default
+ prune_libtool_files --all
+}
diff --git a/media-libs/libgltf/metadata.xml b/media-libs/libgltf/metadata.xml
new file mode 100644
index 000000000000..5d46203011d6
--- /dev/null
+++ b/media-libs/libgltf/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>openoffice</herd>
+</pkgmetadata>