Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: asusctl-4.7.2
@ 2023-10-31 15:59 hyperglue
  2023-10-31 17:09 ` [PR PATCH] [Updated] " hyperglue
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: hyperglue @ 2023-10-31 15:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1179 bytes --]

There is a new pull request by hyperglue against master on the void-packages repository

https://github.com/hyperglue/void-packages asusctl-v2
https://github.com/void-linux/void-packages/pull/46984

New package: asusctl-4.7.2
Hi! This is sequel to my [previous PR](https://github.com/void-linux/void-packages/pull/44120). I've fixed the errors that were pointed out and updated to the newest version.

#### 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/46984.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-asusctl-v2-46984.patch --]
[-- Type: text/x-diff, Size: 2148 bytes --]

From 3796adfb8ed43e017c026cd309bac27a9c6f4002 Mon Sep 17 00:00:00 2001
From: hyperglue <hyperglue@autumnmail.org>
Date: Tue, 31 Oct 2023 16:47:22 +0100
Subject: [PATCH] New package: asusctl-4.7.2

---
 srcpkgs/asusctl-rog-gui         |  1 +
 srcpkgs/asusctl/files/asusd/run |  3 +++
 srcpkgs/asusctl/template        | 29 +++++++++++++++++++++++++++++
 3 files changed, 33 insertions(+)
 create mode 120000 srcpkgs/asusctl-rog-gui
 create mode 100644 srcpkgs/asusctl/files/asusd/run
 create mode 100644 srcpkgs/asusctl/template

diff --git a/srcpkgs/asusctl-rog-gui b/srcpkgs/asusctl-rog-gui
new file mode 120000
index 0000000000000..386c0ccc71fc9
--- /dev/null
+++ b/srcpkgs/asusctl-rog-gui
@@ -0,0 +1 @@
+asusctl
\ No newline at end of file
diff --git a/srcpkgs/asusctl/files/asusd/run b/srcpkgs/asusctl/files/asusd/run
new file mode 100644
index 0000000000000..94e48b1045c41
--- /dev/null
+++ b/srcpkgs/asusctl/files/asusd/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+export IS_SERVICE=1
+exec asusd
diff --git a/srcpkgs/asusctl/template b/srcpkgs/asusctl/template
new file mode 100644
index 0000000000000..a511478e16690
--- /dev/null
+++ b/srcpkgs/asusctl/template
@@ -0,0 +1,29 @@
+# Template file for 'asusctl'
+pkgname=asusctl
+version=4.7.2
+revision=1
+build_style="gnu-makefile"
+hostmakedepends="cargo pkgconf clang"
+makedepends="eudev-libudev-devel gtk+3-devel pango-devel pangomm-devel gdk-pixbuf-devel cairo-devel glib-devel atkmm-devel freetype-devel expat-devel"
+depends="libayatana-appindicator"
+short_desc="ASUS ROG laptops control utilities"
+maintainer="hyperglue <hyperglue@autumnmail.org>"
+license="MPL-2.0"
+homepage="https://gitlab.com/asus-linux/asusctl"
+distfiles="https://gitlab.com/asus-linux/asusctl/-/archive/${version}/asusctl-${version}.tar.gz"
+checksum="674248720f1bfc5495d08c7817615a6daa96a55e3bf9335f2f8bb7e3292041a2"
+
+post_install() {
+	vsv asusd
+}
+
+asusctl-rog-gui_package() {
+	short_desc+=" - graphical interface"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove /usr/share/applications
+		vmove /usr/share/icons
+		vmove /usr/share/rog-gui
+		vmove /usr/bin/rog-control-center
+	}
+}

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-05-15  1:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-31 15:59 [PR PATCH] New package: asusctl-4.7.2 hyperglue
2023-10-31 17:09 ` [PR PATCH] [Updated] " hyperglue
2023-10-31 17:11 ` hyperglue
2024-01-25  1:20 ` abenson
2024-01-25  1:20 ` abenson
2024-01-25  1:21 ` abenson
2024-01-31  3:22 ` [PR PATCH] [Updated] " abenson
2024-05-01  1:47 ` github-actions
2024-05-15  1:48 ` [PR PATCH] [Closed]: " github-actions

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).