picard: add haiku icon theme

This commit is contained in:
Gerasim Troeglazov
2020-05-06 23:20:45 +10:00
parent a50e53acbb
commit 5fe298b1da
2 changed files with 19 additions and 3 deletions

Binary file not shown.

View File

@@ -9,15 +9,18 @@ identified by the actual music, even if they have no metadata.
* Plugin support - If you need a particular feature, you can choose from a \
selection of available plugins or write your own."
HOMEPAGE="https://picard.musicbrainz.org/"
COPYRIGHT="2004-2019 Robert Kaye, Lukas Lalinsky, Laurent Monin, \
COPYRIGHT="2004-2020 Robert Kaye, Lukas Lalinsky, Laurent Monin, \
Sambhav Kothari, Philipp Wolfer and others"
LICENSE="GNU GPL v2"
REVISION="1"
REVISION="2"
SOURCE_URI="ftp://ftp.eu.metabrainz.org/pub/musicbrainz/picard/picard-$portVersion.tar.gz"
CHECKSUM_SHA256="a91d9f11f2e5a6a0c579e0749e3a3919694ddeef0f251c1dded32e9331b1b0b7"
SOURCE_DIR="picard-release-$portVersion"
PATCHES="picard-$portVersion.patchset"
ADDITIONAL_FILES="picard.rdef.in"
ADDITIONAL_FILES="
picard.rdef.in
haikuicons.zip
"
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
@@ -38,6 +41,7 @@ REQUIRES="
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
pyqt_python3
setuptools_python3
"
BUILD_PREREQUIRES="
@@ -46,9 +50,21 @@ BUILD_PREREQUIRES="
cmd:python3.7
"
PATCH()
{
unzip -o $sourceDir/../../additional-files/haikuicons.zip -d $sourceDir/resources/images
}
BUILD()
{
LC_ALL=en_US.UTF-8
#Rebuild resources
rm -f resources/picard.qrc
rm -f picard/resources.py
python3 resources/makeqrc.py
python3 resources/compile.py
python3 setup.py config
}