add ladspa package and split files

This commit is contained in:
Connor Olding 2018-02-20 14:02:23 +01:00
parent c48d2f94ad
commit ded09c293c
3 changed files with 29 additions and 19 deletions

View file

@ -40,6 +40,10 @@ this package has been tweaked to build a more recent version
and to enable(-nonfree) some stuff they tell you not to.
there's licensing conflicts, so don't redistribute the resulting binaries.
### ladspa
this is a simple package that just downloads and installs `ladspa.h`.
### mxe
just leaving this here as a TODO…

View file

@ -8,26 +8,17 @@ $(PKG)_CHECKSUM := e0c5d95c2f9866bd15ae8beb258e95ec8dc5b491c9640528aa561c651e04a
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE := $($(PKG)_VERSION).tar.gz
$(PKG)_URL := https://git.ffmpeg.org/gitweb/ffmpeg.git/snapshot/$($(PKG)_FILE)
$(PKG)_DEPS := cc bzip2 fdk-aac gnutls lame libass libbluray libbs2b \
libcaca librtmp libvpx libwebp opencore-amr opus \
sdl speex theora vidstab vo-amrwbenc \
vorbis x264 xvidcore yasm zlib \
freetype fontconfig fribidi \
vidstab
$(PKG)_DEPS := bzip2 cc fdk-aac fontconfig freetype \
fribidi gnutls ladspa lame \
libass libbluray libbs2b libcaca librtmp libvpx libwebp \
opencore-amr opus sdl speex theora vidstab \
vo-amrwbenc vorbis x264 xvidcore yasm zlib
# NOTE: you'll have to manually copy ladspa.h into mxe's usr directory
#cp /usr/include/ladspa.h usr/x86_64-w64-mingw32.static/include/ladspa.h
# --enable-libebur128 \
# --enable-libflite \
# --enable-libzmq \
# --enable-opencl \
# NOTE: opencv should work if you pass the right C++ standard
# --enable-libopencv \
# also has an issue linking using gcc 6
# --enable-netcdf \
# doesn't exist anymore?
# --disable-ffserver \
define $(PKG)_UPDATE
$(WGET) -q -O- 'https://git.ffmpeg.org/gitweb/ffmpeg.git/shortlog' | \
$(SED) -n 's,.*/commit/\([a-f0-9]\{7\}\).*,\1,p' | \
head -1
endef
define $(PKG)_BUILD
cd '$(1)' && ./configure \

View file

@ -0,0 +1,15 @@
# This file is part of MXE. See LICENSE.md for licensing information.
PKG := ladspa
$(PKG)_WEBSITE := http://www.ladspa.org
$(PKG)_IGNORE :=
$(PKG)_VERSION := 1.1
$(PKG)_CHECKSUM := c72ceb7383f159a944bfe80b1b155795857026aea1155dbe4ecf1664354320ad
$(PKG)_FILE := ladspa.h.txt
$(PKG)_URL := http://www.ladspa.org/ladspa_sdk/$($(PKG)_FILE)
$(PKG)_DEPS :=
$(PKG)_TYPE := script
define $(PKG)_BUILD
$(INSTALL) -m644 '$(PKG_DIR)/ladspa.h.txt' '$(PREFIX)/$(TARGET)/include/ladspa.h'
endef