summaryrefslogtreecommitdiffstats
path: root/contrib/libsamplerate/module.defs
blob: f079c66a34659061e264f7a131bf7c656f5c587d (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-49-ga2eb281
LIBSAMPLERATE.FETCH.url    = https://download.handbrake.fr/handbrake/contrib/libsamplerate-a2eb2814150a4ada0b49ea3cc5e51170572fc606.tar.gz
LIBSAMPLERATE.FETCH.url   += https://github.com/erikd/libsamplerate/archive/a2eb2814150a4ada0b49ea3cc5e51170572fc606.tar.gz
LIBSAMPLERATE.FETCH.sha256 = b8228e8bdbd754e95146745f85e37a25fb43d626cca7f785f3fd8e0a1c1f5f22
LIBSAMPLERATE.EXTRACT.basename = libsamplerate-a2eb2814150a4ada0b49ea3cc5e51170572fc606.tar.gz
LIBSAMPLERATE.EXTRACT.tarbase  = libsamplerate-a2eb2814150a4ada0b49ea3cc5e51170572fc606

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