mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
52 lines
1.1 KiB
Bash
52 lines
1.1 KiB
Bash
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="eee80fab93444007e2bcdc72eeb8bc3759b124ee0733df826544f776bd081b62"
|
|
|
|
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 \
|
|
-DHAIKU_ENABLE_I18N=1 \
|
|
-S .
|
|
|
|
make -C build $jobArgs
|
|
make -C build bindcatalogs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make -C build install
|
|
mkdir -p $docDir
|
|
cp -f ReadMe.md $docDir
|
|
}
|