Mercurial > mxe-octave
annotate src/libvpx.mk @ 3849:e50c777c9a97
explicitly set MOC, UIC, RCC, and LRELEASE for Octave configure commands
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 07 Mar 2015 14:01:57 -0500 |
parents | 6426e08a5618 |
children | 8114d05101dc |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2224
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. |
1257
afabf3a51818
new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff
changeset
|
3 |
afabf3a51818
new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff
changeset
|
4 PKG := libvpx |
afabf3a51818
new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.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.1.0 |
2543 | 7 $(PKG)_CHECKSUM := 356af5f770c50cd021c60863203d8f30164f6021 |
1447
8d43a215ea43
upgrade packages: atkmm gdal gdk-pixbuf glew glib gtk imagemagick lapack librsvg libvpx libxml2 ogg pixman vorbis x264
Volker Grabsch <vog@notjusthosting.com>
parents:
1334
diff
changeset
|
8 $(PKG)_SUBDIR := $(PKG)-v$($(PKG)_VERSION) |
1499
9e587ca588dc
remove $($PKG)_SUBDIR) from FILE and URL defintions
Mark Brand <mabrand@mabrand.nl>
parents:
1447
diff
changeset
|
9 $(PKG)_FILE := $(PKG)-v$($(PKG)_VERSION).tar.bz2 |
1257
afabf3a51818
new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff
changeset
|
10 $(PKG)_URL := http://webm.googlecode.com/files/$($(PKG)_FILE) |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3031
diff
changeset
|
11 $(PKG)_DEPS := pthreads |
1257
afabf3a51818
new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff
changeset
|
12 |
afabf3a51818
new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
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://code.google.com/p/webm/downloads/list?sort=-uploaded' | \ |
1269
a74be54ab8a3
misc fixes for libvpx and x264
Tony Theodore <tonyt@logyst.com>
parents:
1261
diff
changeset
|
15 $(SED) -n 's,.*libvpx-v\([0-9][^<]*\)\.tar.*,\1,p' | \ |
1257
afabf3a51818
new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff
changeset
|
16 head -1 |
afabf3a51818
new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff
changeset
|
17 endef |
afabf3a51818
new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff
changeset
|
18 |
afabf3a51818
new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff
changeset
|
19 define $(PKG)_BUILD |
afabf3a51818
new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff
changeset
|
20 cd '$(1)' && \ |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
21 CROSS='$(MXE_TOOL_PREFIX)' \ |
1261
050f5ff03b26
improve coding style of ffmpeg and dependencies
Tony Theodore <tonyt@logyst.com>
parents:
1260
diff
changeset
|
22 ./configure \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2558
diff
changeset
|
23 --prefix='$(HOST_PREFIX)' \ |
1261
050f5ff03b26
improve coding style of ffmpeg and dependencies
Tony Theodore <tonyt@logyst.com>
parents:
1260
diff
changeset
|
24 --target=x86-win32-gcc \ |
1334
5aa60cef7fd6
bugfix: don't build the docs of package libvpx
Volker Grabsch <vog@notjusthosting.com>
parents:
1275
diff
changeset
|
25 --disable-examples \ |
5aa60cef7fd6
bugfix: don't build the docs of package libvpx
Volker Grabsch <vog@notjusthosting.com>
parents:
1275
diff
changeset
|
26 --disable-install-docs |
1257
afabf3a51818
new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff
changeset
|
27 $(MAKE) -C '$(1)' -j '$(JOBS)' |
afabf3a51818
new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff
changeset
|
28 $(MAKE) -C '$(1)' -j 1 install |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
29 $(MXE_RANLIB) $(HOST_LIBDIR)/libvpx.a |
3623
6426e08a5618
libvpx: create dll if shared build
John Donoghue <john.donoghue@ieee.org>
parents:
3480
diff
changeset
|
30 if [ $(BUILD_SHARED) = yes ]; then \ |
6426e08a5618
libvpx: create dll if shared build
John Donoghue <john.donoghue@ieee.org>
parents:
3480
diff
changeset
|
31 $(MAKE_SHARED_FROM_STATIC) --ar '$(MXE_AR)' --ld '$(MXE_CC)' '$(HOST_LIBDIR)/libvpx.a' --install '$(INSTALL)' --libdir '$(HOST_LIBDIR)' --bindir '$(HOST_BINDIR)' -lpthread; \ |
6426e08a5618
libvpx: create dll if shared build
John Donoghue <john.donoghue@ieee.org>
parents:
3480
diff
changeset
|
32 fi |
6426e08a5618
libvpx: create dll if shared build
John Donoghue <john.donoghue@ieee.org>
parents:
3480
diff
changeset
|
33 |
1257
afabf3a51818
new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff
changeset
|
34 endef |