2013-11-03 05:35:33 +00:00
|
|
|
# Template file for 'redshift'
|
|
|
|
pkgname=redshift
|
2015-03-23 17:15:13 +00:00
|
|
|
version=1.10
|
2015-03-27 22:29:23 +00:00
|
|
|
revision=2
|
2013-11-03 05:35:33 +00:00
|
|
|
build_style=gnu-configure
|
2015-03-27 22:29:23 +00:00
|
|
|
build_options="geoclue2"
|
|
|
|
configure_args="--enable-gui --disable-geoclue $(vopt_enable geoclue2)
|
|
|
|
ac_cv_path_PYTHON=/usr/bin/python3.4"
|
|
|
|
hostmakedepends="pkg-config intltool gettext-devel python3.4-devel"
|
|
|
|
makedepends="libXxf86vm-devel libdrm-devel $(vopt_if geoclue2 'geoclue2 glib-devel')"
|
|
|
|
depends="$(vopt_if geoclue2 geoclue2)"
|
2015-03-23 17:15:13 +00:00
|
|
|
short_desc="Adjusts the color temperature of your screen to your surroundings"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2013-11-03 05:35:33 +00:00
|
|
|
license="GPL-3"
|
|
|
|
homepage="http://jonls.dk/redshift/"
|
2015-03-27 22:29:23 +00:00
|
|
|
distfiles="https://github.com/jonls/redshift/releases/download/v${version}/redshift-${version}.tar.xz"
|
|
|
|
checksum=5bc2e70aa414f42dafb45c6e06ea90157d7d4b298af48877144ff442639aeea6
|
2013-11-03 05:35:33 +00:00
|
|
|
|
|
|
|
redshift-gtk_package() {
|
2015-03-27 22:29:23 +00:00
|
|
|
depends="${sourcepkg}-${version}_${revision} gtk+3 python3.4-gobject
|
|
|
|
python3.4-xdg desktop-file-utils"
|
|
|
|
pycompile_version="3.4"
|
2013-11-03 05:35:33 +00:00
|
|
|
pycompile_module="redshift_gtk"
|
|
|
|
short_desc+=" - GTK+ UI"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin/redshift-gtk
|
|
|
|
vmove usr/lib
|
|
|
|
vmove usr/share/applications
|
|
|
|
vmove usr/share/icons
|
|
|
|
}
|
|
|
|
}
|