From 5c42b9ad588687d1bea7ce5402a2403338f6c0b4 Mon Sep 17 00:00:00 2001 From: ziggi Date: Thu, 10 Sep 2020 15:27:29 +0000 Subject: [PATCH] devel/libestr devel/libfastjson devel/liblogging devel/liblognorm devel/librelp media/libopenal-soft --- data/libdbi-drivers/Makefile | 2 +- devel/libboost72/pkg-plist | 1 + devel/libestr/Makefile | 20 +++++++ devel/libestr/distinfo | 3 + devel/libestr/files/patch-x-ltmain.sh | 36 ++++++++++++ devel/libestr/pkg-descr | 3 + devel/libestr/pkg-plist | 6 ++ devel/libfastjson/Makefile | 20 +++++++ devel/libfastjson/distinfo | 3 + devel/libfastjson/pkg-descr | 11 ++++ devel/libfastjson/pkg-plist | 13 +++++ devel/liblogging/Makefile | 21 +++++++ devel/liblogging/distinfo | 3 + devel/liblogging/files/patch-x-ltmain.sh | 36 ++++++++++++ devel/liblogging/pkg-descr | 8 +++ devel/liblogging/pkg-plist | 19 +++++++ devel/liblognorm/Makefile | 28 +++++++++ devel/liblognorm/distinfo | 3 + devel/liblognorm/files/patch-x-ltmain.sh | 36 ++++++++++++ devel/liblognorm/files/pkg-message.in | 18 ++++++ devel/liblognorm/pkg-descr | 8 +++ devel/liblognorm/pkg-plist | 14 +++++ devel/librelp/Makefile | 31 ++++++++++ devel/librelp/distinfo | 3 + devel/librelp/files/patch-x-ltmain.sh | 36 ++++++++++++ devel/librelp/pkg-descr | 13 +++++ devel/librelp/pkg-plist | 6 ++ java/maven/Makefile | 2 +- media/libopenal-soft/Makefile | 57 +++++++++++++++++++ media/libopenal-soft/distinfo | 3 + .../files/patch-x-CMakeLists.txt | 38 +++++++++++++ media/libopenal-soft/pkg-descr | 9 +++ media/libopenal-soft/pkg-plist | 26 +++++++++ 33 files changed, 534 insertions(+), 2 deletions(-) create mode 100644 devel/libestr/Makefile create mode 100644 devel/libestr/distinfo create mode 100644 devel/libestr/files/patch-x-ltmain.sh create mode 100644 devel/libestr/pkg-descr create mode 100644 devel/libestr/pkg-plist create mode 100644 devel/libfastjson/Makefile create mode 100644 devel/libfastjson/distinfo create mode 100644 devel/libfastjson/pkg-descr create mode 100644 devel/libfastjson/pkg-plist create mode 100644 devel/liblogging/Makefile create mode 100644 devel/liblogging/distinfo create mode 100644 devel/liblogging/files/patch-x-ltmain.sh create mode 100644 devel/liblogging/pkg-descr create mode 100644 devel/liblogging/pkg-plist create mode 100644 devel/liblognorm/Makefile create mode 100644 devel/liblognorm/distinfo create mode 100644 devel/liblognorm/files/patch-x-ltmain.sh create mode 100644 devel/liblognorm/files/pkg-message.in create mode 100644 devel/liblognorm/pkg-descr create mode 100644 devel/liblognorm/pkg-plist create mode 100644 devel/librelp/Makefile create mode 100644 devel/librelp/distinfo create mode 100644 devel/librelp/files/patch-x-ltmain.sh create mode 100644 devel/librelp/pkg-descr create mode 100644 devel/librelp/pkg-plist create mode 100644 media/libopenal-soft/Makefile create mode 100644 media/libopenal-soft/distinfo create mode 100644 media/libopenal-soft/files/patch-x-CMakeLists.txt create mode 100644 media/libopenal-soft/pkg-descr create mode 100644 media/libopenal-soft/pkg-plist diff --git a/data/libdbi-drivers/Makefile b/data/libdbi-drivers/Makefile index 6dcd15ed..912154ac 100644 --- a/data/libdbi-drivers/Makefile +++ b/data/libdbi-drivers/Makefile @@ -23,7 +23,7 @@ INSTALL_TARGET= install-strip CONFIGURE_ARGS+= --without-mysql CONFIGURE_ARGS+= --with-pgsql -CONFIGURE_ARGS+= --without-sqlite3 +CONFIGURE_ARGS+= --with-sqlite3 CONFIGURE_ARGS+= --without-firebird CONFIGURE_ARGS+= --without-freetds CONFIGURE_ARGS+= --without-oracle diff --git a/devel/libboost72/pkg-plist b/devel/libboost72/pkg-plist index 26cfbbe0..567da61b 100644 --- a/devel/libboost72/pkg-plist +++ b/devel/libboost72/pkg-plist @@ -15578,3 +15578,4 @@ lib/libboost_wserialization.so.72 @dir lib/cmake/Boost-1.72.0 @dir lib/cmake @dir lib + diff --git a/devel/libestr/Makefile b/devel/libestr/Makefile new file mode 100644 index 00000000..8856a822 --- /dev/null +++ b/devel/libestr/Makefile @@ -0,0 +1,20 @@ +# Created by: Jim Riggs +# $FreeBSD: head/devel/libestr/Makefile 505671 2019-07-02 12:13:09Z koobs $ + +PORTNAME= libestr +PORTVERSION= 0.1.11 +CATEGORIES= devel +MASTER_SITES= https://libestr.adiscon.com/files/download/ + +MAINTAINER= matthew@FreeBSD.org +COMMENT= Library for some string essentials + +USES= pathfix +USE_LDCONFIG= yes + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --disable-testbench + +INSTALL_TARGET= install-strip + +.include diff --git a/devel/libestr/distinfo b/devel/libestr/distinfo new file mode 100644 index 00000000..c6a4183d --- /dev/null +++ b/devel/libestr/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1540971562 +SHA256 (libestr-0.1.11.tar.gz) = 46632b2785ff4a231dcf241eeb0dcb5fc0c7d4da8ee49cf5687722cdbe8b2024 +SIZE (libestr-0.1.11.tar.gz) = 355544 diff --git a/devel/libestr/files/patch-x-ltmain.sh b/devel/libestr/files/patch-x-ltmain.sh new file mode 100644 index 00000000..5846ae95 --- /dev/null +++ b/devel/libestr/files/patch-x-ltmain.sh @@ -0,0 +1,36 @@ +--- ./ltmain.sh~ 2018-10-18 16:47:24.000000000 +0200 ++++ ./ltmain.sh 2020-09-10 13:56:55.999336000 +0200 +@@ -8811,13 +8811,13 @@ + # + case $version_type in + # correct linux to gnu/linux during the next big refactor +- darwin|freebsd-elf|linux|osf|windows|none) ++ darwin|linux|osf|windows|none) + func_arith $number_major + $number_minor + current=$func_arith_result + age=$number_minor + revision=$number_revision + ;; +- freebsd-aout|qnx|sunos) ++ freebsd*|qnx|sunos) + current=$number_major + revision=$number_minor + age=0 +@@ -8900,15 +8900,9 @@ + esac + ;; + +- freebsd-aout) ++ freebsd*) + major=.$current +- versuffix=.$current.$revision +- ;; +- +- freebsd-elf) +- func_arith $current - $age +- major=.$func_arith_result +- versuffix=$major.$age.$revision ++ versuffix=.$current + ;; + + irix | nonstopux) diff --git a/devel/libestr/pkg-descr b/devel/libestr/pkg-descr new file mode 100644 index 00000000..fd3d3cc6 --- /dev/null +++ b/devel/libestr/pkg-descr @@ -0,0 +1,3 @@ +A library for some string essentials. + +WWW: https://libestr.adiscon.com/ diff --git a/devel/libestr/pkg-plist b/devel/libestr/pkg-plist new file mode 100644 index 00000000..fb9a669e --- /dev/null +++ b/devel/libestr/pkg-plist @@ -0,0 +1,6 @@ +include/libestr.h +lib/libestr.a +lib/libestr.la +lib/libestr.so +lib/libestr.so.0 +lib/pkgconfig/libestr.pc diff --git a/devel/libfastjson/Makefile b/devel/libfastjson/Makefile new file mode 100644 index 00000000..0fc2f0f4 --- /dev/null +++ b/devel/libfastjson/Makefile @@ -0,0 +1,20 @@ +# Created by: Muhammad Moinur Rahman +# $FreeBSD: head/devel/libfastjson/Makefile 458462 2018-01-08 17:48:08Z bofh $ + +PORTNAME= libfastjson +PORTVERSION= 0.99.8 +DISTVERSIONPREFIX= v +CATEGORIES= devel + +MAINTAINER= bofh@FreeBSD.org +COMMENT= libfastjson is a fork from json-c + +GNU_CONFIGURE= yes +USES= autoreconf pkgconfig +INSTALL_TARGET= install-strip + +USE_GITHUB= yes +GH_ACCOUNT= rsyslog +USE_LDCONFIG= yes + +.include diff --git a/devel/libfastjson/distinfo b/devel/libfastjson/distinfo new file mode 100644 index 00000000..ce671c23 --- /dev/null +++ b/devel/libfastjson/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1515416222 +SHA256 (rsyslog-libfastjson-v0.99.8_GH0.tar.gz) = 7e49057b26a5a9e3c6623e024f95f9fd9a14b571b9150aeb89d6d475fc3633e3 +SIZE (rsyslog-libfastjson-v0.99.8_GH0.tar.gz) = 88667 diff --git a/devel/libfastjson/pkg-descr b/devel/libfastjson/pkg-descr new file mode 100644 index 00000000..38571bc1 --- /dev/null +++ b/devel/libfastjson/pkg-descr @@ -0,0 +1,11 @@ +The aim of this project is not to provide a slightly modified clone of json-c. +It's aim is to provide + +* a small library with essential json handling functions +* sufficiently good json support (not 100% standards compliant) +* be very fast in processing + +In order to reach these goals, we reduce the features of json-c. For +similarities and differences, see the file DIFFERENCES. + +WWW: https://github.com/rsyslog/libfastjson diff --git a/devel/libfastjson/pkg-plist b/devel/libfastjson/pkg-plist new file mode 100644 index 00000000..89dc599c --- /dev/null +++ b/devel/libfastjson/pkg-plist @@ -0,0 +1,13 @@ +include/libfastjson/atomic.h +include/libfastjson/json_object_iterator.h +include/libfastjson/json_object_private.h +include/libfastjson/json_object.h +include/libfastjson/json_tokener.h +include/libfastjson/json_util.h +include/libfastjson/json.h +lib/libfastjson.a +lib/libfastjson.la +lib/libfastjson.so +lib/libfastjson.so.6 +lib/pkgconfig/libfastjson.pc +@dir include/libfastjson diff --git a/devel/liblogging/Makefile b/devel/liblogging/Makefile new file mode 100644 index 00000000..8264ae6e --- /dev/null +++ b/devel/liblogging/Makefile @@ -0,0 +1,21 @@ +# Created by: Andrew Pantyukhin +# $FreeBSD: head/devel/liblogging/Makefile 435649 2017-03-08 00:25:39Z matthew $ + +PORTNAME= liblogging +PORTVERSION= 1.0.6 +CATEGORIES= devel +MASTER_SITES= http://download.rsyslog.com/liblogging/ + +MAINTAINER= matthew@FreeBSD.org +COMMENT= Easy to use system logging library + +GNU_CONFIGURE= yes +USES= pkgconfig + +CONFIGURE_ARGS+= --disable-journal --enable-rfc3195 + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/liblogging-rfc3195.so.* + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/liblogging-stdlog.so.* + +.include diff --git a/devel/liblogging/distinfo b/devel/liblogging/distinfo new file mode 100644 index 00000000..f5466185 --- /dev/null +++ b/devel/liblogging/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1488930125 +SHA256 (liblogging-1.0.6.tar.gz) = 338c6174e5c8652eaa34f956be3451f7491a4416ab489aef63151f802b00bf93 +SIZE (liblogging-1.0.6.tar.gz) = 593393 diff --git a/devel/liblogging/files/patch-x-ltmain.sh b/devel/liblogging/files/patch-x-ltmain.sh new file mode 100644 index 00000000..5846ae95 --- /dev/null +++ b/devel/liblogging/files/patch-x-ltmain.sh @@ -0,0 +1,36 @@ +--- ./ltmain.sh~ 2018-10-18 16:47:24.000000000 +0200 ++++ ./ltmain.sh 2020-09-10 13:56:55.999336000 +0200 +@@ -8811,13 +8811,13 @@ + # + case $version_type in + # correct linux to gnu/linux during the next big refactor +- darwin|freebsd-elf|linux|osf|windows|none) ++ darwin|linux|osf|windows|none) + func_arith $number_major + $number_minor + current=$func_arith_result + age=$number_minor + revision=$number_revision + ;; +- freebsd-aout|qnx|sunos) ++ freebsd*|qnx|sunos) + current=$number_major + revision=$number_minor + age=0 +@@ -8900,15 +8900,9 @@ + esac + ;; + +- freebsd-aout) ++ freebsd*) + major=.$current +- versuffix=.$current.$revision +- ;; +- +- freebsd-elf) +- func_arith $current - $age +- major=.$func_arith_result +- versuffix=$major.$age.$revision ++ versuffix=.$current + ;; + + irix | nonstopux) diff --git a/devel/liblogging/pkg-descr b/devel/liblogging/pkg-descr new file mode 100644 index 00000000..d754ed95 --- /dev/null +++ b/devel/liblogging/pkg-descr @@ -0,0 +1,8 @@ +Liblogging offers an enhanced replacement for the syslog() call, but +retains its ease of use. In a nutshell, it permits sytem administrators +to direct application log output to different destinations without +requiring the app developer to do any work for this. Liblogging is +released under a 2-clause BSD license and as such can be used in any +application. + +WWW: http://www.liblogging.org/ diff --git a/devel/liblogging/pkg-plist b/devel/liblogging/pkg-plist new file mode 100644 index 00000000..481a1c1c --- /dev/null +++ b/devel/liblogging/pkg-plist @@ -0,0 +1,19 @@ +bin/stdlogctl +include/liblogging/liblogging.h +include/liblogging/settings.h +include/liblogging/srAPI.h +include/liblogging/stdlog.h +include/liblogging/syslogmessage.h +lib/liblogging-rfc3195.a +lib/liblogging-rfc3195.la +lib/liblogging-rfc3195.so +lib/liblogging-rfc3195.so.0 +lib/liblogging-stdlog.a +lib/liblogging-stdlog.la +lib/liblogging-stdlog.so +lib/liblogging-stdlog.so.1 +lib/pkgconfig/liblogging-rfc3195.pc +lib/pkgconfig/liblogging-stdlog.pc +man/man1/stdlogctl.1.gz +man/man3/stdlog.3.gz +@dir include/liblogging diff --git a/devel/liblognorm/Makefile b/devel/liblognorm/Makefile new file mode 100644 index 00000000..e49d59c7 --- /dev/null +++ b/devel/liblognorm/Makefile @@ -0,0 +1,28 @@ +# $FreeBSD: head/devel/liblognorm/Makefile 519791 2019-12-11 09:40:37Z amdmi3 $ + +PORTNAME= liblognorm +PORTVERSION= 2.0.6 +CATEGORIES= devel net security +MASTER_SITES= http://www.liblognorm.com/download/files/download/ + +MAINTAINER= bofh@FreeBSD.org +COMMENT= Log normalizer + +LIB_DEPENDS+= libfastjson.so:devel/libfastjson +LIB_DEPENDS+= libestr.so:devel/libestr + +USES= pathfix pkgconfig gmake + +USE_LDCONFIG= yes +GNU_CONFIGURE= yes +INSTALL_TARGET= install-strip + +SUB_FILES= pkg-message + +# Try to fix parallel (-jX) builds +post-patch: + @${REINPLACE_CMD} -e \ + '/^lognormalizer_DEPENDENCIES/s,=,= $$(lib_LTLIBRARIES),' \ + ${WRKSRC}/src/Makefile.in + +.include diff --git a/devel/liblognorm/distinfo b/devel/liblognorm/distinfo new file mode 100644 index 00000000..320397c4 --- /dev/null +++ b/devel/liblognorm/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1546292310 +SHA256 (liblognorm-2.0.6.tar.gz) = cff057e85c22038992f9ed12eb8d4e63c45adf53a5a51faaa3279f605809f6f2 +SIZE (liblognorm-2.0.6.tar.gz) = 666712 diff --git a/devel/liblognorm/files/patch-x-ltmain.sh b/devel/liblognorm/files/patch-x-ltmain.sh new file mode 100644 index 00000000..5846ae95 --- /dev/null +++ b/devel/liblognorm/files/patch-x-ltmain.sh @@ -0,0 +1,36 @@ +--- ./ltmain.sh~ 2018-10-18 16:47:24.000000000 +0200 ++++ ./ltmain.sh 2020-09-10 13:56:55.999336000 +0200 +@@ -8811,13 +8811,13 @@ + # + case $version_type in + # correct linux to gnu/linux during the next big refactor +- darwin|freebsd-elf|linux|osf|windows|none) ++ darwin|linux|osf|windows|none) + func_arith $number_major + $number_minor + current=$func_arith_result + age=$number_minor + revision=$number_revision + ;; +- freebsd-aout|qnx|sunos) ++ freebsd*|qnx|sunos) + current=$number_major + revision=$number_minor + age=0 +@@ -8900,15 +8900,9 @@ + esac + ;; + +- freebsd-aout) ++ freebsd*) + major=.$current +- versuffix=.$current.$revision +- ;; +- +- freebsd-elf) +- func_arith $current - $age +- major=.$func_arith_result +- versuffix=$major.$age.$revision ++ versuffix=.$current + ;; + + irix | nonstopux) diff --git a/devel/liblognorm/files/pkg-message.in b/devel/liblognorm/files/pkg-message.in new file mode 100644 index 00000000..d7322863 --- /dev/null +++ b/devel/liblognorm/files/pkg-message.in @@ -0,0 +1,18 @@ +[ +{ type: upgrade + maximum_versio: 0.3.8 + message: < +# $FreeBSD: head/devel/librelp/Makefile 533103 2020-04-27 06:07:44Z matthew $ + +PORTNAME= librelp +PORTVERSION= 1.6.0 +CATEGORIES= devel +MASTER_SITES= http://download.rsyslog.com/librelp/ + +MAINTAINER= matthew@FreeBSD.org +COMMENT= Reliable event logging protocol library + +LIB_DEPENDS= libgnutls.so:crypto/libgnutls +#CONFIGURE_ENABLE= tls +#CONFIGURE_DISABLE= tls-openssl +#CONFIGURE_ENV+= OPENSSL_LIBS="-lssl -lcrypto" + +CONFIGURE_ARGS+= --enable-tls=yes +CONFIGURE_ARGS+= --enable-tls-openssl=no + + +USES= pkgconfig +USE_LDCONFIG= yes +GNU_CONFIGURE= yes +INSTALL_TARGET= install-strip + +PORT_VERBS= relp + +post-patch: + ${REINPLACE_CMD} -e '/CFLAGS/s| -g||g' ${WRKSRC}/configure + +.include diff --git a/devel/librelp/distinfo b/devel/librelp/distinfo new file mode 100644 index 00000000..86eeaf03 --- /dev/null +++ b/devel/librelp/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1587923744 +SHA256 (librelp-1.6.0.tar.gz) = cf6cc948a5b3d1e56b3251585c11beea1c5b285fcbf8e29ad68955c7eb75f8ca +SIZE (librelp-1.6.0.tar.gz) = 522827 diff --git a/devel/librelp/files/patch-x-ltmain.sh b/devel/librelp/files/patch-x-ltmain.sh new file mode 100644 index 00000000..5846ae95 --- /dev/null +++ b/devel/librelp/files/patch-x-ltmain.sh @@ -0,0 +1,36 @@ +--- ./ltmain.sh~ 2018-10-18 16:47:24.000000000 +0200 ++++ ./ltmain.sh 2020-09-10 13:56:55.999336000 +0200 +@@ -8811,13 +8811,13 @@ + # + case $version_type in + # correct linux to gnu/linux during the next big refactor +- darwin|freebsd-elf|linux|osf|windows|none) ++ darwin|linux|osf|windows|none) + func_arith $number_major + $number_minor + current=$func_arith_result + age=$number_minor + revision=$number_revision + ;; +- freebsd-aout|qnx|sunos) ++ freebsd*|qnx|sunos) + current=$number_major + revision=$number_minor + age=0 +@@ -8900,15 +8900,9 @@ + esac + ;; + +- freebsd-aout) ++ freebsd*) + major=.$current +- versuffix=.$current.$revision +- ;; +- +- freebsd-elf) +- func_arith $current - $age +- major=.$func_arith_result +- versuffix=$major.$age.$revision ++ versuffix=.$current + ;; + + irix | nonstopux) diff --git a/devel/librelp/pkg-descr b/devel/librelp/pkg-descr new file mode 100644 index 00000000..83d82dd4 --- /dev/null +++ b/devel/librelp/pkg-descr @@ -0,0 +1,13 @@ +librelp is an easy to use library for the RELP protocol. RELP in turn +provides reliable event logging over the network (and consequently +RELP stands for Reliable Event Logging Protocol). + +RELP (and hence) librelp assures that no message is lost, not even +when connections break and a peer becomes unavailable. The current +version of RELP has a minimal window of opportunity for message +duplication after a session has been broken due to network problems. +In this case, a few messages may be duplicated (a problem that also +exists with plain TCP syslog). Future versions of RELP will address +this shortcoming. + +WWW: https://www.rsyslog.com/librelp/ diff --git a/devel/librelp/pkg-plist b/devel/librelp/pkg-plist new file mode 100644 index 00000000..982fbe62 --- /dev/null +++ b/devel/librelp/pkg-plist @@ -0,0 +1,6 @@ +include/librelp.h +lib/librelp.a +lib/librelp.la +lib/librelp.so +lib/librelp.so.5 +lib/pkgconfig/relp.pc diff --git a/java/maven/Makefile b/java/maven/Makefile index e3c080a3..844d07af 100644 --- a/java/maven/Makefile +++ b/java/maven/Makefile @@ -10,7 +10,7 @@ DISTNAME= apache-maven-${DISTVERSION}-bin MAINTAINER= jonc@chen.org.nz COMMENT= Java project management tool -#RUN_DEPENDS= mvn:devel/maven-wrapper +RUN_DEPENDS= mvn:java/maven-wrapper USE_JAVA= yes JAVA_VERSION= 11+ diff --git a/media/libopenal-soft/Makefile b/media/libopenal-soft/Makefile new file mode 100644 index 00000000..b3d525a4 --- /dev/null +++ b/media/libopenal-soft/Makefile @@ -0,0 +1,57 @@ +# $FreeBSD: head/audio/openal-soft/Makefile 542069 2020-07-12 09:30:28Z tobik $ + +PORTNAME= openal-soft +PORTVERSION= 1.20.1 +CATEGORIES= audio +MASTER_SITES= https://openal-soft.org/openal-releases/ +PKGNAMEPREFIX= lib + +MAINTAINER= tobik@FreeBSD.org +COMMENT= Software implementation of the OpenAL specification + +#LIB_DEPENDS= libmysofa.so:audio/libmysofa + +USES= cmake compiler:c++11-lang tar:bzip2 gmake +USE_LDCONFIG= yes + +CMAKE_ARGS= -DCMAKE_INSTALL_DATADIR:STRING="${PREFIX}/etc" + +CMAKE_OFF+= ALSOFT_BACKEND_ALSA +CMAKE_OFF+= ALSOFT_DLOPEN +CMAKE_OFF+= ALSOFT_EXAMPLES +CMAKE_OFF+= ALSOFT_REQUIRE_QSA +CMAKE_OFF+= ALSOFT_REQUIRE_SOLARIS +CMAKE_ON+= ALSOFT_BACKEND_WAVE ALSOFT_UTILS + +# do not link with librt and libdl. +LDFLAGS+= -Wl,--as-needed +LDFLAGS_i386= -Wl,-z,notext + +CONFIG_DESC= Install configuration utility (needs Qt 5) + +CMAKE_OFF+= ALSOFT_NO_CONFIG_UTIL +#CONFIG_CMAKE_ON= -DALSOFT_NO_QT5:BOOL=OFF + +CMAKE_OFF+= ALSOFT_BACKEND_JACK +CMAKE_OFF+= ALSOFT_REQUIRE_JACK + +CMAKE_ON+= ALSOFT_BACKEND_OSS +CMAKE_ON+= ALSOFT_REQUIRE_OSS + +CMAKE_OFF+= ALSOFT_BACKEND_PORTAUDIO +CMAKE_OFF+= ALSOFT_REQUIRE_PORTAUDIO + +CMAKE_OFF+= ALSOFT_BACKEND_PULSEAUDIO +CMAKE_OFF+= ALSOFT_REQUIRE_PULSEAUDIO + +CMAKE_OFF+= ALSOFT_BACKEND_SDL2 +CMAKE_OFF+= ALSOFT_REQUIRE_SDL2 + +CMAKE_OFF+= ALSOFT_BACKEND_SNDIO +CMAKE_OFF+= ALSOFT_REQUIRE_SNDIO + +post-patch: + ${REINPLACE_CMD} 's|/etc/openal|${ETCDIR}|' \ + ${WRKSRC}/alc/alconfig.cpp + +.include diff --git a/media/libopenal-soft/distinfo b/media/libopenal-soft/distinfo new file mode 100644 index 00000000..46821967 --- /dev/null +++ b/media/libopenal-soft/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1579899553 +SHA256 (openal-soft-1.20.1.tar.bz2) = b6ceb051325732c23f5c8b6d37dbd89534517e6439a87e970882b447c3025d6d +SIZE (openal-soft-1.20.1.tar.bz2) = 512971 diff --git a/media/libopenal-soft/files/patch-x-CMakeLists.txt b/media/libopenal-soft/files/patch-x-CMakeLists.txt new file mode 100644 index 00000000..195e372a --- /dev/null +++ b/media/libopenal-soft/files/patch-x-CMakeLists.txt @@ -0,0 +1,38 @@ +--- ./CMakeLists.txt.orig 2020-01-24 09:28:45.000000000 +0200 ++++ ./CMakeLists.txt 2020-09-08 13:04:32.067671000 +0200 +@@ -116,7 +116,7 @@ + SET(LIB_MAJOR_VERSION "1") + SET(LIB_MINOR_VERSION "20") + SET(LIB_REVISION "1") +-SET(LIB_VERSION "${LIB_MAJOR_VERSION}.${LIB_MINOR_VERSION}.${LIB_REVISION}") ++SET(LIB_VERSION "${LIB_MAJOR_VERSION}") + SET(LIB_VERSION_NUM ${LIB_MAJOR_VERSION},${LIB_MINOR_VERSION},${LIB_REVISION},0) + + SET(EXPORT_DECL "") +@@ -1347,7 +1347,7 @@ + # Install alsoft.conf configuration file + IF(ALSOFT_CONFIG) + INSTALL(FILES alsoftrc.sample +- DESTINATION ${CMAKE_INSTALL_DATADIR}/openal) ++ DESTINATION ${CMAKE_INSTALL_DATADIR}/openal-soft) + MESSAGE(STATUS "Installing sample configuration") + MESSAGE(STATUS "") + ENDIF() +@@ -1355,7 +1355,7 @@ + # Install HRTF definitions + IF(ALSOFT_HRTF_DEFS) + INSTALL(FILES "hrtf/Default HRTF.mhr" +- DESTINATION ${CMAKE_INSTALL_DATADIR}/openal/hrtf) ++ DESTINATION ${CMAKE_INSTALL_DATADIR}/openal-soft/hrtf) + MESSAGE(STATUS "Installing HRTF definitions") + MESSAGE(STATUS "") + ENDIF() +@@ -1370,7 +1370,7 @@ + presets/rectangle.ambdec + presets/square.ambdec + presets/presets.txt +- DESTINATION ${CMAKE_INSTALL_DATADIR}/openal/presets) ++ DESTINATION ${CMAKE_INSTALL_DATADIR}/openal-soft/presets) + MESSAGE(STATUS "Installing AmbDec presets") + MESSAGE(STATUS "") + ENDIF() diff --git a/media/libopenal-soft/pkg-descr b/media/libopenal-soft/pkg-descr new file mode 100644 index 00000000..6a8ff5ad --- /dev/null +++ b/media/libopenal-soft/pkg-descr @@ -0,0 +1,9 @@ +OpenAL Soft is a software implementation of the OpenAL 3D audio +API. OpenAL provides capabilities for playing audio in a virtual +3D environment. Distance attenuation, doppler shift, and directional +sound emitters are among the features handled by the API. More +advanced effects, including air absorption, low-pass filters, and +reverb, are available through the EFX extension. It also facilitates +streaming audio, multi-channel buffers, and audio capture. + +WWW: https://openal-soft.org/ diff --git a/media/libopenal-soft/pkg-plist b/media/libopenal-soft/pkg-plist new file mode 100644 index 00000000..219787ee --- /dev/null +++ b/media/libopenal-soft/pkg-plist @@ -0,0 +1,26 @@ +bin/alsoft-config +bin/altonegen +bin/openal-info +etc/openal-soft/hrtf/Default HRTF.mhr +etc/openal-soft/presets/3D7.1.ambdec +etc/openal-soft/presets/hexagon.ambdec +etc/openal-soft/presets/itu5.1-nocenter.ambdec +etc/openal-soft/presets/itu5.1.ambdec +etc/openal-soft/presets/presets.txt +etc/openal-soft/presets/rectangle.ambdec +etc/openal-soft/presets/square.ambdec +include/AL/al.h +include/AL/alc.h +include/AL/alext.h +include/AL/efx-creative.h +include/AL/efx-presets.h +include/AL/efx.h +lib/cmake/OpenAL/OpenALConfig-release.cmake +lib/cmake/OpenAL/OpenALConfig.cmake +lib/libopenal.so +lib/libopenal.so.1 +lib/pkgconfig/openal.pc +@dir include/AL +@dir include +@dir lib/cmake/OpenAL +@dir lib/cmake