From: "Lucio Sauer" <watermanpaint@posteo.net> To: gentoo-commits@lists.gentoo.org Subject: [gentoo-commits] repo/proj/guru:master commit in: media-libs/dr_wav/ Date: Tue, 24 Dec 2024 16:18:26 +0000 (UTC) [thread overview] Message-ID: <1735056360.a896bc908ac36418742cf50b70bba44b833419b5.watermanpaint@gentoo> (raw) commit: a896bc908ac36418742cf50b70bba44b833419b5 Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net> AuthorDate: Tue Dec 24 15:53:53 2024 +0000 Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net> CommitDate: Tue Dec 24 16:06:00 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a896bc90 media-libs/dr_wav: drop 0.13.16-r1 Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net> media-libs/dr_wav/Manifest | 1 - media-libs/dr_wav/dr_wav-0.13.16-r1.ebuild | 107 ----------------------------- 2 files changed, 108 deletions(-) diff --git a/media-libs/dr_wav/Manifest b/media-libs/dr_wav/Manifest index 4aceddeac..382c10b4a 100644 --- a/media-libs/dr_wav/Manifest +++ b/media-libs/dr_wav/Manifest @@ -1,2 +1 @@ -DIST dr_wav-0.13.16.gh.tar.gz 518708 BLAKE2B 33c55d2e7dcba5e01421dc3003a5f1a520a13c0f32a9720625771f9c4625fd47d6f6567642dba8cfdf8c59561fab5074b02f6ad86e97c9ab6b970a6529332cb6 SHA512 604752b11f0c51eb25a1c51b8e74c7c11473f0267b2d48a2ec2637c3ea881b9a29867a5a0aa016b7a1dced67bd271abc62b20fe771e0c20862dc14afccd39b09 DIST dr_wav-0.13.17.gh.tar.gz 519185 BLAKE2B 6223639f9500713b9dbf830a2ac9b7f9b86f6010ca2531b70f673309ba44994ba84e2cadbce395e7bc0629bcf744698032ae6fe85387b80e81bcb46ba8fc5ff9 SHA512 2c521b95ca070aa87eb45b91a169822ac7324f535a24cc01053fc6da93f9fe955e940ec8ee3a1cc2b645c0ecbb278f44164c54cbbb88a880206a48157a4a8399 diff --git a/media-libs/dr_wav/dr_wav-0.13.16-r1.ebuild b/media-libs/dr_wav/dr_wav-0.13.16-r1.ebuild deleted file mode 100644 index 579593823..000000000 --- a/media-libs/dr_wav/dr_wav-0.13.16-r1.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit edo toolchain-funcs - -COMMIT="4ec70a37c4450b021a6653f0813f1b9ceaae65fb" - -DESCRIPTION="Single-header WAV audio loader and writer library" -HOMEPAGE="https://github.com/mackron/dr_libs/" -SRC_URI="https://github.com/mackron/dr_libs/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz" - -S="${WORKDIR}/dr_libs-${COMMIT}" - -LICENSE="|| ( MIT-0 public-domain )" -SLOT="0" -KEYWORDS="~amd64 ~ppc64" - -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND="test? ( media-libs/libsndfile )" - -TESTCASES=( - dr_wav_encoding.c - dr_wav_{decoding,test_0}.{c,cpp} -) - -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 - - 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 -}
WARNING: multiple messages have this Message-ID (diff)
From: "Lucio Sauer" <watermanpaint@posteo.net> To: gentoo-commits@lists.gentoo.org Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-libs/dr_wav/ Date: Tue, 24 Dec 2024 16:09:52 +0000 (UTC) [thread overview] Message-ID: <1735056360.a896bc908ac36418742cf50b70bba44b833419b5.watermanpaint@gentoo> (raw) Message-ID: <20241224160952.9Z6ISGnXMjzlwkA6a01R7I1ypDUMOJriSBItvSc7XHw@z> (raw) commit: a896bc908ac36418742cf50b70bba44b833419b5 Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net> AuthorDate: Tue Dec 24 15:53:53 2024 +0000 Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net> CommitDate: Tue Dec 24 16:06:00 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a896bc90 media-libs/dr_wav: drop 0.13.16-r1 Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net> media-libs/dr_wav/Manifest | 1 - media-libs/dr_wav/dr_wav-0.13.16-r1.ebuild | 107 ----------------------------- 2 files changed, 108 deletions(-) diff --git a/media-libs/dr_wav/Manifest b/media-libs/dr_wav/Manifest index 4aceddeac..382c10b4a 100644 --- a/media-libs/dr_wav/Manifest +++ b/media-libs/dr_wav/Manifest @@ -1,2 +1 @@ -DIST dr_wav-0.13.16.gh.tar.gz 518708 BLAKE2B 33c55d2e7dcba5e01421dc3003a5f1a520a13c0f32a9720625771f9c4625fd47d6f6567642dba8cfdf8c59561fab5074b02f6ad86e97c9ab6b970a6529332cb6 SHA512 604752b11f0c51eb25a1c51b8e74c7c11473f0267b2d48a2ec2637c3ea881b9a29867a5a0aa016b7a1dced67bd271abc62b20fe771e0c20862dc14afccd39b09 DIST dr_wav-0.13.17.gh.tar.gz 519185 BLAKE2B 6223639f9500713b9dbf830a2ac9b7f9b86f6010ca2531b70f673309ba44994ba84e2cadbce395e7bc0629bcf744698032ae6fe85387b80e81bcb46ba8fc5ff9 SHA512 2c521b95ca070aa87eb45b91a169822ac7324f535a24cc01053fc6da93f9fe955e940ec8ee3a1cc2b645c0ecbb278f44164c54cbbb88a880206a48157a4a8399 diff --git a/media-libs/dr_wav/dr_wav-0.13.16-r1.ebuild b/media-libs/dr_wav/dr_wav-0.13.16-r1.ebuild deleted file mode 100644 index 579593823..000000000 --- a/media-libs/dr_wav/dr_wav-0.13.16-r1.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit edo toolchain-funcs - -COMMIT="4ec70a37c4450b021a6653f0813f1b9ceaae65fb" - -DESCRIPTION="Single-header WAV audio loader and writer library" -HOMEPAGE="https://github.com/mackron/dr_libs/" -SRC_URI="https://github.com/mackron/dr_libs/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz" - -S="${WORKDIR}/dr_libs-${COMMIT}" - -LICENSE="|| ( MIT-0 public-domain )" -SLOT="0" -KEYWORDS="~amd64 ~ppc64" - -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND="test? ( media-libs/libsndfile )" - -TESTCASES=( - dr_wav_encoding.c - dr_wav_{decoding,test_0}.{c,cpp} -) - -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 - - 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 -}
next reply other threads:[~2024-12-24 16:18 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-12-24 16:18 Lucio Sauer [this message] 2024-12-24 16:09 ` [gentoo-commits] repo/proj/guru:dev commit in: media-libs/dr_wav/ Lucio Sauer -- strict thread matches above, loose matches on Subject: below -- 2025-01-02 19:26 [gentoo-commits] repo/proj/guru:master " David Roman 2024-12-24 16:18 Lucio Sauer 2024-03-14 10:19 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 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=1735056360.a896bc908ac36418742cf50b70bba44b833419b5.watermanpaint@gentoo \ --to=watermanpaint@posteo.net \ --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: linkBe 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