Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 458638 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-10 / +37 lines)
Line  Link Here
0
-- media-libs/libexif/libexif-0.6.21.ebuild
0
++ media-libs/libexif/libexif-0.6.21-r1.ebuild
Lines 2-9 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/media-libs/libexif/libexif-0.6.21.ebuild,v 1.8 2012/11/07 19:03:58 grobian Exp $
3
# $Header: /var/cvsroot/gentoo-x86/media-libs/libexif/libexif-0.6.21.ebuild,v 1.8 2012/11/07 19:03:58 grobian Exp $
4
4
5
EAPI=4
5
EAPI=5
6
inherit eutils libtool
6
inherit multilib-build eutils libtool
7
7
8
DESCRIPTION="Library for parsing, editing, and saving EXIF data"
8
DESCRIPTION="Library for parsing, editing, and saving EXIF data"
9
HOMEPAGE="http://libexif.sourceforge.net/"
9
HOMEPAGE="http://libexif.sourceforge.net/"
Lines 11-17 Link Here
11
11
12
LICENSE="LGPL-2.1"
12
LICENSE="LGPL-2.1"
13
SLOT="0"
13
SLOT="0"
14
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
14
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
15
IUSE="doc nls static-libs"
15
IUSE="doc nls static-libs"
16
16
17
RDEPEND="nls? ( virtual/libintl )"
17
RDEPEND="nls? ( virtual/libintl )"
Lines 24-41 Link Here
24
	epatch "${FILESDIR}"/${PN}-0.6.13-pkgconfig.patch
24
	epatch "${FILESDIR}"/${PN}-0.6.13-pkgconfig.patch
25
	sed -i -e '/FLAGS=/s:-g::' configure || die #390249
25
	sed -i -e '/FLAGS=/s:-g::' configure || die #390249
26
	elibtoolize # For *-bsd
26
	elibtoolize # For *-bsd
27
28
	# copy after patching etc
29
	my_abi_prepare() {
30
		cp -pR "${S}" "${BUILD_DIR}"/ || die "failed to copy sources"
31
	}
32
	multilib_foreach_abi my_abi_prepare
27
}
33
}
28
34
29
src_configure() {
35
src_configure() {
30
	econf \
36
	my_abi_configure() {
31
		$(use_enable static-libs static) \
37
		pushd "${BUILD_DIR}" >/dev/null || die
32
		$(use_enable nls) \
38
		ECONF_SOURCE=. econf \
33
		$(use_enable doc docs) \
39
			$(use_enable static-libs static) \
34
		--with-doc-dir="${EPREFIX}"/usr/share/doc/${PF}
40
			$(use_enable nls) \
41
			$(use_enable doc docs) \
42
			--with-doc-dir="${EPREFIX}"/usr/share/doc/${PF}
43
		popd >/dev/null || die
44
	}
45
	multilib_foreach_abi my_abi_configure
46
}
47
48
src_compile() {
49
	my_abi_compile() {
50
		pushd "${BUILD_DIR}" >/dev/null || die
51
		default
52
		popd >/dev/null || die
53
	}
54
	multilib_foreach_abi my_abi_compile
35
}
55
}
36
56
37
src_install() {
57
src_install() {
38
	emake DESTDIR="${D}" install
58
	my_abi_install() {
59
		pushd "${BUILD_DIR}" >/dev/null || die
60
		emake DESTDIR="${D}" install
61
		popd >/dev/null || die
62
		multilib_check_headers
63
	}
64
	multilib_foreach_abi my_abi_install
65
39
	prune_libtool_files
66
	prune_libtool_files
40
	rm -f "${ED}"/usr/share/doc/${PF}/{ABOUT-NLS,COPYING}
67
	rm -f "${ED}"/usr/share/doc/${PF}/{ABOUT-NLS,COPYING}
41
}
68
}

Return to bug 458638