Import audio/adplug.
AdPlug is a free, multi-platform, hardware independent AdLib sound player library, mainly written in C++. AdPlug plays sound data, originally created for the AdLib (OPL2/3) audio board, on top of an OPL2/3 emulator. No OPL2/3 chips are required for playback. OK abieber@
This commit is contained in:
parent
eff65b4624
commit
5c6b5c48b1
30
audio/adplug/Makefile
Normal file
30
audio/adplug/Makefile
Normal file
@ -0,0 +1,30 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2016/11/08 23:22:32 fcambus Exp $
|
||||
|
||||
COMMENT = AdLib sound player library
|
||||
|
||||
DISTNAME = adplug-2.2.1
|
||||
SHARED_LIBS += adplug 0.0 # 2.2
|
||||
CATEGORIES = audio
|
||||
|
||||
HOMEPAGE = http://adplug.github.io/
|
||||
|
||||
MAINTAINER = Frederic Cambus <fcambus@openbsd.org>
|
||||
|
||||
# LGPLv2.1+
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
WANTLIB += binio c m stdc++
|
||||
|
||||
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=adplug/}
|
||||
|
||||
LIB_DEPENDS = devel/libbinio
|
||||
|
||||
CXXFLAGS += -I${LOCALBASE}/include/libbinio
|
||||
|
||||
CONFIGURE_STYLE = gnu
|
||||
|
||||
post-install:
|
||||
@sed -i 's|<binio.h>|<libbinio/binio.h>|' \
|
||||
${PREFIX}/include/adplug/database.h ${PREFIX}/include/adplug/fprovide.h
|
||||
|
||||
.include <bsd.port.mk>
|
2
audio/adplug/distinfo
Normal file
2
audio/adplug/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (adplug-2.2.1.tar.gz) = UT+BafrOwNiBBqmRQOr3ybW2TOxRryFd82wUY2CX0v4=
|
||||
SIZE (adplug-2.2.1.tar.gz) = 1077626
|
12
audio/adplug/patches/patch-src_Makefile_in
Normal file
12
audio/adplug/patches/patch-src_Makefile_in
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_Makefile_in,v 1.1.1.1 2016/11/08 23:22:32 fcambus Exp $
|
||||
--- src/Makefile.in.orig Tue Oct 25 23:03:58 2016
|
||||
+++ src/Makefile.in Tue Oct 25 23:04:14 2016
|
||||
@@ -241,7 +241,7 @@ hyp.cpp psi.cpp rat.cpp u6m.cpp rol.cpp mididata.h xsm
|
||||
lds.cpp realopl.cpp analopl.cpp temuopl.cpp msc.cpp rix.cpp adl.cpp jbm.cpp \
|
||||
cmf.cpp surroundopl.cpp dro2.cpp
|
||||
|
||||
-libadplug_la_LDFLAGS = -release @VERSION@ -version-info 0 $(libbinio_LIBS)
|
||||
+libadplug_la_LDFLAGS = -version-info 0 $(libbinio_LIBS)
|
||||
|
||||
# -Dstricmp=strcasecmp is a hack. Throughout AdPlug, stricmp() is used to do
|
||||
# caseless string comparations. UNIX libcs don't support stricmp(), but do
|
4
audio/adplug/pkg/DESCR
Normal file
4
audio/adplug/pkg/DESCR
Normal file
@ -0,0 +1,4 @@
|
||||
AdPlug is a free, multi-platform, hardware independent AdLib sound
|
||||
player library, mainly written in C++. AdPlug plays sound data,
|
||||
originally created for the AdLib (OPL2/3) audio board, on top of an
|
||||
OPL2/3 emulator. No OPL2/3 chips are required for playback.
|
67
audio/adplug/pkg/PLIST
Normal file
67
audio/adplug/pkg/PLIST
Normal file
@ -0,0 +1,67 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2016/11/08 23:22:32 fcambus Exp $
|
||||
@bin bin/adplugdb
|
||||
include/adplug/
|
||||
include/adplug/a2m.h
|
||||
include/adplug/adl.h
|
||||
include/adplug/adlibemu.h
|
||||
include/adplug/adplug.h
|
||||
include/adplug/adtrack.h
|
||||
include/adplug/amd.h
|
||||
include/adplug/analopl.h
|
||||
include/adplug/bam.h
|
||||
include/adplug/bmf.h
|
||||
include/adplug/cff.h
|
||||
include/adplug/cmf.h
|
||||
include/adplug/d00.h
|
||||
include/adplug/database.h
|
||||
include/adplug/dfm.h
|
||||
include/adplug/diskopl.h
|
||||
include/adplug/dmo.h
|
||||
include/adplug/dro.h
|
||||
include/adplug/dro2.h
|
||||
include/adplug/dtm.h
|
||||
include/adplug/emuopl.h
|
||||
include/adplug/flash.h
|
||||
include/adplug/fmc.h
|
||||
include/adplug/fmopl.h
|
||||
include/adplug/fprovide.h
|
||||
include/adplug/hsc.h
|
||||
include/adplug/hsp.h
|
||||
include/adplug/hybrid.h
|
||||
include/adplug/hyp.h
|
||||
include/adplug/imf.h
|
||||
include/adplug/jbm.h
|
||||
include/adplug/kemuopl.h
|
||||
include/adplug/ksm.h
|
||||
include/adplug/lds.h
|
||||
include/adplug/mad.h
|
||||
include/adplug/mid.h
|
||||
include/adplug/mkj.h
|
||||
include/adplug/msc.h
|
||||
include/adplug/mtk.h
|
||||
include/adplug/opl.h
|
||||
include/adplug/player.h
|
||||
include/adplug/players.h
|
||||
include/adplug/protrack.h
|
||||
include/adplug/psi.h
|
||||
include/adplug/rad.h
|
||||
include/adplug/rat.h
|
||||
include/adplug/raw.h
|
||||
include/adplug/realopl.h
|
||||
include/adplug/rix.h
|
||||
include/adplug/rol.h
|
||||
include/adplug/s3m.h
|
||||
include/adplug/sa2.h
|
||||
include/adplug/silentopl.h
|
||||
include/adplug/sng.h
|
||||
include/adplug/surroundopl.h
|
||||
include/adplug/temuopl.h
|
||||
include/adplug/u6m.h
|
||||
include/adplug/xad.h
|
||||
include/adplug/xsm.h
|
||||
@info info/libadplug.info
|
||||
lib/libadplug.a
|
||||
lib/libadplug.la
|
||||
@lib lib/libadplug.so.${LIBadplug_VERSION}
|
||||
lib/pkgconfig/adplug.pc
|
||||
@man man/man1/adplugdb.1
|
Loading…
x
Reference in New Issue
Block a user