summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-05-09 22:30:23 +0000
committerSam James <sam@gentoo.org>2021-05-09 22:39:16 +0000
commit97b149957b6621ca499ee6a432ba64ae6857524a (patch)
treea47dd79ff069ecee7b2600f71a41a0cd7f813c1a /media-sound/wavbreaker
parentmedia-sound/wavbreaker: add github remote-id (diff)
downloadgentoo-97b149957b6621ca499ee6a432ba64ae6857524a.tar.gz
gentoo-97b149957b6621ca499ee6a432ba64ae6857524a.tar.bz2
gentoo-97b149957b6621ca499ee6a432ba64ae6857524a.zip
media-sound/wavbreaker: add 0.13
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-sound/wavbreaker')
-rw-r--r--media-sound/wavbreaker/Manifest1
-rw-r--r--media-sound/wavbreaker/files/wavbreaker-0.13-QA-desktop-file.patch11
-rw-r--r--media-sound/wavbreaker/wavbreaker-0.13.ebuild37
3 files changed, 49 insertions, 0 deletions
diff --git a/media-sound/wavbreaker/Manifest b/media-sound/wavbreaker/Manifest
index 0fa4723d14cb..3a9e0aa9549e 100644
--- a/media-sound/wavbreaker/Manifest
+++ b/media-sound/wavbreaker/Manifest
@@ -1 +1,2 @@
DIST wavbreaker-0.11.tar.gz 496733 BLAKE2B 2ecdad2f19071d672eea4960883af3f1e5b034d43307896cbd9caed9fb087579124851cab6fbfbc54276945c6b229f2ac6f2e7b9b839d02487569b08d65b0210 SHA512 3dee23ef7c0db651cd1ebae78db3f950b5b22ae4f0a323f66e1243a88c0e41390f9f4abde663ef7a1d1c841e0cbb779612d6078cd327a0f1d48e6a812c8ce4e1
+DIST wavbreaker-0.13.tar.gz 366998 BLAKE2B 4f863699d6e0c5573d4af615a0ae8cd1d4d1b2fc74cc060ab8d0fb298e57812a8675b641bc69a45ae1015b3e6c0731a228aee773caaeaed75cafedf065dbbff0 SHA512 3585bdc6eb937d02ff8287c370a2f480dbdedfc6304505ee45943ed34e4302af480bdea511f7d4fb6778b9f5b25a435b533392eedac9869c650202645a64c574
diff --git a/media-sound/wavbreaker/files/wavbreaker-0.13-QA-desktop-file.patch b/media-sound/wavbreaker/files/wavbreaker-0.13-QA-desktop-file.patch
new file mode 100644
index 000000000000..1f854ada4b42
--- /dev/null
+++ b/media-sound/wavbreaker/files/wavbreaker-0.13-QA-desktop-file.patch
@@ -0,0 +1,11 @@
+diff --git a/data/net.sourceforge.wavbreaker.desktop b/data/net.sourceforge.wavbreaker.desktop
+index 39d8ad9..649c5a2 100644
+--- a/data/net.sourceforge.wavbreaker.desktop
++++ b/data/net.sourceforge.wavbreaker.desktop
+@@ -5,5 +5,5 @@ Comment[de]=Teilen Sie .wav-Dateien in mehrere Teile
+ Exec=wavbreaker
+ Icon=net.sourceforge.wavbreaker
+ Type=Application
+-Categories=Application;AudioVideo;Audio;
++Categories=AudioVideo;Audio;
+ MimeType=audio/x-wav
diff --git a/media-sound/wavbreaker/wavbreaker-0.13.ebuild b/media-sound/wavbreaker/wavbreaker-0.13.ebuild
new file mode 100644
index 000000000000..3204ca6f1b63
--- /dev/null
+++ b/media-sound/wavbreaker/wavbreaker-0.13.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit meson xdg
+
+DESCRIPTION="wavbreaker/wavmerge GTK+ utility to break or merge WAV files"
+HOMEPAGE="http://wavbreaker.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="mp3"
+
+# mpg123?
+RDEPEND="
+ dev-libs/glib
+ media-sound/mpg123
+ media-libs/libao
+ x11-libs/gtk+:3
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.13-QA-desktop-file.patch
+)
+
+src_configure() {
+ local emesonargs=(
+ $(meson_use mp3)
+ )
+
+ meson_src_configure
+}