summaryrefslogtreecommitdiff
path: root/media-libs/libsdl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-08-01 22:48:35 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-08-01 22:48:35 +0100
commit7a7daa06a06110abc743b5ebd9da85620a5679b4 (patch)
tree35bab4418dc801fb1a7bc58549115e01d84ff792 /media-libs/libsdl
parentc545c34c9943252735b3bca1a9542db7f56cb9cb (diff)
gentoo auto-resync : 01:08:2023 - 22:48:35
Diffstat (limited to 'media-libs/libsdl')
-rw-r--r--media-libs/libsdl/Manifest2
-rw-r--r--media-libs/libsdl/libsdl-1.2.64_p20230726.ebuild45
2 files changed, 47 insertions, 0 deletions
diff --git a/media-libs/libsdl/Manifest b/media-libs/libsdl/Manifest
index a8d04a5285eb..b1d519057541 100644
--- a/media-libs/libsdl/Manifest
+++ b/media-libs/libsdl/Manifest
@@ -3,7 +3,9 @@ AUX libsdl-1.2.15-sdl-config.patch 784 BLAKE2B d54d98ad6ddbea163fd4a0ce9d65ac77d
DIST SDL-1.2.15_p20221201.tar.gz 4002787 BLAKE2B 87b729cb16cfb36efa2b66166ef21d4c5c8bc99f8c8b4683885f04699122945a60512c5875d0c8425ddfe33b2eb901d11f27afbd9e3656cde3f30de5a5f1537c SHA512 5e70977cf5beaffebb28ae84f778e08d3cf56b2badda125ec1f08ac26c6b4e60a148d9ca9b2d7efee8a5fbc0b1a343d1d27a05be1c08e5d9251da67aea209659
DIST libsdl-1.2.60.tar.gz 438381 BLAKE2B 32f00c8f5dc51780bfb48cdfa41ca46ab64dc4cd7d0a2a042e920569ea2d5fe3238e9e95b4bb34954a0f7b84a384cdbbc9859f20e2706192297a7e9d8696ee52 SHA512 4eae573054bb98d11356425392f352bf9c54b6406548d225bc8e8e042011e40edaaab6726ddc24e68f3e07cd21d95432df614f5381f1d3d5d0808686ea950732
DIST libsdl-1.2.64.tar.gz 459020 BLAKE2B 72e13e14c134116edc73a9127a854700f0c878b3a56ae0ed5c70a3e227fcd46411ebb25bdf0ebfe76c1c648ac6052161e3eae11ebdee8ffbddb5cf70e9b01da3 SHA512 cd551666d2e6a2de273ee29b9a68a5472933a5f5a6340616510051e78f0a96af68a2f13f4473431d6b58ad89a379d672b3a3e82bc86ded01943b6bc3ca7947d2
+DIST libsdl-1.2.64_p20230726.tar.gz 459365 BLAKE2B d669e46cb6f1f2ac4869d438d0a045019f8b5132c9e4a34b0945a83514fadb4e7c52954657ff3d9a149c3e052b88c77b740920171654add31d65806a361debfa SHA512 4cb41fb455ea7bfe7768f88715064fa5e092e6e24cdc7e0786f91693f21425a53fb3ba355100db5984d5ca969916f22738b7abd5cb58b87b43a154098979ee2d
EBUILD libsdl-1.2.15_p20221201.ebuild 4953 BLAKE2B 54575a80085622fdc111be48175dfe19ee9c95a7bc82291dafaef72bef8333eb8ce6a70338572a73390c6cff74973c27b92fb645236e9fbebe02fcbf4683329b SHA512 dfa19a7c9ff3a75ef79249a8cd15a51127e8b1b735338346746f59854907e56cd67030545a5e94834fb67620987e83edadfbd778d6a0ba8604f6843a8820a35b
EBUILD libsdl-1.2.60.ebuild 1047 BLAKE2B ce2d1dfa6ccfc577b55a59d993291dcecef2bb238d411b6558e93f84ac9f3cb4fd77e04d3db35227d2751b96429194c15e5fc28806451cbe59c9d64c3bbf6aa1 SHA512 bb5e8f36c9f028173f2796d211f6ea7811ad8425a223b5d5f5cc22c8a25af0f85f01c36111e405fa97f5135f80067f2fb0b64e9d525bfd3e3d33fc5ae3f08e36
EBUILD libsdl-1.2.64.ebuild 1061 BLAKE2B 3b8dbc3bbee5a59415889b3da93c46e8d4b3cd090bd0bc4057886fe0e598ac965a4c3a6fc8adbb2c706312798a6786c5f2cd08709fb27dd10f8d855dedebf7c7 SHA512 8e44d7e4a48cea293b87383e34016aab80c83c22957799b17d72611662f3d71e06c969fe73328b6e636233e60f9ad61a18ffd67810fc544a6a78b292c6edc5ae
+EBUILD libsdl-1.2.64_p20230726.ebuild 1303 BLAKE2B 1ea8c38a186c0b4a3826a0f32242850f13381b6446e8215189a0dec908b6df64c64afb54f34fe4257f2eda39f600ebb34c66d57fdf5cc54246606d32a5126903 SHA512 da345823e6c9a2d884318f3d91fb348e20e4cd0a935bd77d89d57cf1166a10327a46009be835430f569c52889337f26aea76cd19851ff7d9108b891f95fc55f5
MISC metadata.xml 1562 BLAKE2B 317e152b5b838542417fe66589a2f161f7ebb4c9e0dc166deffb13b62227e8e1b957deb41daf5599e6a5ee77155d140048e97708594f308c44f8eef7df3046db SHA512 1144a2155c5fc3ee3dee968bb86c78c7fb3931e1794ad351b5951b19642d414ee02076177a01cb33c3dad8122825fdf9d1934ee02382f6b4a5bbd22fd6e23094
diff --git a/media-libs/libsdl/libsdl-1.2.64_p20230726.ebuild b/media-libs/libsdl/libsdl-1.2.64_p20230726.ebuild
new file mode 100644
index 000000000000..20bb9b03f3f6
--- /dev/null
+++ b/media-libs/libsdl/libsdl-1.2.64_p20230726.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib
+
+DESCRIPTION="Simple Direct Media Layer 1.2 compatibility wrapper around SDL2"
+HOMEPAGE="https://github.com/libsdl-org/sdl12-compat"
+if [[ ${PV} == *_p* ]] ; then
+ MY_COMMIT="f94a1ec0069266e40843138d0c5dd2fc6d43734c"
+ SRC_URI="https://github.com/libsdl-org/sdl12-compat/archive/${MY_COMMIT}.tar.gz -> libsdl-${PV}.tar.gz"
+ S="${WORKDIR}"/sdl12-compat-${MY_COMMIT}
+else
+ SRC_URI="https://github.com/libsdl-org/sdl12-compat/archive/refs/tags/release-${PV}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/sdl12-compat-release-${PV}"
+fi
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv"
+
+# IUSE dropped from real SDL1: aalib custom-cflags dga fbcon libcaca nas oss pulseaudio static-libs tslib xinerama xv
+IUSE="alsa +joystick opengl +sound test +video X"
+REQUIRED_USE="test? ( joystick opengl sound video )"
+
+# The tests are more like example programs.
+RESTRICT="test"
+
+RDEPEND="
+ media-libs/libsdl2[${MULTILIB_USEDEP},alsa=,joystick=,opengl=,sound=,video=,X=]
+"
+
+DEPEND="
+ ${RDEPEND}
+ test? ( virtual/opengl[${MULTILIB_USEDEP}] )
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DSDL12TESTS=$(usex test)
+ )
+
+ cmake-multilib_src_configure
+}