39 lines
1.3 KiB
Bash
39 lines
1.3 KiB
Bash
# Template file for 'gammastep'
|
|
pkgname=gammastep
|
|
version=2.0.7
|
|
revision=1
|
|
wrksrc="${pkgname}-v$version"
|
|
build_style=gnu-configure
|
|
configure_args="--enable-gui --enable-drm --enable-vidmode --enable-randr
|
|
--enable-wayland --enable-apparmor --with-systemdunitdir=no
|
|
$(vopt_enable geoclue2)"
|
|
hostmakedepends=" tar automake libtool gettext-devel intltool pkg-config
|
|
python3-devel wayland-devel"
|
|
makedepends=" wayland-devel libXxf86vm-devel libdrm-devel
|
|
$(vopt_if geoclue2 'glib-devel')"
|
|
short_desc="Adjusts the color temperature of your screen to your surroundings"
|
|
maintainer="Cameron Nemo <cnemo@tutanota.com>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://gitlab.com/chinstrap/gammastep"
|
|
changelog="https://gitlab.com/chinstrap/gammastep/raw/master/NEWS.md"
|
|
distfiles="${homepage}/-/archive/v$version/${pkgname}-v$version.tar.gz"
|
|
checksum=b3dc1d515088ef5578da009c4b70b22f9702397a6a21bbba79f1c01793a90e73
|
|
build_options="geoclue2"
|
|
build_options_default="geoclue2"
|
|
|
|
pre_configure() {
|
|
./bootstrap
|
|
}
|
|
|
|
gammastep-indicator_package() {
|
|
depends="${sourcepkg}-${version}_${revision} gtk+3 python3-gobject
|
|
python3-xdg desktop-file-utils"
|
|
short_desc+=" - Status Indicator"
|
|
pkg_install() {
|
|
vmove usr/bin/gammastep-indicator
|
|
vmove usr/lib
|
|
vmove usr/share/metainfo
|
|
vmove usr/share/applications/gammastep-indicator.desktop
|
|
}
|
|
}
|