1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
8 SDESC[standard]= Software synthesizer and MIDI converter / player
9 HOMEPAGE= https://timidity.sourceforge.net
10 CONTACT= Michael_Reim[kraileth@elderlinux.org]
13 SITES[main]= SF/timidity/TiMidity%2B%2B/TiMidity%2B%2B-2.15.0/
14 DISTFILE[1]= TiMidity++-2.15.0.tar.xz:main
16 SPKGS[standard]= single
18 OPTIONS_AVAILABLE= none
19 OPTIONS_STANDARD= none
21 BROKEN[sunos]= Tries to include sys/soundcard.h not available on Sol10
23 BUILD_DEPENDS= libvorbis:dev:standard
25 BUILDRUN_DEPENDS= flac:primary:standard
26 libvorbis:primary:standard
27 RUN_DEPENDS= eawpatches:primary:standard
30 XORG_COMPONENTS= x11 xext xft
32 DISTNAME= TiMidity++-2.15.0
34 LICENSE= GPLv2+:single
35 LICENSE_TERMS= single:{{WRKSRC}}/TERMS
36 LICENSE_FILE= GPLv2+:{{WRKSRC}}/COPYING
37 LICENSE_AWK= TERMS:"^\*\/$$"
38 LICENSE_SOURCE= TERMS:{{WRKSRC}}/timidity/timidity.h
41 CPE_PRODUCT= timidity\+\+
42 CPE_VENDOR= timidity\+\+_project
43 FPC_EQUIVALENT= audio/timidity++
46 CONFIGURE_ARGS= --with-default-path={{PREFIX}}/etc/timidity
48 --libdir={{PREFIX}}/lib
49 --enable-audio=oss,vorbis,flac
50 --enable-dynamic=ncurses,xaw,gtk
51 --enable-interface=server,ncurses,vt100,xaw,gtk
59 --x-includes=/raven/include/X11
60 --x-libraries=/raven/lib
63 ${MKDIR} ${STAGEDIR}${PREFIX}/etc/timidity
64 ${LN} -s ${PREFIX}/etc/timidity/timidity_eawpatches.cfg ${STAGEDIR}${PREFIX}/etc/timidity/timidity.cfg
65 ${RM} -r ${STAGEDIR}${PREFIX}/lib/timidity
67 [FILE:399:descriptions/desc.single]
68 TiMidity++ is a software synthesizer. It can play MIDI files by converting
69 them into PCM waveform data; give it a MIDI data along with digital
70 instrument data files, then it synthesizes them in real-time, and plays.
71 It can not only play sounds, but also can save the generated waveforms
72 into hard disks as various audio file formats.
74 TiMidity++ is the continuation of the old TiMidity project.
78 9eaf4fadb0e19eb8e35cd4ac16142d604c589e43d0e8798237333697e6381d39 1363040 TiMidity++-2.15.0.tar.xz
81 [FILE:101:manifests/plist.single]
83 etc/timidity/timidity.cfg
84 share/man/man1/timidity.1.gz
85 share/man/man5/timidity.cfg.5.gz
88 [FILE:1307:patches/patch-configure]
89 --- configure.orig 2018-08-28 23:33:39 UTC
91 @@ -3930,7 +3930,7 @@ case "$target" in
92 test -n "$SHLD" || SHLD="ld -Bshareable"
96 + *-*-freebsd*|*-*-dragonfly|*-*-midnight*)
97 if test "$ELFFORMAT" = yes; then
98 test -n "$SHLD" || SHLD="ld -Bshareable"
100 @@ -12600,7 +12600,7 @@ fi;
102 if test "x$au_enable_default" = xyes; then
104 - *-*-linux*|*-*-freebsd*)
105 + *-*-linux*|*-*-freebsd*|*-*-dragonfly*|*-*-midnight*)
109 @@ -12658,7 +12658,7 @@ if test "x$au_enable_oss" = xyes; then
110 echo "${ECHO_T}yes - <sys/soundcard.h>" >&6
114 + *linux*|*freebsd*|*dragonfly*|*midnight*)
115 echo "$as_me:$LINENO: result: yes" >&5
116 echo "${ECHO_T}yes" >&6
118 @@ -17518,7 +17518,7 @@ fi
120 LIBS="$LIBS $lib_curses_opt"
124 EXTRALIBS="$EXTRALIBS -lmytinfo"
127 @@ -17529,7 +17529,7 @@ xdynamic)
128 dynamic_targets="$dynamic_targets if_ncurses.\$(so)"
129 n_so_libs="$lib_curses_opt"
133 EXTRALIBS="$EXTRALIBS -lmytinfo"
138 [FILE:834:patches/patch-timidity_sysdep.h]
139 --- timidity/sysdep.h.orig 2008-05-21 13:01:44 UTC
140 +++ timidity/sysdep.h
141 @@ -175,20 +175,9 @@ typedef unsigned long u_ptr_size_t;
143 # define LE_SHORT(x) (x)
144 # define LE_LONG(x) (x)
146 -# include <osreldate.h>
147 -# if __FreeBSD_version <= 500000
148 -# define BE_SHORT(x) __byte_swap_word(x)
149 -# define BE_LONG(x) __byte_swap_long(x)
151 -# if __FreeBSD_version <= 500028
152 -# define BE_SHORT(x) __uint8_swap_uint16(x)
153 -# define BE_LONG(x) __uint8_swap_uint32(x)
155 -# define BE_SHORT(x) __bswap16(x)
156 -# define BE_LONG(x) __bswap32(x)
159 +# if defined __FreeBSD__ || defined __DragonFly__
160 +# define BE_SHORT(x) __bswap16(x)
161 +# define BE_LONG(x) __bswap32(x)
163 # define BE_SHORT(x) XCHG_SHORT(x)
164 # define BE_LONG(x) XCHG_LONG(x)