Merge pull request #241491 from zendo/upd/podcasts
gnome-podcasts: 0.5.1 -> 0.6.0
This commit is contained in:
commit
2d75e58c87
2196
pkgs/applications/audio/gnome-podcasts/Cargo.lock
generated
2196
pkgs/applications/audio/gnome-podcasts/Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -2,48 +2,36 @@
|
|||||||
, lib
|
, lib
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, fetchFromGitLab
|
, fetchFromGitLab
|
||||||
, fetchpatch
|
|
||||||
, cargo
|
, cargo
|
||||||
, meson
|
, meson
|
||||||
, ninja
|
, ninja
|
||||||
, gettext
|
, gettext
|
||||||
, python3
|
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, rustc
|
, rustc
|
||||||
, glib
|
, glib
|
||||||
, libhandy
|
, gtk4
|
||||||
, gtk3
|
, libadwaita
|
||||||
, appstream-glib
|
, appstream-glib
|
||||||
, desktop-file-utils
|
, desktop-file-utils
|
||||||
, dbus
|
, dbus
|
||||||
, openssl
|
, openssl
|
||||||
, sqlite
|
, sqlite
|
||||||
, gst_all_1
|
, gst_all_1
|
||||||
, wrapGAppsHook
|
, wrapGAppsHook4
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnome-podcasts";
|
pname = "gnome-podcasts";
|
||||||
version = "0.5.1";
|
version = "0.6.0";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
domain = "gitlab.gnome.org";
|
domain = "gitlab.gnome.org";
|
||||||
owner = "World";
|
owner = "World";
|
||||||
repo = "podcasts";
|
repo = "podcasts";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "00vy1qkkpn76jdpybsq9qp8s6fh1ih10j73p2x43sl97m5g8944h";
|
hash = "sha256-jnuy2UUPklfOYObSJPSqNhqqrfUP7N80pPmnw0rlB9A=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# Fix build with meson 0.61, can be removed on next release.
|
|
||||||
# podcasts-gtk/resources/meson.build:5:0: ERROR: Function does not take positional arguments.
|
|
||||||
# podcasts-gtk/resources/meson.build:30:0: ERROR: Function does not take positional arguments.
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://gitlab.gnome.org/World/podcasts/-/commit/6614bb62ecbec7c3b18ea7fe44beb50fe7942b27.patch";
|
|
||||||
sha256 = "3TVKFV9V6Ofdajgkdc+j+yxsU21C4JWSc6GjLExSM00=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
cargoDeps = rustPlatform.importCargoLock {
|
cargoDeps = rustPlatform.importCargoLock {
|
||||||
lockFile = ./Cargo.lock;
|
lockFile = ./Cargo.lock;
|
||||||
outputHashes = {
|
outputHashes = {
|
||||||
@ -55,21 +43,19 @@ stdenv.mkDerivation rec {
|
|||||||
meson
|
meson
|
||||||
ninja
|
ninja
|
||||||
pkg-config
|
pkg-config
|
||||||
gettext
|
|
||||||
python3
|
|
||||||
cargo
|
cargo
|
||||||
rustPlatform.cargoSetupHook
|
rustPlatform.cargoSetupHook
|
||||||
rustc
|
rustc
|
||||||
wrapGAppsHook
|
wrapGAppsHook4
|
||||||
glib
|
appstream-glib
|
||||||
|
desktop-file-utils
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
appstream-glib
|
|
||||||
desktop-file-utils
|
|
||||||
glib
|
glib
|
||||||
gtk3
|
gtk4
|
||||||
libhandy
|
libadwaita
|
||||||
|
gettext
|
||||||
dbus
|
dbus
|
||||||
openssl
|
openssl
|
||||||
sqlite
|
sqlite
|
||||||
@ -82,11 +68,6 @@ stdenv.mkDerivation rec {
|
|||||||
# tests require network
|
# tests require network
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
chmod +x scripts/compile-gschema.py # patchShebangs requires executable file
|
|
||||||
patchShebangs scripts/compile-gschema.py scripts/cargo.sh scripts/test.sh
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Listen to your favorite podcasts";
|
description = "Listen to your favorite podcasts";
|
||||||
homepage = "https://wiki.gnome.org/Apps/Podcasts";
|
homepage = "https://wiki.gnome.org/Apps/Podcasts";
|
||||||
|
Loading…
Reference in New Issue
Block a user