mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
add: Flat look for Haiku (#5192)
This commit is contained in:
61
haiku-misc/flatstyle/flatstyle-0.2.recipe
Normal file
61
haiku-misc/flatstyle/flatstyle-0.2.recipe
Normal file
@@ -0,0 +1,61 @@
|
||||
SUMMARY="Haiku Flat UI look"
|
||||
DESCRIPTION="This package provides a flat look UI for Haiku with three themes.
|
||||
Usage: To use the themes included, you need to install first, the package 'Theme Manager' \
|
||||
from haiku-depot. After install it, select from the list: 'DarkFlat'/'LightFlat'/'MoonFlat'.
|
||||
|
||||
Important: the UI needs to repaint all after select one theme, please restart \
|
||||
the computer or quit 'Deskbar' and 'Tracker' services from 'ProcessControler' (they \
|
||||
will restart auto).
|
||||
|
||||
Credits for:
|
||||
- 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="265ee577f31e723dedd3443df1d7c76f5d83b2134b712d8eb0377becc573898e"
|
||||
SOURCE_FILENAME="haiku_darkstyle-$portVersion.tar.gz"
|
||||
SOURCE_DIR="haiku_darkstyle-$portVersion"
|
||||
|
||||
ARCHITECTURES="?x86_gcc2 ?x86 x86_64"
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user