hasufell    14/04/18 19:21:29

  Modified:             ChangeLog
  Added:                smpeg-0.4.4-r10.ebuild
  Log:
  convert to multilib
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
BDEED020)

Revision  Changes    Path
1.62                 media-libs/smpeg/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/smpeg/ChangeLog,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -r1.61 -r1.62
--- ChangeLog   24 Jul 2013 03:21:27 -0000      1.61
+++ ChangeLog   18 Apr 2014 19:21:29 -0000      1.62
@@ -1,6 +1,11 @@
 # ChangeLog for media-libs/smpeg
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/smpeg/ChangeLog,v 1.61 
2013/07/24 03:21:27 ottxor Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/smpeg/ChangeLog,v 1.62 
2014/04/18 19:21:29 hasufell Exp $
+
+*smpeg-0.4.4-r10 (18 Apr 2014)
+
+  18 Apr 2014; Julian Ospald <[email protected]> +smpeg-0.4.4-r10.ebuild:
+  convert to multilib
 
   24 Jul 2013; Christoph Junghans <[email protected]> smpeg-0.4.4-r9.ebuild:
   added prefix support (bug #475970)



1.1                  media-libs/smpeg/smpeg-0.4.4-r10.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/smpeg/smpeg-0.4.4-r10.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/smpeg/smpeg-0.4.4-r10.ebuild?rev=1.1&content-type=text/plain

Index: smpeg-0.4.4-r10.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/smpeg/smpeg-0.4.4-r10.ebuild,v 
1.1 2014/04/18 19:21:29 hasufell Exp $

EAPI=5
inherit eutils toolchain-funcs autotools flag-o-matic multilib-minimal

DESCRIPTION="SDL MPEG Player Library"
HOMEPAGE="http://icculus.org/smpeg/";
SRC_URI="ftp://ftp.lokigames.com/pub/open-source/smpeg/${P}.tar.gz
        mirror://gentoo/${P}-gtkm4.patch.bz2"

LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 
~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-solaris"
IUSE="X debug mmx opengl static-libs"

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.0[${MULTILIB_USEDEP}]
        opengl? (
                virtual/glu[${MULTILIB_USEDEP}]
                virtual/opengl[${MULTILIB_USEDEP}]
        )
        X? (
                x11-libs/libXext[${MULTILIB_USEDEP}]
                x11-libs/libXi[${MULTILIB_USEDEP}]
                x11-libs/libX11[${MULTILIB_USEDEP}]
        )"
DEPEND="${RDEPEND}"

DOCS=( CHANGES README README.SDL_mixer TODO )

src_prepare() {
        epatch "${FILESDIR}"/${P}-m4.patch \
                "${FILESDIR}"/${P}-gnu-stack.patch \
                "${FILESDIR}"/${P}-config.patch \
                "${FILESDIR}"/${P}-PIC.patch \
                "${FILESDIR}"/${P}-gcc41.patch \
                "${FILESDIR}"/${P}-flags.patch \
                "${FILESDIR}"/${P}-automake.patch \
                "${FILESDIR}"/${P}-mmx.patch \
                "${FILESDIR}"/${P}-malloc.patch \
                "${FILESDIR}"/${P}-missing-init.patch

        cd "${WORKDIR}"
        epatch "${DISTDIR}"/${P}-gtkm4.patch.bz2
        rm "${S}/acinclude.m4"

        cd "${S}"
        AT_M4DIR="${S}/m4" eautoreconf
}

multilib_src_configure() {
        [[ ${CHOST} == *-solaris* ]] && append-libs -lnsl -lsocket

        # the debug option is bogus ... all it does is add extra
        # optimizations if you pass --disable-debug
        ECONF_SOURCE="${S}" econf \
                --enable-debug \
                --disable-gtk-player \
                $(use_enable static-libs static) \
                $(use_enable debug assertions) \
                $(use_with X x) \
                $(use_enable opengl opengl-player) \
                $(use_enable mmx)
}

multilib_src_install_all() {
        use static-libs || find "${ED}" -name '*.la' -exec rm -f {} +
}




Reply via email to