summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--klatexformula/template28
-rw-r--r--ueberzugpp/template42
2 files changed, 70 insertions, 0 deletions
diff --git a/klatexformula/template b/klatexformula/template
new file mode 100644
index 0000000..8d0d728
--- /dev/null
+++ b/klatexformula/template
@@ -0,0 +1,28 @@
+# Template file for 'klatexformula'
+pkgname=klatexformula
+version=4.1.0
+revision=1
+#archs="i686 x86_64"
+#build_wrksrc=
+build_style=cmake
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="cmake"
+makedepends="qt5-devel qt5-tools-devel qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds qt5-svg-devel qt5-x11extras-devel"
+depends="texlive-core ghostscript qt5-xml qt5-sql qt5-plugin-sqlite"
+short_desc="An easy-to-use graphical application for generating images from LaTeX equations."
+maintainer="gesang <gesang@itinerariummentis.org>"
+license="GPL-2.0-or-later"
+homepage="https://klatexformula.sourceforge.io/"
+#changelog=""
+distfiles="https://sourceforge.net/projects/klatexformula/files/klatexformula/klatexformula-4.1.0/klatexformula-4.1.0.tar.gz"
+checksum=7af0999eeee38176ea34f9f96b358e43e343c73edf6f56143f18794303ca8702
+python_version="3.12.2"
+
+post_extract() {
+ cd ${wrksrc}
+ sed -i "41i#include <QPainterPath>" src/klftools/klfflowlistwidget_p.h
+}
diff --git a/ueberzugpp/template b/ueberzugpp/template
new file mode 100644
index 0000000..450754d
--- /dev/null
+++ b/ueberzugpp/template
@@ -0,0 +1,42 @@
+# Template file for 'ueberzugpp'
+pkgname=ueberzugpp
+version=2.9.4
+revision=1
+#archs="i686 x86_64 x86_64-musl"
+#build_wrksrc=
+conflicts="ueberzug"
+build_style=cmake
+configure_args="-DCMAKE_BUILD_TYPE=Release -DENABLE_TURBOBASE64=ON -DENABLE_WAYLAND=ON"
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="cmake pkg-config extra-cmake-modules"
+makedepends="libvips-devel libsixel-devel openssl-devel tbb-devel chafa-devel xcb-util-image-devel wayland-devel wayland-protocols libopencv-devel"
+depends="libvips libsixel chafa>=1.6 openssl tbb"
+short_desc="Drop in replacement for ueberzug written in C++."
+maintainer="gesang <gesang@itinerariummentis.org>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/jstkdng/ueberzugpp"
+#changelog=""
+distfiles="https://github.com/jstkdng/ueberzugpp/archive/refs/tags/v${version}.tar.gz"
+checksum=0ac48b0afa2a51402b32a8d93f3460e6f0a4317ee4f871efcfaf1afc7af2c4db
+
+post_install () {
+cd ${wrksrc}
+ vlicense LICENSE
+ vbin build/ueberzug
+ vbin build/ueberzugpp
+ vman build/ueberzugpp.1
+
+ vinstall scripts/fzfub 755 usr/share/ueberzug
+ vinstall scripts/img 755 usr/share/ueberzug
+ vinstall scripts/sockets.py 644 usr/share/ueberzug
+ vinstall scripts/lf/lfub 755 usr/share/ueberzug/lf
+ vinstall scripts/lf/cleaner 755 usr/share/ueberzug/lf
+ vinstall scripts/lf/preview 755 usr/share/ueberzug/lf
+ vinstall scripts/fifo/fzf-fifo 755 usr/share/fzf-fifo
+ vinstall scripts/fifo/img-fifo 755 usr/share/img-fifo
+}
+
+