games-engines/system3-sdl2 - 1.7.1 (guru)

Search

Install

Install this version:

emerge -a =games-engines/system3-sdl2-1.7.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =games-engines/system3-sdl2-1.7.1

Or alternatively:

emerge --autounmask-write -a =games-engines/system3-sdl2-1.7.1

Package Information

Description:
SDL2 port of AliceSoft's System3 for Win32 by Takeda Toshiya.
Homepage:
https://github.com/kichikuou/system3-sdl2
License:
GPL-2 BSD

Ebuild Details

Version EAPI Keywords Slot
1.7.1 8 ~amd64 0
View Raw Ebuild
EAPI=8

inherit cmake

YMFM_COMMIT="10c72f79bea3e0ab66af32d4295519aa17e6ea0f"  # Check if this needs updating on xsystem35 updates

DESCRIPTION="SDL2 port of AliceSoft's System3 for Win32 by Takeda Toshiya."
HOMEPAGE="https://github.com/kichikuou/system3-sdl2"
SRC_URI="
	https://github.com/kichikuou/system3-sdl2/archive/v${PV}.tar.gz -> ${P}.tar.gz
	https://github.com/aaronsgiles/ymfm/archive/${YMFM_COMMIT}.tar.gz -> ymfm-${YMFM_COMMIT}.tar.gz
"

LICENSE="GPL-2"
# ymfm submodule license
LICENSE+=" BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="rtmidi debug"

DEPEND="
	media-libs/libsdl2
	media-libs/sdl2-mixer
	media-libs/sdl2-ttf
	rtmidi? ( media-libs/rtmidi )"
RDEPEND="${DEPEND}
	|| ( gnome-extra/zenity kde-apps/kdialog x11-misc/xdialog )"
BDEPEND="virtual/pkgconfig"

src_unpack() {
	default

	rmdir "${S}"/deps/ymfm || die
	mv "${WORKDIR}"/ymfm-${YMFM_COMMIT}/ "${S}"/deps/ymfm || die
}

src_configure() {
	local mycmakeargs=(
		-DCMAKE_BUILD_TYPE=$(usex debug Debug Release)
		-DENABLE_DEBUGGER=$(usex debug)
		-DBUILD_SHARED_LIBS=OFF
	)
	cmake_src_configure
}

src_install() {
	cmake_src_install

	# Install additional documentation
	dodoc CHANGELOG.md game_compatibility.md
}

USE Flags

Manage flags for this package: euse -i <flag> -p games-engines/system3-sdl2 | euse -E <flag> -p games-engines/system3-sdl2 | euse -D <flag> -p games-engines/system3-sdl2

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

	media-libs/libsdl2
	media-libs/sdl2-mixer
	media-libs/sdl2-ttf
	rtmidi? ( media-libs/rtmidi )

RDEPEND

${DEPEND}
	|| ( gnome-extra/zenity kde-apps/kdialog x11-misc/xdialog )

BDEPEND

virtual/pkgconfig

Manifest for 1.7.1

Type File Size Source URLs
DIST system3-sdl2-1.7.1.tar.gz 1601000 bytes https://github.com/kichikuou/system3-sdl2/archive/v1.7.1.tar.gz
DIST ymfm-10c72f79bea3e0ab66af32d4295519aa17e6ea0f.tar.gz 133678 bytes https://github.com/aaronsgiles/ymfm/archive/10c72f79bea3e0ab66af32d4295519aa17e6ea0f.tar.gz