1SUMMARY="A command line tool to control audio volume" 2DESCRIPTION="Haiku Advanced Volume Control(havoc) is a small command line tool to control the \ 3system volume. It is intended to be used with the standard 'Shortcuts' application so that \ 4keyboard shortcuts can be set to toggle the mute and adjust the volume incrementally. System \ 5notifications with the current volume can also be displayed." 6HOMEPAGE="https://github.com/augiedoggie/havoc" 7COPYRIGHT="2021-2022 Chris Roberts" 8LICENSE="MIT" 9REVISION="1" 10SOURCE_URI="https://github.com/augiedoggie/havoc/archive/refs/tags/$portVersion.tar.gz" 11CHECKSUM_SHA256="eee80fab93444007e2bcdc72eeb8bc3759b124ee0733df826544f776bd081b62" 12 13ARCHITECTURES="all" 14SECONDARY_ARCHITECTURES="!x86" 15 16PROVIDES=" 17 havoc = $portVersion 18 cmd:havoc 19 " 20REQUIRES=" 21 haiku 22 " 23 24BUILD_REQUIRES=" 25 haiku_devel 26 " 27BUILD_PREREQUIRES=" 28 cmd:cmake 29 cmd:g++ 30 cmd:make 31 " 32 33BUILD() 34{ 35 cmake \ 36 -B build \ 37 -DCMAKE_BUILD_TYPE=Release \ 38 -DCMAKE_INSTALL_PREFIX=$prefix \ 39 -DHAIKU_ENABLE_I18N=1 \ 40 -S . 41 42 make -C build $jobArgs 43 make -C build bindcatalogs 44} 45 46INSTALL() 47{ 48 make -C build install 49 mkdir -p $docDir 50 cp -f ReadMe.md $docDir 51} 52