From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 43F1C15801B for ; Mon, 7 Aug 2023 05:43:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8C62E2BC02A; Mon, 7 Aug 2023 05:43:12 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 772FC2BC02A for ; Mon, 7 Aug 2023 05:43:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BDA19340C50 for ; Mon, 7 Aug 2023 05:43:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C4069F29 for ; Mon, 7 Aug 2023 05:43:08 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1691386942.8f4c2c794c4176671cec42f0e04a7c5890b10b31.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/smpeg/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/smpeg/Manifest media-libs/smpeg/smpeg-0.4.4-r12.ebuild X-VCS-Directories: media-libs/smpeg/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 8f4c2c794c4176671cec42f0e04a7c5890b10b31 X-VCS-Branch: master Date: Mon, 7 Aug 2023 05:43:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8b774185-8436-4ea0-961e-e63c4e690b47 X-Archives-Hash: c2c01ca280a6230b0ab9700715f8edd5 commit: 8f4c2c794c4176671cec42f0e04a7c5890b10b31 Author: Brahmajit Das gmail com> AuthorDate: Sat Aug 5 08:36:39 2023 +0000 Commit: Sam James gentoo org> CommitDate: Mon Aug 7 05:42:22 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f4c2c79 media-libs/smpeg: Fix C++17 does not allow register storage class Closes: https://bugs.gentoo.org/894568 Signed-off-by: Brahmajit Das gmail.com> Closes: https://github.com/gentoo/gentoo/pull/32185 Signed-off-by: Sam James gentoo.org> media-libs/smpeg/Manifest | 1 + media-libs/smpeg/smpeg-0.4.4-r12.ebuild | 55 +++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/media-libs/smpeg/Manifest b/media-libs/smpeg/Manifest index 04f66be4d745..b744a3d6c58f 100644 --- a/media-libs/smpeg/Manifest +++ b/media-libs/smpeg/Manifest @@ -1,2 +1,3 @@ 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 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 +}