diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-26 03:55:42 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-26 03:55:42 +0000 |
commit | 61044571b76d87a2eec42d36c9b7addf3e66e000 (patch) | |
tree | 5ac1c90c51a6331aabe26008ffb1150a72d7d2d0 /games-emulation/prosystem-jg/prosystem-jg-1.5.2.ebuild | |
parent | ef596bcaa32d9c69d88a3451193cb242da803db1 (diff) |
gentoo auto-resync : 26:02:2023 - 03:55:42
Diffstat (limited to 'games-emulation/prosystem-jg/prosystem-jg-1.5.2.ebuild')
-rw-r--r-- | games-emulation/prosystem-jg/prosystem-jg-1.5.2.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/games-emulation/prosystem-jg/prosystem-jg-1.5.2.ebuild b/games-emulation/prosystem-jg/prosystem-jg-1.5.2.ebuild new file mode 100644 index 000000000000..2f0bf3126b37 --- /dev/null +++ b/games-emulation/prosystem-jg/prosystem-jg-1.5.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +MY_PN=${PN%-*} +MY_P=${MY_PN}-${PV} +DESCRIPTION="Jolly Good Fork of ProSystem" +HOMEPAGE="https://gitlab.com/jgemu/prosystem" +if [[ "${PV}" == *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.com/jgemu/${MY_PN}.git" +else + SRC_URI="https://gitlab.com/jgemu/${MY_PN}/-/archive/${PV}/${MY_P}.tar.bz2" + S="${WORKDIR}/${MY_P}" + KEYWORDS="~amd64" +fi + +LICENSE="BSD GPL-2+" +SLOT="1" + +DEPEND=" + media-libs/jg:1= +" +RDEPEND=" + ${DEPEND} + games-emulation/jgrf +" +BDEPEND=" + virtual/pkgconfig +" + +src_compile() { + emake CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)" +} + +src_install() { + emake install \ + DESTDIR="${D}" \ + PREFIX="${EPREFIX}"/usr \ + DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \ + LIBDIR="${EPREFIX}/usr/$(get_libdir)" +} |