gnome3.gnome-sound-recorder: 3.34.0 -> 3.38.0

* add libhandy
* cleanup

https://gitlab.gnome.org/GNOME/gnome-sound-recorder/-/blob/3.38.0/data/appdata/org.gnome.SoundRecorder.metainfo.xml.in.in
This commit is contained in:
WORLDofPEACE 2020-09-20 22:10:25 -04:00 committed by Jan Tojnar
parent f0712e782c
commit f0c3fa3a06
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

@ -1,30 +1,60 @@
{ stdenv, fetchurl, pkgconfig, gettext, gobject-introspection, wrapGAppsHook, gjs, glib, gtk3, gdk-pixbuf, gst_all_1, gnome3
, meson, ninja, python3, desktop-file-utils }:
{ stdenv
, fetchurl
, pkgconfig
, gettext
, gobject-introspection
, wrapGAppsHook
, gjs
, glib
, gtk3
, gdk-pixbuf
, gst_all_1
, gnome3
, meson
, ninja
, python3
, desktop-file-utils
, libhandy
}:
stdenv.mkDerivation rec {
pname = "gnome-sound-recorder";
version = "3.34.0";
version = "3.38.0";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1i442qas2dkp5d9j9j1z1jicb4cb7jkgbcl4c36bmhvaq3hddwa9";
sha256 = "I5A/c2G+QQhw+6lHIJFnuW9JB2MGQdM8y6qOQvV0tpk=";
};
nativeBuildInputs = [
pkgconfig gettext meson ninja gobject-introspection
wrapGAppsHook python3 desktop-file-utils
pkgconfig
gettext
meson
ninja
gobject-introspection
wrapGAppsHook
python3
desktop-file-utils
];
buildInputs = [ gjs glib gtk3 gdk-pixbuf ] ++ (with gst_all_1; [ gstreamer.dev gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad ]);
buildInputs = [
gjs
glib
gtk3
gdk-pixbuf
libhandy
] ++ (with gst_all_1; [
gstreamer
gst-plugins-base
gst-plugins-good
gst-plugins-bad # for gstreamer-player-1.0
]);
postPatch = ''
chmod +x build-aux/meson_post_install.py
patchShebangs build-aux/meson_post_install.py
'';
# TODO: fix this in gstreamer
# TODO: make stdenv.lib.getBin respect outputBin
PKG_CONFIG_GSTREAMER_1_0_TOOLSDIR = "${gst_all_1.gstreamer.dev}/bin";
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;