dev-libs/tweeny: New package.

Dependency for net-im/nheko.

Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
This commit is contained in:
Ronny (tastytea) Gutbrod
2020-05-25 02:06:34 +02:00
parent 655f1afa8d
commit e9ae04bf52
3 changed files with 56 additions and 0 deletions

1
dev-libs/tweeny/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST tweeny-3.1.0.tar.gz 49467 BLAKE2B 7b1a3b7a7dba22d291c89dc3b2ee07458070aa55f2e77adfc1f0de4095187d2a2e0e0960a17a17fd96cccdd114d42d5e1bb4a6a76edc4b97500b2615c0eb574e SHA512 8109c241f866b565d15f1f5f87837f178a4fd3c5169d73e73e18334c54274024b48c9baed1f1935201ab872687bacb9ff3f8ecbae8078de4e1b459242450b9a5

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gentoo@tastytea.de</email>
<name>Ronny (tastytea) Gutbrod</name>
</maintainer>
<longdescription lang="en">
Tweeny is an inbetweening library designed for the creation of complex
animations for games and other beautiful interactive software. It
leverages features of modern C++ to empower developers with an intuitive
API for declaring tweenings of any type of value, as long as they
support arithmetic operations.
</longdescription>
<upstream>
<remote-id type="github">mobius3/tweeny</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,37 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
DESCRIPTION="C++ tweening (inbetweening) library"
HOMEPAGE="https://mobius3.github.io/tweeny/"
SRC_URI="https://github.com/mobius3/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc"
RDEPEND=""
DEPEND="${RDEPEND}"
src_prepare() {
cmake_src_prepare
if use doc; then
sed -i "s@DESTINATION share/doc/Tweeny@DESTINATION share/doc/${PF}@" \
doc/CMakeLists.txt || die "Could not change documentation path."
fi
}
src_configure() {
local -a mycmakeargs=(
-DTWEENY_BUILD_EXAMPLES=NO
-DTWEENY_BUILD_DOCUMENTATION=$(usex doc)
-DTWEENY_BUILD_EXTRAS=NO
)
cmake_src_configure
}