summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-03-13 01:29:18 +0100
committerMaciej Barć <xgqt@gentoo.org>2022-03-13 02:04:42 +0100
commitb2b2659dc8373c714989795015a5b47f2f592bf5 (patch)
treec5dc1638215684d5aab7108291d8d8f274aa6106 /dev-libs/teakra
parentgnome-base/gnome-core-libs-41.3: ALLARCHES stable (diff)
downloadgentoo-b2b2659dc8373c714989795015a5b47f2f592bf5.tar.gz
gentoo-b2b2659dc8373c714989795015a5b47f2f592bf5.tar.bz2
gentoo-b2b2659dc8373c714989795015a5b47f2f592bf5.zip
dev-libs/teakra: new package; add 20220224
2022.02.24 snapshot Bug: https://bugs.gentoo.org/834984 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-libs/teakra')
-rw-r--r--dev-libs/teakra/Manifest1
-rw-r--r--dev-libs/teakra/metadata.xml13
-rw-r--r--dev-libs/teakra/teakra-20220224.ebuild33
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-libs/teakra/Manifest b/dev-libs/teakra/Manifest
new file mode 100644
index 000000000000..1569bad52d9c
--- /dev/null
+++ b/dev-libs/teakra/Manifest
@@ -0,0 +1 @@
+DIST teakra-20220224.tar.gz 983295 BLAKE2B 79c399f2bd3358fd558b4e7558dbbfb95a74ea16d8c9e79037a5ae258066bd5dcab903bd776b2cd355dacb60ee4dfb5de2802ed318d12985a4655f87dd958604 SHA512 b8c37b9d82431b00bcd22554e3f507466f0e6823bcd0cb7c22d38cf5ffd63bf270dd6f70472063adf4db02cac3e4dbe85ceba2946d7ba0ca13b166bf7f197e02
diff --git a/dev-libs/teakra/metadata.xml b/dev-libs/teakra/metadata.xml
new file mode 100644
index 000000000000..98208183c8b2
--- /dev/null
+++ b/dev-libs/teakra/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+ <maintainer type="person">
+ <email>xgqt@gentoo.org</email>
+ <name>Maciej Barć</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://github.com/wwylele/teakra/issues/</bugs-to>
+ <remote-id type="github">wwylele/teakra</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-libs/teakra/teakra-20220224.ebuild b/dev-libs/teakra/teakra-20220224.ebuild
new file mode 100644
index 000000000000..db293bf7abd3
--- /dev/null
+++ b/dev-libs/teakra/teakra-20220224.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+H=01db7cdd00aabcce559a8dddce8798dabb71949b
+
+inherit cmake
+
+DESCRIPTION="Emulator, assembler, etc for XpertTeak, the DSP used by DSi/3DS"
+HOMEPAGE="https://github.com/wwylele/teakra/"
+SRC_URI="https://github.com/wwylele/${PN}/archive/${H}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}"/${PN}-${H}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_SKIP_RPATH=ON
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ einstalldocs
+
+ dolib.so "${BUILD_DIR}/src/lib${PN}.so" "${BUILD_DIR}/src/lib${PN}_c.so"
+
+ insinto /usr/include
+ doins -r include/${PN}
+}