@ -8,12 +8,12 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := json-glib
PKG_NAME := json-glib
PKG_VERSION := 1.4.4
PKG_VERSION := 1.6.0
PKG_RELEASE := 1
PKG_RELEASE := 1
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.xz
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.xz
PKG_SOURCE_URL := @GNOME/json-glib/1.4
PKG_HASH := 720c5f4379513dc11fd97dc75336eb0c0d3338c53128044d9fabec4374f4bc47
PKG_SOURCE_URL := @GNOME/json-glib/1.6
PKG_HASH := 0d7c67602c4161ea7070fab6c5823afd9bd7f7bc955f652a50d3753b08494e73
PKG_INSTALL := 1
PKG_INSTALL := 1
@ -35,6 +35,7 @@ define Package/json-glib
TITLE:= JSON GLib Library
TITLE:= JSON GLib Library
URL:= https://wiki.gnome.org/Projects/JsonGlib
URL:= https://wiki.gnome.org/Projects/JsonGlib
DEPENDS:= +glib2
DEPENDS:= +glib2
ABI_VERSION:= 0
e n d e f
e n d e f
d e f i n e P a c k a g e / j s o n - g l i b / d e s c r i p t i o n
d e f i n e P a c k a g e / j s o n - g l i b / d e s c r i p t i o n
@ -44,19 +45,16 @@ RFC 4627.
e n d e f
e n d e f
MESON_ARGS += \
MESON_ARGS += \
-Ddocs= false \
-Dintrospection= false \
-Dman= false
-Dgtk_doc= disabled \
-Dintrospection= disabled \
-Dman= false \
-Dtests= false
# Disable installed-tests; this also indirectly removes
# build_aux/gen-installed-test.py calls (copied from Gentoo)
d e f i n e B u i l d / P r e p a r e
d e f i n e B u i l d / P r e p a r e
$( call Build/Prepare/Default)
$( call Build/Prepare/Default)
$( SED) 's/install: true/install: false/g' \
$( PKG_BUILD_DIR) /json-glib/tests/meson.build
$( SED) '/install_data/d' \
$( PKG_BUILD_DIR) /json-glib/tests/meson.build
i f e q ( $( QUILT ) , )
$( SED) '/error=format=2/d' $( PKG_BUILD_DIR) /meson.build
$( SED) '/error=format=2/d' $( PKG_BUILD_DIR) /meson.build
e n d i f
e n d e f
e n d e f
d e f i n e B u i l d / I n s t a l l D e v
d e f i n e B u i l d / I n s t a l l D e v
@ -76,7 +74,7 @@ endef
d e f i n e P a c k a g e / j s o n - g l i b / i n s t a l l
d e f i n e P a c k a g e / j s o n - g l i b / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib
$( INSTALL_DIR) $( 1) /usr/lib
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libjson-glib-1.0.so.* \
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libjson-glib-1.0.so.$( ABI_VERSION) * \
$( 1) /usr/lib
$( 1) /usr/lib
e n d e f
e n d e f