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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 861EC138330 for ; Sat, 26 May 2018 21:38:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B5AD0E09F0; Sat, 26 May 2018 21:38:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 79618E09F0 for ; Sat, 26 May 2018 21:38:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 117CD335CBB for ; Sat, 26 May 2018 21:38:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8B7772AD for ; Sat, 26 May 2018 21:38:05 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1527370675.d4ac42c0809428ada79ce54d2dae32860d73af50.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libsdl2/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libsdl2/libsdl2-2.0.8-r2.ebuild media-libs/libsdl2/metadata.xml X-VCS-Directories: media-libs/libsdl2/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: d4ac42c0809428ada79ce54d2dae32860d73af50 X-VCS-Branch: master Date: Sat, 26 May 2018 21:38:05 +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-Archives-Salt: 7ae1a682-575d-4e07-9537-78b96976c705 X-Archives-Hash: 4e86a99cbc7851cd69286bd5a879eb8d commit: d4ac42c0809428ada79ce54d2dae32860d73af50 Author: James Le Cuirot gentoo org> AuthorDate: Sat May 26 21:36:28 2018 +0000 Commit: James Le Cuirot gentoo 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 @@ include OpenGL ES support Enable the haptic (force feedback) subsystem Control joystick support (disable at your own risk) + Build the KMSDRM video driver Control audio support (disable at your own risk) Build with tslib support for touchscreen devices Control video support (disable at your own risk)