annotate src/gstreamer.mk @ 6215:d18a5545df0d release

build-gettext: Don't build emacs bindings. * src/build-gettext.mk: The `emacs` installed on the build system might be incompatible with the STL built by build-gcc. We probably don't need the emacs bindings for the `gettext` build tool anyway. So skip building those bindings.
author Markus Mützel <markus.muetzel@gmx.de>
date Sat, 07 May 2022 12:01:10 +0200
parents 7e8c6bb47c21
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: 1889
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.
798
0292c7229519 new packages: liboil, libshout, gstreamer, gst-plugins-base and gst-plugins-good
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
3
0292c7229519 new packages: liboil, libshout, gstreamer, gst-plugins-base and gst-plugins-good
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
4 PKG := gstreamer
0292c7229519 new packages: liboil, libshout, gstreamer, gst-plugins-base and gst-plugins-good
Mark Brand <mabrand@mabrand.nl>
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 := 0.10.36
2638
2e46fabcbbd0 packages gstreamer gst-plugins-base gst-plugins-good: revert to stable versions
Mark Brand <mabrand@mabrand.nl>
parents: 2637
diff changeset
7 $(PKG)_CHECKSUM := 27931b00eb5d50bc477e32e2dda7440f4179e7ac
798
0292c7229519 new packages: liboil, libshout, gstreamer, gst-plugins-base and gst-plugins-good
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
2637
69205fa89aee update packages gstreamer gst-plugins-base gst-plugins-good
Mark Brand <mabrand@mabrand.nl>
parents: 2525
diff changeset
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.xz
798
0292c7229519 new packages: liboil, libshout, gstreamer, gst-plugins-base and gst-plugins-good
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
10 $(PKG)_URL := http://gstreamer.freedesktop.org/src/$(PKG)/$($(PKG)_FILE)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
11 $(PKG)_DEPS := glib libxml2
798
0292c7229519 new packages: liboil, libshout, gstreamer, gst-plugins-base and gst-plugins-good
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
12
0292c7229519 new packages: liboil, libshout, gstreamer, gst-plugins-base and gst-plugins-good
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
13 define $(PKG)_UPDATE
2525
4d0f3a9da57e all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents: 2365
diff changeset
14 $(WGET) -q -O- 'http://cgit.freedesktop.org/gstreamer/gstreamer/refs/tags' | \
4558
7e8c6bb47c21 update: additional pkg update updates
John D
parents: 3480
diff changeset
15 $(SED) -n "s,.*<a href='[^']*/tag/?h=[^0-9]*\\([0-9][^']*\\)'.*,\\1,p" | \
800
3eba8075e121 implemented version recognition and corrected website URLs for packages gst-plugins-base, gst-plugins-good, gstreamer, liboil and libshout
Volker Grabsch <vog@notjusthosting.com>
parents: 798
diff changeset
16 head -1
798
0292c7229519 new packages: liboil, libshout, gstreamer, gst-plugins-base and gst-plugins-good
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
17 endef
0292c7229519 new packages: liboil, libshout, gstreamer, gst-plugins-base and gst-plugins-good
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
18
0292c7229519 new packages: liboil, libshout, gstreamer, gst-plugins-base and gst-plugins-good
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
19 define $(PKG)_BUILD
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
20 $(SED) -i 's,glib-mkenums,$(HOST_BINDIR)/glib-mkenums,g' '$(1)'/gst/Makefile.in
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
21 $(SED) -i 's,glib-genmarshal,$(HOST_BINDIR)/glib-genmarshal,g' '$(1)'/gst/Makefile.in
798
0292c7229519 new packages: liboil, libshout, gstreamer, gst-plugins-base and gst-plugins-good
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
22 cd '$(1)' && ./configure \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
23 $(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
24 --prefix='$(HOST_PREFIX)' \
2855
47558e958113 Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents: 2638
diff changeset
25 $(ENABLE_SHARED_OR_STATIC) \
798
0292c7229519 new packages: liboil, libshout, gstreamer, gst-plugins-base and gst-plugins-good
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
26 --disable-debug \
0292c7229519 new packages: liboil, libshout, gstreamer, gst-plugins-base and gst-plugins-good
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
27 --disable-check \
0292c7229519 new packages: liboil, libshout, gstreamer, gst-plugins-base and gst-plugins-good
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
28 --disable-tests \
0292c7229519 new packages: liboil, libshout, gstreamer, gst-plugins-base and gst-plugins-good
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
29 --disable-examples \
0292c7229519 new packages: liboil, libshout, gstreamer, gst-plugins-base and gst-plugins-good
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
30 --mandir='$(1)/sink' \
0292c7229519 new packages: liboil, libshout, gstreamer, gst-plugins-base and gst-plugins-good
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
31 --docdir='$(1)/sink' \
0292c7229519 new packages: liboil, libshout, gstreamer, gst-plugins-base and gst-plugins-good
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
32 --with-html-dir='$(1)/sink'
0292c7229519 new packages: liboil, libshout, gstreamer, gst-plugins-base and gst-plugins-good
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
33 $(MAKE) -C '$(1)' -j '$(JOBS)' install
0292c7229519 new packages: liboil, libshout, gstreamer, gst-plugins-base and gst-plugins-good
Mark Brand <mabrand@mabrand.nl>
parents:
diff changeset
34 endef