mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
havoc: add recipe for 0.2.0 (#7241)
This commit is contained in:
49
haiku-apps/havoc/havoc-0.2.0.recipe
Normal file
49
haiku-apps/havoc/havoc-0.2.0.recipe
Normal file
@@ -0,0 +1,49 @@
|
||||
SUMMARY="A command line tool to control audio volume"
|
||||
DESCRIPTION="Haiku Advanced Volume Control(havoc) is a small command line tool to control the \
|
||||
system volume. It is intended to be used with the standard 'Shortcuts' application so that \
|
||||
keyboard shortcuts can be set to toggle the mute and adjust the volume incrementally. System \
|
||||
notifications with the current volume can also be displayed."
|
||||
HOMEPAGE="https://github.com/augiedoggie/havoc"
|
||||
COPYRIGHT="2021-2022 Chris Roberts"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/augiedoggie/havoc/archive/refs/tags/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="f21a8a5edc74e91ad5a0323e45ce7ee679db67eaa7ba257723db324f2487a103"
|
||||
|
||||
ARCHITECTURES="all"
|
||||
SECONDARY_ARCHITECTURES="!x86"
|
||||
|
||||
PROVIDES="
|
||||
havoc = $portVersion
|
||||
cmd:havoc
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake \
|
||||
-B build \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=$prefix \
|
||||
.
|
||||
|
||||
make -C build $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make -C build install
|
||||
mkdir -p $docDir
|
||||
cp -f ReadMe.md $docDir
|
||||
}
|
||||
Reference in New Issue
Block a user