mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 02:21:15 +02:00
devel/libestr devel/libfastjson devel/liblogging devel/liblognorm devel/librelp media/libopenal-soft
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -15578,3 +15578,4 @@ lib/libboost_wserialization.so.72
|
||||
@dir lib/cmake/Boost-1.72.0
|
||||
@dir lib/cmake
|
||||
@dir lib
|
||||
|
||||
|
||||
20
devel/libestr/Makefile
Normal file
20
devel/libestr/Makefile
Normal file
@@ -0,0 +1,20 @@
|
||||
# Created by: Jim Riggs <ports@christianserving.org>
|
||||
# $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 <bsd.port.mk>
|
||||
3
devel/libestr/distinfo
Normal file
3
devel/libestr/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1540971562
|
||||
SHA256 (libestr-0.1.11.tar.gz) = 46632b2785ff4a231dcf241eeb0dcb5fc0c7d4da8ee49cf5687722cdbe8b2024
|
||||
SIZE (libestr-0.1.11.tar.gz) = 355544
|
||||
36
devel/libestr/files/patch-x-ltmain.sh
Normal file
36
devel/libestr/files/patch-x-ltmain.sh
Normal file
@@ -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)
|
||||
3
devel/libestr/pkg-descr
Normal file
3
devel/libestr/pkg-descr
Normal file
@@ -0,0 +1,3 @@
|
||||
A library for some string essentials.
|
||||
|
||||
WWW: https://libestr.adiscon.com/
|
||||
6
devel/libestr/pkg-plist
Normal file
6
devel/libestr/pkg-plist
Normal file
@@ -0,0 +1,6 @@
|
||||
include/libestr.h
|
||||
lib/libestr.a
|
||||
lib/libestr.la
|
||||
lib/libestr.so
|
||||
lib/libestr.so.0
|
||||
lib/pkgconfig/libestr.pc
|
||||
20
devel/libfastjson/Makefile
Normal file
20
devel/libfastjson/Makefile
Normal file
@@ -0,0 +1,20 @@
|
||||
# Created by: Muhammad Moinur Rahman <bofh@FreeBSD.org>
|
||||
# $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 <bsd.port.mk>
|
||||
3
devel/libfastjson/distinfo
Normal file
3
devel/libfastjson/distinfo
Normal file
@@ -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
|
||||
11
devel/libfastjson/pkg-descr
Normal file
11
devel/libfastjson/pkg-descr
Normal file
@@ -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
|
||||
13
devel/libfastjson/pkg-plist
Normal file
13
devel/libfastjson/pkg-plist
Normal file
@@ -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
|
||||
21
devel/liblogging/Makefile
Normal file
21
devel/liblogging/Makefile
Normal file
@@ -0,0 +1,21 @@
|
||||
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
||||
# $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 <bsd.port.mk>
|
||||
3
devel/liblogging/distinfo
Normal file
3
devel/liblogging/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1488930125
|
||||
SHA256 (liblogging-1.0.6.tar.gz) = 338c6174e5c8652eaa34f956be3451f7491a4416ab489aef63151f802b00bf93
|
||||
SIZE (liblogging-1.0.6.tar.gz) = 593393
|
||||
36
devel/liblogging/files/patch-x-ltmain.sh
Normal file
36
devel/liblogging/files/patch-x-ltmain.sh
Normal file
@@ -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)
|
||||
8
devel/liblogging/pkg-descr
Normal file
8
devel/liblogging/pkg-descr
Normal file
@@ -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/
|
||||
19
devel/liblogging/pkg-plist
Normal file
19
devel/liblogging/pkg-plist
Normal file
@@ -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
|
||||
28
devel/liblognorm/Makefile
Normal file
28
devel/liblognorm/Makefile
Normal file
@@ -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 <bsd.port.mk>
|
||||
3
devel/liblognorm/distinfo
Normal file
3
devel/liblognorm/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1546292310
|
||||
SHA256 (liblognorm-2.0.6.tar.gz) = cff057e85c22038992f9ed12eb8d4e63c45adf53a5a51faaa3279f605809f6f2
|
||||
SIZE (liblognorm-2.0.6.tar.gz) = 666712
|
||||
36
devel/liblognorm/files/patch-x-ltmain.sh
Normal file
36
devel/liblognorm/files/patch-x-ltmain.sh
Normal file
@@ -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)
|
||||
18
devel/liblognorm/files/pkg-message.in
Normal file
18
devel/liblognorm/files/pkg-message.in
Normal file
@@ -0,0 +1,18 @@
|
||||
[
|
||||
{ type: upgrade
|
||||
maximum_versio: 0.3.8
|
||||
message: <<EOM
|
||||
The previous version of liblognorm (0.3.7) used the libee CEE support
|
||||
library in its API.
|
||||
|
||||
In 2013, Pavel Levshin converted liblognorm to native JSON, which helped
|
||||
improve performance and simplicity for many client applications.
|
||||
Unfortunately, this change broke interface compatibility (and there was
|
||||
no way to avoid that, obviously...).
|
||||
|
||||
The current library is the result of that effort. Application developers
|
||||
are encouraged to switch to this version, as it provides the benefit of
|
||||
a simpler API. PREVIOUS VERSIONS ARE INCOMPATIBLE WITH THIS ONE
|
||||
EOM
|
||||
}
|
||||
]
|
||||
8
devel/liblognorm/pkg-descr
Normal file
8
devel/liblognorm/pkg-descr
Normal file
@@ -0,0 +1,8 @@
|
||||
liblognorm shall help to make sense out of syslog data, or, actually, any
|
||||
event data that is present in text form.
|
||||
|
||||
In short words, one will be able to throw arbitrary log message to liblognorm,
|
||||
one at a time, and for each message it will output well-defined name-value
|
||||
pairs and a set of tags describing the message.
|
||||
|
||||
WWW: https://www.liblognorm.com/
|
||||
14
devel/liblognorm/pkg-plist
Normal file
14
devel/liblognorm/pkg-plist
Normal file
@@ -0,0 +1,14 @@
|
||||
bin/lognormalizer
|
||||
include/annot.h
|
||||
include/enc.h
|
||||
include/liblognorm.h
|
||||
include/lognorm-features.h
|
||||
include/lognorm.h
|
||||
include/parser.h
|
||||
include/pdag.h
|
||||
include/samp.h
|
||||
lib/liblognorm.a
|
||||
lib/liblognorm.la
|
||||
lib/liblognorm.so
|
||||
lib/liblognorm.so.6
|
||||
lib/pkgconfig/lognorm.pc
|
||||
31
devel/librelp/Makefile
Normal file
31
devel/librelp/Makefile
Normal file
@@ -0,0 +1,31 @@
|
||||
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
||||
# $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 <bsd.port.mk>
|
||||
3
devel/librelp/distinfo
Normal file
3
devel/librelp/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1587923744
|
||||
SHA256 (librelp-1.6.0.tar.gz) = cf6cc948a5b3d1e56b3251585c11beea1c5b285fcbf8e29ad68955c7eb75f8ca
|
||||
SIZE (librelp-1.6.0.tar.gz) = 522827
|
||||
36
devel/librelp/files/patch-x-ltmain.sh
Normal file
36
devel/librelp/files/patch-x-ltmain.sh
Normal file
@@ -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)
|
||||
13
devel/librelp/pkg-descr
Normal file
13
devel/librelp/pkg-descr
Normal file
@@ -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/
|
||||
6
devel/librelp/pkg-plist
Normal file
6
devel/librelp/pkg-plist
Normal file
@@ -0,0 +1,6 @@
|
||||
include/librelp.h
|
||||
lib/librelp.a
|
||||
lib/librelp.la
|
||||
lib/librelp.so
|
||||
lib/librelp.so.5
|
||||
lib/pkgconfig/relp.pc
|
||||
@@ -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+
|
||||
|
||||
57
media/libopenal-soft/Makefile
Normal file
57
media/libopenal-soft/Makefile
Normal file
@@ -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 <bsd.port.mk>
|
||||
3
media/libopenal-soft/distinfo
Normal file
3
media/libopenal-soft/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1579899553
|
||||
SHA256 (openal-soft-1.20.1.tar.bz2) = b6ceb051325732c23f5c8b6d37dbd89534517e6439a87e970882b447c3025d6d
|
||||
SIZE (openal-soft-1.20.1.tar.bz2) = 512971
|
||||
38
media/libopenal-soft/files/patch-x-CMakeLists.txt
Normal file
38
media/libopenal-soft/files/patch-x-CMakeLists.txt
Normal file
@@ -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()
|
||||
9
media/libopenal-soft/pkg-descr
Normal file
9
media/libopenal-soft/pkg-descr
Normal file
@@ -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/
|
||||
26
media/libopenal-soft/pkg-plist
Normal file
26
media/libopenal-soft/pkg-plist
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user