Сравнение libsdl-1.2.64 с libsdl-1.2.64_p20230726
/usr/portage/media-libs/libsdl/libsdl-1.2.64_p20230726.ebuild 2023-10-09 14:52:31.692368406 +0300 | ||
---|---|---|
7 | 7 | |
8 | 8 |
DESCRIPTION="Simple Direct Media Layer 1.2 compatibility wrapper around SDL2" |
9 | 9 |
HOMEPAGE="https://github.com/libsdl-org/sdl12-compat" |
10 |
SRC_URI="https://github.com/libsdl-org/sdl12-compat/archive/refs/tags/release-${PV}.tar.gz -> ${P}.tar.gz" |
|
10 |
if [[ ${PV} == *_p* ]] ; then |
|
11 |
MY_COMMIT="f94a1ec0069266e40843138d0c5dd2fc6d43734c" |
|
12 |
SRC_URI="https://github.com/libsdl-org/sdl12-compat/archive/${MY_COMMIT}.tar.gz -> libsdl-${PV}.tar.gz" |
|
13 |
S="${WORKDIR}"/sdl12-compat-${MY_COMMIT} |
|
14 |
else |
|
15 |
SRC_URI="https://github.com/libsdl-org/sdl12-compat/archive/refs/tags/release-${PV}.tar.gz -> ${P}.tar.gz" |
|
16 |
S="${WORKDIR}/sdl12-compat-release-${PV}" |
|
17 |
fi |
|
11 | 18 | |
12 | 19 |
LICENSE="ZLIB" |
13 | 20 |
SLOT="0" |
14 |
KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv" |
|
21 |
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv" |
|
15 | 22 | |
16 | 23 |
# IUSE dropped from real SDL1: aalib custom-cflags dga fbcon libcaca nas oss pulseaudio static-libs tslib xinerama xv |
17 | 24 |
IUSE="alsa +joystick opengl +sound test +video X" |
... | ... | |
29 | 36 |
test? ( virtual/opengl[${MULTILIB_USEDEP}] ) |
30 | 37 |
" |
31 | 38 | |
32 |
S="${WORKDIR}/sdl12-compat-release-${PV}" |
|
33 | ||
34 | 39 |
src_configure() { |
35 | 40 |
local mycmakeargs=( |
36 | 41 |
-DSDL12TESTS=$(usex test) |