diff options
author | Keith Maxwell <keith.maxwell@gmail.com> | 2020-05-04 08:59:57 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-05-04 08:04:49 +0000 |
commit | 8c39df469a1a0d7482f43a708b4daaef484253af (patch) | |
tree | 359603b212005e25020c9298d5b37eee7741828e | |
parent | 4b57c9b7ca83391233fdd0f74fb432065778a5c9 (diff) |
community/libmateweather: fix build
Closes https://gitlab.alpinelinux.org/alpine/aports/-/issues/11486
-rw-r--r-- | community/libmateweather/APKBUILD | 8 | ||||
-rw-r--r-- | community/libmateweather/America-Godthab.patch | 24 |
2 files changed, 29 insertions, 3 deletions
diff --git a/community/libmateweather/APKBUILD b/community/libmateweather/APKBUILD index be37c05b4b3..07badff5667 100644 --- a/community/libmateweather/APKBUILD +++ b/community/libmateweather/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Alan Lacerda <alacerda@alpinelinux.org> pkgname=libmateweather pkgver=1.24.0 -pkgrel=0 +pkgrel=1 pkgdesc="A library to access weather information from online services for numerous locations" url="https://github.com/mate-desktop/libmateweather" arch="all" @@ -10,7 +10,8 @@ license="GPL-2.0-or-later" depends="mate-common" makedepends="libsoup-dev libtool intltool gtk+3.0-dev libxml2-utils tzdata" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" -source="https://pub.mate-desktop.org/releases/${pkgver%.*}/libmateweather-$pkgver.tar.xz" +source="https://pub.mate-desktop.org/releases/${pkgver%.*}/libmateweather-$pkgver.tar.xz + America-Godthab.patch" build() { ./configure \ @@ -30,4 +31,5 @@ package() { make DESTDIR="$pkgdir" install } -sha512sums="077a7cbcc75df0a64d9fab23d46154e58cf2455c8a2a17ecc04a8c691ead18b5027e177278a1d8e051ffb76e98bfd8e26ed5ca10ad974546e5446116a4f71300 libmateweather-1.24.0.tar.xz" +sha512sums="077a7cbcc75df0a64d9fab23d46154e58cf2455c8a2a17ecc04a8c691ead18b5027e177278a1d8e051ffb76e98bfd8e26ed5ca10ad974546e5446116a4f71300 libmateweather-1.24.0.tar.xz +027b8c2c4a0f089e7304cdee62562cebdbe00ba308349158c0b39f6e26e3fe152d3b812249972cf5ddaef0143852b3bd7e51a5c45fe9467dc4d2f5a97f4a9b25 America-Godthab.patch" diff --git a/community/libmateweather/America-Godthab.patch b/community/libmateweather/America-Godthab.patch new file mode 100644 index 00000000000..87f8abe8847 --- /dev/null +++ b/community/libmateweather/America-Godthab.patch @@ -0,0 +1,24 @@ +--- a/data/Locations.xml.in ++++ b/data/Locations.xml.in +@@ -6482,13 +6482,6 @@ + --> + <name>Danmarkshavn</name> + </timezone> +- <timezone id="America/Godthab"> +- <!-- The primary timezone for Greenland, although sources +- seem to point towards calling the area "Western +- Greenland" rathern than just "Greenland". +- --> +- <name>Western Greenland</name> +- </timezone> + <timezone id="America/Scoresbysund"> + <!-- The timezone around Scoresbysund / Ittoqqortoormiit on + the east coast of Greenland. +@@ -6502,7 +6495,6 @@ + <name>Thule AFB</name> + </timezone> + </timezones> +- <tz-hint>America/Godthab</tz-hint> + <city> + <!-- A city in Greenland. + The local name in Kalaallisut is "Uummannaq". |