summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2012-01-25 18:09:44 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2012-01-25 18:09:44 +0000
commit7e70ae46f6a0ebe0282dbdd8ad7fddc6f5eadd7b (patch)
tree0233b13495bb4e835253cf18f6562753720ae9fa /dev-libs/libmirage/libmirage-1.5.0-r1.ebuild
parentppc/ppc64/x86 stable wrt #399403 (diff)
downloadgentoo-2-7e70ae46f6a0ebe0282dbdd8ad7fddc6f5eadd7b.tar.gz
gentoo-2-7e70ae46f6a0ebe0282dbdd8ad7fddc6f5eadd7b.tar.bz2
gentoo-2-7e70ae46f6a0ebe0282dbdd8ad7fddc6f5eadd7b.zip
Fix segfault in mirage_session_add_language(). Bypass unnecessary gtk-doc configure check (bug #399701, thanks to Piotr Mitas et al. for reporting).
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libmirage/libmirage-1.5.0-r1.ebuild')
-rw-r--r--dev-libs/libmirage/libmirage-1.5.0-r1.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-libs/libmirage/libmirage-1.5.0-r1.ebuild b/dev-libs/libmirage/libmirage-1.5.0-r1.ebuild
new file mode 100644
index 000000000000..b5f1717e7fa8
--- /dev/null
+++ b/dev-libs/libmirage/libmirage-1.5.0-r1.ebuild
@@ -0,0 +1,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.1 2012/01/25 18:09:44 tetromino 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 ~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
+ dev-util/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 {} +
+}