From 68708516f38feb620d66565bf93b492aa9027839 Mon Sep 17 00:00:00 2001 From: Daniel Kolesa Date: Sat, 15 Aug 2020 00:12:16 +0200 Subject: [PATCH] tepl: update to 5.0.0 --- common/shlibs | 2 +- srcpkgs/tepl/patches/no-gir.patch | 45 +++++++++++++++++++++++++++++++ srcpkgs/tepl/template | 10 +++---- 3 files changed, 51 insertions(+), 6 deletions(-) create mode 100644 srcpkgs/tepl/patches/no-gir.patch diff --git a/common/shlibs b/common/shlibs index b4f00823813..b11beec2571 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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_gl-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 libaudit.so.1 libaudit-2.8.4_1 libauparse.so.0 libauparse-2.8.4_1 diff --git a/srcpkgs/tepl/patches/no-gir.patch b/srcpkgs/tepl/patches/no-gir.patch new file mode 100644 index 00000000000..e340027b7f1 --- /dev/null +++ b/srcpkgs/tepl/patches/no-gir.patch @@ -0,0 +1,45 @@ +From 17e57ed156450fe59001cb0a14f8d87c40d6bf77 Mon Sep 17 00:00:00 2001 +From: Daniel Kolesa +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 + diff --git a/srcpkgs/tepl/template b/srcpkgs/tepl/template index f4d371d603d..798d5cd0077 100644 --- a/srcpkgs/tepl/template +++ b/srcpkgs/tepl/template @@ -1,10 +1,10 @@ # Template file for 'tepl' pkgname=tepl -version=4.4.0 +version=5.0.0 revision=1 -build_style=gnu-configure -build_helper="gir" -configure_args="$(vopt_enable gir introspection)" +build_style=meson +build_helper=gir +configure_args="$(vopt_bool gir gir)" hostmakedepends="glib-devel pkg-config" makedepends="amtk-devel libglib-devel gtksourceview4-devel gtk+3-devel libxml2-devel uchardet-devel" @@ -13,7 +13,7 @@ maintainer="Enno Boland " license="GPL-3.0-or-later" homepage="https://wiki.gnome.org/Projects/Tepl" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" -checksum=e6f6673a8a27e8f280725db8fbacec79b20676ae0558755239d15a9808faa256 +checksum=c6bd2904f53048b7d0149236610b38f502f2634d395d8b9b3c659553f4045a74 build_options="gir" build_options_default="gir"