public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libsdl2/
Date: Sat, 26 May 2018 21:38:05 +0000 (UTC)	[thread overview]
Message-ID: <1527370675.d4ac42c0809428ada79ce54d2dae32860d73af50.chewi@gentoo> (raw)

commit:     d4ac42c0809428ada79ce54d2dae32860d73af50
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sat May 26 21:36:28 2018 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat May 26 21:37:55 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4ac42c0

media-libs/libsdl2: Add kms and video_cards_vc4 USE flags

I haven't managed to get this to work but this is probably an upstream
issue so I'm adding the flag anyway. It may even work on slightly
older Mesa verions. See our bug report for details. No revbump as few
people will want this.

Closes: https://bugs.gentoo.org/656000
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 media-libs/libsdl2/libsdl2-2.0.8-r2.ebuild | 12 ++++++++++--
 media-libs/libsdl2/metadata.xml            |  1 +
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/media-libs/libsdl2/libsdl2-2.0.8-r2.ebuild b/media-libs/libsdl2/libsdl2-2.0.8-r2.ebuild
index 4708e54718b..53817491c9c 100644
--- a/media-libs/libsdl2/libsdl2-2.0.8-r2.ebuild
+++ b/media-libs/libsdl2/libsdl2-2.0.8-r2.ebuild
@@ -13,7 +13,7 @@ LICENSE="ZLIB"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 
-IUSE="cpu_flags_x86_3dnow alsa altivec aqua 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"
+IUSE="cpu_flags_x86_3dnow alsa altivec aqua custom-cflags dbus gles haptic libsamplerate +joystick kms cpu_flags_x86_mmx nas opengl oss pulseaudio +sound cpu_flags_x86_sse cpu_flags_x86_sse2 static-libs +threads tslib udev +video video_cards_vc4 wayland X xinerama xscreensaver"
 REQUIRED_USE="
 	alsa? ( sound )
 	gles? ( video )
@@ -28,10 +28,15 @@ 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] )
+	kms? (
+		>=x11-libs/libdrm-2.4.46[${MULTILIB_USEDEP}]
+		>=media-libs/mesa-9.0.0[${MULTILIB_USEDEP},gbm]
+	)
 	libsamplerate? ( media-libs/libsamplerate[${MULTILIB_USEDEP}] )
 	nas? (
 		>=media-libs/nas-1.9.4[${MULTILIB_USEDEP}]
-		>=x11-libs/libXt-1.1.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}]
@@ -125,6 +130,7 @@ multilib_src_configure() {
 		$(use_enable wayland video-wayland)
 		--disable-wayland-shared
 		--disable-video-mir
+		$(use_enable video_cards_vc4 video-rpi)
 		$(use_enable X video-x11)
 		--disable-x11-shared
 		$(use_enable X video-x11-xcursor)
@@ -139,6 +145,8 @@ multilib_src_configure() {
 		--disable-video-directfb
 		--disable-fusionsound
 		--disable-fusionsound-shared
+		$(use_enable kms video-kmsdrm)
+		--disable-kmsdrm-shared
 		$(use_enable video video-dummy)
 		$(use_enable opengl video-opengl)
 		--disable-video-opengles1

diff --git a/media-libs/libsdl2/metadata.xml b/media-libs/libsdl2/metadata.xml
index d72b5fdb4d5..f10ebbd6297 100644
--- a/media-libs/libsdl2/metadata.xml
+++ b/media-libs/libsdl2/metadata.xml
@@ -28,6 +28,7 @@
 		<flag name="gles">include OpenGL ES support</flag>
 		<flag name="haptic">Enable the haptic (force feedback) subsystem</flag>
 		<flag name="joystick">Control joystick support (disable at your own risk)</flag>
+		<flag name="kms">Build the KMSDRM video driver</flag>
 		<flag name="sound">Control audio support (disable at your own risk)</flag>
 		<flag name="tslib">Build with tslib support for touchscreen devices</flag>
 		<flag name="video">Control video support (disable at your own risk)</flag>


             reply	other threads:[~2018-05-26 21:38 UTC|newest]

Thread overview: 217+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-26 21:38 James Le Cuirot [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-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-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=1527370675.d4ac42c0809428ada79ce54d2dae32860d73af50.chewi@gentoo \
    --to=chewi@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