dev-libs/spsdeclib - 5.1 (gentoo)

Search

Install

Install this version:

emerge -a =dev-libs/spsdeclib-5.1

Package Information

Description:
Kryoflux SPS Decoder Library
Homepage:
https://www.kryoflux.com/
License:
Kryoflux-MAME

Ebuild Details

Version EAPI Keywords Slot
5.1 8 amd64 ~arm64 x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools

DESCRIPTION="Kryoflux SPS Decoder Library"
HOMEPAGE="https://www.kryoflux.com/"
SRC_URI="https://www.kryoflux.com/download/${PN}_${PV}_source.zip"
S="${WORKDIR}/capsimg_source_linux_macosx/CAPSImg"

LICENSE="Kryoflux-MAME"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"

BDEPEND="app-arch/unzip"

DOCS=( "${WORKDIR}"/{DONATIONS,HISTORY,RELEASE}.txt )

PATCHES=( "${FILESDIR}"/add_symlink.patch )

src_unpack() {
	unpack ${A}

	# Unpacked ZIP-file contains two ZIP files, use the one for Linux
	unpack "${WORKDIR}"/capsimg_source_linux_macosx.zip
}

src_prepare() {
	default

	# Respect users CFLAGS and CXXFLAGS
	sed -i -e 's/-g//' configure.in || die
	sed -i -e 's/CXXFLAGS="${CFLAGS}/CXXFLAGS="${CXXFLAGS}/' configure.in || die

	# Remove MSVC compiler-specific attribute
	sed -i -e 's/__cdecl //' ../LibIPF/Caps{Lib,FDC}.h || die

	mv configure.in configure.ac || die
	eautoconf

	# Fix permissions, as configure is not marked executable
	chmod +x configure || die
}

src_install() {
	default

	insinto /usr/include/caps5
	doins ../Core/CommonTypes.h ../LibIPF/*.h
}

Inherited Eclasses

Dependencies

BDEPEND

app-arch/unzip

Manifest for 5.1

Type File Size Source URLs
DIST spsdeclib_5.1_source.zip 282236 bytes https://www.kryoflux.com/download/spsdeclib_5.1_source.zip