Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: swayaudioidleinhibit-0.1
@ 2022-01-20 12:35 steinex
  2022-01-20 17:25 ` [PR PATCH] [Updated] New package: swayaudioidleinhibit-0.1.1 steinex
  2022-02-26 13:39 ` [PR PATCH] [Closed]: " steinex
  0 siblings, 2 replies; 3+ messages in thread
From: steinex @ 2022-01-20 12:35 UTC (permalink / raw)
  To: ml

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

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

https://github.com/steinex/void-packages swayaudioidleinhibit
https://github.com/void-linux/void-packages/pull/35134

New package: swayaudioidleinhibit-0.1
<!-- 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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](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, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/35134.patch is attached

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

From c920372ce1b0bf58ea741d3f7d36b92fa86b55d6 Mon Sep 17 00:00:00 2001
From: Frank Steinborn <steinex@nognu.de>
Date: Thu, 20 Jan 2022 12:21:42 +0100
Subject: [PATCH] New package: swayaudioidleinhibit-0.1

---
 srcpkgs/swayaudioidleinhibit/patches/musl.patch | 11 +++++++++++
 srcpkgs/swayaudioidleinhibit/template           | 14 ++++++++++++++
 2 files changed, 25 insertions(+)
 create mode 100644 srcpkgs/swayaudioidleinhibit/patches/musl.patch
 create mode 100644 srcpkgs/swayaudioidleinhibit/template

diff --git a/srcpkgs/swayaudioidleinhibit/patches/musl.patch b/srcpkgs/swayaudioidleinhibit/patches/musl.patch
new file mode 100644
index 000000000000..c80eea222d0f
--- /dev/null
+++ b/srcpkgs/swayaudioidleinhibit/patches/musl.patch
@@ -0,0 +1,11 @@
+--- a/src/main.cpp
++++ b/src/main.cpp
+@@ -3,6 +3,8 @@
+ #include "data.hpp"
+ #include "pulse.hpp"
+
++#include <libgen.h>
++
+ void showHelp(char **argv) {
+   string name = basename(argv[0]);
+   cout << "Usage:\n";
diff --git a/srcpkgs/swayaudioidleinhibit/template b/srcpkgs/swayaudioidleinhibit/template
new file mode 100644
index 000000000000..b7e4f4e37ac1
--- /dev/null
+++ b/srcpkgs/swayaudioidleinhibit/template
@@ -0,0 +1,14 @@
+# Template file for 'swayaudioidleinhibit'
+pkgname=swayaudioidleinhibit
+version=0.1
+revision=1
+wrksrc="SwayAudioIdleInhibit-${version}"
+build_style=meson
+hostmakedepends="pkg-config wayland-devel"
+makedepends="pulseaudio-devel wayland-devel wayland-protocols"
+short_desc="Inhibit idle if audio is active in sway"
+maintainer="Frank Steinborn <steinex@nognu.de>"
+license="GPL-3.0-only"
+homepage="https://github.com/ErikReider/SwayAudioIdleInhibit"
+distfiles="https://github.com/ErikReider/SwayAudioIdleInhibit/archive/refs/tags/v${version}.tar.gz"
+checksum=3c2916398ba19dc99cf1c140df3f2024b1389bf330a7c6a0dc1359eb5c30243d

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

end of thread, other threads:[~2022-02-26 13:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-20 12:35 [PR PATCH] New package: swayaudioidleinhibit-0.1 steinex
2022-01-20 17:25 ` [PR PATCH] [Updated] New package: swayaudioidleinhibit-0.1.1 steinex
2022-02-26 13:39 ` [PR PATCH] [Closed]: " steinex

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