Skip to content
Snippets Groups Projects
Unverified Commit 156ecdab authored by Carmina16's avatar Carmina16 Committed by alice
Browse files

testing/sigil: new aport

https://sigil-ebook.com/sigil
EPUB editor
parent d295b7b1
No related branches found
No related tags found
2 merge requests!39304[3.16] main/expat: security upgrade to 2.4.9,!38877testing/sigil: new aport
Pipeline #136102 canceled
# Contributor: OIS <mistresssilvara@hotmail.com>
# Maintainer: OIS <mistresssilvara@hotmail.com>
pkgname=sigil
pkgver=1.9.20
pkgrel=0
pkgdesc="EPUB editor"
url="https://sigil-ebook.com/sigil"
# qt5-qtwebengine
arch="all !ppc64le !s390x !riscv64"
license="GPL-3.0-or-later AND Apache-2.0 AND MIT"
depends="
py3-dulwich
py3-lxml
python3
qt5-qtsvg
"
makedepends="
cmake
hunspell-dev
minizip-dev
pcre2-dev
python3-dev
qt5-qttools-dev
qt5-qtwebengine-dev
samurai
zlib-dev
"
subpackages="$pkgname-lang"
source="$pkgname-$pkgver.tar.gz::https://github.com/Sigil-Ebook/Sigil/archive/refs/tags/$pkgver.tar.gz"
builddir="$srcdir/Sigil-$pkgver/"
# no tests
options="!check"
build() {
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
cmake -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release \
-DUSE_SYSTEM_LIBS=1 \
-DINSTALL_BUNDLED_DICTS=0 \
$CMAKE_CROSSOPTS
cmake --build build
}
lang() {
pkgdesc="Languages for package $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel lang"
amove usr/share/sigil/translations
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
07aff142f65084b7900b25b089fca1d9a36022e690acaf0db3c7b2eb310a847834baff42884e73bbe6b31ff2dd7f73e76819c5c7a4292578fbea2edcebec5ad1 sigil-1.9.20.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment