From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libsdl2/
Date: Wed, 18 Apr 2018 18:37:50 +0000 (UTC) [thread overview]
Message-ID: <1524076663.2f41b98bf35616593158798ceebe50c37d9735cf.pacho@gentoo> (raw)
commit: 2f41b98bf35616593158798ceebe50c37d9735cf
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 18 18:34:43 2018 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Wed Apr 18 18:37:43 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f41b98b
media-libs/libsdl2: Fix multiple dependency issues
- libsamplerate was automagic (#642474 by ulm)
- DirectFB is going to die (#606194)
- libXt is not always needed (#590222 by Rafał Mużyło)
Package-Manager: Portage-2.3.28, Repoman-2.3.9
media-libs/libsdl2/libsdl2-2.0.8-r1.ebuild | 169 +++++++++++++++++++++++++++++
1 file changed, 169 insertions(+)
diff --git a/media-libs/libsdl2/libsdl2-2.0.8-r1.ebuild b/media-libs/libsdl2/libsdl2-2.0.8-r1.ebuild
new file mode 100644
index 00000000000..5424e85e492
--- /dev/null
+++ b/media-libs/libsdl2/libsdl2-2.0.8-r1.ebuild
@@ -0,0 +1,169 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools flag-o-matic ltprune toolchain-funcs multilib-minimal
+
+MY_P="SDL2-${PV}"
+DESCRIPTION="Simple Direct Media Layer"
+HOMEPAGE="http://www.libsdl.org"
+SRC_URI="http://www.libsdl.org/release/${MY_P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+IUSE="cpu_flags_x86_3dnow alsa altivec custom-cflags dbus gles haptic libsamplerate +joystick cpu_flags_x86_mmx nas opengl oss pulseaudio +sound cpu_flags_x86_sse cpu_flags_x86_sse2 static-libs +threads tslib udev +video wayland X xinerama xscreensaver"
+REQUIRED_USE="
+ alsa? ( sound )
+ gles? ( video )
+ nas? ( sound )
+ opengl? ( video )
+ pulseaudio? ( sound )
+ wayland? ( gles )
+ xinerama? ( X )
+ xscreensaver? ( X )"
+
+RDEPEND="
+ alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
+ dbus? ( >=sys-apps/dbus-1.6.18-r1[${MULTILIB_USEDEP}] )
+ gles? ( >=media-libs/mesa-9.1.6[${MULTILIB_USEDEP},gles2] )
+ libsamplerate? ( media-libs/libsamplerate[${MULTILIB_USEDEP}] )
+ nas? (
+ >=media-libs/nas-1.9.4[${MULTILIB_USEDEP}]
+ >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}] )
+ opengl? (
+ >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]
+ >=virtual/glu-9.0-r1[${MULTILIB_USEDEP}]
+ )
+ pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] )
+ tslib? ( >=x11-libs/tslib-1.0-r3[${MULTILIB_USEDEP}] )
+ udev? ( >=virtual/libudev-208:=[${MULTILIB_USEDEP}] )
+ wayland? (
+ >=dev-libs/wayland-1.0.6[${MULTILIB_USEDEP}]
+ >=media-libs/mesa-9.1.6[${MULTILIB_USEDEP},egl,gles2,wayland]
+ >=x11-libs/libxkbcommon-0.2.0[${MULTILIB_USEDEP}]
+ )
+ X? (
+ >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
+ >=x11-libs/libXcursor-1.1.14[${MULTILIB_USEDEP}]
+ >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
+ >=x11-libs/libXi-1.7.2[${MULTILIB_USEDEP}]
+ >=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}]
+ >=x11-libs/libXxf86vm-1.1.3[${MULTILIB_USEDEP}]
+ xinerama? ( >=x11-libs/libXinerama-1.1.3[${MULTILIB_USEDEP}] )
+ xscreensaver? ( >=x11-libs/libXScrnSaver-1.2.2-r1[${MULTILIB_USEDEP}] )
+ )"
+DEPEND="${RDEPEND}
+ X? (
+ >=x11-proto/xextproto-7.2.1-r1[${MULTILIB_USEDEP}]
+ >=x11-proto/xproto-7.0.24[${MULTILIB_USEDEP}]
+ )
+ virtual/pkgconfig"
+
+MULTILIB_WRAPPED_HEADERS=(
+ /usr/include/SDL2/SDL_config.h
+)
+
+PATCHES=(
+ # https://bugzilla.libsdl.org/show_bug.cgi?id=1431
+ "${FILESDIR}"/${PN}-2.0.6-static-libs.patch
+)
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ default
+ sed -i -e 's/configure.in/configure.ac/' Makefile.in || die
+ mv configure.{in,ac} || die
+ AT_M4DIR="/usr/share/aclocal acinclude" eautoreconf
+}
+
+multilib_src_configure() {
+ use custom-cflags || strip-flags
+
+ # sorted by `./configure --help`
+ local myeconfargs=(
+ $(use_enable static-libs static)
+ --enable-atomic
+ $(use_enable sound audio)
+ $(use_enable video)
+ --enable-render
+ --enable-events
+ $(use_enable joystick)
+ $(use_enable haptic)
+ --enable-power
+ --enable-filesystem
+ $(use_enable threads)
+ --enable-timers
+ --enable-file
+ $(use_enable kernel_Winnt loadso)
+ --enable-cpuinfo
+ --enable-assembly
+ $(use_enable cpu_flags_x86_sse ssemath)
+ $(use_enable cpu_flags_x86_mmx mmx)
+ $(use_enable cpu_flags_x86_3dnow 3dnow)
+ $(use_enable cpu_flags_x86_sse sse)
+ $(use_enable cpu_flags_x86_sse2 sse2)
+ $(use_enable altivec)
+ $(use_enable oss)
+ $(use_enable alsa)
+ --disable-alsa-shared
+ --disable-esd
+ $(use_enable pulseaudio)
+ --disable-pulseaudio-shared
+ --disable-arts
+ $(use_enable libsamplerate)
+ $(use_enable nas)
+ --disable-nas-shared
+ --disable-sndio
+ --disable-sndio-shared
+ $(use_enable sound diskaudio)
+ $(use_enable sound dummyaudio)
+ $(use_enable wayland video-wayland)
+ --disable-wayland-shared
+ --disable-video-mir
+ $(use_enable X video-x11)
+ --disable-x11-shared
+ $(use_enable X video-x11-xcursor)
+ $(use_enable X video-x11-xdbe)
+ $(use_enable xinerama video-x11-xinerama)
+ $(use_enable X video-x11-xinput)
+ $(use_enable X video-x11-xrandr)
+ $(use_enable xscreensaver video-x11-scrnsaver)
+ $(use_enable X video-x11-xshape)
+ $(use_enable X video-x11-vm)
+ --disable-video-cocoa
+ --disable-video-directfb
+ --disable-fusionsound
+ --disable-fusionsound-shared
+ $(use_enable video video-dummy)
+ $(use_enable opengl video-opengl)
+ --disable-video-opengles1
+ $(use_enable gles video-opengles2)
+ --disable-video-vulkan
+ $(use_enable udev libudev)
+ $(use_enable dbus)
+ --disable-ibus
+ $(use_enable tslib input-tslib)
+ --disable-directx
+ --disable-rpath
+ --disable-render-d3d
+ $(use_with X x)
+ )
+
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_compile() {
+ emake V=1
+}
+
+multilib_src_install() {
+ emake DESTDIR="${D}" install
+}
+
+multilib_src_install_all() {
+ prune_libtool_files
+ dodoc {BUGS,CREDITS,README,README-SDL,TODO,WhatsNew}.txt docs/README*.md
+}
next reply other threads:[~2018-04-18 18:37 UTC|newest]
Thread overview: 217+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-18 18:37 Pacho Ramos [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-24 5:40 [gentoo-commits] repo/gentoo:master commit in: media-libs/libsdl2/ Arthur Zamarin
2024-09-29 11:22 Sam James
2024-09-29 0:19 Sam James
2024-09-28 20:43 James Le Cuirot
2024-09-28 20:43 James Le Cuirot
2024-09-02 6:16 Sam James
2024-08-29 2:50 Sam James
2024-07-20 4:38 Sam James
2024-07-20 4:38 Sam James
2024-07-20 4:38 Sam James
2024-07-19 23:51 Sam James
2024-07-19 23:51 Sam James
2024-07-19 23:36 Sam James
2024-07-19 23:36 Sam James
2024-07-19 22:57 Sam James
2024-07-19 22:57 Sam James
2024-05-25 12:39 WANG Xuerui
2024-05-19 9:15 James Le Cuirot
2024-05-05 23:44 Ionen Wolkens
2024-05-04 7:17 Arthur Zamarin
2024-05-02 4:32 Sam James
2024-05-01 6:03 Sam James
2024-04-27 21:09 James Le Cuirot
2024-04-27 21:09 James Le Cuirot
2024-04-13 22:05 James Le Cuirot
2024-03-28 3:46 Sam James
2024-03-17 13:44 James Le Cuirot
2024-03-17 3:42 Sam James
2024-02-10 21:24 James Le Cuirot
2024-02-03 13:38 Sam James
2024-02-03 6:56 Sam James
2024-02-02 14:46 Arthur Zamarin
2024-02-02 4:44 Sam James
2024-01-23 19:15 Mike Gilbert
2024-01-16 5:46 Viorel Munteanu
2024-01-15 3:32 Ionen Wolkens
2023-12-15 3:26 Ionen Wolkens
2023-12-15 3:26 Ionen Wolkens
2023-11-24 9:31 Sam James
2023-11-23 17:12 Sam James
2023-11-20 6:00 Michał Górny
2023-11-04 19:48 Sam James
2023-10-22 15:37 James Le Cuirot
2023-10-22 15:37 James Le Cuirot
2023-10-03 3:14 Sam James
2023-09-28 4:35 Sam James
2023-09-27 4:03 Sam James
2023-09-27 3:48 Sam James
2023-09-02 13:58 Sam James
2023-08-13 17:56 Andreas Sturmlechner
2023-08-03 10:28 Arthur Zamarin
2023-08-02 22:02 Sam James
2023-08-02 13:19 Sam James
2023-08-01 18:28 Arthur Zamarin
2023-08-01 18:28 Arthur Zamarin
2023-08-01 16:24 Sam James
2023-08-01 16:24 Sam James
2023-07-15 13:28 Arthur Zamarin
2023-07-15 13:28 Arthur Zamarin
2023-07-12 6:39 Jakov Smolić
2023-06-22 4:59 Sam James
2023-06-03 19:45 Arthur Zamarin
2023-06-03 3:23 Sam James
2023-06-03 3:23 Sam James
2023-06-03 2:23 Sam James
2023-05-29 9:12 Andreas Sturmlechner
2023-05-23 2:52 Sam James
2023-05-03 11:16 Sam James
2023-05-03 10:07 Sam James
2023-02-07 23:06 Sam James
2023-02-01 9:11 Arthur Zamarin
2023-01-26 22:03 Sam James
2023-01-26 21:21 Sam James
2023-01-26 20:55 Arthur Zamarin
2023-01-26 20:38 Arthur Zamarin
2023-01-26 20:38 Arthur Zamarin
2023-01-04 3:31 Sam James
2022-12-09 15:36 Sam James
2022-12-03 17:33 Arthur Zamarin
2022-12-03 15:08 Arthur Zamarin
2022-12-03 14:43 Arthur Zamarin
2022-12-02 18:57 Arthur Zamarin
2022-12-02 18:57 Arthur Zamarin
2022-12-02 8:35 Arthur Zamarin
2022-12-02 8:15 Arthur Zamarin
2022-11-18 6:47 Ionen Wolkens
2022-11-18 5:52 Sam James
2022-10-03 20:29 James Le Cuirot
2022-10-03 8:32 Agostino Sarubbo
2022-10-03 8:31 Agostino Sarubbo
2022-10-03 8:28 Agostino Sarubbo
2022-10-03 8:26 Agostino Sarubbo
2022-10-03 8:24 Agostino Sarubbo
2022-10-02 16:30 Arthur Zamarin
2022-10-02 16:30 Arthur Zamarin
2022-08-20 10:09 James Le Cuirot
2022-08-04 21:17 James Le Cuirot
2022-07-29 4:17 Sam James
2022-05-19 5:08 WANG Xuerui
2022-04-14 21:34 James Le Cuirot
2022-04-14 8:11 Agostino Sarubbo
2022-04-09 19:56 Arthur Zamarin
2022-04-05 2:37 Sam James
2022-04-04 18:28 Jakov Smolić
2022-04-04 6:37 Agostino Sarubbo
2022-04-03 22:08 Jakov Smolić
2022-04-03 10:10 Agostino Sarubbo
2022-01-23 9:35 Ionen Wolkens
2022-01-13 0:55 Sam James
2021-10-31 0:19 Sam James
2021-10-02 18:39 Sam James
2021-09-30 18:18 Sam James
2021-09-26 7:29 Agostino Sarubbo
2021-09-25 5:21 Agostino Sarubbo
2021-09-25 5:20 Agostino Sarubbo
2021-09-25 5:18 Agostino Sarubbo
2021-09-24 22:53 Sam James
2021-09-23 22:08 James Le Cuirot
2021-09-23 22:07 James Le Cuirot
2021-09-12 11:13 James Le Cuirot
2021-09-12 11:13 James Le Cuirot
2021-08-10 20:36 James Le Cuirot
2021-05-15 19:17 Sam James
2021-05-15 2:41 Sam James
2021-05-10 6:58 Agostino Sarubbo
2021-05-06 7:22 Sergei Trofimovich
2021-05-05 11:40 Lars Wendler
2021-05-05 11:40 Lars Wendler
2021-05-02 19:33 James Le Cuirot
2021-05-01 18:19 Agostino Sarubbo
2021-04-25 9:18 Sergei Trofimovich
2021-04-25 9:18 Sergei Trofimovich
2021-04-24 7:40 Lars Wendler
2021-04-19 20:54 Sam James
2021-02-27 12:30 Sam James
2021-01-11 18:33 Lars Wendler
2021-01-11 16:45 Mike Gilbert
2021-01-09 10:36 Sam James
2020-12-17 3:58 Sam James
2020-10-09 8:31 Agostino Sarubbo
2020-10-08 17:31 Sergei Trofimovich
2020-10-06 13:16 Sam James
2020-10-03 12:16 Sergei Trofimovich
2020-09-30 21:15 Sam James
2020-08-30 2:41 Sam James
2020-08-21 3:07 Sam James
2020-08-18 11:22 Agostino Sarubbo
2020-08-18 11:16 Agostino Sarubbo
2020-08-17 14:52 Agostino Sarubbo
2020-08-17 14:09 Agostino Sarubbo
2020-04-06 18:51 James Le Cuirot
2020-04-06 18:51 James Le Cuirot
2020-04-05 21:34 James Le Cuirot
2020-03-27 18:19 Sergei Trofimovich
2020-03-18 18:53 Georgy Yakovlev
2020-02-11 22:35 James Le Cuirot
2020-01-27 21:07 James Le Cuirot
2019-09-13 15:50 Mikle Kolyada
2019-09-08 18:30 Sergei Trofimovich
2019-09-08 18:26 Sergei Trofimovich
2019-09-08 18:21 Sergei Trofimovich
2019-09-08 10:42 Agostino Sarubbo
2019-09-08 1:13 Thomas Deutschmann
2019-09-07 1:52 Aaron Bauman
2019-06-28 22:19 Sergei Trofimovich
2019-02-07 16:50 Mikle Kolyada
2019-01-31 8:49 Tobias Klausmann
2019-01-17 8:29 Sergei Trofimovich
2019-01-17 8:08 Sergei Trofimovich
2019-01-16 15:19 Lars Wendler
2019-01-16 15:14 Mikle Kolyada
2019-01-15 22:29 Thomas Deutschmann
2019-01-01 12:05 Sergei Trofimovich
2018-11-03 11:33 James Le Cuirot
2018-10-31 21:53 James Le Cuirot
2018-10-31 21:53 James Le Cuirot
2018-10-10 16:26 Markus Meier
2018-09-16 13:15 Mikle Kolyada
2018-09-14 12:17 Tobias Klausmann
2018-09-09 1:12 Thomas Deutschmann
2018-09-07 23:03 Sergei Trofimovich
2018-09-07 22:54 Sergei Trofimovich
2018-09-07 22:43 Sergei Trofimovich
2018-07-08 10:53 Jeroen Roovers
2018-05-26 21:38 James Le Cuirot
2018-05-16 10:01 Alfredo Tupone
2018-05-14 11:49 Tobias Klausmann
2018-05-14 6:17 Alfredo Tupone
2018-05-07 21:05 James Le Cuirot
2018-05-07 20:57 James Le Cuirot
2018-04-26 8:28 Mikle Kolyada
2018-04-25 20:05 Aaron Bauman
2018-04-21 21:18 Sergei Trofimovich
2018-04-18 18:37 Pacho Ramos
2018-03-05 20:26 Sergei Trofimovich
2018-03-02 12:15 Lars Wendler
2018-03-02 12:15 Lars Wendler
2018-03-02 12:15 Lars Wendler
2017-12-06 22:34 Sergei Trofimovich
2017-12-06 22:34 Sergei Trofimovich
2017-11-04 23:51 James Le Cuirot
2017-10-24 8:33 Lars Wendler
2017-06-10 20:14 Sergei Trofimovich
2017-06-10 20:14 Sergei Trofimovich
2017-06-10 20:14 Sergei Trofimovich
2017-02-22 13:35 Michael Weber
2016-07-25 16:30 Chí-Thanh Christopher Nguyễn
2016-05-02 0:35 Matt Turner
2016-03-15 17:22 Markus Meier
2016-03-15 16:15 Michael Sterrett
2016-03-15 7:45 Michael Sterrett
2016-02-21 7:41 Jeroen Roovers
2016-02-13 15:33 Agostino Sarubbo
2015-12-24 20:18 Mike Frysinger
2015-11-14 5:29 Michael Sterrett
2015-09-06 6:18 Jeroen Roovers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1524076663.2f41b98bf35616593158798ceebe50c37d9735cf.pacho@gentoo \
--to=pacho@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox