From d15074b7cb7f276cc0cb5e8f59f7280074d4a859 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Thu, 25 Mar 2021 07:30:43 +0700 Subject: [PATCH] alure: enable all options, no dlopen While we'at it, switch distfiles to DEBIAN --- srcpkgs/alure/patches/include-close.patch | 12 ++++++++++++ srcpkgs/alure/template | 13 +++++++++---- 2 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 srcpkgs/alure/patches/include-close.patch diff --git a/srcpkgs/alure/patches/include-close.patch b/srcpkgs/alure/patches/include-close.patch new file mode 100644 index 000000000000..b7fe5226b5cf --- /dev/null +++ b/srcpkgs/alure/patches/include-close.patch @@ -0,0 +1,12 @@ +Index: alure-1.2/src/codec_fluidsynth.cpp +=================================================================== +--- alure-1.2.orig/src/codec_fluidsynth.cpp ++++ alure-1.2/src/codec_fluidsynth.cpp +@@ -30,6 +30,7 @@ + #ifdef _WIN32 + #include + #endif ++#include + + #include + diff --git a/srcpkgs/alure/template b/srcpkgs/alure/template index d6f6ae17607a..af57f0f163c4 100644 --- a/srcpkgs/alure/template +++ b/srcpkgs/alure/template @@ -1,15 +1,20 @@ # Template file for 'alure' pkgname=alure version=1.2 -revision=1 +revision=2 build_style=cmake -makedepends="libopenal-devel" +configure_args="-DMODPLUG=ON -DDYNLOAD=OFF" +hostmakedepends="pkg-config" +makedepends="libopenal-devel libsndfile-devel libvorbis-devel libflac-devel + mpg123-devel libmodplug-devel fluidsynth-devel" short_desc="Utility library to help manage common tasks with OpenAL applications" maintainer="Simon Whelan " license="MIT" -homepage="http://kcat.strangesoft.net/alure.html" -distfiles="http://kcat.strangesoft.net/alure-releases/alure-${version}.tar.bz2" +# homepage="http://kcat.strangesoft.net/alure.html" +homepage="https://github.com/kcat/alure" +distfiles="${DEBIAN_SITE}/main/a/alure/alure_${version}.orig.tar.bz2" checksum=465e6adae68927be3a023903764662d64404e40c4c152d160e3a8838b1d70f71 +patch_args=-Np1 post_install() { vlicense COPYING