diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-03-27 16:47:59 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-03-27 16:47:59 +0000 |
commit | 56de29ecda4d8ba1a328b7abbe04381232620232 (patch) | |
tree | 77f1387bf7c56a09da2334efe0288e820c37a614 /media-sound/mac | |
parent | Initial commit; ebuild submission and patch from hasufell and barul (bug #408... (diff) | |
download | gentoo-2-56de29ecda4d8ba1a328b7abbe04381232620232.tar.gz gentoo-2-56de29ecda4d8ba1a328b7abbe04381232620232.tar.bz2 gentoo-2-56de29ecda4d8ba1a328b7abbe04381232620232.zip |
Install missing headers wrt #409435 by Yanhui Shen
(Portage version: 2.2.0_alpha92/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/mac')
-rw-r--r-- | media-sound/mac/ChangeLog | 10 | ||||
-rw-r--r-- | media-sound/mac/mac-3.99.4.5.7-r1.ebuild | 54 |
2 files changed, 62 insertions, 2 deletions
diff --git a/media-sound/mac/ChangeLog b/media-sound/mac/ChangeLog index 88bfee4e39cd..473ffd46bb4f 100644 --- a/media-sound/mac/ChangeLog +++ b/media-sound/mac/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/mac -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mac/ChangeLog,v 1.22 2011/08/07 13:14:45 billie Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/mac/ChangeLog,v 1.23 2012/03/27 16:47:59 ssuominen Exp $ + +*mac-3.99.4.5.7-r1 (27 Mar 2012) + + 27 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> + +mac-3.99.4.5.7-r1.ebuild: + Install missing headers wrt #409435 by Yanhui Shen 07 Aug 2011; Daniel Pielmeier <billie@gentoo.org> mac-3.99.4.5.7.ebuild: Switch to EAPI 4. Add static libs USE flag. Using --enable/disable-mmx is diff --git a/media-sound/mac/mac-3.99.4.5.7-r1.ebuild b/media-sound/mac/mac-3.99.4.5.7-r1.ebuild new file mode 100644 index 000000000000..d3520a07d0e0 --- /dev/null +++ b/media-sound/mac/mac-3.99.4.5.7-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/mac/mac-3.99.4.5.7-r1.ebuild,v 1.1 2012/03/27 16:47:59 ssuominen Exp $ + +EAPI=4 +inherit flag-o-matic versionator + +MY_PV=$(version_format_string '$1.$2-u$3-b$4') +PATCH=s$(get_version_component_range 5) +MY_P=${PN}-${MY_PV}-${PATCH} + +DESCRIPTION="Monkey's Audio Codecs" +HOMEPAGE="http://etree.org/shnutils/shntool/" +SRC_URI="http://etree.org/shnutils/shntool/support/formats/ape/unix/${MY_PV}-${PATCH}/${MY_P}.tar.gz" + +LICENSE="mac" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~x86" +IUSE="mmx static-libs" + +RDEPEND="" +DEPEND="sys-apps/sed + mmx? ( dev-lang/yasm )" + +S=${WORKDIR}/${MY_P} + +RESTRICT="mirror" + +src_prepare() { + sed -i -e 's:-O3::' configure || die +} + +pkg_setup() { + append-cppflags -DSHNTOOL + use mmx && append-ldflags -Wl,-z,noexecstack +} + +src_configure() { + econf \ + $(use_enable static-libs static) \ + $(use_enable mmx assembly) +} + +src_install() { + default + + insinto /usr/include/${PN} + doins src/MACLib/{BitArray,UnBitArrayBase,Prepare}.h #409435 + + dodoc ChangeLog.shntool src/*.txt + dohtml src/Readme.htm + + find "${ED}"/usr -type f -name '*.la' -exec rm -f {} + +} |