Compare commits

...

4 Commits

Author SHA1 Message Date
Markus Volk
0933624285 nwg-dock-hyprland: add systemd service file 2024-06-13 18:13:15 +02:00
Markus Volk
4b1ed6d612 hyprutils: update 2024-06-13 15:22:15 +02:00
Markus Volk
446077c28c xdg-desktop-portal-hyprland: update 2024-06-13 15:21:47 +02:00
Markus Volk
3f2f060da5 hyprland: update 2024-06-13 15:21:27 +02:00
4 changed files with 25 additions and 7 deletions

View File

@ -1,3 +1,3 @@
SRC_URI = "gitsm://github.com/hyprwm/xdg-desktop-portal-hyprland.git;protocol=https;nobranch=1" SRC_URI = "gitsm://github.com/hyprwm/xdg-desktop-portal-hyprland.git;protocol=https;nobranch=1"
SRCREV = "15fd76cb6ebb0e3c3b2c3a3daf452e7b781c6e8a" SRCREV = "24be4a26f0706e456fca1b61b8c79f7486a9e86d"
PV = "1.3.1" PV = "1.3.2"

View File

@ -26,9 +26,27 @@ do_install:append() {
# remove precompiled x86 binaries # remove precompiled x86 binaries
rm -rf ${D}${libdir}/go/src/${GO_IMPORT}/bin rm -rf ${D}${libdir}/go/src/${GO_IMPORT}/bin
rm -rf ${D}${libdir}/go/pkg/mod/github.com/dlasky/gotk3-layershell*/example rm -rf ${D}${libdir}/go/pkg/mod/github.com/dlasky/gotk3-layershell*/example
install -d ${D}${datadir}/nwg-dock-hyprland install -d ${D}${datadir}/nwg-dock-hyprland ${D}${systemd_user_unitdir}
install -m 0644 ${S}/src/${GO_IMPORT}/config/style.css ${D}${datadir}/nwg-dock-hyprland install -m 0644 ${S}/src/${GO_IMPORT}/config/style.css ${D}${datadir}/nwg-dock-hyprland
cp -rf ${S}/src/${GO_IMPORT}/images ${D}${datadir}/nwg-dock-hyprland cp -rf ${S}/src/${GO_IMPORT}/images ${D}${datadir}/nwg-dock-hyprland
cat >${D}${systemd_user_unitdir}/nwg-dock-hyprland.service <<EOF
[Unit]
Description=nwg-dock-hyprland
[Service]
LockPersonality=yes
MemoryDenyWriteExecute=yes
NoNewPrivileges=yes
RestrictNamespaces=yes
Type=simple
ExecStart= /usr/bin/nwg-dock-hyprland -mb 6 -d -hd 2000
Restart=on-failure
[Install]
WantedBy=graphical-session.target
EOF
} }
do_compile[network] = "1" do_compile[network] = "1"
FILES:${PN} += "${systemd_user_unitdir}"

View File

@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=778ddc598b3f2a2da3657dda514da983"
SRC_URI = "git://github.com/hyprwm/hyprutils.git;protocol=https;branch=main" SRC_URI = "git://github.com/hyprwm/hyprutils.git;protocol=https;branch=main"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
SRCREV = "fce960f0dd1120057d604a6389211797be836762" SRCREV = "8e10e0626fb26a14b859b3811b6ed7932400c86e"
PV = "0.1.1" PV = "0.1.2"
inherit cmake inherit cmake

View File

@ -41,8 +41,8 @@ RRECOMMENDS:${PN} ?= " \
SRC_URI = "gitsm://github.com/hyprwm/Hyprland.git;protocol=https;branch=main" SRC_URI = "gitsm://github.com/hyprwm/Hyprland.git;protocol=https;branch=main"
SRCREV = "ea2501d4556f84d3de86a4ae2f4b22a474555b9f" SRCREV = "4842eb83b444418ad3fe1901d645dd02224989e5"
PV = "0.41" PV = "0.41.1"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
inherit meson pkgconfig features_check inherit meson pkgconfig features_check