From 858a57e65bac1e5751f1e622ef1ccf01b772d9a8 Mon Sep 17 00:00:00 2001 From: Dennis Brentjes Date: Sun, 5 May 2013 21:24:00 +0200 Subject: Added the Alure package. The alure package is an conveniance library for openal that packs certain OpenAL functionality in a os independent wrapper. It also can use certain audio libraries to extend the type of loadable audio files. The current package setup depends on all the audio libraries that mxe currently has and that Alure can handle. Moved VERBOSE=1 to the end of the make line as per request. Also moved the cmake_toolchain_file line to the end of the cmake command block. Moved from a insource to an outsource build of alure with cmake --- index.html | 5 +++++ src/alure.mk | 31 +++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 src/alure.mk diff --git a/index.html b/index.html index 546453f..fb1c916 100644 --- a/index.html +++ b/index.html @@ -909,6 +909,11 @@ aptitude -t squeeze-backports install cmake yasm Anti-Grain Geometry + alure + 1.2 + alure + + apr-util 1.4.1 APR-util diff --git a/src/alure.mk b/src/alure.mk new file mode 100644 index 0000000..ff9a370 --- /dev/null +++ b/src/alure.mk @@ -0,0 +1,31 @@ +# This file is part of MXE. +# See index.html for further information + +PKG := alure +$(PKG)_IGNORE := +$(PKG)_CHECKSUM := f033f0820c449ebff7b4b0254a7b1f26c0ba485b +$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) +$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2 +$(PKG)_URL := http://kcat.strangesoft.net/alure-releases/$($(PKG)_FILE) +$(PKG)_DEPS := gcc openal flac ogg libsndfile vorbis + +define $(PKG)_UPDATE + $(WGET) -q -O- http://repo.or.cz/w/alure.git/tags | \ + grep alure- | \ + $(SED) -n 's,.*alure-\([0-9\.]*\)<.*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + cd '$(1)/build' && cmake \ + -DBUILD_STATIC=ON \ + -DBUILD_SHARED=OFF \ + -DBUILD_EXAMPLES=OFF \ + -DCMAKE_C_FLAGS="-DAL_LIBTYPE_STATIC -DALURE_STATIC_LIBRARY" \ + -DCMAKE_CXX_FLAGS="-DAL_LIBTYPE_STATIC -DALURE_STATIC_LIBRARY" \ + -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ + .. + $(MAKE) -C '$(1)/build' -j $(JOBS) VERBOSE=1 + $(MAKE) -C '$(1)/build' -j $(JOBS) install +endef + -- cgit v0.12