From 05002fce6296f14f8777d16119132fa3ab4a7f37 Mon Sep 17 00:00:00 2001 From: bugcrazy Date: Tue, 19 Nov 2024 18:01:46 -0300 Subject: [PATCH] New package: OpenBoardView-9.95.1 --- srcpkgs/OpenBoardView/template | 58 ++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 srcpkgs/OpenBoardView/template diff --git a/srcpkgs/OpenBoardView/template b/srcpkgs/OpenBoardView/template new file mode 100644 index 00000000000000..e78c8491beb57e --- /dev/null +++ b/srcpkgs/OpenBoardView/template @@ -0,0 +1,58 @@ +# Template file for 'OpenBoardView' +pkgname=OpenBoardView +version=9.95.1 +revision=1 +create_wrksrc=yes +build_style=cmake +hostmakedepends="pkg-config python3" +makedepends="SDL2-devel gtk+3-devel fontconfig-devel + zlib-devel" +depends="sqlite $(vopt_if mdbtools)" +short_desc="Open source boardview software" +maintainer="MarcoAPC " +license="MIT" +homepage="http://openboardview.org/" +_obv_commit=eaf0dceb7827dc29b4c7f2073496121d1c793676 +_ghc_commit=3f1c185ab414e764c694b8171d1c4d8c5c437517 +_glad_commit=a5ca31c88a4cc5847ea012629aff3690f261c7c4 +_imgui_commit=8199457a7d9e453f8d3d9cadc14683fb54a858b5 +_mpc_commit=65f20a1a0b3249a475efa8ecb7b5ecd2c1c071c4 +_stb_commit=f54acd4e13430c5122cab4ca657705c84aa61b08 +_utf8_commit=3e9e3ec15c7bf129664ab2a113eb03b54ee0b584 +distfiles="https://github.com/OpenBoardView/OpenBoardView/archive/${_obv_commit}.tar.gz + https://github.com/gulrak/filesystem/archive/${_ghc_commit}.tar.gz + https://github.com/Dav1dde/glad/archive/${_glad_commit}.tar.gz + https://github.com/ocornut/imgui/archive/${_imgui_commit}.tar.gz + https://github.com/orangeduck/mpc/archive/${_mpc_commit}.tar.gz + https://github.com/nothings/stb/archive/${_stb_commit}.tar.gz + https://github.com/sheredom/utf8.h/archive/${_utf8_commit}.tar.gz" +checksum="6379d6212dd4c07386c027d212d2c6493e93ec06666c7aa860e17ee5925421cc +cc1c5439d29031477868bdea25b68b4210dc8ed018bb63a65e708afe405db4e1 +972def32a11619912c0052bfa5eb30a41195f87f698eb58a1ff0653469e6768b +804bb4a7e3f772ca7447c31a0d67fb225d2d082f0b09c0054aa66f6b14ad04fb +b2c3a0e096c9f7fa686375501c7739190a8b4da64efd85856012e08b547a3c9f +bf403306246d37e1f03168aea47d4841aaec62f1c7b1e7bf43bf9f9d9e069e2d +c0e1749c60d0e91b2d763190a5dc4a6bdf6e6303d586e1ea1771f832725e7f10" + +post_extract() { + mv OpenBoardView-$_obv_commit/* OpenBoardView-$_obv_commit/.??* . + rmdir OpenBoardView-$_obv_commit + # move submodule to proper location + rmdir src/filesystem + rmdir src/glad + rmdir src/imgui + rmdir src/mpc + rmdir src/stb + rmdir src/utf8 + + mv -v filesystem-${_ghc_commit} src/filesystem + mv -v glad-${_glad_commit} src/glad + mv -v imgui-${_imgui_commit} src/imgui + mv -v mpc-${_mpc_commit} src/mpc + mv -v stb-${_stb_commit} src/stb + mv -v utf8.h-${_utf8_commit} src/utf8 +} + +post_install() { + vlicense LICENSE +}