Browse Source

Add i586 Arch

sisyphus 3.4.1-alt1.3a
Hihin Ruslan 3 years ago
parent
commit
00dfe79c73
  1. 1
      .gear/rules
  2. 12
      lightdm-webkit2-greeter-3.4.1-makefile.patch
  3. 7
      lightdm-webkit2-greeter.spec

1
.gear/rules

@ -1 +1,2 @@
tar: @version@:.
copy: *.patch

12
lightdm-webkit2-greeter-3.4.1-makefile.patch

@ -0,0 +1,12 @@
diff -uNBbwp lightdm-webkit2-greeter-3.4.1/Makefile lightdm-webkit2-greeter-3.4.1-new/Makefile
--- lightdm-webkit2-greeter-3.4.1/Makefile 2022-04-11 22:18:38.000000000 +0000
+++ lightdm-webkit2-greeter-3.4.1-new/Makefile 2022-05-10 10:22:31.989055367 +0000
@@ -190,7 +190,7 @@ bin/screensaver.so := ${BUILD_DIR}/web-g
bin/screensaver.c := ${BUILD_DIR}/web-greeter/bindings/screensaver.c
$(bin/screensaver.so): $(build/web-greeter)
- @gcc ${bin/screensaver.c} -o ${bin/screensaver.so} -shared -lX11 -lxcb
+ @gcc ${bin/screensaver.c} -o ${bin/screensaver.so} -shared -fpic -lX11 -lxcb
@cp ${bin/screensaver.so} src/bindings/
@echo "✔ Screensaver.so compiled"

7
lightdm-webkit2-greeter.spec

@ -9,10 +9,12 @@ Url: https://github.com/JezerM/web-greeter
Packager: Hihin Ruslan <ruslandh@altlinux.ru>
ExcludeArch: aarch64 armh ppc64le i586
ExcludeArch: aarch64 armh ppc64le
Source: %name-%version.tar
Patch: lightdm-webkit2-greeter-3.4.1-makefile.patch
%add_findprov_skiplist %_libdir/web-greeter/*.py
%add_findreq_skiplist %_libdir/web-greeter/*.py
@ -40,6 +42,8 @@ Also, check out nody-greeter, a greeter made in Node.js with Electron! (Actually
%prep
%setup
%make clean
%patch -p1
subst 's,\<lib\>,%_lib,g' Makefile
@ -82,3 +86,4 @@ subst 's,\<lib\>,%_lib,g' Makefile
* Mon May 09 2022 Hihin Ruslan <ruslandh@altlinux.ru> 3.4.1-alt1
- Initial build for Sisyphus

Loading…
Cancel
Save