annotate src/xvidcore.mk @ 7220:d3087afece14 default tip @

* src/gdal.mk, src/xcb.mk: disable doxygen docs
author John Donoghue <john.donoghue@ieee.org>
date Wed, 22 May 2024 10:31:54 -0400
parents 9809afb7a9d7
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.
1023
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 PKG := xvidcore
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 $(PKG)_IGNORE :=
6208
9809afb7a9d7 * src/xvidcore.mk: update to v1.3.7
John Donoghue <john.donoghue@ieee.org>
parents: 4029
diff changeset
6 $(PKG)_VERSION := 1.3.7
9809afb7a9d7 * src/xvidcore.mk: update to v1.3.7
John Donoghue <john.donoghue@ieee.org>
parents: 4029
diff changeset
7 $(PKG)_CHECKSUM := e6f2f5a65bccdf8d2413557df7ba6d31b7ac9be3
1023
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_SUBDIR := xvidcore/build/generic
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_FILE := xvidcore-$($(PKG)_VERSION).tar.gz
6208
9809afb7a9d7 * src/xvidcore.mk: update to v1.3.7
John Donoghue <john.donoghue@ieee.org>
parents: 4029
diff changeset
10 $(PKG)_URL := https://downloads.xvid.com/downloads/$($(PKG)_FILE)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
11 $(PKG)_DEPS := pthreads
1023
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
6208
9809afb7a9d7 * src/xvidcore.mk: update to v1.3.7
John Donoghue <john.donoghue@ieee.org>
parents: 4029
diff changeset
14 $(WGET) -q -O- 'https://labs.xvid.com/source/' | \
9809afb7a9d7 * src/xvidcore.mk: update to v1.3.7
John Donoghue <john.donoghue@ieee.org>
parents: 4029
diff changeset
15 $(SED) -n 's,.*xvidcore-\([0-9][^ ]*\)\.tar.*,\1,p' | \
9809afb7a9d7 * src/xvidcore.mk: update to v1.3.7
John Donoghue <john.donoghue@ieee.org>
parents: 4029
diff changeset
16 head -1
1023
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 endef
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18
4026
28fa86d2cf21 ffmpeg: mods for native linux build of ffmpeg
John D
parents: 4024
diff changeset
19 ifeq ($(MXE_NATIVE_BUILD),no)
1023
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 define $(PKG)_BUILD
1714
8aba3acd6389 don't remove the "-mno-cygwin" flag, but provide clean bugfixes instead for packages fltk and xvidcore
Mark Brand <mabrand@mabrand.nl>
parents: 1696
diff changeset
21 cd '$(1)' && autoconf
1025
d563764317d0 remove the unnecessary call to ./bootstrap.sh in package xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents: 1023
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: 3006
diff changeset
24 --prefix='$(HOST_PREFIX)'
3626
3959e3b1fcbf xvidcore: update version, enable shared lib
John Donoghue <john.donoghue@ieee.org>
parents: 3561
diff changeset
25 $(MAKE) -C '$(1)' -j '$(JOBS)' BUILD_DIR='build' $(if $(filter $(BUILD_STATIC), yes),SHARED,STATIC)_LIB=
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
26 $(INSTALL) -d '$(HOST_INCDIR)'
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
27 $(INSTALL) -m644 '$(1)/../../src/xvid.h' '$(HOST_INCDIR)'
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
28 $(INSTALL) -d '$(HOST_LIBDIR)'
3626
3959e3b1fcbf xvidcore: update version, enable shared lib
John Donoghue <john.donoghue@ieee.org>
parents: 3561
diff changeset
29 $(INSTALL) -d '$(HOST_BINDIR)'
3959e3b1fcbf xvidcore: update version, enable shared lib
John Donoghue <john.donoghue@ieee.org>
parents: 3561
diff changeset
30 if [ "x$(BUILD_STATIC)" == "xyes" ]; then \
3959e3b1fcbf xvidcore: update version, enable shared lib
John Donoghue <john.donoghue@ieee.org>
parents: 3561
diff changeset
31 $(INSTALL) -m644 '$(1)/build/xvidcore.a' '$(HOST_LIBDIR)/libxvidcore.a'; \
3959e3b1fcbf xvidcore: update version, enable shared lib
John Donoghue <john.donoghue@ieee.org>
parents: 3561
diff changeset
32 else \
4024
8114d05101dc ffmpeg: update to v2.7.2
John Donoghue
parents: 3626
diff changeset
33 $(INSTALL) -m644 '$(1)/build/xvidcore.dll.a' '$(HOST_LIBDIR)/libxvidcore.dll.a'; \
4029
c4a341e3e014 ffmpeg: updates to work in windows
John Donoghue
parents: 4026
diff changeset
34 $(INSTALL) -m644 '$(1)/build/xvidcore.dll' '$(HOST_BINDIR)/'; \
3626
3959e3b1fcbf xvidcore: update version, enable shared lib
John Donoghue <john.donoghue@ieee.org>
parents: 3561
diff changeset
35 fi
1023
7297c0adc12a new package: xvidcore
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
36 endef
4026
28fa86d2cf21 ffmpeg: mods for native linux build of ffmpeg
John D
parents: 4024
diff changeset
37 else
28fa86d2cf21 ffmpeg: mods for native linux build of ffmpeg
John D
parents: 4024
diff changeset
38 define $(PKG)_BUILD
28fa86d2cf21 ffmpeg: mods for native linux build of ffmpeg
John D
parents: 4024
diff changeset
39 cd '$(1)' && autoconf
28fa86d2cf21 ffmpeg: mods for native linux build of ffmpeg
John D
parents: 4024
diff changeset
40 cd '$(1)' && ./configure \
28fa86d2cf21 ffmpeg: mods for native linux build of ffmpeg
John D
parents: 4024
diff changeset
41 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
28fa86d2cf21 ffmpeg: mods for native linux build of ffmpeg
John D
parents: 4024
diff changeset
42 --prefix='$(HOST_PREFIX)' \
28fa86d2cf21 ffmpeg: mods for native linux build of ffmpeg
John D
parents: 4024
diff changeset
43 $(ENABLE_SHARED_OR_STATIC) \
28fa86d2cf21 ffmpeg: mods for native linux build of ffmpeg
John D
parents: 4024
diff changeset
44 --prefix='$(HOST_PREFIX)'
28fa86d2cf21 ffmpeg: mods for native linux build of ffmpeg
John D
parents: 4024
diff changeset
45 $(MAKE) -C '$(1)' -j '$(JOBS)' BUILD_DIR='build'
28fa86d2cf21 ffmpeg: mods for native linux build of ffmpeg
John D
parents: 4024
diff changeset
46 $(MAKE) -C '$(1)' -j 1 BUILD_DIR='build' install
28fa86d2cf21 ffmpeg: mods for native linux build of ffmpeg
John D
parents: 4024
diff changeset
47 endef
28fa86d2cf21 ffmpeg: mods for native linux build of ffmpeg
John D
parents: 4024
diff changeset
48 endif