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_flac/
Date: Sat,  2 Mar 2024 14:26:25 +0000 (UTC)	[thread overview]
Message-ID: <1709366804.301632939fee8666935312a82b29a2539a69f46f.davidroman@gentoo> (raw)

commit:     301632939fee8666935312a82b29a2539a69f46f
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Sat Mar  2 08:06:44 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Sat Mar  2 08:06:44 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=30163293

media-libs/dr_flac: automate documentation generation

as per
https://github.com/gentoo/guru/commit/b88d3ed0965aeae7ff98e453e6216e92eaea2f3c#r134692400

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

 media-libs/dr_flac/dr_flac-0.12.42.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/media-libs/dr_flac/dr_flac-0.12.42.ebuild b/media-libs/dr_flac/dr_flac-0.12.42.ebuild
index 830a44411c..5f7d03a86c 100644
--- a/media-libs/dr_flac/dr_flac-0.12.42.ebuild
+++ b/media-libs/dr_flac/dr_flac-0.12.42.ebuild
@@ -47,8 +47,10 @@ src_prepare() {
 
 	fi
 
-	sed -n "120,223p" dr_flac.h > README.md || die
-	sed -n "12078,12485p" dr_flac.h > CHANGELOG || die
+	awk '/Introduction/,/\*\//' dr_wav.h | sed '$d' > README.md
+	assert
+	awk '/REVISION HISTORY/,/\*\//' dr_wav.h | sed '$d' > CHANGELOG
+	assert
 	default
 }
 


             reply	other threads:[~2024-03-02 14:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-02 14:26 David Roman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-02 14:26 [gentoo-commits] repo/proj/guru:master commit in: media-libs/dr_flac/ David Roman
2024-02-25 10:02 Viorel Munteanu
2023-12-11  6:50 Viorel Munteanu

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=1709366804.301632939fee8666935312a82b29a2539a69f46f.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