hasufell    14/04/18 20:43:40

  Modified:             ChangeLog
  Added:                sdl-sound-1.0.3-r1.ebuild
  Log:
  add multilib support
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
BDEED020)

Revision  Changes    Path
1.46                 media-libs/sdl-sound/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/sdl-sound/ChangeLog?rev=1.46&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/sdl-sound/ChangeLog?rev=1.46&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/sdl-sound/ChangeLog?r1=1.45&r2=1.46

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/sdl-sound/ChangeLog,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- ChangeLog   30 Apr 2013 21:13:39 -0000      1.45
+++ ChangeLog   18 Apr 2014 20:43:40 -0000      1.46
@@ -1,6 +1,11 @@
 # ChangeLog for media-libs/sdl-sound
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-sound/ChangeLog,v 1.45 
2013/04/30 21:13:39 hasufell Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-sound/ChangeLog,v 1.46 
2014/04/18 20:43:40 hasufell Exp $
+
+*sdl-sound-1.0.3-r1 (18 Apr 2014)
+
+  18 Apr 2014; Julian Ospald <[email protected]> +sdl-sound-1.0.3-r1.ebuild:
+  add multilib support
 
   30 Apr 2013; Julian Ospald <[email protected]> sdl-sound-1.0.3.ebuild,
   +files/sdl-sound-1.0.3-automake-1.13.patch:



1.1                  media-libs/sdl-sound/sdl-sound-1.0.3-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/sdl-sound/sdl-sound-1.0.3-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/sdl-sound/sdl-sound-1.0.3-r1.ebuild?rev=1.1&content-type=text/plain

Index: sdl-sound-1.0.3-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/media-libs/sdl-sound/sdl-sound-1.0.3-r1.ebuild,v 1.1 
2014/04/18 20:43:40 hasufell Exp $

EAPI=5
inherit autotools eutils multilib-minimal

MY_P="${P/sdl-/SDL_}"
DESCRIPTION="A library that handles the decoding of sound file formats"
HOMEPAGE="http://icculus.org/SDL_sound/";
SRC_URI="http://icculus.org/SDL_sound/downloads/${MY_P}.tar.gz";

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x64-macos"
IUSE="flac mikmod modplug mp3 mpeg physfs speex static-libs vorbis"

RDEPEND="
        abi_x86_32? (
                !app-emulation/emul-linux-x86-sdl[-abi_x86_32(-)]
                !<=app-emulation/emul-linux-x86-sdl-20140406
        )
        >=media-libs/libsdl-1.2[${MULTILIB_USEDEP}]
        flac? ( media-libs/flac[${MULTILIB_USEDEP}] )
        mikmod? ( >=media-libs/libmikmod-3.1.9[${MULTILIB_USEDEP}] )
        modplug? ( media-libs/libmodplug[${MULTILIB_USEDEP}] )
        vorbis? ( >=media-libs/libvorbis-1.0_beta4[${MULTILIB_USEDEP}] )
        speex? ( media-libs/speex[${MULTILIB_USEDEP}] 
media-libs/libogg[${MULTILIB_USEDEP}] )
        physfs? ( dev-games/physfs[${MULTILIB_USEDEP}] )
        mpeg? ( media-libs/smpeg[${MULTILIB_USEDEP}] )"
DEPEND="${RDEPEND}
        virtual/pkgconfig"

S=${WORKDIR}/${MY_P}

src_prepare() {
        epatch "${FILESDIR}"/${P}-{underlinking,automake-1.13}.patch
        mv configure.in configure.ac || die
        eautoreconf
}

multilib_src_configure() {
        ECONF_SOURCE="${S}" econf \
                --disable-dependency-tracking \
                --enable-midi \
                $(use_enable mpeg smpeg) \
                $(use_enable mp3 mpglib) \
                $(use_enable flac) \
                $(use_enable speex) \
                $(use_enable static-libs static) \
                $(use_enable mikmod) \
                $(use_enable modplug) \
                $(use_enable physfs) \
                $(use_enable vorbis ogg)
}

multilib_src_install() {
        emake DESTDIR="${D}" install
}

multilib_src_install_all() {
        dodoc CHANGELOG CREDITS README TODO
        if ! use static-libs ; then
                find "${D}" -type f -name '*.la' -exec rm {} + \
                        || die "la removal failed"
        fi
}




Reply via email to