Files
haikuports/haiku-apps/thememanager/thememanager-1.0~git.recipe
2019-03-10 04:44:48 +01:00

51 lines
1.2 KiB
Bash

SUMMARY="Manages 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="7"
srcGitRev="4b265a8415f50b485e0c705e62ae7c45ab71a8d3"
SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="ef9656285cad7ad470f10d68996a2fa46f5e252fe5abc2e00e37ad7598efbc7e"
SOURCE_DIR="HaikuThemeManager-$srcGitRev"
ARCHITECTURES="x86_gcc2 ?x86 x86_64"
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
}