/[gentoo-x86]/app-cdr/mirage2iso/mirage2iso-0.3.1.ebuild
Gentoo

Contents of /app-cdr/mirage2iso/mirage2iso-0.3.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Mon Jan 28 09:37:10 2013 UTC (3 months, 2 weeks ago) by mgorny
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +3 -3 lines
Update libmirage dep due to API change in 2.0.0. Bug #454360.

(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key 42B9401D)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-cdr/mirage2iso/mirage2iso-0.3.1.ebuild,v 1.6 2012/08/30 22:47:22 mgorny Exp $
4
5 EAPI=4
6
7 inherit autotools-utils toolchain-funcs versionator
8
9 TESTS_PV=$(get_version_component_range 1-2)
10
11 DESCRIPTION="CD/DVD image converter using libmirage"
12 HOMEPAGE="https://bitbucket.org/mgorny/mirage2iso/"
13 SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2
14 test? ( mirror://bitbucket/mgorny/${PN}/downloads/${PN}-${TESTS_PV}-tests.tar.xz )"
15
16 LICENSE="BSD"
17 SLOT="0"
18 KEYWORDS="~amd64 ~x86"
19 IUSE="pinentry test"
20
21 COMMON_DEPEND="<dev-libs/libmirage-2
22 dev-libs/glib:2
23 pinentry? ( dev-libs/libassuan )"
24 DEPEND="${COMMON_DEPEND}
25 virtual/pkgconfig
26 test? ( app-arch/xz-utils )"
27 RDEPEND="${COMMON_DEPEND}
28 pinentry? ( app-crypt/pinentry )"
29
30 DOCS=( NEWS README )
31
32 src_configure() {
33 local pkgconf=$(tc-getPKG_CONFIG)
34
35 myeconfargs=(
36 $(use_with pinentry libassuan)
37
38 # ai, upstream missed it
39 CFLAGS="${CFLAGS} $(${pkgconf} --cflags gobject-2.0)"
40 LIBS="${LIBS} $(${pkgconf} --libs gobject-2.0)"
41 )
42
43 autotools-utils_src_configure
44 }
45
46 src_test() {
47 mv "${WORKDIR}"/${PN}-${TESTS_PV}/tests/* tests/ || die
48 autotools-utils_src_test
49 }

  ViewVC Help
Powered by ViewVC 1.1.13