public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: media-libs/dr_wav/
Date: Thu, 25 Jan 2024 10:49:17 +0000 (UTC)	[thread overview]
Message-ID: <1706177843.f237d7c1cd331a1c5b472d7bde7a0f2df0d28a59.davidroman@gentoo> (raw)

commit:     f237d7c1cd331a1c5b472d7bde7a0f2df0d28a59
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Thu Jan 25 10:17:23 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Thu Jan 25 10:17:23 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f237d7c1

media-libs/dr_wav: drop 0.13.13

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

 media-libs/dr_wav/Manifest              |   1 -
 media-libs/dr_wav/dr_wav-0.13.13.ebuild | 106 --------------------------------
 2 files changed, 107 deletions(-)

diff --git a/media-libs/dr_wav/Manifest b/media-libs/dr_wav/Manifest
index d7c32dcdd5..10943227fd 100644
--- a/media-libs/dr_wav/Manifest
+++ b/media-libs/dr_wav/Manifest
@@ -1,2 +1 @@
-DIST dr_wav-0.13.13.gh.tar.gz 518461 BLAKE2B 28a606f184edb697cb3683d2bab6efd134eb304948cfea74c7d3ef1f292402c02c617ba5b2c2ed4c6b6af783a75d83b2e77afac63545a5ec4e772c19e92a1426 SHA512 1266af7606a1d08270e4f5aa4b72054c0df3931e04a6a2134ce14a0b137ea77abd8b746a6affb34881571269561e7fdd45ef50072186aa52d1401e490e9c356a
 DIST dr_wav-0.13.15.gh.tar.gz 518698 BLAKE2B 9598008c392fcb24448f15771bb47e6479c99b529164e28af00600d3eb7066ffb49f328bcaca88cb89ac0348551ff60cbf9c965d1f39e460319a0867b4141821 SHA512 8d6b8324db7a0864b1c264a1aea7f29eb282f726aa2d6ba8be8fb27892dd7c3c047b3b669bcc9744e52b4fb57899437bb42ba17b5cefd3520c98cb17570e68dd

diff --git a/media-libs/dr_wav/dr_wav-0.13.13.ebuild b/media-libs/dr_wav/dr_wav-0.13.13.ebuild
deleted file mode 100644
index c9d7718d79..0000000000
--- a/media-libs/dr_wav/dr_wav-0.13.13.ebuild
+++ /dev/null
@@ -1,106 +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="9eed1be421749ba68a87e5b4c3b10858f8580689"
-SRC_URI="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_prepare() {
-	if use test; then
-		# 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
-
-	sed -n "11,135p" dr_wav.h > README.md || die
-	sed -n "8348,8752p" dr_wav.h > CHANGELOG || die
-	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
-	doheader dr_wav.h
-}


             reply	other threads:[~2024-01-25 10:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-25 10:49 David Roman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-14 10:19 [gentoo-commits] repo/proj/guru:master commit in: media-libs/dr_wav/ David Roman
2024-03-03 10:07 Haelwenn Monnier
2024-03-03 10:07 Haelwenn Monnier
2024-03-02  7:10 Arthur Zamarin
2024-03-02  7:10 Arthur Zamarin
2024-02-25 10:02 Viorel Munteanu
2024-01-25 10:49 David Roman
2023-09-03 12:27 Haelwenn Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1706177843.f237d7c1cd331a1c5b472d7bde7a0f2df0d28a59.davidroman@gentoo \
    --to=davidroman96@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox