Skip to content

Commit

Permalink
New package: KITScenarist-0.7.2.rc9i
Browse files Browse the repository at this point in the history
  • Loading branch information
abenson committed Aug 23, 2020
1 parent 1dd783e commit 97dc30a
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 0 deletions.
25 changes: 25 additions & 0 deletions srcpkgs/KITScenarist/patches/use-system-hunspell.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
--- src/bin/scenarist-desktop.pro.orig
+++ src/bin/scenarist-desktop.pro
@@ -37,11 +37,7 @@
#
# Подключаем библиотеку HUNSPELL
#
-LIBS += -L$$DESTDIR/../../libs/hunspell/ -lhunspell
-
-INCLUDEPATH += $$PWD/../libs/hunspell/src
-DEPENDPATH += $$PWD/../libs/hunspell
-PRE_TARGETDEPS += $$PWD/../libs/hunspell
+LIBS=-lhunspell
#

##
--- src/libs/libs.pro.orig
+++ src/libs/libs.pro
@@ -11,7 +11,6 @@
#

SUBDIRS = \
- hunspell \
fileformats \
webloader \
mythes \
32 changes: 32 additions & 0 deletions srcpkgs/KITScenarist/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Template file for 'KITScenarist'
pkgname=KITScenarist
version=0.7.2.rc9i
revision=1
create_wrksrc=yes
build_wrksrc="src"
build_style=qmake
hostmakedepends="pkg-config curl qt5-host-tools
qt5-multimedia-devel qt5-svg-devel qt5-webengine-devel qt5-declarative-devel
qt5-webchannel-devel qt5-location-devel"
makedepends="hunspell-devel qt5-location-devel qt5-multimedia-devel qt5-svg-devel
qt5-webengine-devel qt5-declarative-devel qt5-webchannel-devel qt5-location-devel"
short_desc="Screenwriting software"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://kitscenarist.ru/en/index.html"
distfiles="https://github.com/dimkanovikov/KITScenarist/releases/download/${version}/src.tar.gz"
checksum=c5fcc30498eeeecc7272c238200fd9a78d6b897c2d5ee9eb6c067a88bbc3ca52

case "$XBPS_TARGET_MACHINE" in
arm*)
broken="webengine not available for arm" ;;
ppc|ppc-musl)
broken="webengine not available for ppc32" ;;
*) if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
broken="webengine missing unless word size matches"
fi;;
esac

do_install() {
vbin ../build/Release/bin/scenarist-desktop/Scenarist
}

0 comments on commit 97dc30a

Please sign in to comment.