diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2013-03-16 10:49:48 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2013-03-16 10:49:48 +0000 |
commit | 7fb5a96241a9d94c3d11a6067003fd03deaf0a38 (patch) | |
tree | 807095aa35d86f2768825f9780f88d1d50f83c5b /media-libs | |
parent | Add upstream maintainer per his request (diff) | |
download | gentoo-2-7fb5a96241a9d94c3d11a6067003fd03deaf0a38.tar.gz gentoo-2-7fb5a96241a9d94c3d11a6067003fd03deaf0a38.tar.bz2 gentoo-2-7fb5a96241a9d94c3d11a6067003fd03deaf0a38.zip |
Port to multilib-minimal.eclass and ABI_X86="32" to replace the existing copy in app-emulation/emul-linux-x86-soundlibs.
(Portage version: 2.2.0_alpha166/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/libmikmod/ChangeLog | 9 | ||||
-rw-r--r-- | media-libs/libmikmod/libmikmod-3.2.0-r1.ebuild | 65 |
2 files changed, 73 insertions, 1 deletions
diff --git a/media-libs/libmikmod/ChangeLog b/media-libs/libmikmod/ChangeLog index e8d587bb734d..6091020f3455 100644 --- a/media-libs/libmikmod/ChangeLog +++ b/media-libs/libmikmod/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-libs/libmikmod # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libmikmod/ChangeLog,v 1.104 2013/01/16 07:56:57 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmikmod/ChangeLog,v 1.105 2013/03/16 10:49:48 ssuominen Exp $ + +*libmikmod-3.2.0-r1 (16 Mar 2013) + + 16 Mar 2013; Samuli Suominen <ssuominen@gentoo.org> + +libmikmod-3.2.0-r1.ebuild: + Port to multilib-minimal.eclass and ABI_X86="32" to replace the existing copy + in app-emulation/emul-linux-x86-soundlibs. 16 Jan 2013; Samuli Suominen <ssuominen@gentoo.org> -libmikmod-3.1.12-r1.ebuild, -files/libmikmod-3.1.12-64bit.patch, diff --git a/media-libs/libmikmod/libmikmod-3.2.0-r1.ebuild b/media-libs/libmikmod/libmikmod-3.2.0-r1.ebuild new file mode 100644 index 000000000000..29f1eab98d5c --- /dev/null +++ b/media-libs/libmikmod/libmikmod-3.2.0-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmikmod/libmikmod-3.2.0-r1.ebuild,v 1.1 2013/03/16 10:49:48 ssuominen Exp $ + +EAPI=5 +inherit autotools eutils multilib-minimal + +DESCRIPTION="A library to play a wide range of module formats" +HOMEPAGE="http://mikmod.shlomifish.org/" +SRC_URI="http://mikmod.shlomifish.org/files/${P}.tar.gz" + +LICENSE="LGPL-2+ LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="+alsa coreaudio oss static-libs" + +REQUIRED_USE="|| ( alsa oss coreaudio )" + +RDEPEND="alsa? ( media-libs/alsa-lib:= ) + !${CATEGORY}/${PN}:2" +DEPEND="${RDEPEND} + oss? ( virtual/os-headers )" + +ECONF_SOURCE=${S} + +src_prepare() { + EPATCH_SOURCE="${FILESDIR}"/${PV} EPATCH_SUFFIX=patch epatch + eautoreconf +} + +multilib_src_configure() { + econf \ + $(use_enable alsa) \ + --disable-nas \ + $(use_enable coreaudio osx) \ + $(use_enable oss) \ + $(use_enable static-libs static) +} + +multilib_src_install() { + emake DESTDIR="${D}" install + dosym ${PN}$(get_libname 3) /usr/$(get_libdir)/${PN}$(get_libname 2) + + cat <<-EOF > "${T}"/${PN}.pc + prefix=/usr + exec_prefix=\${prefix} + libdir=/usr/$(get_libdir) + includedir=\${prefix}/include + Name: ${PN} + Description: ${DESCRIPTION} + Version: ${PV} + Libs: -L\${libdir} -lmikmod + Libs.private: -ldl -lm + Cflags: -I\${includedir} $("${ED}"/usr/bin/libmikmod-config --cflags) + EOF + + insinto /usr/$(get_libdir)/pkgconfig + doins "${T}"/${PN}.pc +} + +multilib_src_install_all() { + dodoc AUTHORS NEWS README TODO + dohtml docs/*.html + prune_libtool_files +} |