Merge pull request #241491 from zendo/upd/podcasts

gnome-podcasts: 0.5.1 -> 0.6.0
This commit is contained in:
Sandro 2023-07-23 17:56:45 +02:00 committed by GitHub
commit 2d75e58c87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1251 additions and 986 deletions

File diff suppressed because it is too large Load Diff

View File

@ -2,48 +2,36 @@
, lib
, rustPlatform
, fetchFromGitLab
, fetchpatch
, cargo
, meson
, ninja
, gettext
, python3
, pkg-config
, rustc
, glib
, libhandy
, gtk3
, gtk4
, libadwaita
, appstream-glib
, desktop-file-utils
, dbus
, openssl
, sqlite
, gst_all_1
, wrapGAppsHook
, wrapGAppsHook4
}:
stdenv.mkDerivation rec {
pname = "gnome-podcasts";
version = "0.5.1";
version = "0.6.0";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "World";
repo = "podcasts";
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 {
lockFile = ./Cargo.lock;
outputHashes = {
@ -55,21 +43,19 @@ stdenv.mkDerivation rec {
meson
ninja
pkg-config
gettext
python3
cargo
rustPlatform.cargoSetupHook
rustc
wrapGAppsHook
glib
wrapGAppsHook4
appstream-glib
desktop-file-utils
];
buildInputs = [
appstream-glib
desktop-file-utils
glib
gtk3
libhandy
gtk4
libadwaita
gettext
dbus
openssl
sqlite
@ -82,11 +68,6 @@ stdenv.mkDerivation rec {
# tests require network
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; {
description = "Listen to your favorite podcasts";
homepage = "https://wiki.gnome.org/Apps/Podcasts";