logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: 38ae7d2d74931aa7dd5fd63f3b713ac37a469e24
parent 46ba1457da18b90c9a93c5d3d4c98b550d9c6615
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Tue,  2 Apr 2024 22:05:34 +0200

media-libs/smpeg2: add 2.0.0_p20230817, drop 2.0.0_p20230121

Diffstat:

Mmedia-libs/smpeg2/Manifest2+-
Dmedia-libs/smpeg2/smpeg2-2.0.0_p20230121.ebuild48------------------------------------------------
Amedia-libs/smpeg2/smpeg2-2.0.0_p20230817.ebuild45+++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 46 insertions(+), 49 deletions(-)

diff --git a/media-libs/smpeg2/Manifest b/media-libs/smpeg2/Manifest @@ -1 +1 @@ -DIST smpeg2-5e143472353d0936e06497bc06839ac7c52b1c7a.tar.gz 367419 BLAKE2B fcf1240185e4f6e92b40b6a420bc0170d80cc3dc78a1b2f360e019a384df42aa429ca7b178bf168f0d6012e129722f5c00b725ff18ab7ad8029f9284655ac9eb SHA512 c3e5ad3d57920aa87a3a0344bf68bbaf9e0c31ac6ecf328f466afaefb1a15df87aaae6dcc0aabf19eb2610a3e544e74241c987101ce1808fd903d67e10832937 +DIST smpeg2-868a1e43a69044cd6f346ab897da557c59d11c8c.tar.gz 367692 BLAKE2B b8e410b7f23dd51ad9cdd23761cf8e8140ca8a14e06525aaa7f1826c8cacbfd30603133f1a30f0fbfd3f3087e469fe4146ad8c359f38d2b06c9793e5a2287607 SHA512 904fade454b38f4cdc2439066b8961e8abfd9030ef9abcdc37750c8d9c426e16211b2fd512f1efe5ab6f5d5cc46030ed003f4f45599c8bd17ead20d133192809 diff --git a/media-libs/smpeg2/smpeg2-2.0.0_p20230121.ebuild b/media-libs/smpeg2/smpeg2-2.0.0_p20230121.ebuild @@ -1,48 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools multilib-minimal - -EGIT_COMMIT="5e143472353d0936e06497bc06839ac7c52b1c7a" - -DESCRIPTION="SDL MPEG Player Library" -HOMEPAGE="https://icculus.org/smpeg/ https://github.com/icculus/smpeg" -SRC_URI="https://github.com/icculus/smpeg/archive/${EGIT_COMMIT}.tar.gz -> ${PN}-${EGIT_COMMIT}.tar.gz" -S="${WORKDIR}/smpeg-${EGIT_COMMIT}" - -LICENSE="LGPL-2+" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="cpu_flags_x86_mmx" - -DEPEND="media-libs/libsdl2[${MULTILIB_USEDEP}]" -RDEPEND="${DEPEND}" - -src_prepare() { - default - - # avoid file collision with media-libs/smpeg - sed -i -e '/plaympeg/d' Makefile.am || die - - AT_M4DIR="${ESYSROOT}/usr/share/aclocal acinclude" eautoreconf -} - -multilib_src_configure() { - # error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - #export CXXFLAGS="${CXXFLAGS} -std=c++11" - - local myeconfargs=( - --disable-rpath - --disable-sdltest - --enable-debug # disabling this only passes extra optimizations - $(use_enable cpu_flags_x86_mmx mmx) - ) - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" -} - -multilib_src_install_all() { - einstalldocs - find "${ED}" -name '*.la' -delete || die -} diff --git a/media-libs/smpeg2/smpeg2-2.0.0_p20230817.ebuild b/media-libs/smpeg2/smpeg2-2.0.0_p20230817.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools multilib-minimal + +EGIT_COMMIT="868a1e43a69044cd6f346ab897da557c59d11c8c" + +DESCRIPTION="SDL MPEG Player Library" +HOMEPAGE="https://icculus.org/smpeg/ https://github.com/icculus/smpeg" +SRC_URI="https://github.com/icculus/smpeg/archive/${EGIT_COMMIT}.tar.gz -> ${PN}-${EGIT_COMMIT}.tar.gz" +S="${WORKDIR}/smpeg-${EGIT_COMMIT}" + +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="cpu_flags_x86_mmx" + +DEPEND="media-libs/libsdl2[${MULTILIB_USEDEP}]" +RDEPEND="${DEPEND}" + +src_prepare() { + default + + # avoid file collision with media-libs/smpeg + sed -i -e '/plaympeg/d' Makefile.am || die + + AT_M4DIR="${ESYSROOT}/usr/share/aclocal acinclude" eautoreconf +} + +multilib_src_configure() { + local myeconfargs=( + --disable-rpath + --disable-sdltest + --enable-debug # disabling this only passes extra optimizations + $(use_enable cpu_flags_x86_mmx mmx) + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + einstalldocs + find "${ED}" -name '*.la' -delete || die +}