package/libpeas: new package
midori 9.0 requires libpeas. Lua and python loaders are disabled since they have not been tested. Signed-off-by: Adam Duskett <aduskett@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
b134c8a240
commit
351dbaef4e
|
@ -1959,6 +1959,7 @@ menu "Other"
|
|||
source "package/libnpth/Config.in"
|
||||
source "package/libnspr/Config.in"
|
||||
source "package/libosmium/Config.in"
|
||||
source "package/libpeas/Config.in"
|
||||
source "package/libpfm4/Config.in"
|
||||
source "package/libplatform/Config.in"
|
||||
source "package/libplist/Config.in"
|
||||
|
|
45
package/libpeas/Config.in
Normal file
45
package/libpeas/Config.in
Normal file
|
@ -0,0 +1,45 @@
|
|||
config BR2_PACKAGE_LIBPEAS
|
||||
bool "libpeas"
|
||||
depends on BR2_USE_MMU # gobject-introspection
|
||||
depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # gobject-introspection
|
||||
depends on BR2_HOST_GCC_AT_LEAST_8 # gobject-introspection -> host-qemu
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC # gobject-introspection
|
||||
depends on BR2_PACKAGE_PYTHON3 # gobject-introspection
|
||||
select BR2_PACKAGE_GOBJECT_INTROSPECTION
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
help
|
||||
libpeas is a gobject-based plugins engine, and is targetted at
|
||||
giving every application the chance to assume its own
|
||||
extensibility. It also has a set of features including, but
|
||||
not limited to:
|
||||
- multiple extension points
|
||||
- On demand (lazy) programming language support for C,
|
||||
Python and Lua
|
||||
- Simplicity of the API
|
||||
|
||||
https://wiki.gnome.org/Projects/Libpeas
|
||||
|
||||
if BR2_PACKAGE_LIBPEAS
|
||||
|
||||
config BR2_PACKAGE_LIBPEAS_WIDGETS
|
||||
bool "widgets"
|
||||
depends on BR2_PACKAGE_LIBGTK3
|
||||
help
|
||||
Build GTK+ widgetry
|
||||
|
||||
comment "widget support needs libgtk3"
|
||||
depends on !BR2_PACKAGE_LIBGTK3
|
||||
|
||||
endif
|
||||
|
||||
comment "libpeas needs python3"
|
||||
depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_PACKAGE_PYTHON3
|
||||
|
||||
comment "libpeas needs a glibc toolchain, gcc >= 4.9, host gcc >= 8"
|
||||
depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_TOOLCHAIN_USES_GLIBC || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_HOST_GCC_AT_LEAST_8
|
4
package/libpeas/libpeas.hash
Normal file
4
package/libpeas/libpeas.hash
Normal file
|
@ -0,0 +1,4 @@
|
|||
# From https://ftp.gnome.org/pub/GNOME/sources/libpeas/1.30/libpeas-1.30.0.sha256sum
|
||||
sha256 0bf5562e9bfc0382a9dcb81f64340787542568762a3a367d9d90f6185898b9a3 libpeas-1.30.0.tar.xz
|
||||
# Locally calculated
|
||||
sha256 592987e8510228d546540b84a22444bde98e48d03078d3b2eefcd889bec5ce8c COPYING
|
41
package/libpeas/libpeas.mk
Normal file
41
package/libpeas/libpeas.mk
Normal file
|
@ -0,0 +1,41 @@
|
|||
################################################################################
|
||||
#
|
||||
# libpeas
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBPEAS_VERSION_MAJOR = 1.30
|
||||
LIBPEAS_VERSION = $(LIBPEAS_VERSION_MAJOR).0
|
||||
LIBPEAS_SOURCE = libpeas-$(LIBPEAS_VERSION).tar.xz
|
||||
LIBPEAS_SITE = http://ftp.gnome.org/pub/gnome/sources/libpeas/$(LIBPEAS_VERSION_MAJOR)
|
||||
LIBPEAS_LICENSE = LGPL-2.1+
|
||||
LIBPEAS_LICENSE_FILES = COPYING
|
||||
LIBPEAS_CPE_ID_VENDOR = gnome
|
||||
LIBPEAS_INSTALL_STAGING = YES
|
||||
LIBPEAS_DEPENDENCIES = \
|
||||
host-libglib2 \
|
||||
host-pkgconf \
|
||||
gobject-introspection \
|
||||
libglib2 \
|
||||
$(TARGET_NLS_DEPENDENCIES)
|
||||
|
||||
LIBPEAS_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
|
||||
|
||||
LIBPEAS_CONF_OPTS = \
|
||||
-Ddemos=false \
|
||||
-Dglade_catalog=false \
|
||||
-Dgtk_doc=false \
|
||||
-Dintrospection=true \
|
||||
-Dlua51=false \
|
||||
-Dpython2=false \
|
||||
-Dpython3=false \
|
||||
-Dvapi=false
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBPEAS_WIDGETS),y)
|
||||
LIBPEAS_DEPENDENCIES += libgtk3
|
||||
LIBPEAS_CONF_OPTS += -Dwidgetry=true
|
||||
else
|
||||
LIBPEAS_CONF_OPTS += -Dwidgetry=false
|
||||
endif
|
||||
|
||||
$(eval $(meson-package))
|
Loading…
Reference in a new issue