/[gentoo-x86]/media-libs/vo-aacenc/vo-aacenc-0.1.2.ebuild
Gentoo

Contents of /media-libs/vo-aacenc/vo-aacenc-0.1.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.14 - (show annotations) (download)
Wed Feb 20 23:34:12 2013 UTC (19 months, 1 week ago) by zmedico
Branch: MAIN
CVS Tags: HEAD
Changes since 1.13: +3 -3 lines
Add ~arm-linux keywords.

(Portage version: 2.2.0_alpha163_p9/cvs/Linux i686, signed Manifest commit with key 0xFDE8EF85AE5719A3)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-libs/vo-aacenc/vo-aacenc-0.1.2.ebuild,v 1.13 2012/11/16 19:55:56 ago Exp $
4
5 EAPI=4
6
7 if [[ ${PV} == *9999 ]] ; then
8 SCM="git-2"
9 EGIT_REPO_URI="git://github.com/mstorsjo/${PN}.git"
10 [[ ${PV%9999} != "" ]] && EGIT_BRANCH="release/${PV%.9999}"
11 fi
12
13 inherit eutils multilib autotools ${SCM}
14
15 DESCRIPTION="VisualOn AAC encoder library"
16 HOMEPAGE="http://sourceforge.net/projects/opencore-amr/"
17
18 if [[ ${PV} == *9999 ]] ; then
19 SRC_URI=""
20 elif [[ ${PV%_p*} != ${PV} ]] ; then # Gentoo snapshot
21 SRC_URI="mirror://gentoo/${P}.tar.xz"
22 else # Official release
23 SRC_URI="mirror://sourceforge/opencore-amr/${P}.tar.gz"
24 fi
25
26 LICENSE="Apache-2.0"
27 SLOT="0"
28
29 # Don't move KEYWORDS on the previous line or ekeyword won't work # 399061
30 [[ ${PV} == *9999 ]] || \
31 KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos"
32 IUSE="examples static-libs neon"
33
34 src_prepare() {
35 [[ ${PV} == *9999 ]] && eautoreconf
36 }
37
38 src_configure() {
39 econf \
40 --disable-silent-rules \
41 --disable-dependency-tracking \
42 $(use_enable examples example) \
43 $(use_enable neon armv7neon) \
44 $(use_enable static-libs static)
45 }
46
47 src_install() {
48 emake DESTDIR="${D}" install || die
49 find "${D}"usr/$(get_libdir) -name '*.la' -delete
50 }

  ViewVC Help
Powered by ViewVC 1.1.20