Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: asusctl-6.0.11
@ 2024-06-19 18:24 hyperglue
  2024-06-20  2:29 ` abenson
  0 siblings, 1 reply; 2+ messages in thread
From: hyperglue @ 2024-06-19 18:24 UTC (permalink / raw)
  To: ml

[-- 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
+	}
+}

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

* Re: New package: asusctl-6.0.11
  2024-06-19 18:24 [PR PATCH] New package: asusctl-6.0.11 hyperglue
@ 2024-06-20  2:29 ` abenson
  0 siblings, 0 replies; 2+ messages in thread
From: abenson @ 2024-06-20  2:29 UTC (permalink / raw)
  To: ml

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

New comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/50894#issuecomment-2179699490

Comment:
Please amend the email in the commit to use a real email. The one listed in the maintainer field is acceptable.

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

end of thread, other threads:[~2024-06-20  2:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-19 18:24 [PR PATCH] New package: asusctl-6.0.11 hyperglue
2024-06-20  2:29 ` abenson

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