]> granicus.if.org Git - handbrake/commitdiff
contrib: Update libsamplerate.
authorBradley Sepos <bradley@bradleysepos.com>
Wed, 27 Dec 2017 20:10:27 +0000 (15:10 -0500)
committerBradley Sepos <bradley@bradleysepos.com>
Sat, 13 Jan 2018 05:30:25 +0000 (00:30 -0500)
I've asked upstream a couple times to push at least one tag, but it seems the maintainer is busy with other projects. Imagining a world where libsamplerate 0.1.9 was tagged, this is libsamplerate 0.1.9-35-g02ebb9f.

Numerous improvements include upstream moving from bzr to git, modernizing and cleaning up the autotools-based build system, fixing issues involving GCC 7, and *nine* years of improvements to the code base.

libsamplerate is now under a 2-clause BSD license.

contrib/libsamplerate/module.defs

index cba9eea5e2157470823a02dc4f8757ce45f17733..43fe49f024867ad059af333a10cdffaed544d326 100644 (file)
@@ -1,13 +1,14 @@
 $(eval $(call import.MODULE.defs,LIBSAMPLERATE,libsamplerate))
 $(eval $(call import.CONTRIB.defs,LIBSAMPLERATE))
 
-LIBSAMPLERATE.FETCH.url    = https://download.handbrake.fr/handbrake/contrib/libsamplerate-0.1.4.tar.gz
-LIBSAMPLERATE.FETCH.sha256 = 4b4af3ecaee05c8875a9b113c6a2f816f06f283fb882914e57b21c0b08b67b75
-LIBSAMPLERATE.EXTRACT.tarbase = 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
 
-# TODO: libsamplerate >= 0.1.8, tarbase unnecessary
-#LIBSAMPLERATE.FETCH.url = https://download.handbrake.fr/handbrake/contrib/libsamplerate-0.1.8.tar.gz
-#LIBSAMPLERATE.FETCH.md5 = 1c7fb25191b4e6e3628d198a66a84f47
+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