diff options
author | Adriaan Zonnenberg | 2016-11-30 17:07:47 +0100 |
---|---|---|
committer | Adriaan Zonnenberg | 2016-11-30 17:18:43 +0100 |
commit | 2f95fdadca0693f5dd2bf21550ffe9ddb4c8844a (patch) | |
tree | efd41ca0c1c6ab33e00e56586c9b3fdbcff9f96d /PKGBUILD | |
download | aur-2f95fdadca0693f5dd2bf21550ffe9ddb4c8844a.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..26d7c441e62e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,59 @@ +# Maintainer: Adriaan Zonnenberg <amz@adriaan.xyz> +# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> + +pkgname=gnome-settings-daemon-redshift +pkgver=3.22.1 +_pkgname=gnome-settings-daemon +pkgrel=1 +pkgdesc="GNOME Settings Daemon with a patch to support changing the color temerature" +url="https://git.gnome.org/browse/gnome-settings-daemon" +arch=(i686 x86_64) +license=(GPL) +depends=(dconf gnome-desktop gsettings-desktop-schemas libcanberra-pulse + libnotify libsystemd libwacom pulseaudio pulseaudio-alsa upower + librsvg libgweather geocode-glib geoclue2 nss libgudev gtk3-print-backends) +makedepends=(intltool xf86-input-wacom libxslt docbook-xsl python git gnome-common) +provides=(gnome-settings-daemon) +conflicts=(gnome-settings-daemon) +groups=(gnome) +_commit=3ee42193f8772b5eb39b0b5a4d175b00abce033d # tags/GNOME_SETTINGS_DAEMON_3_22_1^0 +source=("git://git.gnome.org/gnome-settings-daemon#commit=$_commit" + "git://git.gnome.org/libgnome-volume-control" + "https://raw.githubusercontent.com/benzea/gnome-shell-extension-redshift/master/patches/gsd-3.22-color-Add-ability-to-change-the-color-temperature-of.patch") +sha256sums=('SKIP' + 'SKIP' + 'SKIP') + +pkgver() { + cd $_pkgname + git describe --tags | sed 's/^GNOME_SETTINGS_DAEMON_//;s/_/./g;s/-/+/g' +} + +prepare() { + cd $_pkgname + + git submodule init + git config --local submodule."panels/media-keys/gvc".url "$srcdir/libgnome-volume-control" + git submodule update + + git apply ../gsd-3.22-color-Add-ability-to-change-the-color-temperature-of.patch + + NOCONFIGURE=1 ./autogen.sh +} + +build() { + cd $_pkgname + + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --libexecdir=/usr/lib/$_pkgname --disable-static + + #https://bugzilla.gnome.org/show_bug.cgi?id=656231 + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make +} + +package() { + cd $_pkgname + make DESTDIR="$pkgdir" install +} |