0
0
Fork 0
haikuports/haiku-apps/thememanager/thememanager-1.0~git.recipe

51 lines
1.2 KiB
Bash

SUMMARY="A tool to manage Haiku themes"
DESCRIPTION="The Haiku Theme Manager is compatible with the one that shipped \
with ZETA. Users can choose which part of a theme to apply or save. It can \
also import BeTheme themes, and to some degree, MS Plus themes. \
It is add-ons based, so it can be extended."
HOMEPAGE="https://github.com/mmuman/HaikuThemeManager/"
COPYRIGHT="2000-2019 François Revol"
LICENSE="MIT"
REVISION="9"
srcGitRev="dadf0fe245ce0c75de7982520621cf0719473bdb"
SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="f572f2456ee63839a5d85c33bb28723527ac7e34166104548ef9188ca4c65ef0"
SOURCE_DIR="HaikuThemeManager-$srcGitRev"
ARCHITECTURES="all ?x86"
PROVIDES="
thememanager = $portVersion
app:ThemeManager = $portVersion
"
REQUIRES="
haiku
"
#XXX: suggests?
#thememanager_themes
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc
cmd:git
cmd:ld
cmd:make
"
BUILD()
{
cd src
make OBJ_DIR=objects BUILDHOME=/boot/system/develop $jobArgs
make OBJ_DIR=objects BUILDHOME=/boot/system/develop bindcatalogs
}
INSTALL()
{
cd src
make OBJ_DIR=objects BUILDHOME=/boot/system/develop INSTALL_DIR=$preferencesDir install
addPreferencesDeskbarSymlink $preferencesDir/ThemeManager
}