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 (-11 / +39 lines)
Line  Link Here
0
-- media-libs/libexif/libexif-0.6.21.ebuild
0
++ media-libs/libexif/libexif-0.6.21-r2.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-20 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="abi_x86_32? ( app-emulation/emul-linux-x86-baselibs[development] )
18
	nls? ( virtual/libintl )"
18
DEPEND="${RDEPEND}
19
DEPEND="${RDEPEND}
19
	virtual/pkgconfig
20
	virtual/pkgconfig
20
	doc? ( app-doc/doxygen )
21
	doc? ( app-doc/doxygen )
Lines 24-41 Link Here
24
	epatch "${FILESDIR}"/${PN}-0.6.13-pkgconfig.patch
25
	epatch "${FILESDIR}"/${PN}-0.6.13-pkgconfig.patch
25
	sed -i -e '/FLAGS=/s:-g::' configure || die #390249
26
	sed -i -e '/FLAGS=/s:-g::' configure || die #390249
26
	elibtoolize # For *-bsd
27
	elibtoolize # For *-bsd
28
29
	# copy after patching etc
30
	my_abi_prepare() {
31
		cp -pR "${S}" "${BUILD_DIR}"/ || die "failed to copy sources"
32
	}
33
	multilib_foreach_abi my_abi_prepare
27
}
34
}
28
35
29
src_configure() {
36
src_configure() {
30
	econf \
37
	my_abi_configure() {
31
		$(use_enable static-libs static) \
38
		pushd "${BUILD_DIR}" >/dev/null || die
32
		$(use_enable nls) \
39
		ECONF_SOURCE=. econf \
33
		$(use_enable doc docs) \
40
			$(use_enable static-libs static) \
34
		--with-doc-dir="${EPREFIX}"/usr/share/doc/${PF}
41
			$(use_enable nls) \
42
			$(use_enable doc docs) \
43
			--with-doc-dir="${EPREFIX}"/usr/share/doc/${PF}
44
		popd >/dev/null || die
45
	}
46
	multilib_foreach_abi my_abi_configure
47
}
48
49
src_compile() {
50
	my_abi_compile() {
51
		pushd "${BUILD_DIR}" >/dev/null || die
52
		default
53
		popd >/dev/null || die
54
	}
55
	multilib_foreach_abi my_abi_compile
35
}
56
}
36
57
37
src_install() {
58
src_install() {
38
	emake DESTDIR="${D}" install
59
	my_abi_install() {
60
		pushd "${BUILD_DIR}" >/dev/null || die
61
		emake DESTDIR="${D}" install
62
		popd >/dev/null || die
63
		multilib_check_headers
64
	}
65
	multilib_foreach_abi my_abi_install
66
39
	prune_libtool_files
67
	prune_libtool_files
40
	rm -f "${ED}"/usr/share/doc/${PF}/{ABOUT-NLS,COPYING}
68
	rm -f "${ED}"/usr/share/doc/${PF}/{ABOUT-NLS,COPYING}
41
}
69
}

Return to bug 458638