summaryrefslogtreecommitdiff
path: root/user/opengfx
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-04-17 22:46:39 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-04-17 22:46:39 +0000
commit6e5b3282fb9a3360fdb5804d798e852a3938c9a9 (patch)
treedb582f867d7c252a5c9856920634307f622a8c43 /user/opengfx
parent92f4cd683c2d6b8806db1f6d38199c01b83298be (diff)
downloadpackages-6e5b3282fb9a3360fdb5804d798e852a3938c9a9.tar.gz
packages-6e5b3282fb9a3360fdb5804d798e852a3938c9a9.tar.bz2
packages-6e5b3282fb9a3360fdb5804d798e852a3938c9a9.tar.xz
packages-6e5b3282fb9a3360fdb5804d798e852a3938c9a9.zip
user/opengfx: bump to 0.5.5, use https, remove Py3 fix
Diffstat (limited to 'user/opengfx')
-rw-r--r--user/opengfx/APKBUILD8
-rw-r--r--user/opengfx/Makefile.patch9
2 files changed, 4 insertions, 13 deletions
diff --git a/user/opengfx/APKBUILD b/user/opengfx/APKBUILD
index b0ab22c55..e3f0dbaaf 100644
--- a/user/opengfx/APKBUILD
+++ b/user/opengfx/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=opengfx
-pkgver=0.5.4
+pkgver=0.5.5
pkgrel=0
pkgdesc="Graphics files for OpenTTD"
url="https://www.openttd.org/en/"
@@ -11,7 +11,7 @@ license="GPL-2.0-only"
depends=""
makedepends="grfcodec nml"
subpackages=""
-source="http://bundles.openttdcoop.org/opengfx/releases/$pkgver/$pkgname-$pkgver-source.tar.xz
+source="https://binaries.openttd.org/extra/opengfx/$pkgver/$pkgname-$pkgver-source.tar.xz
Makefile.patch
"
builddir="$srcdir/$pkgname-$pkgver-source"
@@ -30,5 +30,5 @@ package() {
done
}
-sha512sums="42f8438c747b42a77cf9d86c5da60ce3ce84ed347d714c345f3871806f9e35f2ed4729b445e0ee319f3e2edd53458dfbaad5ca42e389c3a2e800bce19223cdb1 opengfx-0.5.4-source.tar.xz
-f2cd513b6b244fcdd522e488c3becd27164f622f0bc723bd1f704ce1e76419ac628425cf3fc437beb50f851735923e85eae8a3f70e828f58edff4d632784bbf9 Makefile.patch"
+sha512sums="952fb52e19bd790e335a9df0f11fa29b2fc570b49903419904956cc65883adde93d432160b16682366ab8b973b7852d2d30f574f1840f6fbd082e1addbe5bfe8 opengfx-0.5.5-source.tar.xz
+a337ab4ade493a87d2687a7aa2fb05dcd5718725645950486975a6df309dd1e6631d4b04fa6dcbf590e869b45b037caa32468ea6f677ce458d61950f77c5a006 Makefile.patch"
diff --git a/user/opengfx/Makefile.patch b/user/opengfx/Makefile.patch
index 169df9668..1e4585311 100644
--- a/user/opengfx/Makefile.patch
+++ b/user/opengfx/Makefile.patch
@@ -11,15 +11,6 @@
# Graphics processing
GIMP ?= gimp
-@@ -196,7 +196,7 @@
- endif
-
- # Days of commit since 2000-1-1 00-00
--REPO_DAYS_SINCE_2000 ?= $(shell $(PYTHON) -c "from datetime import date; print (date(`echo "$(REPO_DATE)" | sed s/-/,/g | sed s/,0/,/g`)-date(2000,1,1)).days")
-+REPO_DAYS_SINCE_2000 ?= $(shell $(PYTHON) -c "from datetime import date; print ((date(`echo "$(REPO_DATE)" | sed s/-/,/g | sed s/,0/,/g`)-date(2000,1,1)).days)")
-
- # Filename addition, if we're not building the default branch
- REPO_BRANCH_STRING ?= $(shell if [ "$(REPO_BRANCH)" = "$(DEFAULT_BRANCH_NAME)" ]; then echo ""; else echo "-$(REPO_BRANCH)"; fi)
@@ -719,7 +719,7 @@
$(_E)
endif