* [PR PATCH] New package: swayosd-0.1.0
@ 2024-11-20 4:41 Ryoga-exe
2024-11-20 4:49 ` [PR PATCH] [Updated] " Ryoga-exe
0 siblings, 1 reply; 2+ messages in thread
From: Ryoga-exe @ 2024-11-20 4:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1087 bytes --]
There is a new pull request by Ryoga-exe against master on the void-packages repository
https://github.com/Ryoga-exe/void-packages swayosd
https://github.com/void-linux/void-packages/pull/53152
New package: swayosd-0.1.0
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-LIBC)
A patch file from https://github.com/void-linux/void-packages/pull/53152.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-swayosd-53152.patch --]
[-- Type: text/x-diff, Size: 2440 bytes --]
From c26066335649631285f50f9c2b6ad1cf3694a8e6 Mon Sep 17 00:00:00 2001
From: Ryoga-exe <git@ryoga.dev>
Date: Wed, 20 Nov 2024 13:30:12 +0900
Subject: [PATCH] New package: swayosd-0.1.0
---
.../files/swayosd-libinput-backend/run | 4 +++
srcpkgs/swayosd/template | 33 +++++++++++++++++++
2 files changed, 37 insertions(+)
create mode 100644 srcpkgs/swayosd/files/swayosd-libinput-backend/run
create mode 100644 srcpkgs/swayosd/template
diff --git a/srcpkgs/swayosd/files/swayosd-libinput-backend/run b/srcpkgs/swayosd/files/swayosd-libinput-backend/run
new file mode 100644
index 00000000000000..8a5c4558758b61
--- /dev/null
+++ b/srcpkgs/swayosd/files/swayosd-libinput-backend/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+exec 2>&1
+
+exec swayosd-libinput-backend
diff --git a/srcpkgs/swayosd/template b/srcpkgs/swayosd/template
new file mode 100644
index 00000000000000..ec79ced70fb67b
--- /dev/null
+++ b/srcpkgs/swayosd/template
@@ -0,0 +1,33 @@
+# Template file for 'swayosd'
+pkgname=swayosd
+version=0.1.0
+revision=1
+build_style=meson
+configure_args="--buildtype=release"
+hostmakedepends="pkg-config cargo sassc"
+makedepends="eudev-libudev-devel libevdev-devel gtk+3-devel gtk-layer-shell-devel
+ libinput-devel atk-devel glib-devel pulseaudio-devel"
+short_desc="A GTK based on screen display for keyboard shortcuts"
+maintainer="Ryoga-exe <mail@ryoga.dev>"
+license="GPL-3.0-only"
+homepage="https://github.com/ErikReider/SwayOSD"
+changelog="https://github.com/ErikReider/SwayOSD/releases"
+distfiles="https://github.com/ErikReider/SwayOSD/archive/refs/tags/v${version}.tar.gz"
+checksum=5a07607643dc49d19604842f2c2f777f6148981147c425c281b0634254438a0b
+
+do_install() {
+ meson install -C build
+ vbin /usr/bin/swayosd-client
+ vbin /usr/bin/swayosd-server
+ vbin /usr/bin/swayosd-libinput-backend
+ vinstall /usr/share/dbus-1/system.d/org.erikreider.swayosd.conf 644 /usr/share/dbus-1/system.d
+ vinstall /usr/share/dbus-1/system-services/org.erikreider.swayosd.service 644 /usr/share/dbus-1/system-services
+ vinstall /usr/share/polkit-1/actions/org.erikreider.swayosd.policy 644 /usr/share/polkit-1/actions
+ vinstall /usr/share/polkit-1/rules.d/org.erikreider.swayosd.rules 644 /usr/share/polkit-1/rules.d
+ vinstall /usr/lib/udev/rules.d/99-swayosd.rules 644 /usr/lib/udev/rules.d
+ vinstall /etc/xdg/swayosd/style.css 644 /etc/xdg/swayosd
+}
+
+post_install() {
+ vsv swayosd-libinput-backend
+}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Updated] New package: swayosd-0.1.0
2024-11-20 4:41 [PR PATCH] New package: swayosd-0.1.0 Ryoga-exe
@ 2024-11-20 4:49 ` Ryoga-exe
0 siblings, 0 replies; 2+ messages in thread
From: Ryoga-exe @ 2024-11-20 4:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1093 bytes --]
There is an updated pull request by Ryoga-exe against master on the void-packages repository
https://github.com/Ryoga-exe/void-packages swayosd
https://github.com/void-linux/void-packages/pull/53152
New package: swayosd-0.1.0
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
A patch file from https://github.com/void-linux/void-packages/pull/53152.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-swayosd-53152.patch --]
[-- Type: text/x-diff, Size: 2437 bytes --]
From 76e6e01ae50fa85b912b0ef6c056ee6d582c9069 Mon Sep 17 00:00:00 2001
From: Ryoga-exe <git@ryoga.dev>
Date: Wed, 20 Nov 2024 13:30:12 +0900
Subject: [PATCH] swayosd: update to 0.1.0.
---
.../files/swayosd-libinput-backend/run | 4 +++
srcpkgs/swayosd/template | 33 +++++++++++++++++++
2 files changed, 37 insertions(+)
create mode 100644 srcpkgs/swayosd/files/swayosd-libinput-backend/run
create mode 100644 srcpkgs/swayosd/template
diff --git a/srcpkgs/swayosd/files/swayosd-libinput-backend/run b/srcpkgs/swayosd/files/swayosd-libinput-backend/run
new file mode 100644
index 00000000000000..8a5c4558758b61
--- /dev/null
+++ b/srcpkgs/swayosd/files/swayosd-libinput-backend/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+exec 2>&1
+
+exec swayosd-libinput-backend
diff --git a/srcpkgs/swayosd/template b/srcpkgs/swayosd/template
new file mode 100644
index 00000000000000..fbfd54b9305903
--- /dev/null
+++ b/srcpkgs/swayosd/template
@@ -0,0 +1,33 @@
+# Template file for 'swayosd'
+pkgname=swayosd
+version=0.1.0
+revision=1
+build_style=meson
+configure_args="--buildtype=release"
+hostmakedepends="pkg-config cargo sassc"
+makedepends="eudev-libudev-devel libevdev-devel gtk+3-devel gtk-layer-shell-devel
+ libinput-devel atk-devel glib-devel pulseaudio-devel"
+short_desc="GTK based on screen display for keyboard shortcuts"
+maintainer="Ryoga-exe <mail@ryoga.dev>"
+license="GPL-3.0-only"
+homepage="https://github.com/ErikReider/SwayOSD"
+changelog="https://github.com/ErikReider/SwayOSD/releases"
+distfiles="https://github.com/ErikReider/SwayOSD/archive/refs/tags/v${version}.tar.gz"
+checksum=5a07607643dc49d19604842f2c2f777f6148981147c425c281b0634254438a0b
+
+do_install() {
+ meson install -C build
+ vbin /usr/bin/swayosd-client
+ vbin /usr/bin/swayosd-server
+ vbin /usr/bin/swayosd-libinput-backend
+ vinstall /usr/share/dbus-1/system.d/org.erikreider.swayosd.conf 644 /usr/share/dbus-1/system.d
+ vinstall /usr/share/dbus-1/system-services/org.erikreider.swayosd.service 644 /usr/share/dbus-1/system-services
+ vinstall /usr/share/polkit-1/actions/org.erikreider.swayosd.policy 644 /usr/share/polkit-1/actions
+ vinstall /usr/share/polkit-1/rules.d/org.erikreider.swayosd.rules 644 /usr/share/polkit-1/rules.d
+ vinstall /usr/lib/udev/rules.d/99-swayosd.rules 644 /usr/lib/udev/rules.d
+ vinstall /etc/xdg/swayosd/style.css 644 /etc/xdg/swayosd
+}
+
+post_install() {
+ vsv swayosd-libinput-backend
+}
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-11-20 4:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-20 4:41 [PR PATCH] New package: swayosd-0.1.0 Ryoga-exe
2024-11-20 4:49 ` [PR PATCH] [Updated] " Ryoga-exe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).