public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/cdparanoia/
Date: Sun, 10 Nov 2019 15:51:11 +0000 (UTC)	[thread overview]
Message-ID: <1573401059.24f4db73e7945860ab167194a736881b1a95b55a.pacho@gentoo> (raw)

commit:     24f4db73e7945860ab167194a736881b1a95b55a
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 10 15:42:00 2019 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Nov 10 15:50:59 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24f4db73

media-sound/cdparanoia: Fix build with format-security...

Update ebuild, rename configure.in, pull fixes from Fedora and Debian

Closes: https://bugs.gentoo.org/517584
Closes: https://bugs.gentoo.org/645802
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 media-sound/cdparanoia/Manifest                    |  1 +
 media-sound/cdparanoia/cdparanoia-3.10.2-r7.ebuild | 63 ++++++++++++++++++++++
 2 files changed, 64 insertions(+)

diff --git a/media-sound/cdparanoia/Manifest b/media-sound/cdparanoia/Manifest
index b04b7cc0dcd..34146febd51 100644
--- a/media-sound/cdparanoia/Manifest
+++ b/media-sound/cdparanoia/Manifest
@@ -1,2 +1,3 @@
+DIST cdparanoia-3.10.2-patches.tar.xz 12228 BLAKE2B 0a78bf713807ed738110543c0e4a8fb5af8add5c77b93b3cf219b1dd19d1317d0bf0197c9bf1cc2217b37c08ab1ff576982a0408d2c0adf6be79f25e35e0b36c SHA512 48ef57334f48d8b7449ea5ca361666d1a618529bf2e78182026fa09a94cd55865d18f4925369bf9de2c251d9420c0edfae17eb8726c157bb6eafd8b4fd410a5a
 DIST cdparanoia-III-10.2-patches-2.tbz2 6242 BLAKE2B 6eb0f3c3a331421497e406df969de61d42590f4e8ffff13ffc212ec4a03170b1e02e00322c5c4f2042e5cc4be2cffff58ec8b9b57d851d5df8bebc3fb88ac913 SHA512 523a9ef9f3de263236aad6da102b807a6620cde8767e297e54dcd552f59077d959a89187bc82ad71c577fa66c4862d7c651e922b8b8b8369dd63685cbda9cb74
 DIST cdparanoia-III-10.2.src.tgz 183236 BLAKE2B 295065388e45371329ea7b04bac03c90fd854478d34eb46fa95db03054a1a21effe7863e5065a9148e558796c352d5087b6ef1c3c4c20342e66abd7d2c9eef85 SHA512 4ab0a0f5ef44d56c1af72d1fc1035566a1a89c4eeddb9e8baea675fe51c06138d913342afc8bed167d9fa55672fa25a2763ce21f7e24c1232e4739aff20733a7

diff --git a/media-sound/cdparanoia/cdparanoia-3.10.2-r7.ebuild b/media-sound/cdparanoia/cdparanoia-3.10.2-r7.ebuild
new file mode 100644
index 00000000000..fdeb82c9e0c
--- /dev/null
+++ b/media-sound/cdparanoia/cdparanoia-3.10.2-r7.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools libtool toolchain-funcs multilib-minimal
+
+MY_P="${PN}-III-$(ver_cut 2-3)"
+DESCRIPTION="An advanced CDDA reader with error correction"
+HOMEPAGE="https://www.xiph.org/paranoia"
+SRC_URI="https://downloads.xiph.org/releases/${PN}/${MY_P}.src.tgz
+	https://dev.gentoo.org/~pacho/${PN}/${P}-patches.tar.xz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="static-libs"
+
+RDEPEND="app-eselect/eselect-cdparanoia"
+DEPEND="${RDEPEND}"
+BDEPEND=""
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+	default
+
+	# Patches from previus patchset + Fedora + Debian
+	eapply "${WORKDIR}"/patches/*.patch
+
+	mv configure.guess config.guess
+	mv configure.sub config.sub
+
+	sed -i -e '/configure.\(guess\|sub\)/d' configure.in || die
+
+	mv configure.{in,ac} || die
+	eautoconf
+	elibtoolize
+
+	multilib_copy_sources
+}
+
+multilib_src_configure() {
+	tc-export AR CC RANLIB
+	econf
+}
+
+multilib_src_compile() {
+	emake OPT="${CFLAGS} -I${S}/interface"
+	use static-libs && emake lib OPT="${CFLAGS} -I${S}/interface"
+}
+
+multilib_src_install_all() {
+	einstalldocs
+	mv "${ED}"/usr/bin/${PN}{,-paranoia}
+}
+
+pkg_postinst() {
+	eselect ${PN} update ifunset
+}
+
+pkg_postrm() {
+	eselect ${PN} update ifunset
+}


             reply	other threads:[~2019-11-10 15:51 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-10 15:51 Pacho Ramos [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-12-03  1:49 [gentoo-commits] repo/gentoo:master commit in: media-sound/cdparanoia/ Aaron Bauman
2019-12-03 10:03 Agostino Sarubbo
2019-12-03 10:06 Agostino Sarubbo
2019-12-03 10:07 Agostino Sarubbo
2019-12-03 11:56 Agostino Sarubbo
2019-12-03 11:58 Agostino Sarubbo
2019-12-08 10:58 Sergei Trofimovich
2019-12-10 10:54 Agostino Sarubbo
2019-12-24 14:13 Mikle Kolyada
2020-05-03  9:49 Pacho Ramos
2021-08-10  0:02 Marek Szuba
2022-11-02  5:50 WANG Xuerui
2024-05-08 10:16 Sam James
2024-05-08 11:34 Sam James
2024-05-08 11:34 Sam James
2024-05-08 11:34 Sam James
2024-05-08 11:34 Sam James
2024-05-08 11:34 Sam James
2024-05-08 11:34 Sam James
2024-05-09  9:12 Miroslav Šulc

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=1573401059.24f4db73e7945860ab167194a736881b1a95b55a.pacho@gentoo \
    --to=pacho@gentoo.org \
    --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