-
Notifications
You must be signed in to change notification settings - Fork 0
/
adwaita-icon-theme.mk
27 lines (24 loc) · 1.05 KB
/
adwaita-icon-theme.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# This file is part of MXE. See LICENSE.md for licensing information.
PKG := adwaita-icon-theme
$(PKG)_WEBSITE := https://gtk.org/
$(PKG)_DESCR := GTK+
$(PKG)_IGNORE :=
$(PKG)_VERSION := 3.36.1
$(PKG)_CHECKSUM := e498518627044dfd7db7d79a5b3d437848caf1991ef4ef036a2d3a2ac2c1f14d
$(PKG)_SUBDIR := adwaita-icon-theme-$($(PKG)_VERSION)
$(PKG)_FILE := adwaita-icon-theme-$($(PKG)_VERSION).tar.xz
$(PKG)_URL := https://download.gnome.org/sources/adwaita-icon-theme/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE)
$(PKG)_DEPS := cc gettext librsvg gtk3
define $(PKG)_UPDATE
$(WGET) -q -O- 'https://gitlab.gnome.org/GNOME/adwaita-icon-theme/tags' | \
$(SED) -n "s,.*<a [^>]\+>v\?\([0-9]\+\.[0-9.]\+\)<.*,\1,p" | \
grep '^3\.' | \
grep -v '^3\.9[0-9]' | \
head -1
endef
define $(PKG)_BUILD
cd '$(BUILD_DIR)' && '$(SOURCE_DIR)/configure' \
$(MXE_CONFIGURE_OPTS)
$(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)' $(MXE_DISABLE_CRUFT) EXTRA_DIST=
$(MAKE) -C '$(BUILD_DIR)' -j 1 install $(MXE_DISABLE_CRUFT) EXTRA_DIST=
endef