2013-11-03 05:35:33 +00:00
|
|
|
# Template file for 'redshift'
|
|
|
|
pkgname=redshift
|
|
|
|
version=1.8
|
2014-06-19 14:07:26 +00:00
|
|
|
revision=2
|
2013-11-03 05:35:33 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--enable-geoclue"
|
2014-07-27 14:05:16 +00:00
|
|
|
hostmakedepends="pkg-config automake libtool gettext-devel git"
|
2014-06-19 14:07:26 +00:00
|
|
|
makedepends="GConf-devel libXxf86vm-devel pygtk-devel python-xdg geoclue-devel>=0.12.0_7"
|
2013-11-03 05:35:33 +00:00
|
|
|
short_desc="Adjusts the color temperature of your screen according to your surroundings"
|
|
|
|
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}
|
|
|
|
}
|
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
./bootstrap
|
|
|
|
}
|
|
|
|
|
|
|
|
redshift-gtk_package() {
|
2014-06-19 14:07:26 +00:00
|
|
|
depends="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
|
|
|
|
}
|
|
|
|
}
|