Skip to content

Commit

Permalink
games-emulation/melonds: update doc
Browse files Browse the repository at this point in the history
Signed-off-by: Maciej Barć <[email protected]>
  • Loading branch information
xgqt committed Jan 1, 2024
1 parent d45c9a3 commit 23da15c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2019-2023 Gentoo Authors
# Copyright 2019-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
Expand All @@ -12,13 +12,15 @@ DESCRIPTION="Nintendo DS emulator, sorta"
HOMEPAGE="http://melonds.kuribo64.net
https://github.com/Arisotura/melonDS"

if [[ ${PV} == *9999* ]] ; then
if [[ "${PV}" == *9999* ]] ; then
inherit git-r3

EGIT_REPO_URI="https://github.com/Arisotura/${MY_PN}.git"
else
SRC_URI="https://github.com/Arisotura/${MY_PN}/archive/${PV}.tar.gz
-> ${MY_P}.tar.gz"
S="${WORKDIR}"/${MY_P}
S="${WORKDIR}/${MY_P}"

KEYWORDS="amd64"
fi

Expand Down Expand Up @@ -60,7 +62,7 @@ DOC_CONTENTS="You need the following files in order to run melonDS:
- firmware.bin
- romlist.bin
Place them in ~/.config/melonDS
Those files can be found somewhere on the Internet ;-)"
Those files can be extracted from devices or found somewhere on the Internet ;-)"

src_prepare() {
filter-lto
Expand All @@ -70,7 +72,7 @@ src_prepare() {
}

src_configure() {
local mycmakeargs=(
local -a mycmakeargs=(
-DBUILD_SHARED_LIBS=OFF
-DENABLE_JIT=$(usex jit)
-DENABLE_OGLRENDERER=$(usex opengl)
Expand Down
12 changes: 7 additions & 5 deletions games-emulation/melonds/melonds-9999.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2019-2023 Gentoo Authors
# Copyright 2019-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
Expand All @@ -12,13 +12,15 @@ DESCRIPTION="Nintendo DS emulator, sorta"
HOMEPAGE="http://melonds.kuribo64.net
https://github.com/Arisotura/melonDS"

if [[ ${PV} == *9999* ]] ; then
if [[ "${PV}" == *9999* ]] ; then
inherit git-r3

EGIT_REPO_URI="https://github.com/Arisotura/${MY_PN}.git"
else
SRC_URI="https://github.com/Arisotura/${MY_PN}/archive/${PV}.tar.gz
-> ${MY_P}.tar.gz"
S="${WORKDIR}"/${MY_P}
S="${WORKDIR}/${MY_P}"

KEYWORDS="~amd64"
fi

Expand Down Expand Up @@ -51,7 +53,7 @@ DOC_CONTENTS="You need the following files in order to run melonDS:
- firmware.bin
- romlist.bin
Place them in ~/.config/melonDS
Those files can be found somewhere on the Internet ;-)"
Those files can be extracted from devices or found somewhere on the Internet ;-)"

src_prepare() {
filter-lto
Expand All @@ -61,7 +63,7 @@ src_prepare() {
}

src_configure() {
local mycmakeargs=(
local -a mycmakeargs=(
-DBUILD_SHARED_LIBS=OFF
-DENABLE_JIT=$(usex jit)
-DENABLE_OGLRENDERER=$(usex opengl)
Expand Down

0 comments on commit 23da15c

Please sign in to comment.