public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-sound/wavsplit/, media-sound/wavsplit/files/
@ 2018-09-07 12:13 Andreas Sturmlechner
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Sturmlechner @ 2018-09-07 12:13 UTC (permalink / raw
  To: gentoo-commits

commit:     71a91badf76c98bc221687a406ca25ab4a411b5e
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Tue Sep  4 18:21:13 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Sep  7 12:12:15 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71a91bad

media-sound/wavsplit: EAPI7 revbump, improve ebuild

Closes: https://bugs.gentoo.org/665234
Closes: https://github.com/gentoo/gentoo/pull/9777

 .../wavsplit/files/wavsplit-1.2.1-64bit.patch      |  8 ++---
 .../wavsplit/files/wavsplit-1.2.1-Makefile.patch   |  4 +--
 .../files/wavsplit-1.2.1-large-files.patch         | 12 +++----
 media-sound/wavsplit/wavsplit-1.2.1-r2.ebuild      | 38 ++++++++++++++++++++++
 4 files changed, 50 insertions(+), 12 deletions(-)

diff --git a/media-sound/wavsplit/files/wavsplit-1.2.1-64bit.patch b/media-sound/wavsplit/files/wavsplit-1.2.1-64bit.patch
index abfaf424113..fe6294eb352 100644
--- a/media-sound/wavsplit/files/wavsplit-1.2.1-64bit.patch
+++ b/media-sound/wavsplit/files/wavsplit-1.2.1-64bit.patch
@@ -1,5 +1,5 @@
---- bak/wavsplit.c	2006-11-24 17:53:36.056883000 +0100
-+++ wavsplit.c	2006-11-24 17:52:38.345276250 +0100
+--- a/wavsplit.c	2006-11-24 17:53:36.056883000 +0100
++++ b/wavsplit.c	2006-11-24 17:52:38.345276250 +0100
 @@ -403,7 +403,7 @@
    ptr += 4;                     /* we move past fmt_ */
    memcpy (&waveformat, ptr, sizeof (WAVEFORMAT));
@@ -27,8 +27,8 @@
      printf ("Samplebits: %d\n", waveformat.wBitsPerSample);
      printf ("Databytes: %llu\n\n", databytes);
      printf ("Split         Hours  Mins   Seconds         Bytes         %%\n");
---- bak/wavsplit.h	2006-11-24 17:53:36.056883000 +0100
-+++ wavsplit.h	2006-11-24 17:43:58.648797250 +0100
+--- a/wavsplit.h	2006-11-24 17:53:36.056883000 +0100
++++ b/wavsplit.h	2006-11-24 17:43:58.648797250 +0100
 @@ -46,29 +46,29 @@
  } TIMEFORMAT;
  

diff --git a/media-sound/wavsplit/files/wavsplit-1.2.1-Makefile.patch b/media-sound/wavsplit/files/wavsplit-1.2.1-Makefile.patch
index a4b35a64fef..4cac4b657b7 100644
--- a/media-sound/wavsplit/files/wavsplit-1.2.1-Makefile.patch
+++ b/media-sound/wavsplit/files/wavsplit-1.2.1-Makefile.patch
@@ -1,5 +1,5 @@
---- Makefile.old	2006-03-30 08:54:03.000000000 +0200
-+++ Makefile	2006-03-30 08:55:04.000000000 +0200
+--- a/Makefile	2006-03-30 08:54:03.000000000 +0200
++++ b/Makefile	2006-03-30 08:55:04.000000000 +0200
 @@ -6,16 +6,16 @@
  version = 1.2.1
  

diff --git a/media-sound/wavsplit/files/wavsplit-1.2.1-large-files.patch b/media-sound/wavsplit/files/wavsplit-1.2.1-large-files.patch
index ff27231be65..cfc7e9d41b6 100644
--- a/media-sound/wavsplit/files/wavsplit-1.2.1-large-files.patch
+++ b/media-sound/wavsplit/files/wavsplit-1.2.1-large-files.patch
@@ -1,5 +1,5 @@
---- Makefile	2004-11-17 23:19:17.000000000 +0100
-+++ Makefile	2005-01-16 21:23:33.000000000 +0100
+--- a/Makefile	2004-11-17 23:19:17.000000000 +0100
++++ b/Makefile	2005-01-16 21:23:33.000000000 +0100
 @@ -6,7 +6,7 @@
  version = 1.2.1
  
@@ -9,8 +9,8 @@
  LIBS = -lm
  
  all: wavsplit wavren
