mirror of
https://github.com/ivabus/pantry
synced 2024-09-20 00:30:48 +03:00
+freetype+fontconfig+cairo+gobj-intr (#79)
This commit is contained in:
parent
e4509ef409
commit
b2897a173a
28
projects/cairographics.org/package.yml
Normal file
28
projects/cairographics.org/package.yml
Normal file
|
@ -0,0 +1,28 @@
|
|||
distributable:
|
||||
url: https://cairographics.org/releases/cairo-{{ version }}.tar.xz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
- 1.16.0
|
||||
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
libpng.org: 1
|
||||
pixman.org: ^0.40.0
|
||||
freetype.org: 2
|
||||
gnome.org/glib: 2
|
||||
freedesktop.org/fontconfig: 2
|
||||
sourceware.org/bzip2: 1
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
freedesktop.org/pkg-config: ^0.29
|
||||
libexpat.github.io: 2 #FIXME or fontconfig detection fails
|
||||
gnome.org/gobject-introspection: 1
|
||||
script: |
|
||||
./configure --prefix={{ prefix }}
|
||||
make --jobs {{ hw.concurrency }}
|
||||
make install
|
||||
|
||||
test: true #FIXME
|
33
projects/gnome.org/gobject-introspection/package.yml
Normal file
33
projects/gnome.org/gobject-introspection/package.yml
Normal file
|
@ -0,0 +1,33 @@
|
|||
distributable:
|
||||
url: https://download.gnome.org/sources/gobject-introspection/{{version.major}}.{{version.minor}}/gobject-introspection-{{version}}.tar.xz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
- 1.72.0
|
||||
|
||||
dependencies:
|
||||
gnome.org/glib: 2
|
||||
sourceware.org/libffi: 3
|
||||
gnu.org/bison: 3 #NOTE macOS provides v2
|
||||
python.org: 3
|
||||
github.com/westes/flex: 2
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
mesonbuild.com: ^0.63
|
||||
ninja-build.org: 1
|
||||
freedesktop.org/pkg-config: ^0.29
|
||||
working-directory:
|
||||
build
|
||||
script: |
|
||||
meson .. --prefix={{prefix}} --buildtype=release
|
||||
ninja -v
|
||||
ninja install
|
||||
env:
|
||||
#FIXME for python3 distutils
|
||||
CC: clang
|
||||
#FIXME of fails during build for a gir-scanner step
|
||||
# LD_LIBRARY_PATH: /opt/gnome.org/glib/v2.72.2/lib
|
||||
|
||||
test: true #FIXME
|
|
@ -72,11 +72,10 @@ function get_deps() {
|
|||
return rv
|
||||
|
||||
function attempt(obj: PlainObject) {
|
||||
if (isPlainObject(obj)) {
|
||||
for (const [project, constraint] of Object.entries(obj)) {
|
||||
const pkg = validatePackageRequirement({ project, constraint })
|
||||
if (pkg) rv.push(pkg)
|
||||
}
|
||||
if (isPlainObject(obj))
|
||||
for (const [project, constraint] of Object.entries(obj)) {
|
||||
const pkg = validatePackageRequirement({ project, constraint })
|
||||
if (pkg) rv.push(pkg)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue