Github messages for voidlinux
 help / color / mirror / Atom feed
From: abenson <abenson@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: asusctl-4.7.2
Date: Wed, 31 Jan 2024 04:22:42 +0100	[thread overview]
Message-ID: <20240131032242.73A2A2973C@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46984@inbox.vuxu.org>

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

There is an updated pull request by abenson 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: 2261 bytes --]

From ffb8774cb295c01ae44f6b72a9eed3b480c19819 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-5.0.7

---
 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 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..1dcf83ccb9f6a
--- /dev/null
+++ b/srcpkgs/asusctl/template
@@ -0,0 +1,30 @@
+# Template file for 'asusctl'
+pkgname=asusctl
+version=5.0.7
+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"
+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=9fb58547afdfc3a9b6feb2f2032e47f6bf1b7cfd48b24d20225164288abdc591
+
+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
+	}
+}

  parent reply	other threads:[~2024-01-31  3:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-31 15:59 [PR PATCH] " 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 ` abenson [this message]
2024-05-01  1:47 ` github-actions
2024-05-15  1:48 ` [PR PATCH] [Closed]: " github-actions

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=20240131032242.73A2A2973C@inbox.vuxu.org \
    --to=abenson@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).