ReviewOS

also looking at this

pantry-pm/pantry

feat(webkitgtk): add the GTK3 WebKit provider craft's Linux binary needs

#272
Merged glennmichael123 wants to merge feat/266-webkitgtk-provider into main
7 files +425 -4
packages/ts-pantry/src/packages/webkitgtkorg.tsadded+110-0
Changes to packages/ts-pantry/src/packages/webkitgtkorg.ts
@@ -0,0 +1,110 @@
1/**
2 * **webkitgtk** - WebKit rendering engine for GTK, providing the webkit2gtk-4.1 API
3 *
4 * @domain `webkitgtk.org`
5 * @version `2.54.2` (3 versions available)
6 * @versions From newest version to oldest.
7 *
8 * @install `pantry install webkitgtk.org`
9 * @homepage https://webkitgtk.org
10 * @dependencies `gtk.org/gtk3^3.24`, `gnome.org/glib^2`, `libsoup.org^3`, ... (+26 more)
11 * @buildDependencies `cmake.org^3`, `ninja-build.org`, `freedesktop.org/pkg-config`, ... (+4 more) - required only when building from source
12 *
13 * @example
14 * ```typescript
15 * import { pantry } from 'ts-pantry'
16 *
17 * const pkg = pantry.webkitgtkorg
18 * console.log(pkg.name) // "webkitgtk"
19 * console.log(pkg.description) // "WebKit rendering engine for GTK, providing the ..."
20 * console.log(pkg.versions[0]) // "2.54.2" (latest)
21 * ```
22 *
23 * @see https://ts-pantry.netlify.app/packages/webkitgtk-org.md
24 * @see https://ts-pantry.netlify.app/usage
25 */
26export const webkitgtkorgPackage = {
27 /**
28 * The display name of this package.
29 */
30 name: 'webkitgtk' as const,
31 /**
32 * The canonical domain name for this package.
33 */
34 domain: 'webkitgtk.org' as const,
35 /**
36 * Brief description of what this package does.
37 */
38 description: 'WebKit rendering engine for GTK, providing the webkit2gtk-4.1 API' as const,
39 packageYmlUrl: '' as const,
40 homepageUrl: 'https://webkitgtk.org' as const,
41 githubUrl: 'https://github.com/WebKit/WebKit' as const,
42 /**
43 * Command to install this package using pantry.
44 * @example pantry install package-name
45 */
46 installCommand: 'pantry install webkitgtk.org' as const,
47 pantryInstallCommand: 'pantry install webkitgtk.org' as const,
48 programs: [] as const,
49 companions: [] as const,
50 /**
51 * Runtime dependencies for this package.
52 * These are required when running the package.
53 */
54 dependencies: [
55 'gtk.org/gtk3^3.24',
56 'gnome.org/glib^2',
57 'libsoup.org^3',
58 'unicode.org',
59 'cairographics.org',
60 'gnome.org/pango',
61 'harfbuzz.org',
62 'freetype.org',
63 'freedesktop.org/fontconfig',
64 'gnome.org/libxml2',
65 'gnome.org/libxslt',
66 'sqlite.org',
67 'libjpeg-turbo.org',
68 'libpng.org',
69 'google.com/webp',
70 'google.com/woff2',
71 'gnu.org/libtasn1',
72 'gnupg.org/libgcrypt',
73 'littlecms.com',
74 'gnome.org/atk',
75 'gnome.org/gdk-pixbuf',
76 'github.com/anholt/libepoxy',
77 'gnome.org/libsecret',
78 'openjpeg.org',
79 'zlib.net',
80 'x.org/x11',
81 'x.org/exts',
82 'wayland.freedesktop.org',
83 'mesa3d.org',
84 ] as const,
85 /**
86 * Available versions from newest to oldest.
87 * @see https://ts-pantry.netlify.app/usage for installation instructions
88 */
89 versions: [
90 '2.54.2',
91 '2.54.1',
92 '2.54.0',
93 ] as const,
94 /**
95 * Build dependencies for this package.
96 * These are only required when building the package from source.
97 */
98 buildDependencies: [
99 'cmake.org^3',
100 'ninja-build.org',
101 'freedesktop.org/pkg-config',
102 'gnu.org/gettext',
103 'gnu.org/gperf',
104 'ruby-lang.org',
105 'python.org^3',
106 ] as const,
107 aliases: [] as const,
108}
109
110export type WebkitgtkorgPackage = typeof webkitgtkorgPackage