pkgsrc/graphics/adwaita-icon-theme/Makefile
wiz 8d089b8ec6 adwaita-icon-theme: update to 3.26.0.
3.26.0
  - thunderbolt status icons
  - system settings icons

3.25.91
  - rendering fixes
  - system settings icons (bug #786605)
  - tab (bug #786651)
  - display settings icons

3.25.4
  - symbolic firmware and device icon
  - form validation error icon (symbolic)
  - fullcolor emblem fixes
  - symbolic icon for pinning views
2017-10-02 14:23:28 +00:00

40 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.12 2017/10/02 14:23:28 wiz Exp $
DISTNAME= adwaita-icon-theme-3.26.0
CATEGORIES= graphics gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/adwaita-icon-theme/${PKGVERSION_NOREV:R}/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= prlw1@cam.ac.uk
HOMEPAGE= https://www.gnome.org/
COMMENT= Standard GNOME icons
LICENSE= cc-by-sa-v3.0 OR gnu-lgpl-v3
TOOL_DEPENDS+= librsvg>=2.22.3:../../graphics/librsvg
# for gtk-encode-symbolic-svg
TOOL_DEPENDS+= gtk3+>=3:../../x11/gtk3
GNU_CONFIGURE= yes
USE_TOOLS+= gmake pkg-config
# otherwise it creates lots of superfluous lib/locale dirs
USE_PKGLOCALEDIR= yes
TOOLS_NOOP+= gtk-update-icon-cache
PKGCONFIG_OVERRIDE+= adwaita-icon-theme.pc.in
# should be created by the upstream installation Makefile targets,
# but isn't
INSTALLATION_DIRS+= share/icons/Adwaita/96x96/places
ICON_THEMES= yes
post-install:
.for s in 16 22 24 32 48 96 256
${LOCALBASE}/bin/rsvg-convert ${FILESDIR}/distributor-logo.svg \
-w ${s} -h ${s} -o \
${DESTDIR}${PREFIX}/share/icons/Adwaita/${s}x${s}/places/start-here.png
.endfor
BUILDLINK_DEPMETHOD.gettext-lib= build
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"