From ded09c293cffe591326eb7b6ccc85db0129bdf03 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Tue, 20 Feb 2018 14:02:23 +0100 Subject: [PATCH] add ladspa package and split files --- README.md | 4 +++ mxe-plugins/notwa/{overrides.mk => ffmpeg.mk} | 29 +++++++------------ mxe-plugins/notwa/ladspa.mk | 15 ++++++++++ 3 files changed, 29 insertions(+), 19 deletions(-) rename mxe-plugins/notwa/{overrides.mk => ffmpeg.mk} (73%) create mode 100644 mxe-plugins/notwa/ladspa.mk diff --git a/README.md b/README.md index e815788..1d081f3 100644 --- a/README.md +++ b/README.md @@ -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… diff --git a/mxe-plugins/notwa/overrides.mk b/mxe-plugins/notwa/ffmpeg.mk similarity index 73% rename from mxe-plugins/notwa/overrides.mk rename to mxe-plugins/notwa/ffmpeg.mk index a931d90..d882242 100644 --- a/mxe-plugins/notwa/overrides.mk +++ b/mxe-plugins/notwa/ffmpeg.mk @@ -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 \ diff --git a/mxe-plugins/notwa/ladspa.mk b/mxe-plugins/notwa/ladspa.mk new file mode 100644 index 0000000..cb43dd8 --- /dev/null +++ b/mxe-plugins/notwa/ladspa.mk @@ -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