diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-08-07 00:16:33 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-08-07 00:16:33 +0100 |
commit | d162ba1860a88062f4cd61f8b52fc303ba0b2991 (patch) | |
tree | 24cd2cf57f3932a24b96e4a0f6666489447e43ba /media-libs/smpeg2 | |
parent | 590b9b7b03bf4651e099949e318755af7cfa81b8 (diff) |
gentoo resync : 07.08.2021
Diffstat (limited to 'media-libs/smpeg2')
-rw-r--r-- | media-libs/smpeg2/Manifest | 3 | ||||
-rw-r--r-- | media-libs/smpeg2/files/smpeg2-2.0.0-gcc6.patch | 2 | ||||
-rw-r--r-- | media-libs/smpeg2/smpeg2-2.0.0-r4.ebuild | 50 |
3 files changed, 52 insertions, 3 deletions
diff --git a/media-libs/smpeg2/Manifest b/media-libs/smpeg2/Manifest index 24370ad8fc9a..0e1b7705c902 100644 --- a/media-libs/smpeg2/Manifest +++ b/media-libs/smpeg2/Manifest @@ -1,5 +1,6 @@ -AUX smpeg2-2.0.0-gcc6.patch 857 BLAKE2B b0e94293db4d4b2389ea6d75c8f958e36a8f503c552bc2255f3169c6d647b839ae4612a7e94f7763b5ccda29d14f0cee00ddb98697f34ec23c4340c03153acf4 SHA512 506a9aa8714927466dcef913d566b1acdd705e3eb8bb8d4e8bfe103428af9a7fc16e71a79ff126328c36a76c6cd2fd727804f5de1c3ae00bd0a7a82aa3a1dfc7 +AUX smpeg2-2.0.0-gcc6.patch 772 BLAKE2B b4eece6aee658b484b65856dfb851c1560af589825b8c99ed387f4a938d607f0c62d801373feee112d7226fa052fea8fbfdcde80c34f961cb66a26b198040ade SHA512 96681218f04db64414a8bc014260686f96817b914bb17f83865a2babc6f476069b12eea71b1b0956edbb3b7e4c776d6de7ebf2f4c87206146a4f2b031d5a9ed4 AUX smpeg2-2.0.0-smpeg2-config.patch 1022 BLAKE2B a7b81a5c3f5ae886d1ec6e17011b602f25d568f4b781abb0608378ff000e3ce3cbad873fdf4da6d99853c603d83ef07516b19eca68e47ec3b694fdd99da071fa SHA512 1f91228f9e00bd60d2a8cbb04f0d9b9a5fbd4b5a53ded9547ae1d577afa12388b43a662e4c4e15e6b12f4007bd800c4e49b9c88812aef0ecec71a4c666686b05 DIST smpeg-2.0.0.tar.bz2 311846 BLAKE2B 311de560d367d718eab4e014d4ea196f7bcb4d3e58b8a4002d81f63b76809530dc81a32a4f1163bb5003810fa3cc7257e3b8f94396acca580ac88d619fecfe11 SHA512 3a58ea6a47224b112390c3fe83e5bd59a852a8828ee9b0451d389e3d193499fd3dfb2344abe4d1379248c4fb197e78ee22c6cfb653a2e32e339c030826c06950 EBUILD smpeg2-2.0.0-r3.ebuild 1351 BLAKE2B d9bbba882d9e765495ce653ed2cb37023f7abe1088c1dcd8e5b19f9b168de0dfb362f3a70062324058a076c7ac89d7008c086f117d305b2e46e1a51bd1199851 SHA512 7e57e72f115bc2d2f779b0dbf41d240577ffb0ec637a65245fc6cdb0b7ae2511252e052424a7bdf5f354f3a12a84b0fb16f313c6c4bddecd0fe826cbde873644 +EBUILD smpeg2-2.0.0-r4.ebuild 1131 BLAKE2B 703aaf59c86bd5140dda05b0b869b7e954198dcf0a160b43e73f0a0292188d4f3bafb0e921375857716c9eebd4ffe14218d77cd3d70444dffa6a163fe33ad332 SHA512 30364d9e187038465dce5b1b14b42e8cba82a4b09862865e6d76594bd625bf96398a000e006d8163940efad1e22eb4852b7e28bf11e76fc28db1caca5c0c6023 MISC metadata.xml 253 BLAKE2B 443ca9c8d4f6801169382e87a0ecd1385c56e65229209e7200f9d313ef380e92ae8d7dc3c38e5989a4166289f22607a20b1e13bb960fff6b3d9f78629d8ab020 SHA512 61c4689cbc649d84a00be211b7b5b98dd03e1d3f813eff370df549f2998cd4343f391c18b57cf20e4a8f4dd2311e3bfa04eb60f356f2bbac78f0b68f5091f254 diff --git a/media-libs/smpeg2/files/smpeg2-2.0.0-gcc6.patch b/media-libs/smpeg2/files/smpeg2-2.0.0-gcc6.patch index 4094c61ba432..943b7ed552d9 100644 --- a/media-libs/smpeg2/files/smpeg2-2.0.0-gcc6.patch +++ b/media-libs/smpeg2/files/smpeg2-2.0.0-gcc6.patch @@ -2,8 +2,6 @@ gcc-6 is more strict WRT narrowing: error: narrowing conversion of ‘-1’ from ‘int’ to ‘unsigned int’ inside { } [-Wnarrowing] https://bugs.gentoo.org/594912 -diff --git a/audio/hufftable.cpp b/audio/hufftable.cpp -index 6bc8e86..5414ae3 100644 --- a/audio/hufftable.cpp +++ b/audio/hufftable.cpp @@ -552,3 +552,3 @@ const HUFFMANCODETABLE MPEGaudio::ht[HTN]= diff --git a/media-libs/smpeg2/smpeg2-2.0.0-r4.ebuild b/media-libs/smpeg2/smpeg2-2.0.0-r4.ebuild new file mode 100644 index 000000000000..fc1598ddc4aa --- /dev/null +++ b/media-libs/smpeg2/smpeg2-2.0.0-r4.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools multilib-minimal + +MY_P="smpeg-${PV}" + +DESCRIPTION="SDL MPEG Player Library" +HOMEPAGE="https://icculus.org/smpeg/" +SRC_URI="https://dev.gentoo.org/~hasufell/distfiles/${MY_P}.tar.bz2" +S="${WORKDIR}/${MY_P}" + +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="cpu_flags_x86_mmx" + +DEPEND="media-libs/libsdl2[${MULTILIB_USEDEP}]" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-gcc6.patch + "${FILESDIR}"/${P}-smpeg2-config.patch +) + +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 +} |