fedora-backgrounds.f35: init at 35.0.1

This commit is contained in:
Gabriel Arazas 2023-05-01 11:48:01 +08:00
parent 067f90de85
commit 08a3a248c4
2 changed files with 35 additions and 0 deletions

View file

@ -31,4 +31,13 @@ in {
patches = [ ./f34-fix-xfce-path.patch ];
};
f35 = fedoraBackground rec {
version = "35.0.1";
src = fetchurl {
url = "https://github.com/fedoradesign/backgrounds/releases/download/v${version}/f${lib.versions.major version}-backgrounds-${version}.tar.xz";
hash = "sha256-7t78sQ0BIkzgJ+phO55Bomyz02d8Vx1LAtSkjX8ppgE=";
};
# Fix broken symlinks in the Xfce background directory.
patches = [ ./f35-fix-xfce-path.patch ];
};
}

View file

@ -0,0 +1,26 @@
diff --git a/default/Makefile b/default/Makefile
index 2041ce2..f31a0f2 100644
--- a/default/Makefile
+++ b/default/Makefile
@@ -1,7 +1,7 @@
WP_NAME=f35
WP_BIGNAME=F35
WP_DIR=$(DESTDIR)/usr/share/backgrounds/$(WP_NAME)
-WP_DIR_LN=/usr/share/backgrounds/$(WP_NAME)
+WP_DIR_LN=$(DESTDIR)/usr/share/backgrounds/$(WP_NAME)
GNOME_BG_DIR=$(DESTDIR)/usr/share/gnome-background-properties
KDE_BG_DIR=$(DESTDIR)/usr/share/wallpapers
MATE_BG_DIR=$(DESTDIR)/usr/share/mate-background-properties
diff --git a/extras/Makefile b/extras/Makefile
index 95e92e4..4d43a22 100644
--- a/extras/Makefile
+++ b/extras/Makefile
@@ -45,7 +45,7 @@ install:
$(LN_S) ../../../../backgrounds/f35/extras/$${theme}.png \
$(KDE_BG_DIR)/F35_$${theme}/contents/images/$${res}.png ; \
done; \
- $(LN_S) ../backgrounds/f35/extras/$${theme}.png \
+ $(LN_S) ../../backgrounds/f35/extras/$${theme}.png \
$(XFCE_BG_DIR)/f35-$${theme}.png ;\
done;