Skip to content

Commit

Permalink
media-libs: Add host-freetype
Browse files Browse the repository at this point in the history
  • Loading branch information
Qwinci committed Feb 15, 2024
1 parent c49bb13 commit 8af4595
Showing 1 changed file with 37 additions and 17 deletions.
54 changes: 37 additions & 17 deletions bootstrap.d/media-libs.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,39 @@
sources:
- name: freetype
subdir: 'ports'
git: 'https://gitlab.freedesktop.org/freetype/freetype.git'
tag: 'VER-2-13-1'
version: '2.13.1'
tools_required:
- host-autoconf-v2.69
- host-automake-v1.15
- host-libtool
- host-pkg-config
regenerate:
- args: ['./autogen.sh']
environ:
NOCONFIGURE: '1'
- args: ['cp',
'@BUILD_ROOT@/tools/host-automake-v1.15/share/automake-1.15/config.sub',
'@THIS_SOURCE_DIR@/builds/unix/']

tools:
- name: host-freetype
from_source: freetype
configure:
- args:
- '@THIS_SOURCE_DIR@/configure'
- '--prefix=@PREFIX@'
- '--disable-static'
- '--with-harfbuzz=no'
- '--with-zlib=no'
- '--with-png=no'
- '--with-bzip2=no'
compile:
- args: ['make', '-j@PARALLELISM@']
install:
- args: ['make', 'install']

packages:
- name: alsa-lib
architecture: '@OPTION:arch@'
Expand Down Expand Up @@ -160,23 +196,7 @@ packages:
- name: freetype
labels: [aarch64]
architecture: '@OPTION:arch@'
source:
subdir: 'ports'
git: 'https://gitlab.freedesktop.org/freetype/freetype.git'
tag: 'VER-2-13-1'
version: '2.13.1'
tools_required:
- host-autoconf-v2.69
- host-automake-v1.15
- host-libtool
- host-pkg-config
regenerate:
- args: ['./autogen.sh']
environ:
NOCONFIGURE: '1'
- args: ['cp',
'@BUILD_ROOT@/tools/host-automake-v1.15/share/automake-1.15/config.sub',
'@THIS_SOURCE_DIR@/builds/unix/']
from_source: freetype
tools_required:
- system-gcc
pkgs_required:
Expand Down

0 comments on commit 8af4595

Please sign in to comment.