Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions srcpkgs/caffeine-ng/patches/use-ayatana-appindicator.patch

This file was deleted.

38 changes: 26 additions & 12 deletions srcpkgs/caffeine-ng/template
Original file line number Diff line number Diff line change
@@ -1,19 +1,33 @@
# Template file for 'caffeine-ng'
pkgname=caffeine-ng
version=4.0.2
revision=7
build_style=python3-module
hostmakedepends="python3-setuptools_scm"
depends="desktop-file-utils gtk+3 hicolor-icon-theme libnotify
python3-dbus python3-click python3-ewmh python3-gobject
python3-setproctitle python3-setuptools python3-xdg
python3-pulsectl libayatana-appindicator"
version=4.3.0
revision=1
build_style=meson
_python_dependencies="python3-click python3-dbus python3-ewmh
python3-gobject python3-pulsectl python3-setproctitle"
hostmakedepends="pkg-config scdoc gettext pulseaudio
${_python_dependencies}"
makedepends="python3-gobject-devel python3-dbus-devel gtk+3-devel
libnotify-devel libayatana-appindicator-devel pulseaudio-devel
$(vopt_if xfconf xfconf-devel)"
depends="libayatana-appindicator libnotify gtk+3 xdg-utils
desktop-file-utils hicolor-icon-theme ${_python_dependencies}
$(vopt_if xfconf xfconf)"
short_desc="Temporarily inhibits the screensaver and sleep mode"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://codeberg.org/WhyNotHugo/caffeine-ng"
changelog="https://codeberg.org/WhyNotHugo/caffeine-ng/raw/branch/main/CHANGELOG.rst"
distfiles="${PYPI_SITE}/c/caffeine-ng/caffeine-ng-${version}.tar.gz"
checksum=ba62235c9d1eb7a3e2e448e3f7a43e66188a4beca3edbb206f8b905ba626eab5
# only runs lints and syntax checks via flake8
make_check=no
distfiles="https://codeberg.org/WhyNotHugo/caffeine-ng/archive/v${version}.tar.gz"
checksum=7df8745add76ed324ebfc372c74b139832129254cd91e846cac269a86c9f0c4c

build_options="xfconf"
desc_option_xfconf="XFCE power manager integration"

if [ "$CROSS_BUILD" ]; then
makedepends+=" scdoc"
fi

pre_configure() {
echo ${version} > version
}