mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 08:22:56 +02:00
New package: datovka-4.26.0
This commit is contained in:
parent
581f4df797
commit
c6521b39ef
1 changed files with 28 additions and 0 deletions
28
srcpkgs/datovka/template
Normal file
28
srcpkgs/datovka/template
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# Template file for 'datovka'
|
||||||
|
pkgname=datovka
|
||||||
|
version=4.26.0
|
||||||
|
revision=1
|
||||||
|
build_style=qmake
|
||||||
|
hostmakedepends="pkg-config qt5-qmake qt5-host-tools"
|
||||||
|
makedepends="libdatovka-devel qt5-websockets-devel qt5-svg-devel libxml2-devel
|
||||||
|
quazip-devel"
|
||||||
|
depends="hicolor-icon-theme qt5-plugin-sqlite qt5-translations"
|
||||||
|
short_desc="Electronic communication interface endorsed by the Czech government"
|
||||||
|
maintainer="Emil Miler <em@0x45.cz>"
|
||||||
|
license="GPL-3.0-or-later"
|
||||||
|
homepage="https://www.datovka.cz/"
|
||||||
|
distfiles="https://datovka.nic.cz/${version}/${pkgname}-${version}.tar.xz"
|
||||||
|
checksum=fa11e553d9432b7886324d8171147972ca853e6f8f871253a12ff1fec0ab3076
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
# XXX: from https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/community/datovka/APKBUILD
|
||||||
|
# XXX: This enables '#define _Bool bool' which is needed on Alpine.
|
||||||
|
sed -i 's/#if defined(__APPLE__) || defined(__clang__)/& || !defined(__GLIBC__)/' \
|
||||||
|
config.tests/libdatovka/*.cpp \
|
||||||
|
src/*.cpp \
|
||||||
|
src/*.h \
|
||||||
|
src/isds/*.cpp \
|
||||||
|
src/isds/*.h \
|
||||||
|
src/datovka_shared/isds/*.h \
|
||||||
|
tests/*.cpp
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue