From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B612E158041 for ; Sun, 3 Mar 2024 09:01:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B5801E29D5; Sun, 3 Mar 2024 09:01:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 930E2E29D2 for ; Sun, 3 Mar 2024 09:01:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 46FCA33BEED for ; Sun, 3 Mar 2024 09:01:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 41592137F for ; Sun, 3 Mar 2024 09:01:42 +0000 (UTC) From: "Lucio Sauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lucio Sauer" Message-ID: <1709456455.d05015c8e1187c133f5dc67c06e5592e4bfda014.watermanpaint@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-libs/dr_wav/ X-VCS-Repository: repo/proj/guru X-VCS-Files: media-libs/dr_wav/dr_wav-0.13.16.ebuild X-VCS-Directories: media-libs/dr_wav/ X-VCS-Committer: watermanpaint X-VCS-Committer-Name: Lucio Sauer X-VCS-Revision: d05015c8e1187c133f5dc67c06e5592e4bfda014 X-VCS-Branch: dev Date: Sun, 3 Mar 2024 09:01:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: bf7bf203-1ba1-4b95-a6dd-b362f47f87dc X-Archives-Hash: 46aba14edca9c6d4900d7a47b5d03486 commit: d05015c8e1187c133f5dc67c06e5592e4bfda014 Author: Lucio Sauer posteo net> AuthorDate: Sun Mar 3 09:00:45 2024 +0000 Commit: Lucio Sauer posteo net> CommitDate: Sun Mar 3 09:00:55 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d05015c8 media-libs/dr_wav: drop 0.13.16 with incorrect COMMIT Signed-off-by: Lucio Sauer posteo.net> media-libs/dr_wav/dr_wav-0.13.16.ebuild | 106 -------------------------------- 1 file changed, 106 deletions(-) diff --git a/media-libs/dr_wav/dr_wav-0.13.16.ebuild b/media-libs/dr_wav/dr_wav-0.13.16.ebuild deleted file mode 100644 index 79ac1a95ca..0000000000 --- a/media-libs/dr_wav/dr_wav-0.13.16.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit edo toolchain-funcs - -DESCRIPTION="Single-header WAV audio loader and writer library" -HOMEPAGE="https://github.com/mackron/dr_libs/" -COMMIT="e4a7765e598e9e54dc0f520b7e4416359bee80cc" -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",,' \ - 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 - - awk '/Introduction/,/\*\//' dr_wav.h | sed '$d' > README.md - assert - awk '/REVISION HISTORY/,/\*\//' dr_wav.h | sed '$d' > CHANGELOG - assert - 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 - 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 - edo ${MY_BUILD} - done - popd || die - fi -} - -src_test() { - local MY_RUN - - pushd tests || die - for tcase in ${TESTCASES[@]}; do - MY_RUN="./bin/${tcase}" - case ${tcase%.*} in - dr_wav_encoding) - MY_RUN="${MY_RUN} testvectors/wav/tests/test_encode_gentoo" - ;; - *) - ;; - esac - edo ${MY_RUN} - done - popd || die -} - -src_install() { - einstalldocs - doheader dr_wav.h -}