From: xavierfortier1 <xavierfortier1@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: Package request: mpris-timer
Date: Fri, 10 Jan 2025 20:45:46 +0100 [thread overview]
Message-ID: <20250110194546.5EACC21299@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-53914@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1810 bytes --]
New comment by xavierfortier1 on void-packages repository
https://github.com/void-linux/void-packages/issues/53914#issuecomment-2583827063
Comment:
Hey, so I looked into that and this is what I came up with. I have tested it a little bit and it worked. If you would like to maintain the package, here is the template (simply change the `maintainer` and make a PR):
```bash
# 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="name <email>"
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"
}
```
Otherwise, I can maintain it. I'll make the PR and it will eventually land in the repo. In the meantime, you can compile it on your system and use it.
next prev parent reply other threads:[~2025-01-10 19:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-10 12:38 [ISSUE] " Eloitor
2025-01-10 19:45 ` xavierfortier1 [this message]
2025-01-10 19:49 ` Eloitor
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=20250110194546.5EACC21299@inbox.vuxu.org \
--to=xavierfortier1@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).