mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 15:08:57 +02:00
windowtailor: update to 0.2 (#11422)
This commit is contained in:
@@ -1,60 +0,0 @@
|
|||||||
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
|
|
||||||
}
|
|
||||||
67
haiku-apps/windowtailor/windowtailor-0.2.recipe
Normal file
67
haiku-apps/windowtailor/windowtailor-0.2.recipe
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
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 preference application, but can also be used from a shell or in scripts. Creating a \
|
||||||
|
keyboard shortcut with no extra command arguments will open the main interface of the application \
|
||||||
|
and allow you to manage the currently active window.
|
||||||
|
|
||||||
|
WindowTailor allows you to change:
|
||||||
|
* Visibile workspaces
|
||||||
|
* Window look
|
||||||
|
* Window type
|
||||||
|
* Window flags
|
||||||
|
* Basic tiling of size/position
|
||||||
|
|
||||||
|
WindowTailor also accepts command line arguments for all of these properties as well as a few \
|
||||||
|
extra (like zoom, minimize, send to back, ...). This allows you to set up keyboard shortcuts for \
|
||||||
|
frequently used actions.
|
||||||
|
|
||||||
|
For exmple:
|
||||||
|
* a shortcut to pin/unpin windows from all workspaces with the --pintoggle argument
|
||||||
|
* window tiling shortcuts that are mapped to the number pad of a keyboard
|
||||||
|
* more convenient shortcuts for commands like minimize/zoom/sendtoback
|
||||||
|
"
|
||||||
|
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="6cedc2734c3b508fd1717693db583be2f12281d1f8b16617c38f740d0725a66c"
|
||||||
|
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
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user