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