mirror of https://git.wownero.com/dsc/mxe.git
gtkimageview: Fix download URL
Fixes part of #532.
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
(cherry picked from commit 5cb1270f8c
)
This commit is contained in:
parent
79a337f2e9
commit
bec702c321
|
@ -4,19 +4,26 @@
|
||||||
PKG := gtkimageview
|
PKG := gtkimageview
|
||||||
$(PKG)_IGNORE :=
|
$(PKG)_IGNORE :=
|
||||||
$(PKG)_VERSION := 1.6.4
|
$(PKG)_VERSION := 1.6.4
|
||||||
$(PKG)_CHECKSUM := dc0067e72889285ddd667aba700f1de928142fba
|
$(PKG)_CHECKSUM := a6c78744ba98441bca28c9d27bf89245517940db
|
||||||
$(PKG)_SUBDIR := gtkimageview-$($(PKG)_VERSION)
|
$(PKG)_SUBDIR := gtkimageview-$($(PKG)_VERSION)
|
||||||
$(PKG)_FILE := gtkimageview-$($(PKG)_VERSION).tar.gz
|
$(PKG)_FILE := gtkimageview-$($(PKG)_VERSION).tar.gz
|
||||||
$(PKG)_URL := http://trac.bjourne.webfactional.com/chrome/common/releases/$($(PKG)_FILE)
|
# gtkimageview download server is dead.
|
||||||
|
# $(PKG)_URL := http://trac.bjourne.webfactional.com/chrome/common/releases/$($(PKG)_FILE)
|
||||||
|
$(PKG)_URL := https://distfiles.macports.org/$(PKG)/$($(PKG)_FILE)
|
||||||
$(PKG)_DEPS := gcc gtk2
|
$(PKG)_DEPS := gcc gtk2
|
||||||
|
|
||||||
define $(PKG)_UPDATE
|
define $(PKG)_UPDATE_DISABLED
|
||||||
$(WGET) -q -O- "http://trac.bjourne.webfactional.com/chrome/common/releases/?C=M;O=D" | \
|
$(WGET) -q -O- "http://trac.bjourne.webfactional.com/chrome/common/releases/?C=M;O=D" | \
|
||||||
grep -i '<a href="gtkimageview.*tar' | \
|
grep -i '<a href="gtkimageview.*tar' | \
|
||||||
$(SED) -n 's,.*gtkimageview-\([0-9][^>]*\)\.tar.*,\1,p' | \
|
$(SED) -n 's,.*gtkimageview-\([0-9][^>]*\)\.tar.*,\1,p' | \
|
||||||
head -1
|
head -1
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define $(PKG)_UPDATE
|
||||||
|
echo 'TODO: gtkimageview is dead' >&2;
|
||||||
|
echo '$(gtkimageview_VERSION)'
|
||||||
|
endef
|
||||||
|
|
||||||
define $(PKG)_BUILD
|
define $(PKG)_BUILD
|
||||||
cd '$(1)' && ./configure \
|
cd '$(1)' && ./configure \
|
||||||
--host='$(TARGET)' \
|
--host='$(TARGET)' \
|
||||||
|
|
Loading…
Reference in New Issue