alure: enable all options, no dlopen

While we'at it, switch distfiles to DEBIAN
This commit is contained in:
Đoàn Trần Công Danh 2021-03-25 07:30:43 +07:00
parent f93dcfec3c
commit 025079a7e8
2 changed files with 21 additions and 4 deletions

View File

@ -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 <io.h>
#endif
+#include <unistd.h>
#include <istream>

View File

@ -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 <si.whelan@gmail.com>"
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