blob: 4291329a8e873c37f834803e7c5bbf74863392cc [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",
Philipp Schrader7520ee62022-12-10 14:04:40 -0800186 "librsvg2-common",
Philipp Schraderfd5489f2022-09-17 17:31:09 -0700187 ],
188)
189
190download_packages(
Philipp Schrader0e19c602018-03-07 21:07:22 -0800191 name = "download_python_deps",
192 excludes = [
193 "libblas.so.3",
194 "liblapack.so.3",
195 ],
196 packages = [
Philipp Schrader0e19c602018-03-07 21:07:22 -0800197 "python3-dev",
198 "python3-numpy",
Brian Silverman6470f442018-08-05 12:08:16 -0700199 "python3-scipy",
Philipp Schrader0e19c602018-03-07 21:07:22 -0800200 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800201 target_compatible_with = ["@platforms//os:linux"],
Philipp Schrader0e19c602018-03-07 21:07:22 -0800202)
203
Philipp Schraderaedfc5c2018-03-10 19:32:30 -0800204download_packages(
205 name = "download_clang_deps",
206 excludes = [
James Kuszmaul3ae42262019-11-08 12:33:41 -0800207 "lib32stdc++6",
208 "libstdc++6",
Philipp Schraderaedfc5c2018-03-10 19:32:30 -0800209 ],
210 force_includes = [
211 "libc6",
212 "libc6-dev",
213 ],
214 packages = [
James Kuszmaul3ae42262019-11-08 12:33:41 -0800215 "clang-6.0",
216 "clang-format-6.0",
Philipp Schraderaedfc5c2018-03-10 19:32:30 -0800217 "gcc",
218 "gfortran",
219 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800220 target_compatible_with = ["@platforms//os:linux"],
Philipp Schraderaedfc5c2018-03-10 19:32:30 -0800221)
222
Brian Silverman7bda6212018-08-05 11:42:11 -0700223download_packages(
Philipp Schrader41011a12022-03-13 12:49:32 -0700224 name = "download_postgresql_deps",
225 excludes = [
226 "adduser",
227 "debconf",
228 "debconf-2.0",
229 "libsystemd0",
230 "lsb-base",
231 "libstdc++6",
232 "libc-bin",
233 "libc-l10n",
234 "netbase",
235 "ucf",
236 "locales",
237 "locales-all",
238 ],
239 packages = [
240 "postgresql",
241 ],
242 target_compatible_with = ["@platforms//os:linux"],
243)
244
245download_packages(
Brian Silverman7bda6212018-08-05 11:42:11 -0700246 name = "download_patch_deps",
247 packages = [
248 "patch",
249 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800250 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman7bda6212018-08-05 11:42:11 -0700251)
252
Brian Silverman7297c0c2018-08-05 13:43:00 -0700253download_packages(
254 name = "download_pandoc_deps",
255 packages = [
256 "pandoc",
257 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800258 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman7297c0c2018-08-05 13:43:00 -0700259)
260
Brian Silverman4f6ba442018-08-05 14:34:58 -0700261download_packages(
262 name = "download_libusb_deps",
263 packages = [
264 "libusb-0.1-4",
265 "libusb-1.0-0",
266 "libusb-1.0-0-dev",
267 "libusb-dev",
268 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800269 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman4f6ba442018-08-05 14:34:58 -0700270)
271
Brian Silvermanb80dc9f2018-08-05 14:59:24 -0700272download_packages(
273 name = "download_mingw_compiler_deps",
274 packages = [
275 "g++-mingw-w64-x86-64",
276 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800277 target_compatible_with = ["@platforms//os:linux"],
Brian Silvermanb80dc9f2018-08-05 14:59:24 -0700278)
279
Brian Silverman6470f442018-08-05 12:08:16 -0700280download_packages(
281 name = "download_patchelf_deps",
282 packages = [
283 "patchelf",
284 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800285 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman6470f442018-08-05 12:08:16 -0700286)
287
288download_packages(
289 name = "download_matplotlib_deps",
290 excludes = [
Brian Silverman6470f442018-08-05 12:08:16 -0700291 "python3-dev",
292 "python3-numpy",
293 "python3-scipy",
294 "x11-common",
295 "fonts-freefont",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800296 "python3",
Brian Silverman6470f442018-08-05 12:08:16 -0700297 "libcups2",
298 ],
299 packages = [
Brian Silverman6470f442018-08-05 12:08:16 -0700300 "python3-matplotlib",
James Kuszmaul910f92b2020-01-01 15:30:38 -0800301 "python3-tk",
Brian Silverman6470f442018-08-05 12:08:16 -0700302 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800303 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman6470f442018-08-05 12:08:16 -0700304)
305
Brian Silverman50b9ac02018-08-12 13:24:10 -0700306# This list was obtained by manually looking at the output from:
307# find bazel-out/../../../external/arm_frc_linux_gnueabi_repo/ -executable -type f -exec ldd {} + | sed 's/=>.*//g' | sort -u
308download_packages(
309 name = "download_arm_frc_gnueabi_deps",
310 packages = [
311 "libexpat1",
312 "libgmp10",
313 "libisl10",
314 "liblzma5",
315 "libmpc3",
316 "libmpfr4",
317 "libncurses5",
318 "libtinfo5",
319 "zlib1g",
320 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800321 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman50b9ac02018-08-12 13:24:10 -0700322)
323
Brian Silvermanb0ebf1d2018-10-17 23:36:40 -0700324download_packages(
325 name = "download_python_gtk_deps",
326 excludes = [
327 "fonts-freefont",
328 "gsettings-backend",
329 "libpng-dev",
330 "libz-dev",
331 "python3-dev",
332 "python3",
James Kuszmaulf89cfab2020-01-17 19:48:25 -0800333 "libblas.so.3",
334 "liblapack.so.3",
335 "libstdc++-dev",
Brian Silvermanb0ebf1d2018-10-17 23:36:40 -0700336 ],
337 packages = [
338 "libgtk-3-dev",
339 "python3-cairo",
340 "python3-gi",
341 "python3-gi-cairo",
342 "python3-shapely",
343 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800344 target_compatible_with = ["@platforms//os:linux"],
Brian Silvermanb0ebf1d2018-10-17 23:36:40 -0700345)
346
Philipp Schrader0e19c602018-03-07 21:07:22 -0800347generate_deb_tarball(
348 name = "python",
349 files = python_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800350 target_compatible_with = ["@platforms//os:linux"],
Philipp Schrader0e19c602018-03-07 21:07:22 -0800351)
Philipp Schraderaedfc5c2018-03-10 19:32:30 -0800352
353generate_deb_tarball(
Philipp Schraderd0e33a42022-01-22 21:55:15 -0800354 name = "apache2",
355 files = apache2_debs,
356 target_compatible_with = ["@platforms//os:linux"],
357)
358
359generate_deb_tarball(
Philipp Schrader41011a12022-03-13 12:49:32 -0700360 name = "postgresql_amd64",
361 files = postgresql_amd64_debs,
362 target_compatible_with = ["@platforms//os:linux"],
363)
364
365generate_deb_tarball(
Brian Silverman7bda6212018-08-05 11:42:11 -0700366 name = "patch",
367 files = patch_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800368 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman7bda6212018-08-05 11:42:11 -0700369)
Brian Silverman7297c0c2018-08-05 13:43:00 -0700370
371generate_deb_tarball(
Austin Schuh71f6fa72019-08-31 18:23:02 -0700372 name = "rsync",
373 files = rsync_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800374 target_compatible_with = ["@platforms//os:linux"],
Austin Schuh71f6fa72019-08-31 18:23:02 -0700375)
376
377generate_deb_tarball(
Brian Silvermanbd7860e2020-01-05 17:52:40 -0800378 name = "ssh_v3",
Austin Schuh71f6fa72019-08-31 18:23:02 -0700379 files = ssh_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800380 target_compatible_with = ["@platforms//os:linux"],
Austin Schuh71f6fa72019-08-31 18:23:02 -0700381)
382
383generate_deb_tarball(
Brian Silverman7297c0c2018-08-05 13:43:00 -0700384 name = "pandoc",
385 files = pandoc_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800386 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman7297c0c2018-08-05 13:43:00 -0700387)
Brian Silverman4f6ba442018-08-05 14:34:58 -0700388
389generate_deb_tarball(
390 name = "libusb",
391 files = libusb_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800392 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman4f6ba442018-08-05 14:34:58 -0700393)
Brian Silvermanb80dc9f2018-08-05 14:59:24 -0700394
395generate_deb_tarball(
396 name = "mingw_compiler",
397 files = mingw_compiler_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800398 target_compatible_with = ["@platforms//os:linux"],
Brian Silvermanb80dc9f2018-08-05 14:59:24 -0700399)
Brian Silverman6470f442018-08-05 12:08:16 -0700400
401generate_deb_tarball(
402 name = "patchelf",
403 files = patchelf_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800404 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman6470f442018-08-05 12:08:16 -0700405)
406
407generate_deb_tarball(
408 name = "matplotlib",
409 files = matplotlib_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800410 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman6470f442018-08-05 12:08:16 -0700411)
Brian Silverman50b9ac02018-08-12 13:24:10 -0700412
413generate_deb_tarball(
414 name = "arm_frc_gnueabi_deps",
415 files = arm_frc_gnueabi_deps_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800416 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman50b9ac02018-08-12 13:24:10 -0700417)
Brian Silvermanb0ebf1d2018-10-17 23:36:40 -0700418
419generate_deb_tarball(
420 name = "python_gtk",
421 files = python_gtk_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800422 target_compatible_with = ["@platforms//os:linux"],
Brian Silvermanb0ebf1d2018-10-17 23:36:40 -0700423)
Brian Silvermanbd7860e2020-01-05 17:52:40 -0800424
Philipp Schraderfd5489f2022-09-17 17:31:09 -0700425generate_deb_tarball(
426 name = "gtk_runtime",
427 files = gtk_runtime_debs,
428 target_compatible_with = ["@platforms//os:linux"],
429)
430
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800431download_packages(
432 name = "download_opencv",
433 packages = [
434 "libopencv-calib3d-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800435 "libopencv-calib3d4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800436 "libopencv-contrib-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800437 "libopencv-contrib4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800438 "libopencv-core-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800439 "libopencv-core4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800440 "libopencv-dev",
441 "libopencv-features2d-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800442 "libopencv-features2d4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800443 "libopencv-flann-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800444 "libopencv-flann4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800445 "libopencv-highgui-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800446 "libopencv-highgui4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800447 "libopencv-imgcodecs-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800448 "libopencv-imgcodecs4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800449 "libopencv-imgproc-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800450 "libopencv-imgproc4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800451 "libopencv-ml-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800452 "libopencv-ml4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800453 "libopencv-objdetect-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800454 "libopencv-objdetect4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800455 "libopencv-photo-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800456 "libopencv-photo4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800457 "libopencv-shape-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800458 "libopencv-shape4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800459 "libopencv-stitching-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800460 "libopencv-stitching4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800461 "libopencv-superres-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800462 "libopencv-superres4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800463 "libopencv-video-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800464 "libopencv-video4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800465 "libopencv-videoio-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800466 "libopencv-videoio4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800467 "libopencv-videostab-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800468 "libopencv-videostab4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800469 "libopencv-viz-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800470 "libopencv-viz4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800471 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800472 target_compatible_with = ["@platforms//os:linux"],
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800473)
474
Brian Silvermand4260c72020-01-14 00:08:02 -0800475generate_deb_tarball(
Philipp Schraderf1bbf342022-02-05 14:30:15 -0800476 name = "opencv_arm64",
477 files = opencv_arm64_debs,
478 target_compatible_with = ["@platforms//os:linux"],
479)
480
481generate_deb_tarball(
Brian Silverman4c7235a2021-11-17 19:04:37 -0800482 name = "opencv_armhf_v4",
Brian Silvermand4260c72020-01-14 00:08:02 -0800483 files = opencv_armhf_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800484 target_compatible_with = ["@platforms//os:linux"],
Brian Silvermand4260c72020-01-14 00:08:02 -0800485)
486
Brian Silvermand97a47c2020-01-16 00:47:53 -0800487generate_deb_tarball(
488 name = "opencv_amd64",
489 files = opencv_amd64_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800490 target_compatible_with = ["@platforms//os:linux"],
Brian Silvermand97a47c2020-01-16 00:47:53 -0800491)
492
Tyler Chatow60671d32020-02-26 19:49:30 -0800493generate_deb_tarball(
494 name = "gstreamer_amd64",
495 files = gstreamer_amd64_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800496 target_compatible_with = ["@platforms//os:linux"],
Tyler Chatow60671d32020-02-26 19:49:30 -0800497)
498
499generate_deb_tarball(
500 name = "gstreamer_armhf",
501 files = gstreamer_armhf_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800502 target_compatible_with = ["@platforms//os:linux"],
Tyler Chatow60671d32020-02-26 19:49:30 -0800503)
504
Tyler Chatow6eda82c2022-03-27 22:37:38 -0700505generate_deb_tarball(
506 name = "gstreamer_arm64",
507 files = gstreamer_arm64_debs,
508 target_compatible_with = ["@platforms//os:linux"],
509)
510
Brian Silvermanf59fe3f2020-09-22 21:04:09 -0700511download_packages(
512 name = "download_lzma",
513 packages = [
514 "liblzma-dev",
515 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800516 target_compatible_with = ["@platforms//os:linux"],
Brian Silvermanf59fe3f2020-09-22 21:04:09 -0700517)
518
519generate_deb_tarball(
520 name = "lzma_amd64",
521 files = lzma_amd64_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800522 target_compatible_with = ["@platforms//os:linux"],
Brian Silvermanf59fe3f2020-09-22 21:04:09 -0700523)
524
525generate_deb_tarball(
526 name = "lzma_arm64",
527 files = lzma_arm64_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800528 target_compatible_with = ["@platforms//os:linux"],
Brian Silvermanf59fe3f2020-09-22 21:04:09 -0700529)
530
Tyler Chatow8a51ac62022-03-15 13:23:12 -0700531generate_deb_tarball(
532 name = "libtinfo5_amd64",
533 files = libtinfo5_amd64_debs,
534 target_compatible_with = ["@platforms//os:linux"],
535)
536
Tyler Chatowec100e22022-03-22 16:23:04 -0700537generate_deb_tarball(
538 name = "libtinfo5_arm64",
539 files = libtinfo5_arm64_debs,
540 target_compatible_with = ["@platforms//os:linux"],
541)
542
Brian Silvermanbd7860e2020-01-05 17:52:40 -0800543exports_files([
544 "ssh_wrapper.sh",
Austin Schuh86110712022-09-16 15:40:54 -0700545 "curl.BUILD",
546 "BUILD.zlib.bazel",
Brian Silvermanbd7860e2020-01-05 17:52:40 -0800547])