aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2015-08-14 17:37:26 +0200
committerFrancesco Colista <fcolista@alpinelinux.org>2015-08-17 08:52:48 +0000
commitca215330ec4aed48f3062c124116340bf5242a8d (patch)
tree706b427db3656906fc54e7a50b12051f145d23ad
parente278c80c11d14f11ce5e3e38bf145462114ac1b4 (diff)
downloadaports-ca215330ec4aed48f3062c124116340bf5242a8d.tar.bz2
aports-ca215330ec4aed48f3062c124116340bf5242a8d.tar.xz
testing/redshift: upgrade to 1.10
-rw-r--r--testing/redshift/APKBUILD27
1 files changed, 14 insertions, 13 deletions
diff --git a/testing/redshift/APKBUILD b/testing/redshift/APKBUILD
index 4718fb88bb..bbd97853f1 100644
--- a/testing/redshift/APKBUILD
+++ b/testing/redshift/APKBUILD
@@ -1,29 +1,28 @@
# Maintainer: 7heo <7heo@mail.com>
pkgname=redshift
-pkgver=1.9
+pkgver=1.10
pkgrel=0
-pkgdesc="Adjusts the color temperature of your screen according to your surroundings."
+pkgdesc="Adjusts the color temperature of your screen according to your surroundings"
url="http://jonls.dk/redshift/"
arch="all"
-license="GLPv3"
+license="GLP3"
depends=""
-depends_dev="libxxf86vm-dev libdrm-dev"
-makedepends="$depends_dev"
+depends_dev="libxcb-dev libxxf86vm-dev libdrm-dev"
+makedepends="$depends_dev intltool"
install=
replaces=""
subpackages="$pkgname-doc"
-source="https://github.com/jonls/redshift/releases/download/v$pkgver/redshift-$pkgver.tar.xz
- "
+source="https://github.com/jonls/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
+
+ local i=
for i in $source; do
case "$i" in
*.patch)
- msg "Applying $i"
- patch -p1 -i "$srcdir"/$i || return 1
- ;;
+ patch -p1 -i "$srcdir"/$i || return 1 ;;
esac
done
}
@@ -35,7 +34,9 @@ build() {
--host=$CHOST \
--prefix=/usr \
--mandir=/usr/share/man \
+ --enable-drm \
--enable-randr \
+ --enable-vidmode \
|| return 1
make || return 1
}
@@ -45,6 +46,6 @@ package() {
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="9640218cd9ba88f6d10b347b2277c415 redshift-1.9.tar.xz"
-sha256sums="dbfe96e29b131e3e684528055b89c742be63b15aff38dd2f237b0ad8b9daba76 redshift-1.9.tar.xz"
-sha512sums="16476e68c82ca583e4aa8e18da1e34b944a60f29fa516acfcb220d6c7d94d313a71ef5db049758753ab77e5da603876ed7635c29e64521c611b0179553371ad8 redshift-1.9.tar.xz"
+md5sums="3a5480b8dd5d28a877a0cb407619fd76 redshift-1.10.tar.xz"
+sha256sums="5bc2e70aa414f42dafb45c6e06ea90157d7d4b298af48877144ff442639aeea6 redshift-1.10.tar.xz"
+sha512sums="d84f79ed335ead47941fa0471ef6595ffcdee9f4544da579e4df5ce7dc6e9c286d679999f26683ebf4b397a5bb9847305612cf0843b5e711cad2a50a0741d5bf redshift-1.10.tar.xz"