From: hyperglue <hyperglue@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: asusctl-6.0.11
Date: Wed, 19 Jun 2024 20:24:17 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-50894@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 749 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/50894
New package: asusctl-6.0.11
<!-- 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**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
A patch file from https://github.com/void-linux/void-packages/pull/50894.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-asusctl-v2-50894.patch --]
[-- Type: text/x-diff, Size: 2318 bytes --]
From e72532a72f4f2c5d20b071391e7b723c556d57cc Mon Sep 17 00:00:00 2001
From: hyperglue <119142938+hyperglue@users.noreply.github.com>
Date: Tue, 18 Jun 2024 23:25:37 +0200
Subject: [PATCH] New package: asusctl-6.0.11
---
srcpkgs/asusctl-rog-gui | 1 +
srcpkgs/asusctl/files/asusd/run | 3 +++
srcpkgs/asusctl/template | 30 ++++++++++++++++++++++++++++++
3 files changed, 34 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 00000000000000..386c0ccc71fc95
--- /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 00000000000000..94e48b1045c417
--- /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 00000000000000..59369c3c234367
--- /dev/null
+++ b/srcpkgs/asusctl/template
@@ -0,0 +1,30 @@
+# Template file for 'asusctl'
+pkgname=asusctl
+version=6.0.11
+revision=1
+archs="x86_64* i686*" # fails to build on other archs, but this is utility for ROG laptops which are only x86_64
+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 libseat-devel libinput-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=a6249fd4429a9ee21407e2285ee0fbdbf44b9d3c5bd742988aba1bb3608c5ca4
+
+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
+ }
+}
next reply other threads:[~2024-06-19 18:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-19 18:24 hyperglue [this message]
2024-06-20 2:29 ` abenson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-50894@inbox.vuxu.org \
--to=hyperglue@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).