@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME := glib2
PKG_NAME := glib2
PKG_VERSION := 2.65.0
PKG_VERSION := 2.65.0
PKG_RELEASE := 1
PKG_RELEASE := 2
PKG_SOURCE := glib-$( PKG_VERSION) .tar.xz
PKG_SOURCE := glib-$( PKG_VERSION) .tar.xz
PKG_SOURCE_URL := @GNOME/glib/2.65
PKG_SOURCE_URL := @GNOME/glib/2.65
@ -22,8 +22,8 @@ PKG_CPE_ID:=cpe:/a:gnome:glib
PKG_BUILD_DIR := $( BUILD_DIR) /glib-$( PKG_VERSION)
PKG_BUILD_DIR := $( BUILD_DIR) /glib-$( PKG_VERSION)
HOST_BUILD_DIR := $( BUILD_DIR_HOST) /glib-$( PKG_VERSION)
HOST_BUILD_DIR := $( BUILD_DIR_HOST) /glib-$( PKG_VERSION)
PKG_BUILD_DEPENDS := meson/host libiconv/host
HOST_BUILD_DEPENDS := meson/host libiconv/host libffi/host
PKG_BUILD_DEPENDS := meson/host
HOST_BUILD_DEPENDS := meson/host gettext-full/host libiconv/host libffi/host
PKG_INSTALL := 1
PKG_INSTALL := 1
i n c l u d e $( INCLUDE_DIR ) / h o s t - b u i l d . m k
i n c l u d e $( INCLUDE_DIR ) / h o s t - b u i l d . m k
@ -34,7 +34,7 @@ include ../../devel/meson/meson.mk
d e f i n e P a c k a g e / g l i b 2
d e f i n e P a c k a g e / g l i b 2
SECTION:= libs
SECTION:= libs
CATEGORY:= Libraries
CATEGORY:= Libraries
DEPENDS:= $( ICONV_DEPENDS) +zlib +libpthread +libffi +libattr
DEPENDS:= $( ICONV_DEPENDS) $( INTL_DEPENDS) +zlib +libpthread +libffi +libattr
TITLE:= glib 2.0
TITLE:= glib 2.0
URL:= http://www.gtk.org/
URL:= http://www.gtk.org/
e n d e f
e n d e f
@ -43,11 +43,12 @@ define Package/glib2/description
The GLib library of C routines
The GLib library of C routines
e n d e f
e n d e f
HOST_LDFLAGS += -liconv - Wl,-rpath= $( STAGING_DIR_HOSTPKG) /lib
HOST_LDFLAGS += -Wl,-rpath= $( STAGING_DIR_HOSTPKG) /lib
TARGET_CFLAGS += -ffunction-sections -fdata-sections
TARGET_CFLAGS += -ffunction-sections -fdata-sections
TARGET_LDFLAGS += -Wl,--gc-sections -liconv
TARGET_LDFLAGS += -Wl,--gc-sections
COMP_ARGS = \
COMP_ARGS = \
-Diconv= external \
-Dselinux= disabled \
-Dselinux= disabled \
-Dlibmount= disabled \
-Dlibmount= disabled \
-Dinternal_pcre= true \
-Dinternal_pcre= true \
@ -59,8 +60,10 @@ COMP_ARGS= \
-Dforce_posix_threads= true \
-Dforce_posix_threads= true \
-Dfam= false \
-Dfam= false \
-Dinstalled_tests= false \
-Dinstalled_tests= false \
-Dnls= disabled \
-Doss_fuzz= disabled
-Dnls= $( if $( CONFIG_BUILD_NLS) ,en,dis) abled \
-Doss_fuzz= disabled \
-Dglib_assert= false \
-Dglib_checks= false
MESON_HOST_ARGS += $( COMP_ARGS) -Dxattr= false
MESON_HOST_ARGS += $( COMP_ARGS) -Dxattr= false
MESON_ARGS += $( COMP_ARGS) -Dxattr= true -Db_lto= true
MESON_ARGS += $( COMP_ARGS) -Dxattr= true -Db_lto= true