pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
aldumb: import aldumb-2.0.3 as wip/aldumb
Module Name: pkgsrc-wip
Committed By: Yorick Hardy <yorickhardy%gmail.com@localhost>
Pushed By: yhardy
Date: Wed Dec 30 19:45:20 2020 +0200
Changeset: 909d50a53831c3042571cf0b33cc1285c7f52124
Modified Files:
Makefile
Added Files:
aldumb/DESCR
aldumb/Makefile
aldumb/PLIST
aldumb/buildlink3.mk
aldumb/distinfo
Log Message:
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.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=909d50a53831c3042571cf0b33cc1285c7f52124
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
aldumb/DESCR | 5 +++++
aldumb/Makefile | 39 +++++++++++++++++++++++++++++++++++++++
aldumb/PLIST | 5 +++++
aldumb/buildlink3.mk | 13 +++++++++++++
aldumb/distinfo | 6 ++++++
6 files changed, 69 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 2388e2c3ab..34af1fc1e2 100644
--- a/Makefile
+++ b/Makefile
@@ -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
diff --git a/aldumb/DESCR b/aldumb/DESCR
new file mode 100644
index 0000000000..754ac84e61
--- /dev/null
+++ b/aldumb/DESCR
@@ -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.
diff --git a/aldumb/Makefile b/aldumb/Makefile
new file mode 100644
index 0000000000..bbfb95cb3d
--- /dev/null
+++ b/aldumb/Makefile
@@ -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@localhost
+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"
diff --git a/aldumb/PLIST b/aldumb/PLIST
new file mode 100644
index 0000000000..013b708f89
--- /dev/null
+++ b/aldumb/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD$
+include/aldumb.h
+lib/libaldmb.so
+lib/libaldmb.so.2
+lib/libaldmb.so.2.0
diff --git a/aldumb/buildlink3.mk b/aldumb/buildlink3.mk
new file mode 100644
index 0000000000..61d9d47b2f
--- /dev/null
+++ b/aldumb/buildlink3.mk
@@ -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
diff --git a/aldumb/distinfo b/aldumb/distinfo
new file mode 100644
index 0000000000..50b623577b
--- /dev/null
+++ b/aldumb/distinfo
@@ -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
Home |
Main Index |
Thread Index |
Old Index