Mercurial > mxe-octave
annotate src/libgsf.mk @ 4710:038985c3bde2
update GNOME broken update rules
* src/gtksourceviewmm2.mk, src/libcroco.mk,
src/libgee.mk, src/libgsf.mk, src/libxml2.mk,
src/libxslt.mk, src/pango.mk, src/pangomm.mk
: update update rule to use github
author | John Donoghue |
---|---|
date | Thu, 24 May 2018 15:56:35 -0400 |
parents | 979f5b397e51 |
children | b19af28f7ee3 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2315
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. |
414
d2a6561bcb6d
add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents:
306
diff
changeset
|
3 |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
300
diff
changeset
|
4 PKG := libgsf |
448
e9afec55fd6b
improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents:
417
diff
changeset
|
5 $(PKG)_IGNORE := |
3480
13be64f9f16d
move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents:
3184
diff
changeset
|
6 $(PKG)_VERSION := 1.14.27 |
3135
8147e6f8659a
[MSVC] enable libgsf compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
7 $(PKG)_CHECKSUM := b6082b71bf9d6e1cdafde9628cae58fcedc4a8fd |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
300
diff
changeset
|
8 $(PKG)_SUBDIR := libgsf-$($(PKG)_VERSION) |
2315
2b5ea5239144
update packages libgsf, libxml++
Tony Theodore <tonyt@logyst.com>
parents:
1888
diff
changeset
|
9 $(PKG)_FILE := libgsf-$($(PKG)_VERSION).tar.xz |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
300
diff
changeset
|
10 $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/libgsf/$(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 := zlib bzip2 glib libxml2 |
263 | 12 |
3135
8147e6f8659a
[MSVC] enable libgsf compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
13 ifeq ($(MXE_NATIVE_MINGW_BUILD),yes) |
8147e6f8659a
[MSVC] enable libgsf compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
14 $(PKG)_DEPS += intltool |
8147e6f8659a
[MSVC] enable libgsf compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
15 endif |
8147e6f8659a
[MSVC] enable libgsf compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
16 |
263 | 17 define $(PKG)_UPDATE |
4710 | 18 $(WGET) -q -O- https://github.com/GNOME/libgsf/tags | \ |
19 $(SED) -n 's|.*releases/tag/LIBGSF_\([^"]*\).*|\1|p' | \ | |
20 $(SED) 's,_,.,g' | $(SORT) -V | \ | |
21 tail -1 | |
263 | 22 endef |
23 | |
24 define $(PKG)_BUILD | |
3184
6c87330db7c6
Update libgsf for native mingw
John Donoghue <john.donoghue@ieee.org>
parents:
3135
diff
changeset
|
25 echo 'Libs.private: -lz -lbz2' >> '$(1)'/libgsf-1.pc.in |
759
bf4bcb3370fa
changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents:
753
diff
changeset
|
26 $(SED) -i 's,^\(Requires:.*\),\1 gio-2.0,' '$(1)'/libgsf-1.pc.in |
263 | 27 cd '$(1)' && ./configure \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
28 $(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:
2626
diff
changeset
|
29 $(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
|
30 --prefix='$(HOST_PREFIX)' \ |
263 | 31 --disable-nls \ |
32 --disable-gtk-doc \ | |
33 --with-zlib \ | |
34 --with-bz2 \ | |
3135
8147e6f8659a
[MSVC] enable libgsf compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
35 PKG_CONFIG='$(MXE_PKG_CONFIG)' \ |
8147e6f8659a
[MSVC] enable libgsf compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
36 PKG_CONFIG_PATH='$(HOST_LIBDIR)/pkgconfig' \ |
8147e6f8659a
[MSVC] enable libgsf compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
37 && $(CONFIGURE_POST_HOOK) |
8147e6f8659a
[MSVC] enable libgsf compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
38 |
8147e6f8659a
[MSVC] enable libgsf compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
39 $(MAKE) -C '$(1)' -j '$(JOBS)' |
8147e6f8659a
[MSVC] enable libgsf compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
40 $(MAKE) -C '$(1)' -j 1 install |
263 | 41 endef |