commit:     ebf9d27ff6377abfa691d91ceabd7790c50bb37b
Author:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Thu Nov 24 11:06:43 2022 +0000
Commit:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
CommitDate: Thu Nov 24 11:07:16 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ebf9d27f

games-util/libtess2: new package, add 1.0.3

Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>

 games-util/libtess2/Manifest              |  1 +
 games-util/libtess2/libtess2-1.0.3.ebuild | 30 ++++++++++++++++++++++++++++++
 games-util/libtess2/metadata.xml          | 11 +++++++++++
 3 files changed, 42 insertions(+)

diff --git a/games-util/libtess2/Manifest b/games-util/libtess2/Manifest
new file mode 100644
index 000000000..fde6e9563
--- /dev/null
+++ b/games-util/libtess2/Manifest
@@ -0,0 +1 @@
+DIST libtess2-v1.0.3.tar.bz2 52901 BLAKE2B 
6921a13f5291cc1651e7c43eb85f72a37a32be3ce56b5e25dcdf240e8b0e976c43e2d668a35e3559cff3eece6c884bf4c0bec58cd9c30c2a204a68240703b110
 SHA512 
2e42a9af344c4cfe716234edc102d139cbf33d1efaa6c253b89f78a3b981e22a05d3bff883494856df779f267867882bc3eef434df2e07e33adc9ddeacac6a5b

diff --git a/games-util/libtess2/libtess2-1.0.3.ebuild 
b/games-util/libtess2/libtess2-1.0.3.ebuild
new file mode 100644
index 000000000..c49c6b300
--- /dev/null
+++ b/games-util/libtess2/libtess2-1.0.3.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Game and tools oriented refactored version of GLU tesselator"
+
+HOMEPAGE="https://gitlab.eurecom.fr/gasc/libtess2";
+SRC_URI="https://gitlab.eurecom.fr/gasc/libtess2/-/archive/v${PV}/libtess2-v${PV}.tar.bz2";
+S="${WORKDIR}/${PN}-v${PV}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=media-libs/glfw-3.0.0"
+BDEPEND="
+       ${DEPEND}
+       >=dev-util/premake-5.0.0_alpha16"
+RDEPEND=""
+
+src_compile() {
+       emake clean build
+}
+
+src_install() {
+       echo ${D}
+       emake DESTDIR="${D}/usr" install
+}

diff --git a/games-util/libtess2/metadata.xml b/games-util/libtess2/metadata.xml
new file mode 100644
index 000000000..a77d78d95
--- /dev/null
+++ b/games-util/libtess2/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+       <maintainer type="person">
+               <name>Gasc Henri</name>
+               <email>[email protected]</email>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">memononen/libtess2</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to