1
0
flewkey-overlay/games-emulation/retro-gtk/retro-gtk-1.0.2.ebuild
Ryan Fox 7c38df5fb3
games-emulation/retro-gtk: New package
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Ryan Fox <flewkey@2a03.party>
2021-11-21 17:34:31 -08:00

42 lines
867 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson
if [[ ${PV} != *9999* ]]; then
SRC_URI="https://gitlab.gnome.org/GNOME/retro-gtk/-/archive/${PV}/${P}.tar.gz"
KEYWORDS="~amd64"
else
inherit git-r3
EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/retro-gtk.git"
fi
DESCRIPTION="GTK libretro frontend"
HOMEPAGE="https://gnome.pages.gitlab.gnome.org/retro-gtk/"
LICENSE="GPL-3"
SLOT="0"
IUSE="vala introspection"
REQUIRED_USE="vala? ( introspection )"
DEPEND="
dev-libs/glib
gui-libs/gtk:4
media-libs/libsamplerate
media-sound/pulseaudio
x11-libs/cairo
introspection? ( dev-libs/gobject-introspection )
vala? ( dev-lang/vala:* )
"
RDEPEND="${DEPEND}"
BDEPEND=""
src_configure() {
local emesonargs=(
$(meson_use introspection)
$(meson_use vala vapi)
)
meson_src_configure
}