Ravenports generated: 28 Feb 2023 12:26
[ravenports.git] / bucket_37 / sdl1_mixer
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               sdl1_mixer
4 VERSION=                1.2.12
5 REVISION=               1
6 KEYWORDS=               audio
7 VARIANTS=               standard
8 SDESC[standard]=        SDL multi-channel audio mixer library
9 HOMEPAGE=               https://www.libsdl.org/projects/SDL_mixer
10 CONTACT=                Michael_Reim[kraileth@elderlinux.org]
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            http://www.libsdl.org/projects/SDL_mixer/release/
14 DISTFILE[1]=            SDL_mixer-1.2.12.tar.gz:main
15 DF_INDEX=               1
16 SPKGS[standard]=        complete
17                         primary
18                         dev
19
20 OPTIONS_AVAILABLE=      none
21 OPTIONS_STANDARD=       none
22
23 BUILDRUN_DEPENDS=       flac:primary:standard
24                         libmikmod:single:standard
25                         smpeg:single:standard
26                         timidity:single:standard
27
28 USES=                   fbsd10fix gmake libtool pkgconfig
29 SDL_COMPONENTS=         sdl1
30
31 DISTNAME=               SDL_mixer-1.2.12
32
33 LICENSE=                ZLIB:primary
34 LICENSE_FILE=           ZLIB:{{WRKSRC}}/COPYING
35 LICENSE_SCHEME=         solo
36
37 FPC_EQUIVALENT=         audio/sdl_mixer
38
39 MUST_CONFIGURE=         gnu
40 CONFIGURE_ARGS=         --enable-music-flac
41                         --enable-music-mod
42                         --enable-music-mp3
43                         --enable-music-ogg
44
45 SOVERSION=              0.12.0
46 PLIST_SUB=              LIBVERSION=1.2
47
48 post-patch:
49         ${REINPLACE_CMD} -e 's|__PREFIX__|${PREFIX}|g' \
50                 ${WRKSRC}/timidity/config.h
51
52 post-install:
53         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libSDL_mixer-1.2.so.0.12.0
54
55 [FILE:323:descriptions/desc.primary]
56 SDL_mixer is a sound mixing library that is used with the SDL library, and 
57 almost as portable. It allows a programmer to use multiple samples along 
58 with music without having to code a mixing algorithm themselves. It also 
59 simplyfies the handling of loading and playing samples and music from all 
60 sorts of file formats. 
61
62
63 [FILE:102:distinfo]
64 1644308279a975799049e4826af2cfc787cad2abb11aa14562e402521f86992a      3707781 SDL_mixer-1.2.12.tar.gz
65
66
67 [FILE:95:manifests/plist.primary]
68 lib/
69  libSDL_mixer-%%LIBVERSION%%.so.%%SOMAJOR%%
70  libSDL_mixer-%%LIBVERSION%%.so.%%SOVERSION%%
71
72
73 [FILE:89:manifests/plist.dev]
74 include/SDL/SDL_mixer.h
75 lib/
76  libSDL_mixer.a
77  libSDL_mixer.so
78 lib/pkgconfig/SDL_mixer.pc
79
80
81 [FILE:498:patches/patch-timidity_config.h]
82 --- timidity/config.h.orig      2018-04-29 19:42:45.009410000 +0200
83 +++ timidity/config.h   2018-04-29 19:42:59.308223000 +0200
84 @@ -161,7 +161,7 @@
85  /* You could specify a complete path, e.g. "/etc/timidity.cfg", and
86     then specify the library directory in the configuration file. */
87  #define CONFIG_FILE    "timidity.cfg"
88 -#define CONFIG_FILE_ETC "/etc/timidity.cfg"
89 +#define CONFIG_FILE_ETC "__PREFIX__/etc/timidity.cfg"
90  
91  #if defined(__WIN32__) || defined(__OS2__)
92  #define DEFAULT_PATH   "C:\\TIMIDITY"
93