0
0
Fork 0
haikuports/haiku-misc/flatstyle/flatstyle-0.4.recipe

67 lines
1.8 KiB
Bash

SUMMARY="Decorator and themes for a flat GUI look"
DESCRIPTION="This package provides a Decorator / ControlLook for a flat \
looking GUI and three themes.
You set the flat Decorator and ControlLook in the Appearance preferences.
To use the included themes, you need to first install 'ThemeManager' from \
HaikuDepot. In ThemeManager, select a theme from the list: DarkFlat, LightFlat \
or MoonFlat.
Important:
To have all of the GUI repainted after switching themes, please restart the \
computer or quit Deskbar and Tracker with 'ProcessControler' (they will \
restart automatically).
Credits to:
- Nahuel Tello (nhtello)
- Haiku DefaultDecorator and DefaultControlLook"
HOMEPAGE="https://github.com/unarix/haiku_darkstyle/"
COPYRIGHT="2020, Nahuel Tello, Haiku Inc."
LICENSE="MIT
Zlib"
REVISION="1"
SOURCE_URI="https://github.com/unarix/haiku_darkstyle/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="20af3766164bc1f5bcfa2962f930f90f7e483b722381206db1cda5bfb8c2dd1d"
SOURCE_FILENAME="haiku_darkstyle-$portVersion.tar.gz"
SOURCE_DIR="haiku_darkstyle-$portVersion"
ARCHITECTURES="all ?x86"
PROVIDES="
flatstyle$secondaryArchSuffix = $portVersion
addon:FlatControlLook$secondaryArchSuffix = $portVersion
addon:FlatDecorator$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
makefile_engine
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:make
"
BUILD()
{
make OBJ_DIR=objects $jobArgs
}
INSTALL()
{
control_lookDir=$addOnsDir/control_look
mkdir -p $control_lookDir
cp -a FlatControlLook/objects/FlatControlLook $control_lookDir
decoratorsDir=$addOnsDir/decorators
mkdir -p $decoratorsDir
cp -a FlatDecorator/objects/FlatDecorator $decoratorsDir
dataD=$dataDir/UIThemes
mkdir -p $dataD
cp -a DarkFlat/ LightFLat/ MoonFLat/ $dataD
}