Skip to content

Commit

Permalink
media-libs/libcdaudio: EAPI7, improve ebuild
Browse files Browse the repository at this point in the history
Closes: #9368
Package-Manager: Portage-2.3.45, Repoman-2.3.10
  • Loading branch information
mm1ke authored and a17r committed Aug 11, 2018
1 parent 2224874 commit 2a1cd99
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
@@ -1,5 +1,5 @@
--- src/cddb.c
+++ src/cddb.c
--- a/src/cddb.c
+++ b/src/cddb.c
@@ -1679,7 +1679,7 @@ cddb_read_disc_data(int cd_desc, struct disc_data *outdata)
free(file);

Expand Down
22 changes: 22 additions & 0 deletions media-libs/libcdaudio/libcdaudio-0.99.12-r2.ebuild
@@ -0,0 +1,22 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="Library of cd audio related routines"
HOMEPAGE="http://libcdaudio.sourceforge.net/"
SRC_URI="mirror://sourceforge/libcdaudio/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE=""

PATCHES=(
"${FILESDIR}"/${PN}-0.99-CAN-2005-0706.patch
"${FILESDIR}"/${P}-bug245649.patch
)

src_configure() {
econf --enable-threads
}

0 comments on commit 2a1cd99

Please sign in to comment.