summaryrefslogtreecommitdiff
path: root/media-libs/smpeg
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-08-07 09:24:29 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-08-07 09:24:29 +0100
commitfa77846c708f4d0541b610846a5f2ed14b4b20c1 (patch)
tree35860ca9d75749380daddffe86bbd70d3c5866a9 /media-libs/smpeg
parent640c4638f1e12a2c71f539ee18564a0c82d19947 (diff)
gentoo auto-resync : 07:08:2023 - 09:24:28
Diffstat (limited to 'media-libs/smpeg')
-rw-r--r--media-libs/smpeg/Manifest2
-rw-r--r--media-libs/smpeg/smpeg-0.4.4-r12.ebuild55
2 files changed, 57 insertions, 0 deletions
diff --git a/media-libs/smpeg/Manifest b/media-libs/smpeg/Manifest
index 81ca95ea9bfd..d89692cff74d 100644
--- a/media-libs/smpeg/Manifest
+++ b/media-libs/smpeg/Manifest
@@ -11,6 +11,8 @@ AUX smpeg-0.4.4-malloc.patch 441 BLAKE2B 1c1f6d54964876bb62b80e86dc51c177e3848dc
AUX smpeg-0.4.4-missing-init.patch 194 BLAKE2B 38082e5d0ebfeb085e1c54ebfa9fa706f0031d2b2f3c062dca2f4b00645b16b5f1993c6ba1494f6cce74abd63a568ef1e8732def1a81c97a54b6b93e8c275edf SHA512 96dc6b65dc4309fb199cf72598cdcd00b67b5d8152b1f65aded9b9496bbffaa23046161f7814752c488cecd81c2fea086c371a5fc5e35675aefb710f8fc7de21
AUX smpeg-0.4.4-mmx.patch 252 BLAKE2B f5d0761bb38c021996eb19b534122d8fd9e697c5ee8005169494b82f0ae76cdb78b2476a7c6a8115c19fddf6b39d50ab5d01e9b671d31524b704665c00174c08 SHA512 c393fed067e09a9f22311e6b7b87851026f5416cad9c82d0f82428251de76ad0c15456c36d0895143fdc4ad47ad97ae210e7f83b19cf00f9a93147043896db67
DIST smpeg-0.4.4-gtkm4.patch.bz2 3894 BLAKE2B 0ea9258a057108a462d9c4b9d9bcb21cdff71714507a3d09538f56817b206ec54681b3d2546b64c07f239ea3381f3644d26234853a239a2fe49353ba1c9b2759 SHA512 30370e0edd41767ce260d10de515be0087f47b479ec0085ec186506c93be0b2a404c1bcb1626f9a6a1f575160d9c382708d2769dddfe6dca6236fe0eaa58602d
+DIST smpeg-0.4.4-patches.tar.xz 12892 BLAKE2B 346c3cf9fe62f29ce86b2b743a5cc6f54189330408b37966ff1c009687ee6e79594e018637dd80f90c34b31701d73129b3fe7c0b89913a1b280613b06cd01f19 SHA512 9840173f257e0bd0ef2ff98a9dac50b239f4ddd048abe1d317666660f1d5da867ce8d4cabc36a1c51f53909358b87661811af6ce665283cb091f3349a03787a8
DIST smpeg-0.4.4.tar.gz 315054 BLAKE2B 16a7b87a207874deaaad64b5233964d4b0e244d35cc475cf0ed37302529ca4eb044393777fc98c202b5965de420f75bc5fb398ecc3eb0f97992d90e365f8a039 SHA512 d566bb68b0caacecdf61cd766b26e003fd4e153c243d873f7aae33ab69919202bd121bb9c10f494bd9530267ddec2a9e018eb46ee8bb9d502a29cd2de2f1bbfb
EBUILD smpeg-0.4.4-r11.ebuild 1685 BLAKE2B e69e620c086d7926aedfe495a8440ccc1a1bc4ad074e26a74201f5cb778704856d5dfe89d7bc418381b17bdbc29fa05b2b5d65c4cd1f6bec84252342b4e7552e SHA512 344345fc2023950a033e3ab981133f7cf128052d85a760b616137c6fe5b8d2fcf07db61560d7713390230609d72edc890ea1cb200dcd4ffafe443210215a3751
+EBUILD smpeg-0.4.4-r12.ebuild 1351 BLAKE2B ac970b409342b1d6342eccfd70653036c0b8a36b6718b30c9a55f275e4748aa5e0067b78addf8ef5e8b9c28420e70c63fe20f08b6d6c524c1c72461b866b5491 SHA512 56f2226967e950f9c1dfb61ca67365f10da6d20a2cfaa050bbaf2debdfe1fc23fe69a332455998569c1f9155c35ab08ee06a76e4c5d7cce1686c7b657e57c01c
MISC metadata.xml 332 BLAKE2B 864b33ac2108aacb48415c2c85b369548c9a74591e1f14f96b833aea1c5888a6ba44a16de6ff338fc6c8eb6c2e625edeba68bbacbf5e258ead6e018b07a937bd SHA512 1c5a89bf4fa5a55dd4ae076e16adfe82c66e15e495a18e6e629d1d3f3ac7ab90a20000b7f6b323409d9145398f54336d71ae5681fe1bec522a01594df959183c
diff --git a/media-libs/smpeg/smpeg-0.4.4-r12.ebuild b/media-libs/smpeg/smpeg-0.4.4-r12.ebuild
new file mode 100644
index 000000000000..ac6f3a978168
--- /dev/null
+++ b/media-libs/smpeg/smpeg-0.4.4-r12.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools flag-o-matic multilib-minimal
+
+DESCRIPTION="SDL MPEG Player Library"
+HOMEPAGE="https://icculus.org/smpeg/"
+SRC_URI="
+ https://mirrors.dotsrc.org/lokigames/open-source/smpeg/${P}.tar.gz
+ https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/smpeg-0.4.4-patches.tar.xz
+"
+
+LICENSE="LGPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="cpu_flags_x86_mmx opengl"
+
+RDEPEND="
+ media-libs/libsdl[opengl?,sound,video,${MULTILIB_USEDEP}]
+ opengl? (
+ virtual/glu[${MULTILIB_USEDEP}]
+ virtual/opengl[${MULTILIB_USEDEP}]
+ )"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${WORKDIR}"/smpeg-0.4.4-patches
+)
+
+src_prepare() {
+ default
+
+ rm acinclude.m4 || die
+ AT_M4DIR="m4" eautoreconf
+}
+
+multilib_src_configure() {
+ [[ ${CHOST} == *-solaris* ]] && append-libs -lnsl -lsocket
+
+ local myeconfargs=(
+ --disable-gtk-player
+ --enable-debug # disabling this only passes extra optimizations
+ --without-x # does not actually use X, only causes a headers check
+ $(use_enable cpu_flags_x86_mmx mmx)
+ $(use_enable opengl opengl-player)
+ )
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ find "${ED}" -name '*.la' -delete || die
+}