summaryrefslogtreecommitdiff
path: root/dev-libs/teakra
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-14 02:02:08 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-14 02:02:08 +0000
commit59d772d9463f8cf6a145a677bedbf377a0625aff (patch)
tree5a0e382968fd656a056c886e36cfb4491535b489 /dev-libs/teakra
parent2a3e0d61b3d88306b6fae46756f9ba7d230222ae (diff)
gentoo auto-resync : 14:12:2024 - 02:02:07
Diffstat (limited to 'dev-libs/teakra')
-rw-r--r--dev-libs/teakra/Manifest2
-rw-r--r--dev-libs/teakra/teakra-20220224-r1.ebuild55
-rw-r--r--dev-libs/teakra/teakra-20220224.ebuild44
3 files changed, 56 insertions, 45 deletions
diff --git a/dev-libs/teakra/Manifest b/dev-libs/teakra/Manifest
index d989b5e8eadb..8d721690038f 100644
--- a/dev-libs/teakra/Manifest
+++ b/dev-libs/teakra/Manifest
@@ -1,3 +1,3 @@
DIST teakra-20220224.tar.gz 983295 BLAKE2B 79c399f2bd3358fd558b4e7558dbbfb95a74ea16d8c9e79037a5ae258066bd5dcab903bd776b2cd355dacb60ee4dfb5de2802ed318d12985a4655f87dd958604 SHA512 b8c37b9d82431b00bcd22554e3f507466f0e6823bcd0cb7c22d38cf5ffd63bf270dd6f70472063adf4db02cac3e4dbe85ceba2946d7ba0ca13b166bf7f197e02
-EBUILD teakra-20220224.ebuild 921 BLAKE2B fe4a8bd32ae1c1e8132243be289cfe3a46c2daf9dc8c08513228502b4c3479224858a8db1985bd61cd032125f11e802fa9ff7d15edd807e62d6bbab7e01fec58 SHA512 d7658da13f155453af1c131000d72914a66f277cee0ad8c55a116edc39466ce1a0a69dc93d2f5255dd823c4976089016e5d49d73a5f3a679e5593fec93bf60ff
+EBUILD teakra-20220224-r1.ebuild 1052 BLAKE2B 028c2e870f9c2027941dc262f855b858c9156555a0609e6bdb42ab341332328720e985253b201dce4a7064efcb0b8c852d0727f9192dae8d360b523163bc74cb SHA512 bfa6608c56c1b66b38da2dc1d9bc2b2ea6b4b18dd2754834163c9f30a24d5639da7ca8b1bd906c798711f1b852af3214091dceae43b3716f519b188edf18ae54
MISC metadata.xml 399 BLAKE2B 4e2f75b603401bfe8ac3d275d343728996602ebf01cdbc834ca2338ea255a4a5ec314bc5ede4dc9442aca8f701e228415a259b077cb591d8377daf8fc223c485 SHA512 3e67a8e432beb3ff9c1a647c36d168e6cbc8fa150a9c137df425ef34f48df2fefd3bf9f69367d54823a0e32308cc782e5527de880eb12801f888fd1f0fffdc5f
diff --git a/dev-libs/teakra/teakra-20220224-r1.ebuild b/dev-libs/teakra/teakra-20220224-r1.ebuild
new file mode 100644
index 000000000000..3c65d876776c
--- /dev/null
+++ b/dev-libs/teakra/teakra-20220224-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+[[ ${PV} == 20220224 ]] && COMMIT=01db7cdd00aabcce559a8dddce8798dabb71949b
+
+inherit cmake
+
+DESCRIPTION="Emulator, assembler, etc for XpertTeak, the DSP used by DSi/3DS"
+HOMEPAGE="https://github.com/wwylele/teakra/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/wwylele/${PN}.git"
+else
+ SRC_URI="https://github.com/wwylele/${PN}/archive/${COMMIT}.tar.gz
+ -> ${P}.tar.gz"
+ S="${WORKDIR}/${PN}-${COMMIT}"
+
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+
+src_prepare() {
+ sed -i "s|-Werror||g" ./CMakeLists.txt || die
+
+ cmake_src_prepare
+}
+
+src_configure() {
+ local -a mycmakeargs=(
+ -DCMAKE_SKIP_RPATH="ON"
+ )
+ cmake_src_configure
+}
+
+src_test() {
+ local -x LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${BUILD_DIR}/src/"
+
+ cmake_src_test
+}
+
+src_install() {
+ dolib.so "${BUILD_DIR}/src/lib${PN}.so"
+ dolib.so "${BUILD_DIR}/src/lib${PN}_c.so"
+
+ insinto /usr/include
+ doins -r "./include/${PN}"
+
+ einstalldocs
+}
diff --git a/dev-libs/teakra/teakra-20220224.ebuild b/dev-libs/teakra/teakra-20220224.ebuild
deleted file mode 100644
index faf0cf67592a..000000000000
--- a/dev-libs/teakra/teakra-20220224.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-[[ ${PV} == 20220224 ]] && COMMIT=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/${COMMIT}.tar.gz
- -> ${P}.tar.gz"
-S="${WORKDIR}"/${PN}-${COMMIT}
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-src_prepare() {
- sed -i "s|-Werror||g" "${S}"/CMakeLists.txt || die
-
- cmake_src_prepare
-}
-
-src_configure() {
- local -a mycmakeargs=(
- -DCMAKE_SKIP_RPATCOMMIT=ON
- )
- cmake_src_configure
-}
-
-src_test() {
- LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:"${BUILD_DIR}"/src/ cmake_src_test
-}
-
-src_install() {
- dolib.so "${BUILD_DIR}"/src/lib${PN}.so "${BUILD_DIR}"/src/lib${PN}_c.so
-
- insinto /usr/include
- doins -r include/${PN}
-
- einstalldocs
-}