games-util/libtess2: new package, add 1.0.3

Signed-off-by: Henri Gasc <gasc@eurecom.fr>
This commit is contained in:
Henri Gasc
2022-11-24 12:06:43 +01:00
parent 0517152785
commit ebf9d27ff6
3 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST libtess2-v1.0.3.tar.bz2 52901 BLAKE2B 6921a13f5291cc1651e7c43eb85f72a37a32be3ce56b5e25dcdf240e8b0e976c43e2d668a35e3559cff3eece6c884bf4c0bec58cd9c30c2a204a68240703b110 SHA512 2e42a9af344c4cfe716234edc102d139cbf33d1efaa6c253b89f78a3b981e22a05d3bff883494856df779f267867882bc3eef434df2e07e33adc9ddeacac6a5b

View File

@@ -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
}

View File

@@ -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>gasc@eurecom.fr</email>
</maintainer>
<upstream>
<remote-id type="github">memononen/libtess2</remote-id>
</upstream>
</pkgmetadata>