pkgsrc/audio/ocp/Makefile

53 lines
1.5 KiB
Makefile
Raw Normal View History

2017-07-13 14:04:37 +02:00
# $NetBSD: Makefile,v 1.21 2017/07/13 12:04:37 wiz Exp $
Update to 0.1.21: 2010-05-18: playgmd/gmdldmf.c: Remove a nested function 2011-03-19: compat/stuff.*: strupr is actually implemented on some systems 2011-03-19: configure.ac */*: -lm is not required on all platforms 2011-03-19: * */*: AC_STRUCT_DIRENT_D_TYPE; not all platforms has dirent.d_type 2011-03-19: config.guess, config.sub, install-sh: update to more recent versions (used the ones present in automake-1.11 in ubuntu 10.10) 2011-03-19: configure.ac Makefile.in: Only link to pthread if on OS-X / CoreAudio 2011-03-19: Support getcwd() for retrieving current working directory 2011-03-20: Added support for SDL audio 2011-03-20: cpiface/cpilinks.c: crash-bug when resizing window while link viewer was active 2011-03-20: devpcoreaudio devpsdl: gettimer() didn't work as expected (needed by cpitrack.c) 2011-06-01: play*/*: Some of the players didn't have volatile on the "timer" lock 2011-06-08: playwav/wavplay.c: Race condition that caused some audio artifacts (some parts could be replayed randomly) 2011-06-19: playmp2/charset.c: Detection of glibc bug 4936 alrways returned true (thanks to Jindrich Makovicka) 2011-07-11: devw/dwmixfa*: 8087 fpu version is now able to compile in PIC mode without use of text-rels. 2011-07-13: devw/dwmixfa: Added support for proper C verion of the FPU mixer (Thanks to Jindřich Makovička) 2011-07-13: devw/dwmixfa: 8087_asm_emu code made some annoying clicking sounds 2011-09-05: configure.ac: AC_LINK_IFELSE for ADPLUG could fail if "ld --as-needed" was used 2011-09-18: devp/devpalsa: newer versions of libalsa does not need plughw syntax, and in some cases works better without 2011-09-18: configure.ac: removed a warning visible when using autoconf >= 2.68 2011-09-30: devp/devpcoreaudio.c: Didn't compile 2011-10-21: playgmd/gmdl*.c: Removed a nested function (GCC on OS-X dislikes them) 2011-11-03: playgmi/gmitimitidy.c: Updated against ubuntu 11.10 configfile structure, closing ticket #3 2011-11-03: dev/mixclip.c: wav and sid files would crash on non-x86 platforms (optimization for assembler mixer in lookup-tables were fixed for 32bit pointers) 2011-11-04: playwav/wavpplay.c: pause on wave files caused crash. Also did some minor cleanups in pause-handling in other file-plugins aswell 2011-11-05: boot/psetting.c: ocp.ini upgrade code could crash due memmove moved too much memory 2011-11-06: VERSION 0.1.21
2011-11-28 17:46:29 +01:00
DISTNAME= ocp-0.1.21
PKGREVISION= 7
CATEGORIES= audio
Update to 0.1.21: 2010-05-18: playgmd/gmdldmf.c: Remove a nested function 2011-03-19: compat/stuff.*: strupr is actually implemented on some systems 2011-03-19: configure.ac */*: -lm is not required on all platforms 2011-03-19: * */*: AC_STRUCT_DIRENT_D_TYPE; not all platforms has dirent.d_type 2011-03-19: config.guess, config.sub, install-sh: update to more recent versions (used the ones present in automake-1.11 in ubuntu 10.10) 2011-03-19: configure.ac Makefile.in: Only link to pthread if on OS-X / CoreAudio 2011-03-19: Support getcwd() for retrieving current working directory 2011-03-20: Added support for SDL audio 2011-03-20: cpiface/cpilinks.c: crash-bug when resizing window while link viewer was active 2011-03-20: devpcoreaudio devpsdl: gettimer() didn't work as expected (needed by cpitrack.c) 2011-06-01: play*/*: Some of the players didn't have volatile on the "timer" lock 2011-06-08: playwav/wavplay.c: Race condition that caused some audio artifacts (some parts could be replayed randomly) 2011-06-19: playmp2/charset.c: Detection of glibc bug 4936 alrways returned true (thanks to Jindrich Makovicka) 2011-07-11: devw/dwmixfa*: 8087 fpu version is now able to compile in PIC mode without use of text-rels. 2011-07-13: devw/dwmixfa: Added support for proper C verion of the FPU mixer (Thanks to Jindřich Makovička) 2011-07-13: devw/dwmixfa: 8087_asm_emu code made some annoying clicking sounds 2011-09-05: configure.ac: AC_LINK_IFELSE for ADPLUG could fail if "ld --as-needed" was used 2011-09-18: devp/devpalsa: newer versions of libalsa does not need plughw syntax, and in some cases works better without 2011-09-18: configure.ac: removed a warning visible when using autoconf >= 2.68 2011-09-30: devp/devpcoreaudio.c: Didn't compile 2011-10-21: playgmd/gmdl*.c: Removed a nested function (GCC on OS-X dislikes them) 2011-11-03: playgmi/gmitimitidy.c: Updated against ubuntu 11.10 configfile structure, closing ticket #3 2011-11-03: dev/mixclip.c: wav and sid files would crash on non-x86 platforms (optimization for assembler mixer in lookup-tables were fixed for 32bit pointers) 2011-11-04: playwav/wavpplay.c: pause on wave files caused crash. Also did some minor cleanups in pause-handling in other file-plugins aswell 2011-11-05: boot/psetting.c: ocp.ini upgrade code could crash due memmove moved too much memory 2011-11-06: VERSION 0.1.21
2011-11-28 17:46:29 +01:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=opencubicplayer/}
EXTRACT_SUFX= .tar.bz2
2010-10-24 19:49:50 +02:00
MAINTAINER= shattered@NetBSD.org
2011-12-21 21:20:43 +01:00
HOMEPAGE= http://sourceforge.net/p/opencubicplayer/
COMMENT= Open Cubic Player
LICENSE= gnu-gpl-v2
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
USE_TOOLS+= gmake makeinfo
USE_LANGUAGES= c c++
USE_NCURSES= yes # resize_term
INFO_FILES= yes
2012-02-15 23:23:15 +01:00
REPLACE_SH= ocp-curses ocp-sdl ocp-vcsa ocp-x11
# ymtype.so wants to link -llzh before it's finished building
MAKE_JOBS_SAFE= no
CONFIGURE_ARGS+= --exec-prefix=${PREFIX}
CONFIGURE_ARGS+= --infodir=${PREFIX}/info
2012-02-15 23:23:15 +01:00
CFLAGS.SunOS+= -mimpure-text
CFLAGS.SunOS+= -DSOUND_PCM_WRITE_CHANNELS=SNDCTL_DSP_CHANNELS
CFLAGS.SunOS+= -DSOUND_PCM_WRITE_BITS=SNDCTL_DSP_SETFMT
CFLAGS.SunOS+= -DSOUND_PCM_WRITE_RATE=SNDCTL_DSP_SPEED
PLIST_VARS+= sdl x11 desktop
2017-07-13 14:04:37 +02:00
SUBST_CLASSES+= ldflags
SUBST_SED.ldflags+= -e 's/$$(SHARED_FLAGS)/$$(LDFLAGS) $$(SHARED_FLAGS)/g'
SUBST_FILES.ldflags+= */Makefile
SUBST_MESSAGE.ldflags= Honoring LDFLAGS.
SUBST_STAGE.ldflags= pre-build
.include "options.mk"
.include "../../audio/libid3tag/buildlink3.mk"
.include "../../audio/libmad/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/ncurses/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../multimedia/libogg/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"