annotate src/gtkglext.mk @ 7207:9ed6500e56d3 default tip @

maint: Merge release to default.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 17 May 2024 20:16:41 +0200
parents 295d77bd6c64
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: 2153
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.
963
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 PKG := gtkglext
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
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 := 1.2.0
963
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
7 $(PKG)_CHECKSUM := db9ce38ee555fd14f55083ec7f4ae30e5338d5cc
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_SUBDIR := gtkglext-$($(PKG)_VERSION)
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_FILE := gtkglext-$($(PKG)_VERSION).tar.gz
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/gtkglext/gtkglext/$($(PKG)_VERSION)/$($(PKG)_FILE)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3031
diff changeset
11 $(PKG)_DEPS := gtk2
963
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
4971
295d77bd6c64 * src/gtkglext.mk: update update rule
John Donoghue
parents: 4722
diff changeset
14 $(WGET) -q -O- 'https://ftp.gnome.org/pub/gnome/sources/gtkglext/1.2/' | \
295d77bd6c64 * src/gtkglext.mk: update update rule
John Donoghue
parents: 4722
diff changeset
15 $(SED) -n 's,.*gtkglext-\(1[^>]*\)\.tar.*,\1,ip' | $(SORT) -V | \
4722
2fce10000fa7 more gnome repo -> github updates
John Donoghue
parents: 4384
diff changeset
16 tail -1
963
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 endef
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 define $(PKG)_BUILD
967
9c41979b7f21 replace the $(SED) hacks with proper patches in package gtkglext
Volker Grabsch <vog@notjusthosting.com>
parents: 963
diff changeset
20 cd '$(1)' && autoconf
963
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 cd '$(1)' && ./configure \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
22 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2855
diff changeset
23 --prefix='$(HOST_PREFIX)' \
2855
47558e958113 Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents: 2525
diff changeset
24 $(ENABLE_SHARED_OR_STATIC) \
963
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 --without-x \
967
9c41979b7f21 replace the $(SED) hacks with proper patches in package gtkglext
Volker Grabsch <vog@notjusthosting.com>
parents: 963
diff changeset
26 --with-gdktarget=win32 \
963
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 --disable-gtk-doc \
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 --disable-man \
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 --disable-glibtest
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 $(MAKE) -C '$(1)' -j '$(JOBS)' install \
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
31 bin_PROGRAMS= \
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
32 sbin_PROGRAMS= \
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
33 noinst_PROGRAMS= \
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
34 INFO_DEPS= \
3031
951da75fd09c improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
35 GDKGLEXT_DEP_CFLAGS='`'$(MXE_PKG_CONFIG)' gtk+-2.0 --cflags`' \
951da75fd09c improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
36 GTKGLEXT_DEP_CFLAGS='`'$(MXE_PKG_CONFIG)' gtk+-2.0 --cflags`'
970
446515393768 actually build the test program of package gtkglext
Volker Grabsch <vog@notjusthosting.com>
parents: 967
diff changeset
37
3031
951da75fd09c improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
38 '$(MXE_CC)' \
970
446515393768 actually build the test program of package gtkglext
Volker Grabsch <vog@notjusthosting.com>
parents: 967
diff changeset
39 -W -Wall -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
40 '$(2).c' -o '$(HOST_BINDIR)/test-gtkglext.exe' \
3031
951da75fd09c improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
41 `'$(MXE_PKG_CONFIG)' gtkglext-1.0 --cflags --libs`
963
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
42 endef