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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Thu Jul 31 14:33:47 2014 UTC (6 years, 3 months ago) by klausman
Branch: MAIN
Changes since 1.4: +2 -2 lines
Stable on alpha, bug #515234

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key CE5D54E8)

1 # Copyright 1999-2014 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.3.ebuild,v 1.4 2014/07/28 13:46:25 ago Exp $
4
5 EAPI=5
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 AUTOTOOLS_AUTORECONF=yes
12 fi
13
14 inherit autotools-multilib ${SCM}
15
16 DESCRIPTION="VisualOn AAC encoder library"
17 HOMEPAGE="http://sourceforge.net/projects/opencore-amr/"
18
19 if [[ ${PV} == *9999 ]] ; then
20 SRC_URI=""
21 elif [[ ${PV%_p*} != ${PV} ]] ; then # Gentoo snapshot
22 SRC_URI="mirror://gentoo/${P}.tar.xz"
23 else # Official release
24 SRC_URI="mirror://sourceforge/opencore-amr/${P}.tar.gz"
25 fi
26
27 LICENSE="Apache-2.0"
28 SLOT="0"
29
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 AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
35
36 src_configure() {
37 local myeconfargs=(
38 "$(use_enable examples example)"
39 "$(use_enable neon armv7neon)"
40 )
41 autotools-multilib_src_configure
42 }

  ViewVC Help
Powered by ViewVC 1.1.20