mirror of https://git.wownero.com/dsc/mxe.git
Add package wavpack
WavPack is an open audio compression format that offers lossless, lossy, and hybrid compression modes. (Hybrid mode: A lossily compressed file is accompanied by a correction file that allows lossless reconstruction of the original audio.) The library has a three-clause BSD licence. Website: http://www.wavpack.com/ Built via autotools. No special dependencies; libiconv is only used for the command-line programs, not for the library.
This commit is contained in:
parent
9bb3178d7c
commit
ef2b62d98b
|
@ -2149,6 +2149,11 @@ aptitude -t squeeze-backports install cmake yasm</pre>
|
|||
<td id="w32api-version">3.17</td>
|
||||
<td id="w32api-website"><a href="http://www.mingw.org/">MinGW Windows API</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id="wavpack-package">wavpack</td>
|
||||
<td id="wavpack-version">4.60.1</td>
|
||||
<td id="wavpack-website"><a href="http://www.wavpack.com/">WavPack</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id="wget-package">wget</td>
|
||||
<td id="wget-version">1.14</td>
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
# This file is part of MXE.
|
||||
# See index.html for further information.
|
||||
|
||||
PKG := wavpack
|
||||
$(PKG)_IGNORE :=
|
||||
$(PKG)_CHECKSUM := 003c65cb4e29c55011cf8e7b10d69120df5e7f30
|
||||
$(PKG)_SUBDIR := wavpack-$($(PKG)_VERSION)
|
||||
$(PKG)_FILE := wavpack-$($(PKG)_VERSION).tar.bz2
|
||||
$(PKG)_URL := http://www.wavpack.com/$($(PKG)_FILE)
|
||||
$(PKG)_DEPS := gcc
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'http://www.wavpack.com/downloads.html' | \
|
||||
grep '<a href="wavpack-.*\.tar\.bz2">' | \
|
||||
head -n 1 | \
|
||||
$(SED) -e 's/^.*<a href="wavpack-\([0-9.]*\)\.tar\.bz2">.*$/\1/'
|
||||
endef
|
||||
|
||||
define $(PKG)_BUILD
|
||||
cd '$(1)' && ./configure \
|
||||
--host='$(TARGET)' \
|
||||
--disable-shared \
|
||||
--prefix='$(PREFIX)/$(TARGET)' \
|
||||
--without-iconv \
|
||||
CFLAGS="-DWIN32"
|
||||
$(MAKE) -C '$(1)' -j '$(JOBS)' SUBDIRS="src include"
|
||||
$(MAKE) -C '$(1)' -j 1 install SUBDIRS="src include"
|
||||
endef
|
Loading…
Reference in New Issue