-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
caffeine-ng: update to 4.2.0, adopt.
- Loading branch information
1 parent
30befa2
commit 38301e0
Showing
4 changed files
with
45 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/meson.build b/meson.build | ||
index 1f84fe8..423aed7 100644 | ||
--- a/meson.build | ||
+++ b/meson.build | ||
@@ -103,7 +103,7 @@ custom_target( | ||
feed: true, | ||
capture: true, | ||
install: true, | ||
- install_dir: join_paths(mandir, 'man1/caffeine') | ||
+ install_dir: join_paths(mandir, 'man1') | ||
) | ||
|
||
install_subdir('caffeine/assets/glade', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Not sure why the Meson Python module can't find the installed pulsectl... | ||
|
||
diff --git a/meson.build b/meson.build | ||
index 1f84fe8..05567a4 100644 | ||
--- a/meson.build | ||
+++ b/meson.build | ||
@@ -22,7 +22,7 @@ endif | ||
|
||
pymod = import('python') | ||
python = pymod.find_installation('python3', | ||
- modules: ['click', 'ewmh', 'setproctitle', 'pulsectl'] | ||
+ modules: ['click', 'ewmh', 'setproctitle'] | ||
) | ||
python.dependency() | ||
|
16 changes: 0 additions & 16 deletions
16
srcpkgs/caffeine-ng/patches/use-ayatana-appindicator.patch
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,23 @@ | ||
# Template file for 'caffeine-ng' | ||
pkgname=caffeine-ng | ||
version=4.0.2 | ||
revision=5 | ||
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.2.0 | ||
revision=1 | ||
build_style=meson | ||
hostmakedepends="pkg-config scdoc" | ||
_python_dependencies="python3-click python3-dbus python3-ewmh python3-gobject | ||
python3-pulsectl python3-setproctitle" | ||
makedepends="python3-gobject-devel python3-dbus-devel gtk+3-devel | ||
libnotify-devel libayatana-appindicator-devel ${_python_dependencies}" | ||
depends="desktop-file-utils hicolor-icon-theme libnotify | ||
libayatana-appindicator gtk+3 ${_python_dependencies}" | ||
short_desc="Temporarily inhibits the screensaver and sleep mode" | ||
maintainer="Orphaned <[email protected]>" | ||
maintainer="Joel Beckmeyer <[email protected]>" | ||
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=938080407714104d1c016513146b150a7dc25882ad9ae957d6c02d340d90fda2 | ||
|
||
pre_configure() { | ||
echo $version > version | ||
} |