diff options
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/vo-aacenc/ChangeLog | 16 | ||||
-rw-r--r-- | media-libs/vo-aacenc/metadata.xml | 15 | ||||
-rw-r--r-- | media-libs/vo-aacenc/vo-aacenc-0.1.0.ebuild | 47 | ||||
-rw-r--r-- | media-libs/vo-aacenc/vo-aacenc-9999.ebuild | 47 |
4 files changed, 125 insertions, 0 deletions
diff --git a/media-libs/vo-aacenc/ChangeLog b/media-libs/vo-aacenc/ChangeLog new file mode 100644 index 000000000000..91c2da85b175 --- /dev/null +++ b/media-libs/vo-aacenc/ChangeLog @@ -0,0 +1,16 @@ +# ChangeLog for media-libs/vo-aacenc +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/vo-aacenc/ChangeLog,v 1.1 2011/04/07 11:33:10 lu_zero Exp $ + +*vo-aacenc-0.1.0 (07 Apr 2011) + + 07 Apr 2011; Luca Barbato <lu_zero@gentoo.org> +metadata.xml, + +vo-aacenc-0.1.0.ebuild, +vo-aacenc-9999.ebuild: + First release + +*vo-aacenc-9999 (29 Mar 2011) + + 29 Mar 2011; Luca Barbato <lu_zero@gentoo.org> +metadata.xml, + +vo-aacenc-9999.ebuild: + Initial ebuild + diff --git a/media-libs/vo-aacenc/metadata.xml b/media-libs/vo-aacenc/metadata.xml new file mode 100644 index 000000000000..5be14acfe924 --- /dev/null +++ b/media-libs/vo-aacenc/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sound</herd> +<longdescription lang="en"> +VisualOn AAC encoder library +This library contains an encoder implementation of the Advanced Audio +Coding (AAC) audio codec. The library is based on a codec implementation +by VisualOn, part of the Stagefright framework from the Google +Android project. +</longdescription> +<use> + <flag name="neon">Enable neon cpu instructions</flag> +</use> +</pkgmetadata> diff --git a/media-libs/vo-aacenc/vo-aacenc-0.1.0.ebuild b/media-libs/vo-aacenc/vo-aacenc-0.1.0.ebuild new file mode 100644 index 000000000000..a55b344849ea --- /dev/null +++ b/media-libs/vo-aacenc/vo-aacenc-0.1.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/vo-aacenc/vo-aacenc-0.1.0.ebuild,v 1.1 2011/04/07 11:33:10 lu_zero Exp $ + +EAPI=4 + +if [[ ${PV} == *9999 ]] ; then + SCM="git" + EGIT_REPO_URI="git://github.com/mstorsjo/${PN}.git" + [[ ${PV%9999} != "" ]] && EGIT_BRANCH="release/${PV%.9999}" +fi + +inherit eutils multilib autotools ${SCM} + +DESCRIPTION="VisualOn AAC encoder library" +HOMEPAGE="http://sourceforge.net/projects/opencore-amr/" + +if [[ ${PV} == *9999 ]] ; then + SRC_URI="" +elif [[ ${PV%_p*} != ${PV} ]] ; then # Gentoo snapshot + SRC_URI="mirror://gentoo/${P}.tar.xz" +else # Official release + SRC_URI="mirror://sourceforge/opencore-amr/${P}.tar.gz" +fi + +LICENSE="Apache-2.0" +SLOT="0" + +[[ ${PV} == *9999 ]] || KEYWORDS="~amd64 ~arm ~x86-fbsd ~x64-macos" +IUSE="examples static-libs neon" + +src_prepare() { + [[ ${PV} == *9999 ]] && eautoreconf +} + +src_configure() { + econf \ + --disable-dependency-tracking \ + $(use_enable examples example) \ + $(use_enable neon armv7neon) \ + $(use_enable static-libs static) +} + +src_install() { + emake DESTDIR="${D}" install || die + find "${D}"usr/$(get_libdir) -name '*.la' -delete +} diff --git a/media-libs/vo-aacenc/vo-aacenc-9999.ebuild b/media-libs/vo-aacenc/vo-aacenc-9999.ebuild new file mode 100644 index 000000000000..66fd9565a079 --- /dev/null +++ b/media-libs/vo-aacenc/vo-aacenc-9999.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/vo-aacenc/vo-aacenc-9999.ebuild,v 1.1 2011/04/07 11:33:10 lu_zero Exp $ + +EAPI=4 + +if [[ ${PV} == *9999 ]] ; then + SCM="git" + EGIT_REPO_URI="git://github.com/mstorsjo/${PN}.git" + [[ ${PV%9999} != "" ]] && EGIT_BRANCH="release/${PV%.9999}" +fi + +inherit eutils multilib autotools ${SCM} + +DESCRIPTION="VisualOn AAC encoder library" +HOMEPAGE="http://sourceforge.net/projects/opencore-amr/" + +if [[ ${PV} == *9999 ]] ; then + SRC_URI="" +elif [[ ${PV%_p*} != ${PV} ]] ; then # Gentoo snapshot + SRC_URI="mirror://gentoo/${P}.tar.xz" +else # Official release + SRC_URI="mirror://sourceforge/opencore-amr/${P}.tar.gz" +fi + +LICENSE="Apache-2.0" +SLOT="0" + +[[ ${PV} == *9999 ]] || KEYWORDS="~amd64 ~arm ~x86-fbsd ~x64-macos" +IUSE="examples static-libs neon" + +src_prepare() { + [[ ${PV} == *9999 ]] && eautoreconf +} + +src_configure() { + econf \ + --disable-dependency-tracking \ + $(use_enable examples example) \ + $(use_enable neon armv7neon) \ + $(use_enable static-libs static) +} + +src_install() { + emake DESTDIR="${D}" install || die + find "${D}"usr/$(get_libdir) -name '*.la' -delete +} |