public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/dr_wav/files/, media-libs/dr_wav/
@ 2023-12-07  2:30 Lucio Sauer
  0 siblings, 0 replies; only message in thread
From: Lucio Sauer @ 2023-12-07  2:30 UTC (permalink / raw
  To: gentoo-commits

commit:     f62d3e2ea2cd9c7bed32fd30391ee3694dbcc7ae
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Thu Dec  7 02:27:57 2023 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Thu Dec  7 02:27:57 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f62d3e2e

media-libs/dr_wav: drop 0.13.12

Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 media-libs/dr_wav/Manifest                         |   2 -
 media-libs/dr_wav/dr_wav-0.13.12.ebuild            | 117 ---------------------
 media-libs/dr_wav/files/dr_wav-0.13.12-docs.tar.xz | Bin 5644 -> 0 bytes
 3 files changed, 119 deletions(-)

diff --git a/media-libs/dr_wav/Manifest b/media-libs/dr_wav/Manifest
index 5403d480fc..71fba75e16 100644
--- a/media-libs/dr_wav/Manifest
+++ b/media-libs/dr_wav/Manifest
@@ -1,3 +1 @@
-DIST dr_wav-0.13.12.gh.tar.gz 518394 BLAKE2B 49447a2b845f95e9896fb45ac2cd9de8f59d45d3271e30e26c0e519355c3578b96f2c2978677d2774c1bfa4656a8213eafda00207cdd89f72d6823cf0f1b77cf SHA512 34126c8eb65f0735b77f058db9f1618b3c4e820698804b47f7a629c47df571e9cbbeefd4cce193409ebd715d37ed5faf1c3c27a7240e0f5418089cffe853f1ea
-DIST dr_wav-0.13.12.h 351384 BLAKE2B 2bcbeab7e7aa6a7519bea978742494205625a60b8c0a464305c6f6fb7eec33be54640fdb2578437c4143e50e5ad2d18730351ecdd824d25ab6e0f8af3b8d018c SHA512 a4a681546716b1a1a9e55321796828828b1872bf223c7c02529a1553b8beafe2a89ffe72a38e5aa3bf457a8ce4dd2dcf9cba7a9cde28e59586a8388f1439a8a1
 DIST dr_wav-0.13.13.gh.tar.gz 518461 BLAKE2B 28a606f184edb697cb3683d2bab6efd134eb304948cfea74c7d3ef1f292402c02c617ba5b2c2ed4c6b6af783a75d83b2e77afac63545a5ec4e772c19e92a1426 SHA512 1266af7606a1d08270e4f5aa4b72054c0df3931e04a6a2134ce14a0b137ea77abd8b746a6affb34881571269561e7fdd45ef50072186aa52d1401e490e9c356a

diff --git a/media-libs/dr_wav/dr_wav-0.13.12.ebuild b/media-libs/dr_wav/dr_wav-0.13.12.ebuild
deleted file mode 100644
index a28e010ba5..0000000000
--- a/media-libs/dr_wav/dr_wav-0.13.12.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit toolchain-funcs
-
-DESCRIPTION="Single-header WAV audio loader and writer library"
-HOMEPAGE="https://github.com/mackron/dr_libs/"
-COMMIT="d35a3bc5efd02455d98cbe12b94647136f09b42d"
-SRC_URI="!test? ( https://raw.githubusercontent.com/mackron/dr_libs/${COMMIT}/dr_wav.h -> ${P}.h )
-		  test? ( https://github.com/mackron/dr_libs/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz )"
-
-LICENSE="|| ( MIT-0 public-domain )"
-SLOT="0"
-KEYWORDS="~amd64"
-
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="test? ( media-libs/libsndfile )"
-
-TESTCASES=(
-	dr_wav_encoding.c
-	dr_wav_{decoding,test_0}.{c,cpp}
-)
-
-S="${WORKDIR}/dr_libs-${COMMIT}"
-
-src_unpack() {
-	default
-	unpack "${FILESDIR}"/${P}-docs.tar.xz
-}
-
-src_prepare() {
-	if use test; then
-		# Remove some unused parts of the source tree that could contribute different
-		# (but acceptable) license terms if they were used—just to prove that we do not
-		# use them.
-		rm -rv old || die
-
-		# Unbundle library with incorrect include path.
-		sed -i 's,"../../../miniaudio/miniaudio.h",<miniaudio/miniaudio.h>,' \
-			tests/wav/dr_wav_playback.c || die
-		# Disable profiling tests as they are not relevant downstream.
-		sed -i 's/doProfiling = DRWAV_TRUE/doProfiling = DRWAV_FALSE/' \
-			tests/wav/dr_wav_decoding.c || die
-		# Test cases dr_wav_{en,de}coding.{c,cpp} write and read a file from a
-		# missing directory.
-		mkdir tests/testvectors/wav/tests || die
-	fi
-	default
-}
-
-src_compile() {
-	if use test; then
-		local MY_{C,CC,CXX,BUILD,FLAGS}
-		MY_CC=$(tc-getCC)
-		MY_CXX=$(tc-getCXX)
-
-		pushd tests > /dev/null || die
-		for tcase in ${TESTCASES[@]}; do
-			einfo "Compiling test case ${tcase}."
-			case ${tcase} in
-				*.cpp)
-					MY_C=${MY_CXX}
-					MY_FLAGS=${CXXFLAGS}
-					;;
-				*.c)
-					MY_C=${MY_CC}
-					MY_FLAGS=${CFLAGS}
-					;;
-				*)
-					die "Unknown test case ${tcase}"
-					;;
-			esac
-			MY_BUILD="${MY_C} wav/${tcase} -o bin/${tcase} ${MY_FLAGS} ${CPPFLAGS}"
-			case ${tcase%.*} in
-				dr_wav_encoding)
-					MY_BUILD="${MY_BUILD} -lm ${LDFLAGS}"
-					;;
-				*)
-					;;
-			esac
-			${MY_BUILD} || die "Build failed: ${MY_BUILD}"
-		done
-		popd || die
-	fi
-}
-
-src_test() {
-	local MY_RUN
-
-	pushd tests || die
-	for tcase in ${TESTCASES[@]}; do
-		einfo "Running test case ${tcase}."
-		MY_RUN="./bin/${tcase}"
-		case ${tcase%.*} in
-			dr_wav_encoding)
-				MY_RUN="${MY_RUN} testvectors/wav/tests/test_encode_gentoo"
-				;;
-			*)
-				;;
-		esac
-		${MY_RUN} || die "Test case ${tcase} failed."
-	done
-	popd || die
-}
-
-src_install() {
-	einstalldocs
-	if use test; then
-		doheader dr_wav.h
-	else
-		newheader "${DISTDIR}"/${P}.h dr_wav.h
-	fi
-}

diff --git a/media-libs/dr_wav/files/dr_wav-0.13.12-docs.tar.xz b/media-libs/dr_wav/files/dr_wav-0.13.12-docs.tar.xz
deleted file mode 100644
index ad8f39c660..0000000000
Binary files a/media-libs/dr_wav/files/dr_wav-0.13.12-docs.tar.xz and /dev/null differ


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-12-07  2:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-07  2:30 [gentoo-commits] repo/proj/guru:dev commit in: media-libs/dr_wav/files/, media-libs/dr_wav/ Lucio Sauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox