mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 15:08:57 +02:00
61 lines
1.5 KiB
Bash
61 lines
1.5 KiB
Bash
SUMMARY="An application to adjust the properties of open windows"
|
|
DESCRIPTION="WindowTailor is an application which allows you to adjust the properties of open windows.
|
|
It is primarily intended to be launched by assigning keyboard shortcuts from the Shortcuts \
|
|
application, but can also be used from a shell or in scripts.
|
|
|
|
The application allows you to change:
|
|
* Workspaces (including pinning/unpinning from all)
|
|
* Window look
|
|
* Window type
|
|
* Window flags
|
|
* Basic tiling of size/position
|
|
Tiling is a work-in-progress feature and needs improvement in calculating sizes and accounting for window
|
|
frames.
|
|
|
|
WindowTailor accepts command line arguments for all of these properties as well as a few extra \
|
|
(like zoom, minimize, send to back, ...)"
|
|
HOMEPAGE="https://codeberg.org/augiedoggie/WindowTailor/"
|
|
COPYRIGHT="2024 Chris Roberts"
|
|
LICENSE="MIT"
|
|
REVISION="1"
|
|
SOURCE_URI="https://codeberg.org/augiedoggie/WindowTailor/archive/v$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="0dfa9ca2b1f349bd927158191b836e4d7f053a9b773cc584ffa185c99a07ad6f"
|
|
SOURCE_DIR="windowtailor"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
WindowTailor$secondaryArchSuffix = $portVersion
|
|
app:WindowTailor
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cmake \
|
|
-B build \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=$prefix \
|
|
-S .
|
|
|
|
make -C build $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -pv $appsDir
|
|
cp -afv build/WindowTailor $appsDir
|
|
}
|