Files
haikuports/haiku-apps/thememanager/thememanager-1.0~git.recipe
2017-01-28 15:31:10 +01:00

53 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"
LICENSE="MIT"
COPYRIGHT="2000-2015 François Revol"
REVISION="1"
# 14 January 2014 commit
commit="bea9d63d359ff3184ffcb3b3a03ee56cff1d8841"
SOURCE_URI="$HOMEPAGE/archive/$commit.tar.gz"
CHECKSUM_SHA256="73721b3e09367e9982d57e7a2af67dd17207cc1016a17e1c69325a2f5eec1301"
SOURCE_DIR="HaikuThemeManager-$commit"
PATCHES="thememanager-$portVersion.patchset"
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:git
cmd:gcc
cmd:make
cmd:ld
"
BUILD()
{
cd src
make OBJ_DIR=objects BUILDHOME=/boot/system/develop $jobArgs
}
INSTALL()
{
cd src
make OBJ_DIR=objects BUILDHOME=/boot/system/develop INSTALL_DIR=$preferencesDir install
addPreferencesDeskbarSymlink $preferencesDir/ThemeManager
}