annotate src/librsvg.mk @ 6510:4b8764444acb

Create common github call define and start using it * Makefile.in: add GITHUB_PKG_UPDATE * src/blas_switch.mk, src/double-conversion.mk, src/libffi.mk, src/libgeotiff.mk, src/libmodbus.mk, src/libproxy.mk, src/librsvg.mk, src/libsndfile.mk, src/libsodium.mk, src/libvpx.mk, src/netcdf.mk, src/of-statistics.mk, src/openblas.mk, src/opencv.mk, src/openjpeg.mk, src/openlibm.mk, src/paho-mqtt-c.mk, src/pcre2.mk, src/portaudio.mk, src/rapidjson.mk, src/rtmidi.mk, src/suitesparse.mk, src/sundials-ida.mk, src/wt.mk, src/wxwidgets.mk, src/yasm.mk, src/zeromq.mk : call GITHUB_PKG_UPDATE in update
author John Donoghue <john.donoghue@ieee.org>
date Tue, 08 Nov 2022 09:37:16 -0500
parents 5875a3c3404c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 2327
diff changeset
1 # This file is part of MXE.
2353
99516e73b368 Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents: 2349
diff changeset
2 # See index.html for further information.
747
00c32b83d032 new package: librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
00c32b83d032 new package: librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 PKG := librsvg
00c32b83d032 new package: librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 $(PKG)_IGNORE :=
3480
13be64f9f16d move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents: 3048
diff changeset
6 $(PKG)_VERSION := 2.36.4
2825
45487fd67ba8 update package librsvg
Mark Brand <mabrand@mabrand.nl>
parents: 2712
diff changeset
7 $(PKG)_CHECKSUM := 1e0152e6745bac9632207252c67dda2299010db4
747
00c32b83d032 new package: librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_SUBDIR := librsvg-$($(PKG)_VERSION)
2217
2815a63d9739 update package librsvg
Mark Brand <mabrand@mabrand.nl>
parents: 2090
diff changeset
9 $(PKG)_FILE := librsvg-$($(PKG)_VERSION).tar.xz
747
00c32b83d032 new package: librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_URL := http://ftp.gnome.org/pub/GNOME/sources/librsvg/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3031
diff changeset
11 $(PKG)_DEPS := glib libgsf cairo pango gtk2 libcroco
747
00c32b83d032 new package: librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12
00c32b83d032 new package: librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
6510
4b8764444acb Create common github call define and start using it
John Donoghue <john.donoghue@ieee.org>
parents: 4580
diff changeset
14 $(call GITHUB_PKG_UPDATE,GNOME,librsvg,)
747
00c32b83d032 new package: librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 endef
00c32b83d032 new package: librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16
00c32b83d032 new package: librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 define $(PKG)_BUILD
00c32b83d032 new package: librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 cd '$(1)' && ./configure \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
19 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
2855
47558e958113 Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents: 2825
diff changeset
20 $(ENABLE_SHARED_OR_STATIC) \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2855
diff changeset
21 --prefix='$(HOST_PREFIX)' \
1207
de4ff9fbd0be disable dynamic module loading in package gdk-pixbuf
Mark Brand <mabrand@mabrand.nl>
parents: 1204
diff changeset
22 --disable-pixbuf-loader \
747
00c32b83d032 new package: librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 --disable-gtk-theme \
2327
f308d384c9d2 update package librsvg
Mark Brand <mabrand@mabrand.nl>
parents: 2254
diff changeset
24 --disable-gtk-doc \
f308d384c9d2 update package librsvg
Mark Brand <mabrand@mabrand.nl>
parents: 2254
diff changeset
25 --enable-introspection=no
747
00c32b83d032 new package: librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
754
3eedae9ff7dd test program for package librsvg
Volker Grabsch <vog@notjusthosting.com>
parents: 753
diff changeset
27
3031
951da75fd09c improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
28 '$(MXE_CC)' \
754
3eedae9ff7dd test program for package librsvg
Volker Grabsch <vog@notjusthosting.com>
parents: 753
diff changeset
29 -W -Wall -Werror -ansi -pedantic \
3014
b6c7244a2f66 Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
30 '$(2).c' -o '$(HOST_BINDIR)/test-librsvg.exe' \
3031
951da75fd09c improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
31 `'$(MXE_PKG_CONFIG)' librsvg-2.0 --cflags --libs`
747
00c32b83d032 new package: librsvg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
32 endef