---- wavsplit.c	2004-11-17 23:19:17.000000000 +0100
-+++ wavsplit.c	2005-01-16 22:04:39.000000000 +0100
+--- a/wavsplit.c	2004-11-17 23:19:17.000000000 +0100
++++ b/wavsplit.c	2005-01-16 22:04:39.000000000 +0100
 @@ -269,9 +269,9 @@
             timepos * split)
  {
@@ -161,8 +161,8 @@
  
    while (to_be_read) {
      n_read = read (ifd, buf, to_be_read);
---- wavsplit.h	2004-11-17 23:19:17.000000000 +0100
-+++ wavsplit.h	2005-01-16 21:23:33.000000000 +0100
+--- a/wavsplit.h	2004-11-17 23:19:17.000000000 +0100
++++ b/wavsplit.h	2005-01-16 21:23:33.000000000 +0100
 @@ -121,15 +121,15 @@
  static int split (unsigned int UseHours, unsigned int UseFrames,
                    unsigned int fps, unsigned int UseTrackLens,

diff --git a/media-sound/wavsplit/wavsplit-1.2.1-r2.ebuild b/media-sound/wavsplit/wavsplit-1.2.1-r2.ebuild
new file mode 100644
index 00000000000..7e422e4d3fa
--- /dev/null
+++ b/media-sound/wavsplit/wavsplit-1.2.1-r2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Simple command line tool to split WAV files"
+HOMEPAGE="https://sourceforge.net/projects/wavsplit/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+#-sparc, -amd64: 1.0: "Only supports PCM wave format" error message.
+KEYWORDS="~amd64 -sparc ~x86"
+
+PATCHES=(
+	"${FILESDIR}"/${P}-Makefile.patch
+	"${FILESDIR}"/${P}-large-files.patch
+	"${FILESDIR}"/${P}-64bit.patch
+)
+
+src_prepare() {
+	default
+	emake clean
+}
+
+src_compile() {
+	emake CC="$(tc-getCC)"
+}
+
+src_test() { :; } #294302
+
+src_install() {
+	dobin wav{ren,split}
+	doman wav{ren,split}.1
+	dodoc BUGS CHANGES CREDITS README{,.wavren}
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-sound/wavsplit/, media-sound/wavsplit/files/
@ 2025-09-25 10:32 Miroslav Šulc
  0 siblings, 0 replies; 2+ messages in thread
From: Miroslav Šulc @ 2025-09-25 10:32 UTC (permalink / raw
  To: gentoo-commits

commit:     297dc7325c3fdcb14ff1abec39b7e8b8cafd6e60
Author:     Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
AuthorDate: Tue Sep 23 22:19:58 2025 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Thu Sep 25 10:32:32 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=297dc732

media-sound/wavsplit: update EAPI 7 -> 8

Closes: https://bugs.gentoo.org/945262
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Part-of: https://github.com/gentoo/gentoo/pull/43918
Closes: https://github.com/gentoo/gentoo/pull/43918
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 .../wavsplit/files/wavsplit-1.2.1-gcc15.patch      | 13 ++++++++
 media-sound/wavsplit/wavsplit-1.2.1-r3.ebuild      | 39 ++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/media-sound/wavsplit/files/wavsplit-1.2.1-gcc15.patch b/media-sound/wavsplit/files/wavsplit-1.2.1-gcc15.patch
new file mode 100644
index 000000000000..15e4bd043104
--- /dev/null
+++ b/media-sound/wavsplit/files/wavsplit-1.2.1-gcc15.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/945262
+
+--- a/wavsplit.h
++++ b/wavsplit.h
+@@ -113,7 +113,7 @@ static __inline__ short _LE_short (unsigned char *lp)
+ 
+ #endif
+ 
+-static char *findchunk ();
++static char *findchunk (char *pstart, char *fourcc, size_t n);
+ static int readheader ();
+ static void Report (const char *Message, const char *Severity, int Verbose);
+ static int TokenOK (const char *Message, char **strPtr);

diff --git a/media-sound/wavsplit/wavsplit-1.2.1-r3.ebuild b/media-sound/wavsplit/wavsplit-1.2.1-r3.ebuild
new file mode 100644
index 000000000000..f75424b0adbf
--- /dev/null
+++ b/media-sound/wavsplit/wavsplit-1.2.1-r3.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Simple command line tool to split WAV files"
+HOMEPAGE="https://sourceforge.net/projects/wavsplit/"
+SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+#-sparc, -amd64: 1.0: "Only supports PCM wave format" error message.
+KEYWORDS="~amd64 -sparc ~x86"
+
+PATCHES=(
+	"${FILESDIR}"/${P}-Makefile.patch
+	"${FILESDIR}"/${P}-large-files.patch
+	"${FILESDIR}"/${P}-64bit.patch
+	"${FILESDIR}"/${P}-gcc15.patch
+)
+
+src_prepare() {
+	default
+	emake clean
+}
+
+src_compile() {
+	emake CC="$(tc-getCC)"
+}
+
+src_test() { :; } #294302
+
+src_install() {
+	dobin wav{ren,split}
+	doman wav{ren,split}.1
+	dodoc BUGS CHANGES CREDITS README{,.wavren}
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-09-25 10:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-07 12:13 [gentoo-commits] repo/gentoo:master commit in: media-sound/wavsplit/, media-sound/wavsplit/files/ Andreas Sturmlechner
  -- strict thread matches above, loose matches on Subject: below --
2025-09-25 10:32 Miroslav Šulc

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