1SUMMARY="Decorator and themes for a flat GUI look"
2DESCRIPTION="This package provides a Decorator / ControlLook for a flat \
3looking GUI and three themes.
4
5You set the flat Decorator and ControlLook in the Appearance preferences.
6To use the included themes, you need to first install 'ThemeManager' from \
7HaikuDepot. In ThemeManager, select a theme from the list: DarkFlat, LightFlat \
8or MoonFlat.
9
10Important:
11To have all of the GUI repainted after switching themes, please restart the \
12computer or quit Deskbar and Tracker with 'ProcessControler' (they will \
13restart automatically).
14
15Credits to:
16- Nahuel Tello (nhtello)
17- Haiku DefaultDecorator and DefaultControlLook"
18HOMEPAGE="https://github.com/unarix/haiku_darkstyle/"
19COPYRIGHT="2020, Nahuel Tello, Haiku Inc."
20LICENSE="MIT
21	Zlib"
22REVISION="1"
23SOURCE_URI="https://github.com/unarix/haiku_darkstyle/archive/$portVersion.tar.gz"
24CHECKSUM_SHA256="20af3766164bc1f5bcfa2962f930f90f7e483b722381206db1cda5bfb8c2dd1d"
25SOURCE_FILENAME="haiku_darkstyle-$portVersion.tar.gz"
26SOURCE_DIR="haiku_darkstyle-$portVersion"
27
28# disabled: crashes on beta3, available in haiku_extras on nightly
29ARCHITECTURES="?all"
30
31PROVIDES="
32	flatstyle$secondaryArchSuffix = $portVersion
33	addon:FlatControlLook$secondaryArchSuffix = $portVersion
34	addon:FlatDecorator$secondaryArchSuffix = $portVersion
35	"
36REQUIRES="
37	haiku$secondaryArchSuffix
38	"
39
40BUILD_REQUIRES="
41	haiku${secondaryArchSuffix}_devel
42	makefile_engine
43	"
44BUILD_PREREQUIRES="
45	cmd:gcc$secondaryArchSuffix
46	cmd:make
47	"
48
49BUILD()
50{
51	make OBJ_DIR=objects $jobArgs
52}
53
54INSTALL()
55{
56	control_lookDir=$addOnsDir/control_look
57	mkdir -p $control_lookDir
58	cp -a FlatControlLook/objects/FlatControlLook $control_lookDir
59
60	decoratorsDir=$addOnsDir/decorators
61	mkdir -p $decoratorsDir
62	cp -a FlatDecorator/objects/FlatDecorator $decoratorsDir
63
64	dataD=$dataDir/UIThemes
65	mkdir -p $dataD
66	cp -a DarkFlat/ LightFLat/ MoonFLat/ $dataD
67}
68