Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: play-timer-2.0.3
@ 2025-01-10 21:42 Eloitor
  0 siblings, 0 replies; only message in thread
From: Eloitor @ 2025-01-10 21:42 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages play-timer
https://github.com/void-linux/void-packages/pull/53923

New package: play-timer-2.0.3
#### 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-glibc)

Closes #53914 

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

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

From 6857e507c2b61adf3d8767de7322d0aa625f4720 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Fri, 10 Jan 2025 22:35:35 +0100
Subject: [PATCH] New package: play-timer-2.0.3

---
 srcpkgs/play-timer/template | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 srcpkgs/play-timer/template

diff --git a/srcpkgs/play-timer/template b/srcpkgs/play-timer/template
new file mode 100644
index 00000000000000..8934305cd9ec7a
--- /dev/null
+++ b/srcpkgs/play-timer/template
@@ -0,0 +1,33 @@
+# Template file for 'play-timer'
+pkgname=play-timer
+version=2.0.3
+revision=1
+build_style=go
+build_helper="gir"
+go_import_path=github.com/efogdev/mpris-timer
+go_package="./cmd"
+go_build_tags="wayland"
+hostmakedepends="gobject-introspection pkg-config wayland-devel"
+makedepends="glib-devel wayland-devel alsa-lib-devel graphene-devel
+ cairo-devel pango-devel gdk-pixbuf-devel gtk4-devel libadwaita-devel"
+short_desc="Timer app for Linux desktop"
+maintainer="Eloi Torrents <eloitor@duck.com>"
+license="MIT"
+homepage="https://github.com/efogdev/mpris-timer"
+changelog="https://github.com/efogdev/mpris-timer/releases"
+distfiles="https://github.com/efogdev/mpris-timer/archive/${version}.tar.gz"
+checksum=00045e7d0133ad911c4ddcc66af2075402bb3f96262045f9cabedb6b6f6f8a59
+
+do_build() {
+	go build -tags "${go_build_tags}" -o "${GOPATH}/bin/${pkgname}" ${go_package}
+}
+
+post_install() {
+	vlicense LICENSE.txt LICENSE
+
+	local _glibname="io.github.efogdev.mpris-timer"
+	vinstall "misc/${_glibname}.desktop" 644 usr/share/applications
+	vinstall "misc/${_glibname}.metainfo.xml" 644 usr/share/metainfo
+	vinstall "misc/${_glibname}.gschema.xml" 644 usr/share/glib-2.0/schemas
+	vinstall "internal/ui/res/icon.svg" 644 usr/share/icons/hicolor/scalable/apps "${_glibname}.svg"
+}

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-01-10 21:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-10 21:42 [PR PATCH] New package: play-timer-2.0.3 Eloitor

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