Mercurial > mxe-octave
annotate src/libgsf.mk @ 5534:372ea4c0afb2
Move of-ocs PKG_XXXX to inst dir and add break patch
* src/of-ocs-3-break-fixes.patch,
src/of-ocs-4-pkgadd-fixes.patch: new files
* dist-files.mk: add ref to files
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sun, 13 Sep 2020 08:15:14 -0400 |
parents | b19af28f7ee3 |
children |
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 := |
5460
b19af28f7ee3
* src/libgsf.mk: update to v1.14.30
John Donoghue <john.donoghue@ieee.org>
parents:
4710
diff
changeset
|
6 $(PKG)_VERSION := 1.14.30 |
b19af28f7ee3
* src/libgsf.mk: update to v1.14.30
John Donoghue <john.donoghue@ieee.org>
parents:
4710
diff
changeset
|
7 $(PKG)_CHECKSUM := 5eb15d574c6b9e9c5e63bbcdff8f866b3544485a |
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 |
5460
b19af28f7ee3
* src/libgsf.mk: update to v1.14.30
John Donoghue <john.donoghue@ieee.org>
parents:
4710
diff
changeset
|
26 #$(SED) -i 's,^\(Requires:.*\),\1 gio-2.0,' '$(1)'/libgsf-1.pc.in |
b19af28f7ee3
* src/libgsf.mk: update to v1.14.30
John Donoghue <john.donoghue@ieee.org>
parents:
4710
diff
changeset
|
27 $(SED) -i 's,\ssed\s, $(SED) ,g' '$(1)'/gsf/Makefile.in |
263 | 28 cd '$(1)' && ./configure \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
29 $(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
|
30 $(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
|
31 --prefix='$(HOST_PREFIX)' \ |
263 | 32 --disable-nls \ |
33 --disable-gtk-doc \ | |
5460
b19af28f7ee3
* src/libgsf.mk: update to v1.14.30
John Donoghue <john.donoghue@ieee.org>
parents:
4710
diff
changeset
|
34 --without-python \ |
263 | 35 --with-zlib \ |
36 --with-bz2 \ | |
5460
b19af28f7ee3
* src/libgsf.mk: update to v1.14.30
John Donoghue <john.donoghue@ieee.org>
parents:
4710
diff
changeset
|
37 --without-gpio \ |
3135
8147e6f8659a
[MSVC] enable libgsf compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
38 PKG_CONFIG='$(MXE_PKG_CONFIG)' \ |
8147e6f8659a
[MSVC] enable libgsf compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
39 PKG_CONFIG_PATH='$(HOST_LIBDIR)/pkgconfig' \ |
8147e6f8659a
[MSVC] enable libgsf compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
40 && $(CONFIGURE_POST_HOOK) |
8147e6f8659a
[MSVC] enable libgsf compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
41 |
5460
b19af28f7ee3
* src/libgsf.mk: update to v1.14.30
John Donoghue <john.donoghue@ieee.org>
parents:
4710
diff
changeset
|
42 $(MAKE) -C '$(1)' -j 1 install-pkgconfigDATA DESTDIR='$(3)' |
b19af28f7ee3
* src/libgsf.mk: update to v1.14.30
John Donoghue <john.donoghue@ieee.org>
parents:
4710
diff
changeset
|
43 $(MAKE) -C '$(1)/gsf' -j '$(JOBS)' |
b19af28f7ee3
* src/libgsf.mk: update to v1.14.30
John Donoghue <john.donoghue@ieee.org>
parents:
4710
diff
changeset
|
44 $(MAKE) -C '$(1)/gsf' -j 1 install $(MXE_DISABLE_DOCS) $(MXE_DISABLE_PROGS) DESTDIR='$(3)' |
263 | 45 endef |