From d644f57d9c6f6e15dd1d4a91d6296247fcfcdb7c Mon Sep 17 00:00:00 2001 From: xeroxslayer Date: Fri, 26 Dec 2025 13:11:38 +0100 Subject: [PATCH] New package: smile-2.12.3 appstream-util validation fix --- srcpkgs/smile/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/smile/template diff --git a/srcpkgs/smile/template b/srcpkgs/smile/template new file mode 100644 index 00000000000000..bc4f96d027708c --- /dev/null +++ b/srcpkgs/smile/template @@ -0,0 +1,22 @@ +# Template file for 'smile' +pkgname=smile +version=2.12.3 +revision=1 +build_style=meson +hostmakedepends="glib-devel ninja pkg-config gtk+3 desktop-file-utils + appstream-glib" +depends="python3 libadwaita xdotool noto-fonts-emoji" +short_desc="Emoji picker keyboard for Linux, Python 3 and GTK4 based" +maintainer="xeroxslayer " +license="GPL-3.0-or-later" +homepage="https://github.com/mijorus/smile" +distfiles="https://github.com/mijorus/smile/archive/refs/tags/${version}.tar.gz" +checksum="531932d68aafab37c573f394489dae3ca2449c22b05fa6fc7be1eac44af0447c" + +post_extract() { + # Fix the custom command info from 'flatpak run it.mijorus.smile' + # to just 'smile'. + vsed -i "s@'flatpak run {self.application_id}'@'smile'@g" src/Settings.py + # appstream-util validation requires network access, CI has none. + vsed -i "s@'validate'@'validate-relax'@" data/meson.build +}