commit: 181a3a52d24ca08597bd8c79aa1bbd9a1f2a3905
parent bbaaa10d162e98c60de18282785427b0dcba53fc
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Thu, 3 Jun 2021 23:28:44 +0200
media-libs/libsdl: Fix IUSE & metadata.xml
Diffstat:
2 files changed, 35 insertions(+), 3 deletions(-)
diff --git a/media-libs/libsdl/libsdl-9999.ebuild b/media-libs/libsdl/libsdl-9999.ebuild
@@ -9,11 +9,13 @@ HOMEPAGE="https://github.com/libsdl-org/sdl12-compat"
EGIT_REPO_URI="https://github.com/libsdl-org/sdl12-compat"
LICENSE="ZLIB"
SLOT="0/sdl12-compat"
-IUSE="test"
RESTRICT="!test? ( test )"
-# Those are fakes and just there for compat with other ebuilds
-IUSE="oss alsa nas X dga xv xinerama fbcon tslib aalib opengl libcaca +sound +video +joystick custom-cflags pulseaudio static-libs"
+# First line are fakes and just there for compat with other ebuilds
+IUSE="
+ oss alsa nas X dga xv xinerama fbcon tslib aalib opengl libcaca +sound +video +joystick custom-cflags pulseaudio static-libs
+ test
+"
# IUSE inheritance dropped: dga, xv, fbcon, tflib, aalib, libcaca, custom-cflags, static-libs
DEPEND="
diff --git a/media-libs/libsdl/metadata.xml b/media-libs/libsdl/metadata.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <name>Haelwenn (lanodan) Monnier</name>
+ <email>contact@hacktivis.me</email>
+ </maintainer>
+ <longdescription>
+ Simple DirectMedia Layer is a cross-platform multimedia library designed
+ to provide low level access to audio, keyboard, mouse, joystick, 3D
+ hardware via OpenGL, and 2D video framebuffer. It is used by MPEG
+ playback software, emulators, and many popular games, including the
+ award winning Linux port of "Civilization: Call To Power."
+
+ Simple DirectMedia Layer supports Linux, Windows, BeOS, MacOS Classic,
+ MacOS X, FreeBSD, OpenBSD, BSD/OS, Solaris, IRIX, and QNX. There is also
+ code, but no official support, for Windows CE, AmigaOS, Dreamcast,
+ Atari, NetBSD, AIX, OSF/Tru64, RISC OS, and SymbianOS.
+
+ SDL is written in C, but works with C++ natively, and has bindings to
+ several other languages, including Ada, Eiffel, Java, Lua, ML, Perl,
+ PHP, Pike, Python, and Ruby.
+ </longdescription>
+ <use>
+ <flag name="joystick">Control joystick support (disable at your own risk)</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>
+ </use>
+</pkgmetadata>