diff options
| author | emmett1 <emmett1.2miligrams@protonmail.com> | 2024-07-09 19:03:17 +0800 |
|---|---|---|
| committer | emmett1 <emmett1.2miligrams@protonmail.com> | 2024-07-09 19:03:17 +0800 |
| commit | ab5ff65dc16e9f517d932be82a681aa399dd820c (patch) | |
| tree | 6b3375676f3301f6d71b53fbf329a37261ae8d61 /repos | |
| parent | d9a6b0893bef140462dfcf6ffa4ed27566cffc3a (diff) | |
| download | alicelinux-ab5ff65dc16e9f517d932be82a681aa399dd820c.tar.gz alicelinux-ab5ff65dc16e9f517d932be82a681aa399dd820c.zip | |
spacefm: added wrapper script fix running in wayland
Diffstat (limited to 'repos')
| -rw-r--r-- | repos/xorg/spacefm/.files | 1 | ||||
| -rw-r--r-- | repos/xorg/spacefm/abuild | 9 | ||||
| -rwxr-xr-x | repos/xorg/spacefm/spacefm | 3 |
3 files changed, 10 insertions, 3 deletions
diff --git a/repos/xorg/spacefm/.files b/repos/xorg/spacefm/.files index 0ca5ba8f..ee188ac0 100644 --- a/repos/xorg/spacefm/.files +++ b/repos/xorg/spacefm/.files @@ -5,6 +5,7 @@ drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/bin/ -rwxr-xr-x root/root usr/bin/spacefm -rwxr-xr-x root/root usr/bin/spacefm-auth +-rwxr-xr-x root/root usr/bin/spacefm-bin -rwxr-xr-x root/root usr/bin/spacefm-installer drwxr-xr-x root/root usr/lib/ drwxr-xr-x root/root usr/share/ diff --git a/repos/xorg/spacefm/abuild b/repos/xorg/spacefm/abuild index 515ba09d..b99e8a1e 100644 --- a/repos/xorg/spacefm/abuild +++ b/repos/xorg/spacefm/abuild @@ -1,20 +1,23 @@ name=spacefm version=1.0.6 -release=1 +release=2 source="https://github.com/IgnorantGuru/${name}/archive/${version}/${name}-${version}.tar.gz spacefm-9999-include-sysmacros.patch spacefm-dash.patch spacefm-fno-common.patch spacefm-gcc14-build-fix.patch - x11-only.patch" + x11-only.patch + $name" build() { ./configure \ --prefix=/usr \ - --disable-hal \ --disable-pixmaps \ --with-gtk3 \ --disable-video-thumbnails make make -j1 $DESTDIR=$PKG install + + mv $PKG/usr/bin/spacefm $PKG/usr/bin/spacefm-bin + install -m755 $SRC/$name $PKG/usr/bin/spacefm } diff --git a/repos/xorg/spacefm/spacefm b/repos/xorg/spacefm/spacefm new file mode 100755 index 00000000..106d0748 --- /dev/null +++ b/repos/xorg/spacefm/spacefm @@ -0,0 +1,3 @@ +#!/bin/sh +export GDK_BACKEND=x11 +exec spacefm-bin $@ |