audio/freealut: Switch to fork
Switching to this fork removes various patches and hacks we currently have and is used several distros such as Alpine and Arch Linux. Add a deprecation notice as its no longer maintained upstream PR: 285912 Approved by: maintainer timeout, 4+ weeks
This commit is contained in:
parent
f04c6e4cd7
commit
f0d61c1c0c
@ -1,26 +1,28 @@
|
||||
PORTNAME= freealut
|
||||
PORTVERSION= 1.1.0
|
||||
PORTREVISION= 4
|
||||
DISTVERSION= 1.1.0.20240801
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= DEBIAN_POOL
|
||||
DISTNAME= freealut_${PORTVERSION}.orig
|
||||
|
||||
MAINTAINER= oliver@FreeBSD.org
|
||||
COMMENT= The OpenAL Utility Toolkit
|
||||
WWW= http://connect.creativelabs.com/openal/default.aspx
|
||||
WWW= https://github.com/vancegroup/freealut
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
USES= gmake libtool openal:al pathfix pkgconfig
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
DEPRECATED= No longer actively developed, consider migrating to another library
|
||||
|
||||
USES= cmake localbase:ldflags openal pathfix
|
||||
USE_LDCONFIG= yes
|
||||
LDFLAGS_i386= -Wl,-znotext
|
||||
INSTALL_TARGET= install-strip
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's/@CFLAGS@/& -lopenal -lpthread/g' \
|
||||
${WRKSRC}/examples/Makefile.in \
|
||||
${WRKSRC}/test_suite/Makefile.in
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= vancegroup
|
||||
GH_TAGNAME= 8abb420
|
||||
|
||||
LDFLAGS_i386= -Wl,-znotext
|
||||
|
||||
CMAKE_OFF= BUILD_EXAMPLES \
|
||||
BUILD_OPTIMIZATION \
|
||||
BUILD_TESTS
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
@ -1,2 +1,3 @@
|
||||
SHA256 (freealut_1.1.0.orig.tar.gz) = 60d1ea8779471bb851b89b49ce44eecb78e46265be1a6e9320a28b100c8df44f
|
||||
SIZE (freealut_1.1.0.orig.tar.gz) = 461830
|
||||
TIMESTAMP = 1743902077
|
||||
SHA256 (vancegroup-freealut-1.1.0.20240801-8abb420_GH0.tar.gz) = 229f33367404c61fb6341398c5a7e74dbecea886b4acc3d59d42a09c669b83fe
|
||||
SIZE (vancegroup-freealut-1.1.0.20240801-8abb420_GH0.tar.gz) = 147898
|
||||
|
||||
@ -1,15 +0,0 @@
|
||||
--- src/alutInit.c.orig 2006-05-08 09:28:07 UTC
|
||||
+++ src/alutInit.c
|
||||
@@ -147,11 +147,7 @@ alutExit (void)
|
||||
return AL_FALSE;
|
||||
}
|
||||
|
||||
- if (!alcCloseDevice (device))
|
||||
- {
|
||||
- _alutSetError (ALUT_ERROR_CLOSE_DEVICE);
|
||||
- return AL_FALSE;
|
||||
- }
|
||||
+ alcCloseDevice (device);
|
||||
|
||||
initialisationState = Unintialized;
|
||||
return AL_TRUE;
|
||||
@ -1,27 +0,0 @@
|
||||
--- src/alutInternal.h.orig 2006-05-08 09:28:07 UTC
|
||||
+++ src/alutInternal.h
|
||||
@@ -13,23 +13,8 @@
|
||||
|
||||
#if HAVE_STDINT_H
|
||||
#include <stdint.h>
|
||||
-#elif _MSC_VER < 1300
|
||||
-typedef char int8_t;
|
||||
-typedef unsigned char uint8_t;
|
||||
-typedef short int16_t;
|
||||
-typedef unsigned short uint16_t;
|
||||
-typedef int int32_t;
|
||||
-typedef unsigned int uint32_t;
|
||||
-#elif HAVE_BASETSD_H
|
||||
-#include <basetsd.h>
|
||||
-typedef INT8 int8_t;
|
||||
-typedef UINT8 uint8_t;
|
||||
-typedef INT16 int16_t;
|
||||
-typedef UINT16 uint16_t;
|
||||
-typedef INT32 int32_t;
|
||||
-typedef UINT32 uint32_t;
|
||||
#else
|
||||
-#error Do not know sized types on this platform
|
||||
+#include <inttypes.h>
|
||||
#endif
|
||||
|
||||
typedef int16_t Int16BigEndian;
|
||||
@ -1,11 +0,0 @@
|
||||
--- src/alutLoader.c.orig 2006-05-08 09:28:07 UTC
|
||||
+++ src/alutLoader.c
|
||||
@@ -474,7 +474,7 @@ alutLoadWAVMemory (ALbyte *buffer, ALenu
|
||||
|
||||
/* ToDo: Can we do something less insane than passing 0x7FFFFFFF? */
|
||||
stream = _alutInputStreamConstructFromMemory (buffer, 0x7FFFFFFF);
|
||||
- _alutLoadMemoryFromInputStream (stream, format, size, &freq);
|
||||
+ *data = _alutLoadMemoryFromInputStream (stream, format, size, &freq);
|
||||
if (*data == NULL)
|
||||
{
|
||||
return;
|
||||
@ -1,10 +0,0 @@
|
||||
--- src/alutUtil.c.orig 2006-05-08 09:28:07 UTC
|
||||
+++ src/alutUtil.c
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
#if HAVE_NANOSLEEP && HAVE_TIME_H
|
||||
#include <time.h>
|
||||
+#include <sys/time.h>
|
||||
#include <errno.h>
|
||||
#elif HAVE_USLEEP && HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
@ -1,7 +1,6 @@
|
||||
bin/freealut-config
|
||||
include/AL/alut.h
|
||||
libdata/pkgconfig/freealut.pc
|
||||
lib/libalut.a
|
||||
lib/libalut.so
|
||||
lib/libalut.so.0
|
||||
lib/libalut.so.0.1.0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user