From c1d3da9ca87c414100b1cb969e36b8d7d05b9a74 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 10 Aug 2022 09:16:34 +0100 Subject: added ovmf, lolcat, spice, and squashfstools --- repo/dino/dino.xibuild | 32 ++ repo/dino/mobile-ui.patch | 967 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 999 insertions(+) create mode 100644 repo/dino/dino.xibuild create mode 100644 repo/dino/mobile-ui.patch (limited to 'repo/dino') diff --git a/repo/dino/dino.xibuild b/repo/dino/dino.xibuild new file mode 100644 index 0000000..8f40781 --- /dev/null +++ b/repo/dino/dino.xibuild @@ -0,0 +1,32 @@ +#!/bin/sh + +NAME="dino" +DESC="Modern Jabber/XMPP client" + +MAKEDEPS=" cmake glib glib-networking gpgme gspell gst-libav gst-plugins-base gtk3 libgcrypt libgee libhandy1 libnice libqrencode libsignal-protocol-c libsoup libsrtp ninja sqlite vala webrtc-audio-processing" + +PKG_VER=0.3.0 +SOURCE="https://github.com/dino/dino/releases/download/v$PKG_VER/dino-$PKG_VER.tar.gz" + +ADDITIONAL=" +mobile-ui.patch +" + +build() { + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --with-tests + make +} + +check() { + build/xmpp-vala-test + build/signal-protocol-vala-test +} + +package() { + make DESTDIR="$PKG_DEST" install +} diff --git a/repo/dino/mobile-ui.patch b/repo/dino/mobile-ui.patch new file mode 100644 index 0000000..f274acf --- /dev/null +++ b/repo/dino/mobile-ui.patch @@ -0,0 +1,967 @@ +diff --git a/cmake/FindHandy.cmake b/cmake/FindHandy.cmake +new file mode 100644 +index 00000000..49148f0f +--- /dev/null ++++ b/cmake/FindHandy.cmake +@@ -0,0 +1,11 @@ ++include(PkgConfigWithFallback) ++find_pkg_config_with_fallback(Handy ++ PKG_CONFIG_NAME libhandy-1 ++ LIB_NAMES libhandy-1 ++ INCLUDE_NAMES handy.h ++) ++ ++include(FindPackageHandleStandardArgs) ++find_package_handle_standard_args(Handy ++ REQUIRED_VARS Handy_LIBRARY ++ VERSION_VAR Handy_VERSION) +diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt +index e052785a..f6c3edc7 100644 +--- a/main/CMakeLists.txt ++++ b/main/CMakeLists.txt +@@ -11,6 +11,7 @@ find_packages(MAIN_PACKAGES REQUIRED + GTK3 + ICU + Gspell ++ Handy + ) + + set(RESOURCE_LIST +diff --git a/main/data/add_conversation/select_jid_fragment.ui b/main/data/add_conversation/select_jid_fragment.ui +index 50bc0e36..be56e710 100644 +--- a/main/data/add_conversation/select_jid_fragment.ui ++++ b/main/data/add_conversation/select_jid_fragment.ui +@@ -1,82 +1,88 @@ + + +