|
1 | 1 | # SPDX-License-Identifier: GPL-2.0-or-later |
2 | 2 |
|
3 | 3 | PKG_NAME="_gumbo" |
4 | | -PKG_VERSION="3134b780192433161202e8118f7692f30ab7cc6c" |
5 | | -PKG_SHA256="fd67bff5b8cabe5da06e3c843ccce2e4c2e74dc1fc4c66bfff4cfc18079fabf7" |
| 4 | +PKG_VERSION="d708b4e2f73b0e75c6e16593b6cf7ff98c7f4693" |
| 5 | +PKG_SHA256="d200c76ee63d345f9de503519561e4819f522193ceb2497484c5409a134015c2" |
6 | 6 | PKG_LICENSE="GPL" |
7 | 7 | PKG_SITE="https://github.com/GerHobbelt/gumbo-parser" |
8 | 8 | PKG_URL="https://github.com/GerHobbelt/gumbo-parser/archive/${PKG_VERSION}.zip" |
9 | 9 | PKG_SOURCE_DIR="gumbo-parser-${PKG_VERSION}" |
10 | 10 | PKG_DEPENDS_TARGET="toolchain" |
11 | 11 | PKG_LONGDESC="Gumbo - A pure-C HTML5 parser." |
12 | | -PKG_TOOLCHAIN="configure" |
| 12 | +PKG_TOOLCHAIN="meson" |
13 | 13 | PKG_BUILD_FLAGS="+speed" |
14 | 14 |
|
15 | | -PKG_CONFIGURE_OPTS_TARGET="--prefix=/usr/local \ |
16 | | - --bindir=/usr/local/bin \ |
17 | | - --libdir=/usr/local/lib \ |
18 | | - --libexecdir=/usr/local/bin \ |
19 | | - --sbindir=/usr/local/sbin \ |
20 | | - --sysconfdir=/usr/local/etc \ |
21 | | - --disable-oss \ |
22 | | - --disable-solaris-audio \ |
23 | | - --disable-al-audio \ |
24 | | - --disable-win \ |
25 | | - --with-gnu-ld \ |
26 | | - --with-pic \ |
27 | | - " |
28 | | - |
29 | | -pre_configure_target() { |
30 | | - export LDFLAGS="$(echo ${LDFLAGS} | sed -e "s|-Wl,--as-needed||") -L${SYSROOT_PREFIX}/usr/local/lib" |
31 | | - cd $(get_build_dir _gumbo) && ./autogen.sh |
32 | | -} |
33 | | - |
34 | | -make_target() { |
35 | | - make CFLAGS="-DNO_GUMBO_DEBUG" |
36 | | -} |
| 15 | +PKG_MESON_OPTS_TARGET="-Dtests=false \ |
| 16 | + --prefix=/usr/local \ |
| 17 | + --bindir=/usr/local/bin \ |
| 18 | + --libdir=/usr/local/lib \ |
| 19 | + --libexecdir=/usr/local/bin \ |
| 20 | + --sbindir=/usr/local/sbin \ |
| 21 | + --sysconfdir=/usr/local/etc \ |
| 22 | + " |
0 commit comments