File tree 2 files changed +38
-2
lines changed
2 files changed +38
-2
lines changed Original file line number Diff line number Diff line change 75
75
(= %{system} linux_elf)
76
76
(= %{system} elf)))
77
77
(deps
78
- (source_tree vendor/raylib))
78
+ (source_tree vendor/raylib)
79
+ enable_jpg.patch)
79
80
(action
80
81
(no-infer
81
82
(progn
83
+ (run chmod +w vendor/raylib/src/config.h)
84
+ (with-stdin-from
85
+ enable_jpg.patch
86
+ (run patch -sp1))
82
87
(run make -C vendor/raylib/src RAYLIB_LIBTYPE=STATIC -j 8)
83
88
(copy vendor/raylib/src/libraylib.a libraylib.a)
84
89
(run make -C vendor/raylib/src clean)
91
96
(enabled_if
92
97
(= %{system} macosx))
93
98
(deps
94
- (source_tree vendor/raylib))
99
+ (source_tree vendor/raylib)
100
+ enable_jpg.patch)
95
101
(action
96
102
(no-infer
97
103
(progn
104
+ (run chmod +w vendor/raylib/src/config.h)
105
+ (with-stdin-from
106
+ enable_jpg.patch
107
+ (run patch -sp1))
98
108
(run make -C vendor/raylib/src RAYLIB_LIBTYPE=STATIC -j 8)
99
109
(copy vendor/raylib/src/libraylib.a libraylib.a)
100
110
(run make -C vendor/raylib/src clean)
108
118
(= %{system} mingw64))
109
119
(deps
110
120
(source_tree vendor/raylib)
121
+ enable_jpg.patch
111
122
mingw64.patch)
112
123
(action
113
124
(no-infer
114
125
(progn
126
+ (run chmod +w vendor/raylib/src/config.h)
127
+ (run unix2dos vendor/raylib/src/config.h)
128
+ (with-stdin-from
129
+ enable_jpg.patch
130
+ (run patch --binary -sp1))
115
131
(run chmod +w vendor/raylib/src/Makefile)
116
132
(run unix2dos vendor/raylib/src/Makefile)
117
133
(with-stdin-from
135
151
(= %{system} bsd_elf)))
136
152
(deps
137
153
(source_tree vendor/raylib)
154
+ enable_jpg.patch
138
155
freebsd.patch)
139
156
(action
140
157
(no-infer
141
158
(progn
159
+ (run chmod +w vendor/raylib/src/config.h)
160
+ (with-stdin-from
161
+ enable_jpg.patch
162
+ (run patch -sp1))
142
163
(run chmod +w vendor/raylib/src/Makefile)
143
164
(with-stdin-from
144
165
freebsd.patch
Original file line number Diff line number Diff line change
1
+ diff -u a/vendor/raylib/src/config.h b/vendor/raylib/src/config.h
2
+ --- a/vendor/raylib/src/config.h
3
+ +++ b/vendor/raylib/src/config.h
4
+ @@ -148,9 +148,9 @@
5
+ //------------------------------------------------------------------------------------
6
+ // Selecte desired fileformats to be supported for image data loading
7
+ #define SUPPORT_FILEFORMAT_PNG 1
8
+ - //#define SUPPORT_FILEFORMAT_BMP 1
9
+ + #define SUPPORT_FILEFORMAT_BMP 1
10
+ //#define SUPPORT_FILEFORMAT_TGA 1
11
+ - //#define SUPPORT_FILEFORMAT_JPG 1
12
+ + #define SUPPORT_FILEFORMAT_JPG 1
13
+ #define SUPPORT_FILEFORMAT_GIF 1
14
+ #define SUPPORT_FILEFORMAT_QOI 1
15
+ //#define SUPPORT_FILEFORMAT_PSD 1
You can’t perform that action at this time.
0 commit comments