tepl: update to 5.0.0

This commit is contained in:
Daniel Kolesa 2020-08-15 00:12:16 +02:00
parent 4547a35f99
commit 68708516f3
3 changed files with 51 additions and 6 deletions

View File

@ -3554,7 +3554,7 @@ libwx_gtk3u_media-3.0.so.0 wxWidgets-gtk3-3.0.4_1
libwx_gtk3u_ribbon-3.0.so.0 wxWidgets-gtk3-3.0.4_1 libwx_gtk3u_ribbon-3.0.so.0 wxWidgets-gtk3-3.0.4_1
libwx_gtk3u_gl-3.0.so.0 wxWidgets-gtk3-3.0.4_1 libwx_gtk3u_gl-3.0.so.0 wxWidgets-gtk3-3.0.4_1
libwx_gtk3u_stc-3.0.so.0 wxWidgets-gtk3-3.0.4_1 libwx_gtk3u_stc-3.0.so.0 wxWidgets-gtk3-3.0.4_1
libtepl-4.so.0 tepl-4.2.0_1 libtepl-5.so.0 tepl-4.2.0_1
libnomacsCore.so.3 nomacs-3.10.2_4 libnomacsCore.so.3 nomacs-3.10.2_4
libaudit.so.1 libaudit-2.8.4_1 libaudit.so.1 libaudit-2.8.4_1
libauparse.so.0 libauparse-2.8.4_1 libauparse.so.0 libauparse-2.8.4_1

View File

@ -0,0 +1,45 @@
From 17e57ed156450fe59001cb0a14f8d87c40d6bf77 Mon Sep 17 00:00:00 2001
From: Daniel Kolesa <daniel@octaforge.org>
Date: Sat, 15 Aug 2020 00:09:15 +0200
Subject: [PATCH] Allow disabling gir
---
meson_options.txt | 5 +++++
tepl/meson.build | 4 ++++
2 files changed, 9 insertions(+)
diff --git meson_options.txt meson_options.txt
index cad97dd..5e99084 100644
--- meson_options.txt
+++ meson_options.txt
@@ -3,3 +3,8 @@ option(
type: 'boolean', value: false,
description: 'Build API reference (requires gtk-doc)'
)
+option(
+ 'gir',
+ type: 'boolean', value: true,
+ description: 'Build gobject-introspection'
+)
diff --git tepl/meson.build tepl/meson.build
index 226d913..b35dd3a 100644
--- tepl/meson.build
+++ tepl/meson.build
@@ -164,6 +164,8 @@ PKG_CONFIG.generate(tepl_lib,
libraries: TEPL_PUBLIC_DEPS,
)
+if get_option('gir')
+
GNOME.generate_gir(
tepl_lib,
export_packages: 'tepl-@0@'.format(TEPL_API_VERSION),
@@ -182,3 +184,5 @@ GNOME.generate_gir(
# Support for deps being built as subprojects:
dependencies: TEPL_DEPS,
)
+
+endif
--
2.28.0

View File

@ -1,10 +1,10 @@
# Template file for 'tepl' # Template file for 'tepl'
pkgname=tepl pkgname=tepl
version=4.4.0 version=5.0.0
revision=1 revision=1
build_style=gnu-configure build_style=meson
build_helper="gir" build_helper=gir
configure_args="$(vopt_enable gir introspection)" configure_args="$(vopt_bool gir gir)"
hostmakedepends="glib-devel pkg-config" hostmakedepends="glib-devel pkg-config"
makedepends="amtk-devel libglib-devel gtksourceview4-devel gtk+3-devel makedepends="amtk-devel libglib-devel gtksourceview4-devel gtk+3-devel
libxml2-devel uchardet-devel" libxml2-devel uchardet-devel"
@ -13,7 +13,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3.0-or-later" license="GPL-3.0-or-later"
homepage="https://wiki.gnome.org/Projects/Tepl" homepage="https://wiki.gnome.org/Projects/Tepl"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=e6f6673a8a27e8f280725db8fbacec79b20676ae0558755239d15a9808faa256 checksum=c6bd2904f53048b7d0149236610b38f502f2634d395d8b9b3c659553f4045a74
build_options="gir" build_options="gir"
build_options_default="gir" build_options_default="gir"