# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= timidity VERSION= 2.15.0 REVISION= 1 KEYWORDS= audio VARIANTS= std SDESC[std]= Software synthesizer and MIDI converter / player HOMEPAGE= https://timidity.sourceforge.net CONTACT= Michael_Reim[kraileth@elderlinux.org] DOWNLOAD_GROUPS= main SITES[main]= SF/timidity/TiMidity%2B%2B/TiMidity%2B%2B-2.15.0/ DISTFILE[1]= TiMidity++-2.15.0.tar.xz:main DF_INDEX= 1 SPKGS[std]= set primary man OPTIONS_AVAILABLE= none OPTIONS_STANDARD= none BROKEN[sunos]= Tries to include sys/soundcard.h not available on Sol10 BUILD_DEPENDS= libvorbis:dev:std flac:dev:std BUILDRUN_DEPENDS= flac:primary:std libvorbis:primary:std RUN_DEPENDS= eawpatches:primary:std USES= cpe gmake XORG_COMPONENTS= x11 xext xft DISTNAME= TiMidity++-2.15.0 LICENSE= GPLv2+:primary LICENSE_TERMS= primary:{{WRKSRC}}/TERMS LICENSE_FILE= GPLv2+:{{WRKSRC}}/COPYING LICENSE_AWK= TERMS:"^\*\/$$" LICENSE_SOURCE= TERMS:{{WRKSRC}}/timidity/timidity.h LICENSE_SCHEME= solo CPE_PRODUCT= timidity\+\+ CPE_VENDOR= timidity\+\+_project FPC_EQUIVALENT= audio/timidity++ MUST_CONFIGURE= gnu CONFIGURE_ARGS= --with-default-path={{PREFIX}}/etc/timidity --prefix={{PREFIX}} --libdir={{PREFIX}}/lib --enable-audio=oss,vorbis,flac --enable-dynamic=ncurses,xaw,gtk --enable-interface=server,ncurses,vt100,xaw,gtk --enable-xft --enable-network --enable-server --with-x --with-elf --enable-spectrogram --enable-wrd --x-includes=/raven/include/X11 --x-libraries=/raven/lib post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/timidity ${LN} -s ${PREFIX}/etc/timidity/timidity_eawpatches.cfg ${STAGEDIR}${PREFIX}/etc/timidity/timidity.cfg ${RM} -r ${STAGEDIR}${PREFIX}/lib/timidity [FILE:399:descriptions/desc.primary] TiMidity++ is a software synthesizer. It can play MIDI files by converting them into PCM waveform data; give it a MIDI data along with digital instrument data files, then it synthesizes them in real-time, and plays. It can not only play sounds, but also can save the generated waveforms into hard disks as various audio file formats. TiMidity++ is the continuation of the old TiMidity project. [FILE:103:distinfo] 9eaf4fadb0e19eb8e35cd4ac16142d604c589e43d0e8798237333697e6381d39 1363040 TiMidity++-2.15.0.tar.xz [FILE:39:manifests/plist.primary] bin/timidity etc/timidity/timidity.cfg [FILE:56:manifests/plist.man] share/man/man1/timidity.1 share/man/man5/timidity.cfg.5 [FILE:1307:patches/patch-configure] --- configure.orig 2018-08-28 23:33:39 UTC +++ configure @@ -3930,7 +3930,7 @@ case "$target" in test -n "$SHLD" || SHLD="ld -Bshareable" so="so" ;; - *-*-freebsd*) + *-*-freebsd*|*-*-dragonfly|*-*-midnight*) if test "$ELFFORMAT" = yes; then test -n "$SHLD" || SHLD="ld -Bshareable" else @@ -12600,7 +12600,7 @@ fi; if test "x$au_enable_default" = xyes; then case "$target" in - *-*-linux*|*-*-freebsd*) + *-*-linux*|*-*-freebsd*|*-*-dragonfly*|*-*-midnight*) au_enable_oss=yes ;; *-*-bsdi2.0) @@ -12658,7 +12658,7 @@ if test "x$au_enable_oss" = xyes; then echo "${ECHO_T}yes - " >&6 else case "$target" in - *linux*|*freebsd*) + *linux*|*freebsd*|*dragonfly*|*midnight*) echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 ;; @@ -17518,7 +17518,7 @@ fi LIBS="$LIBS $lib_curses_opt" case "$target" in - *-*-freebsd123*) + *-*-skip*) EXTRALIBS="$EXTRALIBS -lmytinfo" ;; esac @@ -17529,7 +17529,7 @@ xdynamic) dynamic_targets="$dynamic_targets if_ncurses.\$(so)" n_so_libs="$lib_curses_opt" case "$target" in - *-*-freebsd123*) + *-*-skip*) EXTRALIBS="$EXTRALIBS -lmytinfo" ;; esac [FILE:261:patches/patch-timidity_au__a.c] --- timidity/au_a.c.orig 2008-04-01 02:35:08 UTC +++ timidity/au_a.c @@ -26,6 +26,9 @@ #include "config.h" #endif /* HAVE_CONFIG_H */ #include +#include +#include +#include #ifdef __POCC__ #include [FILE:220:patches/patch-timidity_flac__a.c] --- timidity/flac_a.c.orig 2014-05-24 11:00:20 UTC +++ timidity/flac_a.c @@ -33,6 +33,7 @@ #include #endif /* HAVE_UNISTD_H */ #include +#include #include "common.h" #ifdef __W32__ [FILE:214:patches/patch-timidity_freq.c] --- timidity/freq.c.orig 2011-12-03 15:49:20 UTC +++ timidity/freq.c @@ -24,6 +24,7 @@ #include #include +#include #include #include "timidity.h" #include "common.h" [FILE:342:patches/patch-timidity_output.c] --- timidity/output.c.orig 2013-11-03 10:55:02 UTC +++ timidity/output.c @@ -25,12 +25,8 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* HAVE_CONFIG_H */ -#ifdef STDC_HEADERS #include #include -#elif HAVE_STRINGS_H -#include -#endif #include "timidity.h" #include "common.h" #include "output.h" [FILE:230:patches/patch-timidity_quantity.c] --- timidity/quantity.c.orig 2002-10-09 13:07:08 UTC +++ timidity/quantity.c @@ -27,6 +27,7 @@ #include "config.h" #endif /* HAVE_CONFIG_H */ #include +#include #include #include "timidity.h" [FILE:263:patches/patch-timidity_raw__a.c] --- timidity/raw_a.c.orig 2008-04-01 02:35:08 UTC +++ timidity/raw_a.c @@ -27,6 +27,9 @@ #include "config.h" #endif /* HAVE_CONFIG_H */ #include +#include +#include +#include #ifdef __POCC__ #include [FILE:834:patches/patch-timidity_sysdep.h] --- timidity/sysdep.h.orig 2008-05-21 13:01:44 UTC +++ timidity/sysdep.h @@ -175,20 +175,9 @@ typedef unsigned long u_ptr_size_t; #ifdef LITTLE_ENDIAN # define LE_SHORT(x) (x) # define LE_LONG(x) (x) -# ifdef __FreeBSD__ -# include -# if __FreeBSD_version <= 500000 -# define BE_SHORT(x) __byte_swap_word(x) -# define BE_LONG(x) __byte_swap_long(x) -# else -# if __FreeBSD_version <= 500028 -# define BE_SHORT(x) __uint8_swap_uint16(x) -# define BE_LONG(x) __uint8_swap_uint32(x) -# else -# define BE_SHORT(x) __bswap16(x) -# define BE_LONG(x) __bswap32(x) -# endif -# endif +# if defined __FreeBSD__ || defined __DragonFly__ +# define BE_SHORT(x) __bswap16(x) +# define BE_LONG(x) __bswap32(x) # else # define BE_SHORT(x) XCHG_SHORT(x) # define BE_LONG(x) XCHG_LONG(x) [FILE:386:patches/patch-timidity_timidity.c] --- timidity/timidity.c.orig 2018-08-28 23:33:39 UTC +++ timidity/timidity.c @@ -25,16 +25,10 @@ #include #endif //for off_t #include -#ifdef STDC_HEADERS #include #include #include -#endif -#ifndef NO_STRING_H #include -#else -#include -#endif #ifdef __W32__ #include #include [FILE:222:patches/patch-timidity_vorbis__a.c] --- timidity/vorbis_a.c.orig 2008-04-01 02:35:08 UTC +++ timidity/vorbis_a.c @@ -28,6 +28,8 @@ #include "interface.h" #include #include +#include +#include #ifdef AU_VORBIS [FILE:233:patches/patch-timidity_wave__a.c] --- timidity/wave_a.c.orig 2014-05-22 09:09:04 UTC +++ timidity/wave_a.c @@ -30,6 +30,8 @@ #include #endif // for off_t #include +#include +#include #ifdef __W32__ #include