1SUMMARY="A command line tool to change workspace background settings" 2DESCRIPTION="A small command line tool to change the desktop background settings on Haiku. It is \ 3possible to change the wallpaper, placement mode, offset/position, text outline, and background \ 4color. These settings can be changed for each individual workspace or all workspaces at once. \ 5This allows creating scripts that will rotate the background." 6HOMEPAGE="https://github.com/augiedoggie/bgswitch" 7COPYRIGHT="2024 Chris Roberts" 8LICENSE="MIT" 9REVISION="1" 10SOURCE_URI="https://github.com/augiedoggie/bgswitch/archive/refs/tags/v$portVersion.tar.gz" 11CHECKSUM_SHA256="94c5ee013a4a6b865c05010224a62ea492506d1ba62fe8fb151c6a5675c95d6a" 12 13ARCHITECTURES="all !x86_gcc2" 14SECONDARY_ARCHITECTURES="x86" 15 16PROVIDES=" 17 bgswitch$secondaryArchSuffix = $portVersion 18 cmd:bgswitch 19 " 20REQUIRES=" 21 haiku$secondaryArchSuffix 22 " 23 24BUILD_REQUIRES=" 25 haiku${secondaryArchSuffix}_devel 26 " 27BUILD_PREREQUIRES=" 28 cmd:cmake 29 cmd:g++$secondaryArchSuffix 30 cmd:make 31 cmd:sphinx_build 32 " 33 34PATCH() 35{ 36 # temporary fix 37 sed -i -e 's, FORCE,,' CMakeLists.txt 38} 39 40BUILD() 41{ 42 cmake -B build -S . \ 43 -DCMAKE_BUILD_TYPE=Release \ 44 -DCMAKE_INSTALL_PREFIX=$prefix \ 45 -DDOCS_DIR=$docDir 46 47 make -C build $jobArgs 48} 49 50INSTALL() 51{ 52 make -C build install 53 54 # temporary fix 55 settype -t text/css $docDir/UserGuide/_static/*.css 56 settype -t text/html $docDir/UserGuide/index.html 57} 58