aldumb: import aldumb-2.0.3 as wip/aldumb

wip/aldumb provides the allegro libraries for dumb,
i.e. it builds parts of audio/dumb which are normally
excluded due to the allegro dependency.

Description:

DUMB is a module audio renderer library. It reads module files and outputs
audio that can be dumped to the actual audio playback library.

This is a fork of the original dumb by Ben Davis, and provides the Allegro
libraries.
This commit is contained in:
Yorick Hardy 2020-12-30 19:45:20 +02:00
parent 18932096b8
commit 909d50a538
6 changed files with 69 additions and 0 deletions

View File

@ -111,6 +111,7 @@ SUBDIR+= akonadi-search
SUBDIR+= alac_decoder
SUBDIR+= alberta
SUBDIR+= aldo
SUBDIR+= aldumb
SUBDIR+= alive
SUBDIR+= alsa-lib
SUBDIR+= alsa-lib-git

5
aldumb/DESCR Normal file
View File

@ -0,0 +1,5 @@
DUMB is a module audio renderer library. It reads module files and outputs
audio that can be dumped to the actual audio playback library.
This is a fork of the original dumb by Ben Davis, and provides the Allegro
libraries.

39
aldumb/Makefile Normal file
View File

@ -0,0 +1,39 @@
# $NetBSD$
# TODO: create audio/dumb/Makefile.common ?
DISTNAME= dumb-2.0.3
PKGNAME= aldumb-2.0.3
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_GITHUB:=kode54/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/kode54/dumb
COMMENT= Allegro support for audio/dumb
LICENSE= zlib
USE_CMAKE= yes
CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON
CMAKE_ARGS+= -DBUILD_ALLEGRO4=ON
CMAKE_ARGS+= -DBUILD_EXAMPLES=OFF
BUILD_TARGET= aldmb
.include "../../mk/bsd.prefs.mk"
.if ${MACHINE_ARCH} != "i386" && ${MACHINE_ARCH} != "amd64"
CMAKE_ARGS+= -DUSE_SSE=OFF
.endif
INSTALLATION_DIRS+= include lib
do-install:
${INSTALL_DATA} ${WRKSRC}/include/aldumb.h ${DESTDIR}${PREFIX}/include/
${INSTALL_LIB} ${WRKSRC}/libaldmb.so.2.0 ${DESTDIR}${PREFIX}/lib/
cd ${WRKSRC} && ${INSTALL_LIB} -l s libaldmb.so.2.0 ${DESTDIR}${PREFIX}/lib/libaldmb.so.2
cd ${WRKSRC} && ${INSTALL_LIB} -l s libaldmb.so.2 ${DESTDIR}${PREFIX}/lib/libaldmb.so
.include "../../audio/dumb/buildlink3.mk"
.include "../../devel/allegro/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

5
aldumb/PLIST Normal file
View File

@ -0,0 +1,5 @@
@comment $NetBSD$
include/aldumb.h
lib/libaldmb.so
lib/libaldmb.so.2
lib/libaldmb.so.2.0

13
aldumb/buildlink3.mk Normal file
View File

@ -0,0 +1,13 @@
# $NetBSD$
BUILDLINK_TREE+= aldumb
.if !defined(ALDUMB_BUILDLINK3_MK)
ALDUMB_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.aldumb+= aldumb>=2.0.3
BUILDLINK_PKGSRCDIR.aldumb?= ../../wip/aldumb
.endif # ALDUMB_BUILDLINK3_MK
BUILDLINK_TREE+= -aldumb

6
aldumb/distinfo Normal file
View File

@ -0,0 +1,6 @@
$NetBSD$
SHA1 (dumb-2.0.3.tar.gz) = b82a8f89843f50a35e0943fdcd80aa528763e123
RMD160 (dumb-2.0.3.tar.gz) = 1a8f635bb90cebde76d9d726acef9c9eac03e987
SHA512 (dumb-2.0.3.tar.gz) = 18b10a507d69a754cdf97fbeae41c17f211a6ba1f166a822276bdb6769d3edc326919067a3f4d1247d6715d7a5a8276669d83b9427e7336c6d111593fb7e36cf
Size (dumb-2.0.3.tar.gz) = 186576 bytes