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
|
|
|
|
revision=1
|
2013-11-03 05:35:33 +00:00
|
|
|
build_style=gnu-configure
|
2015-03-23 17:15:13 +00:00
|
|
|
hostmakedepends="pkg-config automake libtool gettext-devel git intltool"
|
2015-03-25 05:23:18 +00:00
|
|
|
configure_args="--enable-gui $(vopt_enable geoclue)"
|
|
|
|
makedepends="libXxf86vm-devel $(vopt_if geoclue "geoclue-devel GConf-devel") python3.4 pygtk-devel python-xdg"
|
2015-03-23 17:15:13 +00:00
|
|
|
short_desc="Adjusts the color temperature of your screen to your surroundings"
|
2013-11-03 05:35:33 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-3"
|
|
|
|
homepage="http://jonls.dk/redshift/"
|
|
|
|
|
|
|
|
do_fetch() {
|
|
|
|
git clone -b v${version} git://github.com/jonls/redshift.git redshift-${version}
|
|
|
|
}
|
|
|
|
|
2015-03-23 17:15:13 +00:00
|
|
|
# Package build options
|
|
|
|
build_options="geoclue"
|
|
|
|
|
2013-11-03 05:35:33 +00:00
|
|
|
pre_configure() {
|
|
|
|
./bootstrap
|
|
|
|
}
|
|
|
|
redshift-gtk_package() {
|
2015-03-23 17:15:13 +00:00
|
|
|
depends="python3.4 pygtk python-xdg hicolor-icon-theme desktop-file-utils ${sourcepkg}>=${version}_${revision}"
|
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
|
|
|
|
}
|
|
|
|
}
|