diff options
author | Alexis Ballier <aballier@gentoo.org> | 2013-07-31 17:34:51 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2013-07-31 17:34:51 +0000 |
commit | 27487eba6a6b4c4365f32e1864768b3392a95f04 (patch) | |
tree | 0da1b6f381e2590a8f60fecad1071dd537dee739 | |
parent | Add alternative HOMEPAGE. (diff) | |
download | gentoo-2-27487eba6a6b4c4365f32e1864768b3392a95f04.tar.gz gentoo-2-27487eba6a6b4c4365f32e1864768b3392a95f04.tar.bz2 gentoo-2-27487eba6a6b4c4365f32e1864768b3392a95f04.zip |
convert to multilib and stack it for medialibs -r7
(Portage version: 2.2.0_alpha191/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
-rw-r--r-- | media-libs/libsidplay/ChangeLog | 11 | ||||
-rw-r--r-- | media-libs/libsidplay/libsidplay-1.36.59-r1.ebuild | 33 | ||||
-rw-r--r-- | media-libs/libsidplay/libsidplay-2.1.1-r4.ebuild | 58 |
3 files changed, 100 insertions, 2 deletions
diff --git a/media-libs/libsidplay/ChangeLog b/media-libs/libsidplay/ChangeLog index af68bb7d2829..4569f5815eb0 100644 --- a/media-libs/libsidplay/ChangeLog +++ b/media-libs/libsidplay/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-libs/libsidplay -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libsidplay/ChangeLog,v 1.57 2012/05/29 13:53:10 aballier Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libsidplay/ChangeLog,v 1.58 2013/07/31 17:34:51 aballier Exp $ + +*libsidplay-2.1.1-r4 (31 Jul 2013) +*libsidplay-1.36.59-r1 (31 Jul 2013) + + 31 Jul 2013; Alexis Ballier <aballier@gentoo.org> + +libsidplay-1.36.59-r1.ebuild, +libsidplay-2.1.1-r4.ebuild: + convert to multilib and stack it for medialibs -r7 29 May 2012; Alexis Ballier <aballier@gentoo.org> libsidplay-2.1.1-r3.ebuild: keyword ~amd64-fbsd diff --git a/media-libs/libsidplay/libsidplay-1.36.59-r1.ebuild b/media-libs/libsidplay/libsidplay-1.36.59-r1.ebuild new file mode 100644 index 000000000000..e6adf0ed48a9 --- /dev/null +++ b/media-libs/libsidplay/libsidplay-1.36.59-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libsidplay/libsidplay-1.36.59-r1.ebuild,v 1.1 2013/07/31 17:34:51 aballier Exp $ + +EAPI=4 +inherit eutils libtool multilib-minimal + +DESCRIPTION="C64 SID player library" +HOMEPAGE="http://critical.ch/distfiles/" +SRC_URI="http://critical.ch/distfiles/${P}.tgz" + +LICENSE="GPL-2" +SLOT="1" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="static-libs" +RDEPEND="abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r6 + !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )" + +DOCS=( AUTHORS DEVELOPER ) + +src_prepare() { + epatch "${FILESDIR}"/${P}-gcc43.patch + elibtoolize # required for fbsd .so versioning +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" \ + econf $(use_enable static-libs static) +} + +multilib_src_install_all() { + rm -f "${ED}"/usr/lib*/${PN}.la +} diff --git a/media-libs/libsidplay/libsidplay-2.1.1-r4.ebuild b/media-libs/libsidplay/libsidplay-2.1.1-r4.ebuild new file mode 100644 index 000000000000..042143fef573 --- /dev/null +++ b/media-libs/libsidplay/libsidplay-2.1.1-r4.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libsidplay/libsidplay-2.1.1-r4.ebuild,v 1.1 2013/07/31 17:34:51 aballier Exp $ + +EAPI=4 +inherit eutils libtool multilib-minimal + +MY_P=sidplay-libs-${PV} + +DESCRIPTION="C64 SID player library" +HOMEPAGE="http://sidplay2.sourceforge.net/" +SRC_URI="mirror://sourceforge/sidplay2/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="static-libs" +RDEPEND="abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r6 + !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )" + +S=${WORKDIR}/${MY_P} + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/sidplay/sidconfig.h +) + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}2-gcc41.patch \ + "${FILESDIR}"/${P}-fbsd.patch \ + "${FILESDIR}"/${P}-gcc43.patch \ + "${FILESDIR}"/${P}-no_libtool_reference.patch + + elibtoolize + multilib_copy_sources +} + +multilib_src_configure() { + econf \ + --enable-shared \ + $(use_enable static-libs static) \ + --with-pic +} + +multilib_src_install_all() { + docinto libsidplay + dodoc libsidplay/{AUTHORS,ChangeLog,README,TODO} + + docinto libsidutils + dodoc libsidutils/{AUTHORS,ChangeLog,README,TODO} + + docinto resid + dodoc resid/{AUTHORS,ChangeLog,NEWS,README,THANKS,TODO} + + doenvd "${FILESDIR}"/65resid + + find "${ED}" -name '*.la' -exec rm -f {} + +} |