blob: f14db444a32b557e4bfbe69c8bbd604dc1c1d86e [file] [log] [blame]
Philipp Schrader0e19c602018-03-07 21:07:22 -08001load(
2 "//debian:python.bzl",
3 python_debs = "files",
4)
Philipp Schraderaedfc5c2018-03-10 19:32:30 -08005load(
Philipp Schraderd0e33a42022-01-22 21:55:15 -08006 ":apache2.bzl",
7 apache2_debs = "files",
8)
9load(
Philipp Schrader41011a12022-03-13 12:49:32 -070010 ":postgresql_amd64.bzl",
11 postgresql_amd64_debs = "files",
12)
13load(
Brian Silverman7bda6212018-08-05 11:42:11 -070014 ":patch.bzl",
15 patch_debs = "files",
16)
Brian Silverman7297c0c2018-08-05 13:43:00 -070017load(
Austin Schuh71f6fa72019-08-31 18:23:02 -070018 ":rsync.bzl",
19 rsync_debs = "files",
20)
21load(
22 ":ssh.bzl",
23 ssh_debs = "files",
24)
25load(
Brian Silverman7297c0c2018-08-05 13:43:00 -070026 ":pandoc.bzl",
27 pandoc_debs = "files",
28)
Brian Silverman4f6ba442018-08-05 14:34:58 -070029load(
30 ":libusb.bzl",
31 libusb_debs = "files",
32)
Brian Silvermanb80dc9f2018-08-05 14:59:24 -070033load(
34 ":mingw_compiler.bzl",
35 mingw_compiler_debs = "files",
36)
Brian Silverman6470f442018-08-05 12:08:16 -070037load(
38 ":patchelf.bzl",
39 patchelf_debs = "files",
40)
41load(
42 ":matplotlib.bzl",
43 matplotlib_debs = "files",
44)
Brian Silverman50b9ac02018-08-12 13:24:10 -070045load(
46 ":arm_frc_gnueabi_deps.bzl",
47 arm_frc_gnueabi_deps_debs = "files",
48)
Brian Silvermanb0ebf1d2018-10-17 23:36:40 -070049load(
50 ":python_gtk.bzl",
51 python_gtk_debs = "files",
52)
Brian Silvermand4260c72020-01-14 00:08:02 -080053load(
Philipp Schraderfd5489f2022-09-17 17:31:09 -070054 ":gtk_runtime.bzl",
55 gtk_runtime_debs = "files",
56)
57load(
Philipp Schraderf1bbf342022-02-05 14:30:15 -080058 ":opencv_arm64.bzl",
59 opencv_arm64_debs = "files",
60)
61load(
Brian Silvermand4260c72020-01-14 00:08:02 -080062 ":opencv_armhf.bzl",
63 opencv_armhf_debs = "files",
64)
Brian Silvermand97a47c2020-01-16 00:47:53 -080065load(
66 ":opencv_amd64.bzl",
67 opencv_amd64_debs = "files",
68)
Tyler Chatow60671d32020-02-26 19:49:30 -080069load(
70 ":gstreamer_amd64.bzl",
71 gstreamer_amd64_debs = "files",
72)
73load(
74 ":gstreamer_armhf.bzl",
75 gstreamer_armhf_debs = "files",
76)
Austin Schuh023e7f52020-08-18 21:24:37 -070077load(
Tyler Chatow6eda82c2022-03-27 22:37:38 -070078 ":gstreamer_arm64.bzl",
79 gstreamer_arm64_debs = "files",
80)
81load(
Brian Silvermanf59fe3f2020-09-22 21:04:09 -070082 ":lzma_amd64.bzl",
83 lzma_amd64_debs = "files",
84)
85load(
86 ":lzma_arm64.bzl",
87 lzma_arm64_debs = "files",
88)
Tyler Chatow8a51ac62022-03-15 13:23:12 -070089load(
90 ":libtinfo5_amd64.bzl",
91 libtinfo5_amd64_debs = "files",
92)
Tyler Chatowec100e22022-03-22 16:23:04 -070093load(
94 ":libtinfo5_arm64.bzl",
95 libtinfo5_arm64_debs = "files",
96)
Brian Silvermanf59fe3f2020-09-22 21:04:09 -070097load(":packages.bzl", "download_packages", "generate_deb_tarball")
Philipp Schrader0e19c602018-03-07 21:07:22 -080098
Philipp Schradercc016b32021-12-30 08:59:58 -080099package(default_visibility = ["//visibility:public"])
100
Brian Silverman6470f442018-08-05 12:08:16 -0700101filegroup(
102 name = "matplotlib_patches",
103 srcs = [
104 "matplotlib_init.patch",
105 ],
James Kuszmaul910f92b2020-01-01 15:30:38 -0800106 visibility = ["@matplotlib_repo//:__pkg__"],
Brian Silverman6470f442018-08-05 12:08:16 -0700107)
108
Brian Silvermanb0ebf1d2018-10-17 23:36:40 -0700109filegroup(
110 name = "python_shapely_patches",
111 srcs = [
112 "python_shapely_init.patch",
113 ],
114 visibility = ["@python_gtk//:__pkg__"],
115)
116
117filegroup(
118 name = "python_gi_patches",
119 srcs = [
120 "python_gi_init.patch",
121 ],
122 visibility = ["@python_gtk//:__pkg__"],
123)
124
125filegroup(
126 name = "python_geos_patches",
127 srcs = [
128 "python_geos.patch",
129 ],
130 visibility = ["@python_gtk//:__pkg__"],
131)
132
Philipp Schrader0e19c602018-03-07 21:07:22 -0800133py_binary(
134 name = "download_packages",
135 srcs = [
136 "download_packages.py",
137 ],
Philipp Schrader0e19c602018-03-07 21:07:22 -0800138 main = "download_packages.py",
Philipp Schraderdada1072020-11-24 11:34:46 -0800139 target_compatible_with = ["@platforms//os:linux"],
Philipp Schrader0e19c602018-03-07 21:07:22 -0800140)
141
142download_packages(
Philipp Schraderd0e33a42022-01-22 21:55:15 -0800143 name = "download_apache2_packages",
144 excludes = [
145 "libaprutil1-dbd-mysql",
146 "libaprutil1-dbd-odbc",
147 "libaprutil1-dbd-pgsql",
148 "libaprutil1-dbd-freetds",
149 "libstdc++6",
150 "lsb-base",
151 "debconf",
152 "libc6-dev",
153 ],
154 force_includes = [
155 "libaprutil1",
156 ],
157 packages = [
158 "apache2",
159 ],
160)
161
162download_packages(
Philipp Schraderfd5489f2022-09-17 17:31:09 -0700163 name = "download_gtk_runtime",
164 excludes = [
165 "libstdc++6",
166 "lsb-base",
167 "libglib2.0-dev-bin",
168 "fonts-freefont",
169 "gsettings-backend",
170 "libpng-dev",
171 "libz-dev",
172 "libstdc++-dev",
173 "libc6-dev",
174 ],
175 # Since "libglib2.0-0" pulls in glibc, we need to forcibly remove it again.
176 force_excludes = [
177 "libc6",
178 "libgcc-s1",
179 ],
180 force_includes = [
181 "libglib2.0-0",
182 ],
183 packages = [
184 "gir1.2-gtk-3.0",
185 "libgtk-3-dev",
186 ],
187)
188
189download_packages(
Philipp Schrader0e19c602018-03-07 21:07:22 -0800190 name = "download_python_deps",
191 excludes = [
192 "libblas.so.3",
193 "liblapack.so.3",
194 ],
195 packages = [
Philipp Schrader0e19c602018-03-07 21:07:22 -0800196 "python3-dev",
197 "python3-numpy",
Brian Silverman6470f442018-08-05 12:08:16 -0700198 "python3-scipy",
Philipp Schrader0e19c602018-03-07 21:07:22 -0800199 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800200 target_compatible_with = ["@platforms//os:linux"],
Philipp Schrader0e19c602018-03-07 21:07:22 -0800201)
202
Philipp Schraderaedfc5c2018-03-10 19:32:30 -0800203download_packages(
204 name = "download_clang_deps",
205 excludes = [
James Kuszmaul3ae42262019-11-08 12:33:41 -0800206 "lib32stdc++6",
207 "libstdc++6",
Philipp Schraderaedfc5c2018-03-10 19:32:30 -0800208 ],
209 force_includes = [
210 "libc6",
211 "libc6-dev",
212 ],
213 packages = [
James Kuszmaul3ae42262019-11-08 12:33:41 -0800214 "clang-6.0",
215 "clang-format-6.0",
Philipp Schraderaedfc5c2018-03-10 19:32:30 -0800216 "gcc",
217 "gfortran",
218 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800219 target_compatible_with = ["@platforms//os:linux"],
Philipp Schraderaedfc5c2018-03-10 19:32:30 -0800220)
221
Brian Silverman7bda6212018-08-05 11:42:11 -0700222download_packages(
Philipp Schrader41011a12022-03-13 12:49:32 -0700223 name = "download_postgresql_deps",
224 excludes = [
225 "adduser",
226 "debconf",
227 "debconf-2.0",
228 "libsystemd0",
229 "lsb-base",
230 "libstdc++6",
231 "libc-bin",
232 "libc-l10n",
233 "netbase",
234 "ucf",
235 "locales",
236 "locales-all",
237 ],
238 packages = [
239 "postgresql",
240 ],
241 target_compatible_with = ["@platforms//os:linux"],
242)
243
244download_packages(
Brian Silverman7bda6212018-08-05 11:42:11 -0700245 name = "download_patch_deps",
246 packages = [
247 "patch",
248 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800249 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman7bda6212018-08-05 11:42:11 -0700250)
251
Brian Silverman7297c0c2018-08-05 13:43:00 -0700252download_packages(
253 name = "download_pandoc_deps",
254 packages = [
255 "pandoc",
256 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800257 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman7297c0c2018-08-05 13:43:00 -0700258)
259
Brian Silverman4f6ba442018-08-05 14:34:58 -0700260download_packages(
261 name = "download_libusb_deps",
262 packages = [
263 "libusb-0.1-4",
264 "libusb-1.0-0",
265 "libusb-1.0-0-dev",
266 "libusb-dev",
267 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800268 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman4f6ba442018-08-05 14:34:58 -0700269)
270
Brian Silvermanb80dc9f2018-08-05 14:59:24 -0700271download_packages(
272 name = "download_mingw_compiler_deps",
273 packages = [
274 "g++-mingw-w64-x86-64",
275 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800276 target_compatible_with = ["@platforms//os:linux"],
Brian Silvermanb80dc9f2018-08-05 14:59:24 -0700277)
278
Brian Silverman6470f442018-08-05 12:08:16 -0700279download_packages(
280 name = "download_patchelf_deps",
281 packages = [
282 "patchelf",
283 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800284 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman6470f442018-08-05 12:08:16 -0700285)
286
287download_packages(
288 name = "download_matplotlib_deps",
289 excludes = [
Brian Silverman6470f442018-08-05 12:08:16 -0700290 "python3-dev",
291 "python3-numpy",
292 "python3-scipy",
293 "x11-common",
294 "fonts-freefont",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800295 "python3",
Brian Silverman6470f442018-08-05 12:08:16 -0700296 "libcups2",
297 ],
298 packages = [
Brian Silverman6470f442018-08-05 12:08:16 -0700299 "python3-matplotlib",
James Kuszmaul910f92b2020-01-01 15:30:38 -0800300 "python3-tk",
Brian Silverman6470f442018-08-05 12:08:16 -0700301 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800302 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman6470f442018-08-05 12:08:16 -0700303)
304
Brian Silverman50b9ac02018-08-12 13:24:10 -0700305# This list was obtained by manually looking at the output from:
306# find bazel-out/../../../external/arm_frc_linux_gnueabi_repo/ -executable -type f -exec ldd {} + | sed 's/=>.*//g' | sort -u
307download_packages(
308 name = "download_arm_frc_gnueabi_deps",
309 packages = [
310 "libexpat1",
311 "libgmp10",
312 "libisl10",
313 "liblzma5",
314 "libmpc3",
315 "libmpfr4",
316 "libncurses5",
317 "libtinfo5",
318 "zlib1g",
319 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800320 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman50b9ac02018-08-12 13:24:10 -0700321)
322
Brian Silvermanb0ebf1d2018-10-17 23:36:40 -0700323download_packages(
324 name = "download_python_gtk_deps",
325 excludes = [
326 "fonts-freefont",
327 "gsettings-backend",
328 "libpng-dev",
329 "libz-dev",
330 "python3-dev",
331 "python3",
James Kuszmaulf89cfab2020-01-17 19:48:25 -0800332 "libblas.so.3",
333 "liblapack.so.3",
334 "libstdc++-dev",
Brian Silvermanb0ebf1d2018-10-17 23:36:40 -0700335 ],
336 packages = [
337 "libgtk-3-dev",
338 "python3-cairo",
339 "python3-gi",
340 "python3-gi-cairo",
341 "python3-shapely",
342 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800343 target_compatible_with = ["@platforms//os:linux"],
Brian Silvermanb0ebf1d2018-10-17 23:36:40 -0700344)
345
Philipp Schrader0e19c602018-03-07 21:07:22 -0800346generate_deb_tarball(
347 name = "python",
348 files = python_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800349 target_compatible_with = ["@platforms//os:linux"],
Philipp Schrader0e19c602018-03-07 21:07:22 -0800350)
Philipp Schraderaedfc5c2018-03-10 19:32:30 -0800351
352generate_deb_tarball(
Philipp Schraderd0e33a42022-01-22 21:55:15 -0800353 name = "apache2",
354 files = apache2_debs,
355 target_compatible_with = ["@platforms//os:linux"],
356)
357
358generate_deb_tarball(
Philipp Schrader41011a12022-03-13 12:49:32 -0700359 name = "postgresql_amd64",
360 files = postgresql_amd64_debs,
361 target_compatible_with = ["@platforms//os:linux"],
362)
363
364generate_deb_tarball(
Brian Silverman7bda6212018-08-05 11:42:11 -0700365 name = "patch",
366 files = patch_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800367 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman7bda6212018-08-05 11:42:11 -0700368)
Brian Silverman7297c0c2018-08-05 13:43:00 -0700369
370generate_deb_tarball(
Austin Schuh71f6fa72019-08-31 18:23:02 -0700371 name = "rsync",
372 files = rsync_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800373 target_compatible_with = ["@platforms//os:linux"],
Austin Schuh71f6fa72019-08-31 18:23:02 -0700374)
375
376generate_deb_tarball(
Brian Silvermanbd7860e2020-01-05 17:52:40 -0800377 name = "ssh_v3",
Austin Schuh71f6fa72019-08-31 18:23:02 -0700378 files = ssh_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800379 target_compatible_with = ["@platforms//os:linux"],
Austin Schuh71f6fa72019-08-31 18:23:02 -0700380)
381
382generate_deb_tarball(
Brian Silverman7297c0c2018-08-05 13:43:00 -0700383 name = "pandoc",
384 files = pandoc_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800385 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman7297c0c2018-08-05 13:43:00 -0700386)
Brian Silverman4f6ba442018-08-05 14:34:58 -0700387
388generate_deb_tarball(
389 name = "libusb",
390 files = libusb_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800391 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman4f6ba442018-08-05 14:34:58 -0700392)
Brian Silvermanb80dc9f2018-08-05 14:59:24 -0700393
394generate_deb_tarball(
395 name = "mingw_compiler",
396 files = mingw_compiler_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800397 target_compatible_with = ["@platforms//os:linux"],
Brian Silvermanb80dc9f2018-08-05 14:59:24 -0700398)
Brian Silverman6470f442018-08-05 12:08:16 -0700399
400generate_deb_tarball(
401 name = "patchelf",
402 files = patchelf_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800403 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman6470f442018-08-05 12:08:16 -0700404)
405
406generate_deb_tarball(
407 name = "matplotlib",
408 files = matplotlib_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800409 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman6470f442018-08-05 12:08:16 -0700410)
Brian Silverman50b9ac02018-08-12 13:24:10 -0700411
412generate_deb_tarball(
413 name = "arm_frc_gnueabi_deps",
414 files = arm_frc_gnueabi_deps_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800415 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman50b9ac02018-08-12 13:24:10 -0700416)
Brian Silvermanb0ebf1d2018-10-17 23:36:40 -0700417
418generate_deb_tarball(
419 name = "python_gtk",
420 files = python_gtk_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800421 target_compatible_with = ["@platforms//os:linux"],
Brian Silvermanb0ebf1d2018-10-17 23:36:40 -0700422)
Brian Silvermanbd7860e2020-01-05 17:52:40 -0800423
Philipp Schraderfd5489f2022-09-17 17:31:09 -0700424generate_deb_tarball(
425 name = "gtk_runtime",
426 files = gtk_runtime_debs,
427 target_compatible_with = ["@platforms//os:linux"],
428)
429
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800430download_packages(
431 name = "download_opencv",
432 packages = [
433 "libopencv-calib3d-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800434 "libopencv-calib3d4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800435 "libopencv-contrib-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800436 "libopencv-contrib4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800437 "libopencv-core-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800438 "libopencv-core4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800439 "libopencv-dev",
440 "libopencv-features2d-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800441 "libopencv-features2d4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800442 "libopencv-flann-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800443 "libopencv-flann4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800444 "libopencv-highgui-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800445 "libopencv-highgui4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800446 "libopencv-imgcodecs-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800447 "libopencv-imgcodecs4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800448 "libopencv-imgproc-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800449 "libopencv-imgproc4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800450 "libopencv-ml-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800451 "libopencv-ml4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800452 "libopencv-objdetect-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800453 "libopencv-objdetect4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800454 "libopencv-photo-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800455 "libopencv-photo4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800456 "libopencv-shape-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800457 "libopencv-shape4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800458 "libopencv-stitching-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800459 "libopencv-stitching4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800460 "libopencv-superres-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800461 "libopencv-superres4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800462 "libopencv-video-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800463 "libopencv-video4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800464 "libopencv-videoio-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800465 "libopencv-videoio4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800466 "libopencv-videostab-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800467 "libopencv-videostab4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800468 "libopencv-viz-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800469 "libopencv-viz4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800470 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800471 target_compatible_with = ["@platforms//os:linux"],
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800472)
473
Brian Silvermand4260c72020-01-14 00:08:02 -0800474generate_deb_tarball(
Philipp Schraderf1bbf342022-02-05 14:30:15 -0800475 name = "opencv_arm64",
476 files = opencv_arm64_debs,
477 target_compatible_with = ["@platforms//os:linux"],
478)
479
480generate_deb_tarball(
Brian Silverman4c7235a2021-11-17 19:04:37 -0800481 name = "opencv_armhf_v4",
Brian Silvermand4260c72020-01-14 00:08:02 -0800482 files = opencv_armhf_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800483 target_compatible_with = ["@platforms//os:linux"],
Brian Silvermand4260c72020-01-14 00:08:02 -0800484)
485
Brian Silvermand97a47c2020-01-16 00:47:53 -0800486generate_deb_tarball(
487 name = "opencv_amd64",
488 files = opencv_amd64_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800489 target_compatible_with = ["@platforms//os:linux"],
Brian Silvermand97a47c2020-01-16 00:47:53 -0800490)
491
Tyler Chatow60671d32020-02-26 19:49:30 -0800492generate_deb_tarball(
493 name = "gstreamer_amd64",
494 files = gstreamer_amd64_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800495 target_compatible_with = ["@platforms//os:linux"],
Tyler Chatow60671d32020-02-26 19:49:30 -0800496)
497
498generate_deb_tarball(
499 name = "gstreamer_armhf",
500 files = gstreamer_armhf_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800501 target_compatible_with = ["@platforms//os:linux"],
Tyler Chatow60671d32020-02-26 19:49:30 -0800502)
503
Tyler Chatow6eda82c2022-03-27 22:37:38 -0700504generate_deb_tarball(
505 name = "gstreamer_arm64",
506 files = gstreamer_arm64_debs,
507 target_compatible_with = ["@platforms//os:linux"],
508)
509
Brian Silvermanf59fe3f2020-09-22 21:04:09 -0700510download_packages(
511 name = "download_lzma",
512 packages = [
513 "liblzma-dev",
514 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800515 target_compatible_with = ["@platforms//os:linux"],
Brian Silvermanf59fe3f2020-09-22 21:04:09 -0700516)
517
518generate_deb_tarball(
519 name = "lzma_amd64",
520 files = lzma_amd64_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800521 target_compatible_with = ["@platforms//os:linux"],
Brian Silvermanf59fe3f2020-09-22 21:04:09 -0700522)
523
524generate_deb_tarball(
525 name = "lzma_arm64",
526 files = lzma_arm64_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800527 target_compatible_with = ["@platforms//os:linux"],
Brian Silvermanf59fe3f2020-09-22 21:04:09 -0700528)
529
Tyler Chatow8a51ac62022-03-15 13:23:12 -0700530generate_deb_tarball(
531 name = "libtinfo5_amd64",
532 files = libtinfo5_amd64_debs,
533 target_compatible_with = ["@platforms//os:linux"],
534)
535
Tyler Chatowec100e22022-03-22 16:23:04 -0700536generate_deb_tarball(
537 name = "libtinfo5_arm64",
538 files = libtinfo5_arm64_debs,
539 target_compatible_with = ["@platforms//os:linux"],
540)
541
Brian Silvermanbd7860e2020-01-05 17:52:40 -0800542exports_files([
543 "ssh_wrapper.sh",
Austin Schuh86110712022-09-16 15:40:54 -0700544 "curl.BUILD",
545 "BUILD.zlib.bazel",
Brian Silvermanbd7860e2020-01-05 17:52:40 -0800546])