summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-01-23 14:29:12 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-01-23 14:29:25 +0100
commit2702d12908072c0f8f53c905af004a1692f8844d (patch)
treeaba288b86c10dd452b3a6f4a3a9b3c973e6ca8d6 /media-sound/vorbis-tools
parentkde-frameworks/kirigami: Drop 5.78.0 (r0) (diff)
downloadgentoo-2702d12908072c0f8f53c905af004a1692f8844d.tar.gz
gentoo-2702d12908072c0f8f53c905af004a1692f8844d.tar.bz2
gentoo-2702d12908072c0f8f53c905af004a1692f8844d.zip
media-sound/vorbis-tools: 1.4.2 version bump
Closes: https://bugs.gentoo.org/766567 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-sound/vorbis-tools')
-rw-r--r--media-sound/vorbis-tools/Manifest1
-rw-r--r--media-sound/vorbis-tools/files/vorbis-tools-1.4.2-docdir.patch14
-rw-r--r--media-sound/vorbis-tools/vorbis-tools-1.4.2.ebuild43
3 files changed, 58 insertions, 0 deletions
diff --git a/media-sound/vorbis-tools/Manifest b/media-sound/vorbis-tools/Manifest
index dac34365d6e8..7c4e168674b4 100644
--- a/media-sound/vorbis-tools/Manifest
+++ b/media-sound/vorbis-tools/Manifest
@@ -1 +1,2 @@
DIST vorbis-tools-1.4.0.tar.gz 1346532 BLAKE2B 37a915c522bc7ec3746d96bef3982f59aa590098425609d8d9a5cd522d15fe7ca5f0cf6cceb8eadf1a14b732f812b56206ec20c04121e20f34b9df0755d8bd18 SHA512 d2473f2e8e6726b5a5083f567797ae42bbb7fa3f26aec3f7b83e641e028c64726299f71a9d75258595a53cf29c18acb84841bcbc39509258d2c8df859e4e3b99
+DIST vorbis-tools-1.4.2.tar.gz 1389947 BLAKE2B 6cec240a2c069a74accfadd4d4a5a2a75bb4ad40c83aff86e190f7b19a87d4348d7a932e69a9ae9dd2efff636f47d3465b3d26d39393b4fec925cb7d1543f77e SHA512 31681560434054706981aef64406975295eb405a9d2d7c0468af789d6c23edb7cfc1c19d26a28fa7061835524289cdc6d217a4669c43a2eb828189370cc6fcaf
diff --git a/media-sound/vorbis-tools/files/vorbis-tools-1.4.2-docdir.patch b/media-sound/vorbis-tools/files/vorbis-tools-1.4.2-docdir.patch
new file mode 100644
index 000000000000..faec14fe65c6
--- /dev/null
+++ b/media-sound/vorbis-tools/files/vorbis-tools-1.4.2-docdir.patch
@@ -0,0 +1,14 @@
+Thanks-to: Chris Mayo
+https://bugs.gentoo.org/533774
+
+--- a/configure 2021-01-21 10:14:17.000000000 +0100
++++ b/configure 2021-01-23 14:24:06.178883282 +0100
+@@ -937,7 +937,7 @@
+ runstatedir='${localstatedir}/run'
+ includedir='${prefix}/include'
+ oldincludedir='/usr/include'
+-docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
++docdir='${docdir}'
+ infodir='${datarootdir}/info'
+ htmldir='${docdir}'
+ dvidir='${docdir}'
diff --git a/media-sound/vorbis-tools/vorbis-tools-1.4.2.ebuild b/media-sound/vorbis-tools/vorbis-tools-1.4.2.ebuild
new file mode 100644
index 000000000000..eaae1ed08819
--- /dev/null
+++ b/media-sound/vorbis-tools/vorbis-tools-1.4.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Tools for using the Ogg Vorbis sound file format"
+HOMEPAGE="https://xiph.org/vorbis/"
+SRC_URI="https://ftp.osuosl.org/pub/xiph/releases/vorbis/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
+IUSE="flac kate nls +ogg123 speex"
+
+RDEPEND="
+ media-libs/libvorbis
+ media-libs/opusfile
+ flac? ( media-libs/flac )
+ kate? ( media-libs/libkate )
+ ogg123? (
+ media-libs/libao
+ net-misc/curl
+ )
+ speex? ( media-libs/speex )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )
+"
+
+PATCHES=( "${FILESDIR}"/${P}-docdir.patch )
+
+src_configure() {
+ local myeconfargs=(
+ $(use_with flac)
+ $(use_with kate)
+ $(use_enable nls)
+ $(use_enable ogg123)
+ $(use_with speex)
+ )
+ econf "${myeconfargs[@]}"
+}