kCHMViewer: add haiku icon theme

This commit is contained in:
Gerasim Troeglazov
2019-03-06 20:43:04 +10:00
parent 6e3b9bc309
commit 417cc87f72
2 changed files with 13 additions and 3 deletions

Binary file not shown.

View File

@@ -15,12 +15,15 @@ it is written."
HOMEPAGE="http://www.ulduzsoft.com/linux/kchmviewer/"
COPYRIGHT="George Yunaev"
LICENSE="GNU GPL v3"
REVISION="1"
REVISION="2"
SOURCE_URI="https://sourceforge.net/projects/kchmviewer/files/kchmviewer/$portVersion/kchmviewer-$portVersion.tar.gz"
CHECKSUM_SHA256="27cbac45c786b1718550a87e6f86010e161302b426c6396ff2a3091b913b17dd"
SOURCE_DIR="kchmviewer-$portVersion"
PATCHES="kchmviewer-$portVersion.patchset"
ADDITIONAL_FILES="kchmviewer.rdef.in"
ADDITIONAL_FILES="
kchmviewer.rdef.in
haikuicons.zip
"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
@@ -57,7 +60,7 @@ BUILD_REQUIRES="
devel:libfreetype$secondaryArchSuffix
devel:libGL$secondaryArchSuffix
devel:libjpeg$secondaryArchSuffix
devel:libpng$secondaryArchSuffix
devel:libpng16$secondaryArchSuffix
devel:libQt5Core$secondaryArchSuffix
devel:libQt5Gui$secondaryArchSuffix
devel:libQt5Network$secondaryArchSuffix
@@ -72,11 +75,18 @@ BUILD_REQUIRES="
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:lrelease$secondaryArchSuffix >= 5
cmd:make
cmd:pkg_config$secondaryArchSuffix
cmd:qmake$secondaryArchSuffix >= 5
cmd:unzip
"
PATCH()
{
unzip -o $sourceDir/../../additional-files/haikuicons.zip -d $sourceDir/src/resources
}
BUILD()
{
qmake