mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
Merge pull request #1195 from pulux/redshift_pr
redshift: update to 1.10 and add build_options=geoclue
This commit is contained in:
commit
940e16695e
1 changed files with 10 additions and 8 deletions
|
@ -1,12 +1,12 @@
|
||||||
# Template file for 'redshift'
|
# Template file for 'redshift'
|
||||||
pkgname=redshift
|
pkgname=redshift
|
||||||
version=1.8
|
version=1.10
|
||||||
revision=2
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-geoclue"
|
hostmakedepends="pkg-config automake libtool gettext-devel git intltool"
|
||||||
hostmakedepends="pkg-config automake libtool gettext-devel git"
|
configure_args="--enable-gui $(vopt_enable geoclue)"
|
||||||
makedepends="GConf-devel libXxf86vm-devel pygtk-devel python-xdg geoclue-devel>=0.12.0_7"
|
makedepends="libXxf86vm-devel $(vopt_if geoclue "geoclue-devel GConf-devel") python3.4 pygtk-devel python-xdg"
|
||||||
short_desc="Adjusts the color temperature of your screen according to your surroundings"
|
short_desc="Adjusts the color temperature of your screen to your surroundings"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="GPL-3"
|
license="GPL-3"
|
||||||
homepage="http://jonls.dk/redshift/"
|
homepage="http://jonls.dk/redshift/"
|
||||||
|
@ -15,12 +15,14 @@ do_fetch() {
|
||||||
git clone -b v${version} git://github.com/jonls/redshift.git redshift-${version}
|
git clone -b v${version} git://github.com/jonls/redshift.git redshift-${version}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Package build options
|
||||||
|
build_options="geoclue"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
./bootstrap
|
./bootstrap
|
||||||
}
|
}
|
||||||
|
|
||||||
redshift-gtk_package() {
|
redshift-gtk_package() {
|
||||||
depends="pygtk python-xdg hicolor-icon-theme desktop-file-utils ${sourcepkg}>=${version}_${revision}"
|
depends="python3.4 pygtk python-xdg hicolor-icon-theme desktop-file-utils ${sourcepkg}>=${version}_${revision}"
|
||||||
pycompile_module="redshift_gtk"
|
pycompile_module="redshift_gtk"
|
||||||
short_desc+=" - GTK+ UI"
|
short_desc+=" - GTK+ UI"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue