Skip to content

Commit 791eda1

Browse files
committed
_gumbo: switch to meson and update gumbo
1 parent 17b92f3 commit 791eda1

1 file changed

Lines changed: 11 additions & 25 deletions

File tree

Lines changed: 11 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,22 @@
11
# SPDX-License-Identifier: GPL-2.0-or-later
22

33
PKG_NAME="_gumbo"
4-
PKG_VERSION="3134b780192433161202e8118f7692f30ab7cc6c"
5-
PKG_SHA256="fd67bff5b8cabe5da06e3c843ccce2e4c2e74dc1fc4c66bfff4cfc18079fabf7"
4+
PKG_VERSION="d708b4e2f73b0e75c6e16593b6cf7ff98c7f4693"
5+
PKG_SHA256="d200c76ee63d345f9de503519561e4819f522193ceb2497484c5409a134015c2"
66
PKG_LICENSE="GPL"
77
PKG_SITE="https://github.com/GerHobbelt/gumbo-parser"
88
PKG_URL="https://github.com/GerHobbelt/gumbo-parser/archive/${PKG_VERSION}.zip"
99
PKG_SOURCE_DIR="gumbo-parser-${PKG_VERSION}"
1010
PKG_DEPENDS_TARGET="toolchain"
1111
PKG_LONGDESC="Gumbo - A pure-C HTML5 parser."
12-
PKG_TOOLCHAIN="configure"
12+
PKG_TOOLCHAIN="meson"
1313
PKG_BUILD_FLAGS="+speed"
1414

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

Comments
 (0)