summaryrefslogtreecommitdiffstats
path: root/contrib/libsamplerate/module.defs
blob: 43fe49f024867ad059af333a10cdffaed544d326 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$(eval $(call import.MODULE.defs,LIBSAMPLERATE,libsamplerate))
$(eval $(call import.CONTRIB.defs,LIBSAMPLERATE))

# libsamplerate 0.1.9-31-g292789a
LIBSAMPLERATE.FETCH.url    = https://download.handbrake.fr/handbrake/contrib/libsamplerate-02ebb9f0fc4d67cb3f1ac4c2283664340510fd68.tar.gz
LIBSAMPLERATE.FETCH.url   += https://github.com/erikd/libsamplerate/archive/02ebb9f0fc4d67cb3f1ac4c2283664340510fd68.tar.gz
LIBSAMPLERATE.FETCH.sha256 = 5fc80ce7cd961f09ac4274fe57e4cd563209d5b1c549d8ff2d82b7091835310c
LIBSAMPLERATE.EXTRACT.basename = libsamplerate-02ebb9f0fc4d67cb3f1ac4c2283664340510fd68.tar.gz
LIBSAMPLERATE.EXTRACT.tarbase  = libsamplerate-02ebb9f0fc4d67cb3f1ac4c2283664340510fd68

LIBSAMPLERATE.CONFIGURE.bootstrap = rm -fr aclocal.m4 autom4te.cache configure; autoreconf -fiv;

# Disable to avoid Carbon.h dependency on OSX
LIBSAMPLERATE.CONFIGURE.extra = --disable-sndfile

ifeq (1-msys,$(BUILD.cross)-$(HOST.system))
    LIBSAMPLERATE.CONFIGURE.args.build = --build=$(BUILD.machine)-unknown-linux-gnu
endif