Ravenports generated: 07 May 2023 03:58
[ravenports.git] / bucket_85 / timidity
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               timidity
4 VERSION=                2.15.0
5 REVISION=               1
6 KEYWORDS=               audio
7 VARIANTS=               standard
8 SDESC[standard]=        Software synthesizer and MIDI converter / player
9 HOMEPAGE=               https://timidity.sourceforge.net
10 CONTACT=                Michael_Reim[kraileth@elderlinux.org]
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            SF/timidity/TiMidity%2B%2B/TiMidity%2B%2B-2.15.0/
14 DISTFILE[1]=            TiMidity++-2.15.0.tar.xz:main
15 DF_INDEX=               1
16 SPKGS[standard]=        single
17
18 OPTIONS_AVAILABLE=      none
19 OPTIONS_STANDARD=       none
20
21 BROKEN[sunos]=          Tries to include sys/soundcard.h not available on Sol10
22
23 BUILD_DEPENDS=          libvorbis:dev:standard
24                         flac:dev:standard
25 BUILDRUN_DEPENDS=       flac:primary:standard
26                         libvorbis:primary:standard
27 RUN_DEPENDS=            eawpatches:primary:standard
28
29 USES=                   cpe gmake
30 XORG_COMPONENTS=        x11 xext xft
31
32 DISTNAME=               TiMidity++-2.15.0
33
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
39 LICENSE_SCHEME=         solo
40
41 CPE_PRODUCT=            timidity\+\+
42 CPE_VENDOR=             timidity\+\+_project
43 FPC_EQUIVALENT=         audio/timidity++
44
45 MUST_CONFIGURE=         gnu
46 CONFIGURE_ARGS=         --with-default-path={{PREFIX}}/etc/timidity
47                         --prefix={{PREFIX}}
48                         --libdir={{PREFIX}}/lib
49                         --enable-audio=oss,vorbis,flac
50                         --enable-dynamic=ncurses,xaw,gtk
51                         --enable-interface=server,ncurses,vt100,xaw,gtk
52                         --enable-xft
53                         --enable-network
54                         --enable-server
55                         --with-x
56                         --with-elf
57                         --enable-spectrogram
58                         --enable-wrd
59                         --x-includes=/raven/include/X11
60                         --x-libraries=/raven/lib
61
62 post-install:
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
66
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.
73
74 TiMidity++ is the continuation of the old TiMidity project.
75
76
77 [FILE:103:distinfo]
78 9eaf4fadb0e19eb8e35cd4ac16142d604c589e43d0e8798237333697e6381d39      1363040 TiMidity++-2.15.0.tar.xz
79
80
81 [FILE:101:manifests/plist.single]
82 bin/timidity
83 etc/timidity/timidity.cfg
84 share/man/man1/timidity.1.gz
85 share/man/man5/timidity.cfg.5.gz
86
87
88 [FILE:1307:patches/patch-configure]
89 --- configure.orig      2018-08-28 23:33:39 UTC
90 +++ configure
91 @@ -3930,7 +3930,7 @@ case "$target" in
92          test -n "$SHLD" || SHLD="ld -Bshareable"
93      so="so"
94      ;;
95 -  *-*-freebsd*)
96 +  *-*-freebsd*|*-*-dragonfly|*-*-midnight*)
97      if test "$ELFFORMAT" = yes; then
98         test -n "$SHLD" || SHLD="ld -Bshareable"
99      else
100 @@ -12600,7 +12600,7 @@ fi;
101  
102  if test "x$au_enable_default" = xyes; then
103    case "$target" in
104 -  *-*-linux*|*-*-freebsd*)
105 +  *-*-linux*|*-*-freebsd*|*-*-dragonfly*|*-*-midnight*)
106      au_enable_oss=yes
107      ;;
108    *-*-bsdi2.0)
109 @@ -12658,7 +12658,7 @@ if test "x$au_enable_oss" = xyes; then
110  echo "${ECHO_T}yes - <sys/soundcard.h>" >&6
111    else
112      case "$target" in
113 -      *linux*|*freebsd*)
114 +      *linux*|*freebsd*|*dragonfly*|*midnight*)
115                  echo "$as_me:$LINENO: result: yes" >&5
116  echo "${ECHO_T}yes" >&6
117          ;;
118 @@ -17518,7 +17518,7 @@ fi
119  
120     LIBS="$LIBS $lib_curses_opt"
121      case "$target" in
122 -       *-*-freebsd123*)
123 +       *-*-skip*)
124           EXTRALIBS="$EXTRALIBS -lmytinfo"
125           ;;
126       esac
127 @@ -17529,7 +17529,7 @@ xdynamic)
128    dynamic_targets="$dynamic_targets if_ncurses.\$(so)"
129     n_so_libs="$lib_curses_opt"
130      case "$target" in
131 -       *-*-freebsd123*)
132 +       *-*-skip*)
133           EXTRALIBS="$EXTRALIBS -lmytinfo"
134           ;;
135       esac
136
137
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;
142  #ifdef LITTLE_ENDIAN
143  # define LE_SHORT(x) (x)
144  # define LE_LONG(x) (x)
145 -# ifdef __FreeBSD__
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)
150 -#  else
151 -#    if __FreeBSD_version <= 500028
152 -#      define BE_SHORT(x) __uint8_swap_uint16(x)
153 -#      define BE_LONG(x) __uint8_swap_uint32(x)
154 -#    else
155 -#      define BE_SHORT(x) __bswap16(x)
156 -#      define BE_LONG(x) __bswap32(x)
157 -#    endif
158 -#  endif
159 +# if defined __FreeBSD__ || defined __DragonFly__
160 +#  define BE_SHORT(x) __bswap16(x)
161 +#  define BE_LONG(x) __bswap32(x)
162  # else
163  #  define BE_SHORT(x) XCHG_SHORT(x)
164  #  define BE_LONG(x) XCHG_LONG(x)
165