retro-gtk: init at 1.0.2

This commit is contained in:
Damien Cassou 2021-05-23 18:15:06 +02:00
parent dfc55d71ec
commit bf2a58483d
No known key found for this signature in database
GPG key ID: B68746238E59B548
3 changed files with 83 additions and 0 deletions

View file

@ -0,0 +1,70 @@
{ lib
, stdenv
, fetchurl
, cmake
, meson
, ninja
, pkg-config
, epoxy
, glib
, gtk3
, libpulseaudio
, libsamplerate
, gobject-introspection
, vala
, gtk-doc
}:
stdenv.mkDerivation rec {
pname = "retro-gtk";
version = "1.0.2";
src = fetchurl {
url = "mirror://gnome/sources/retro-gtk/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1lnb7dwcj3lrrvdzd85dxwrlid28xf4qdbrgfjyg1wn1z6sv063i";
};
patches = [
# https://gitlab.gnome.org/GNOME/retro-gtk/-/merge_requests/150
./gio-unix.patch
];
nativeBuildInputs = [
gobject-introspection
gtk-doc
meson
ninja
pkg-config
vala
];
buildInputs = [
epoxy
glib
gtk3
libpulseaudio
libsamplerate
];
meta = with lib; {
description = "The GTK Libretro frontend framework";
longDescription = ''
Libretro is a plugin format design to implement video game
console emulators, video games and similar multimedia
software. Such plugins are called Libretro cores.
RetroGTK is a framework easing the use of Libretro cores in
conjunction with GTK.
It encourages the cores to be installed in a well defined
centralized place namely the libretro subdirectory of your lib
directory and it recommends them to come with Libretro core
descriptors.
'';
homepage = "https://gitlab.gnome.org/GNOME/retro-gtk";
changelog = "https://gitlab.gnome.org/GNOME/retro-gtk/-/blob/master/NEWS";
license = licenses.gpl3Plus;
maintainers = [ maintainers.DamienCassou ];
platforms = platforms.all;
};
}

View file

@ -0,0 +1,11 @@
--- a/retro-gtk/meson.build 2021-03-21 20:25:51.000000000 +0100
+++ b/retro-gtk/meson.build 2021-05-23 17:36:46.793693816 +0200
@@ -103,6 +103,7 @@
retro_gtk_deps = [
epoxy,
gio,
+ gio_unix,
glib,
gmodule,
gobject,

View file

@ -17903,6 +17903,8 @@ in
randomx = callPackage ../development/libraries/randomx { };
retro-gtk = callPackage ../development/libraries/retro-gtk { };
resolv_wrapper = callPackage ../development/libraries/resolv_wrapper { };
rhino = callPackage ../development/libraries/java/rhino {