commit: 412d85d4a5bd44abd86d9b25511ccdaa0cef2a3e
parent: e09f6921f384ce1e9e61b504481b685dff63e5d3
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Wed, 21 Mar 2018 15:04:16 +0100
games-arcade/oshu: Bump live ebuild
Diffstat:
1 file changed, 12 insertions(+), 13 deletions(-)
diff --git a/games-arcade/oshu/oshu-9999.ebuild b/games-arcade/oshu/oshu-9999.ebuild
@@ -7,7 +7,7 @@ inherit cmake-utils git-r3
DESCRIPTION="Lightweight osu! port"
HOMEPAGE="https://github.com/fmang/oshu"
-SRC_URI="osu-skin? ( https://www.mg0.fr/oshu/skins/osu-v1.tar.gz -> ${PN}-v1.tar.gz )"
+SRC_URI="osu-skin? ( https://www.mg0.fr/oshu/skins/osu-v1.tar.gz -> ${PN}-skin-v1.tar.gz )"
KEYWORDS=""
LICENSE="GPL-3 CC-BY-NC-4.0"
SLOT="0"
@@ -16,20 +16,19 @@ IUSE="osu-skin"
EGIT_REPO_URI="https://github.com/fmang/oshu.git"
CMAKE_MIN_VERSION="3.9.0"
-RDEPENDS="
- media-libs/libsdl2:=
- media-libs/sdl2-image:=
+RDEPEND="
+ >=media-libs/libsdl2-2.0.5:=
+ media-libs/sdl2-image:=[jpeg,png]
x11-libs/cairo:=
x11-libs/pango:=
- || (
- media-video/ffmpeg:=
- media-video/libav:=
- )"
+ !libav? ( media-video/ffmpeg:= )
+ libav? ( media-video/libav:= )
+"
-DEPENDS="
- ${RDEPENDS}
+DEPEND="
+ ${RDEPEND}
virtual/pkgconfig
- "
+"
src_configure() {
if use osu-skin; then
@@ -43,7 +42,7 @@ src_configure() {
"-DOSHU_DEFAULT_SKIN=minimal"
"-DOSHU_SKINS=minimal"
)
- fi
+ fi
cmake-utils_src_configure
}
@@ -51,7 +50,7 @@ src_configure() {
src_compile() {
if use osu-skin; then
mkdir -p "${BUILD_DIR}/share/skins" || die
- cp "${DISTDIR}/${PN}-v1.tar.gz" "${BUILD_DIR}/share/skins/osu.tar.gz" || die
+ cp "${DISTDIR}/${PN}-skin-v1.tar.gz" "${BUILD_DIR}/share/skins/osu.tar.gz" || die
fi
default