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:
parent
f0712e782c
commit
f0c3fa3a06
@ -1,30 +1,60 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, gettext, gobject-introspection, wrapGAppsHook, gjs, glib, gtk3, gdk-pixbuf, gst_all_1, gnome3
|
{ stdenv
|
||||||
, meson, ninja, python3, desktop-file-utils }:
|
, 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 {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-sound-recorder";
|
pname = "gnome-sound-recorder";
|
||||||
version = "3.34.0";
|
version = "3.38.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "1i442qas2dkp5d9j9j1z1jicb4cb7jkgbcl4c36bmhvaq3hddwa9";
|
sha256 = "I5A/c2G+QQhw+6lHIJFnuW9JB2MGQdM8y6qOQvV0tpk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkgconfig gettext meson ninja gobject-introspection
|
pkgconfig
|
||||||
wrapGAppsHook python3 desktop-file-utils
|
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 = ''
|
postPatch = ''
|
||||||
chmod +x build-aux/meson_post_install.py
|
chmod +x build-aux/meson_post_install.py
|
||||||
patchShebangs 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 = {
|
passthru = {
|
||||||
updateScript = gnome3.updateScript {
|
updateScript = gnome3.updateScript {
|
||||||
packageName = pname;
|
packageName = pname;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user