Skip to content

Instantly share code, notes, and snippets.

@sshilovsky
Created December 2, 2012 06:05
Show Gist options
  • Save sshilovsky/4187175 to your computer and use it in GitHub Desktop.
Save sshilovsky/4187175 to your computer and use it in GitHub Desktop.
Patch for games-strategies/ufoai::games to require SDL[X] and SDL_mixer[ogg]
From 9cb2f44f2af840b051f32f40f4919130cd739e1d Mon Sep 17 00:00:00 2001
From: Sergei Shilovsky <[email protected]>
Date: Sun, 2 Dec 2012 08:27:52 +0000
Subject: [PATCH 1/2] Require SDL-mixer[ogg] for media-libs/ufoai.
Otherwise the game plays with no sound.
---
packages/games-strategy/ufoai/ufoai-2.4.exheres-0 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/packages/games-strategy/ufoai/ufoai-2.4.exheres-0 b/packages/games-strategy/ufoai/ufoai-2.4.exheres-0
index 57a0f54..2904915 100644
--- a/packages/games-strategy/ufoai/ufoai-2.4.exheres-0
+++ b/packages/games-strategy/ufoai/ufoai-2.4.exheres-0
@@ -23,7 +23,7 @@ DEPENDENCIES="
build+run:
media-libs/SDL[>=1.2.10]
media-libs/SDL_image[>=1.2.10]
- media-libs/SDL_mixer[>=1.2.7]
+ media-libs/SDL_mixer[>=1.2.7][ogg]
media-libs/SDL_ttf[>=2.0.7]
media-libs/jpeg[>=6.2]
media-libs/libogg
--
1.7.10.4
From ccb9e6a26292647b394f58bc5e9601807b719669 Mon Sep 17 00:00:00 2001
From: Sergei Shilovsky <[email protected]>
Date: Sun, 2 Dec 2012 08:33:05 +0000
Subject: [PATCH 2/2] games-strategies/ufoai requires SDL[X] to start
---
packages/games-strategy/ufoai/ufoai-2.4.exheres-0 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/packages/games-strategy/ufoai/ufoai-2.4.exheres-0 b/packages/games-strategy/ufoai/ufoai-2.4.exheres-0
index 2904915..9b3a9f7 100644
--- a/packages/games-strategy/ufoai/ufoai-2.4.exheres-0
+++ b/packages/games-strategy/ufoai/ufoai-2.4.exheres-0
@@ -21,7 +21,7 @@ MYOPTIONS="
DEPENDENCIES="
build+run:
- media-libs/SDL[>=1.2.10]
+ media-libs/SDL[>=1.2.10][X]
media-libs/SDL_image[>=1.2.10]
media-libs/SDL_mixer[>=1.2.7][ogg]
media-libs/SDL_ttf[>=2.0.7]
--
1.7.10.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment