blob: 8443ee8f7543b090fe587f2ade5a858aa3a8d827 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmirage/libmirage-1.5.0-r1.ebuild,v 1.5 2012/05/04 18:35:43 jdhore Exp $
EAPI="4"
inherit autotools eutils
DESCRIPTION="CD and DVD image access library"
HOMEPAGE="http://cdemu.org"
SRC_URI="mirror://sourceforge/cdemu/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~hppa x86"
IUSE="static-libs"
RDEPEND=">=dev-libs/glib-2.28:2
>=media-libs/libsndfile-1.0
sys-libs/zlib"
DEPEND="${RDEPEND}
dev-util/gtk-doc-am
virtual/pkgconfig"
# eautoreconf needs dev-util/gtk-doc-am
src_prepare() {
# In next release, prevents mirage_session_add_language() crash
epatch "${FILESDIR}/${P}-session-initialize-language.patch"
# bug #399701, https://sourceforge.net/tracker/?func=detail&aid=3479700&group_id=93175&atid=603423
epatch "${FILESDIR}/${P}-gtk-doc.patch"
eautoreconf
}
src_configure() {
econf \
$(use_enable static-libs static)
}
src_install() {
default
find "${D}" -name '*.la' -exec rm -f {} +
}
|