mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 20:20:06 +02:00
girara, new recipe (#7131)
This commit is contained in:
90
dev-libs/girara/girara-0.3.7.recipe
Normal file
90
dev-libs/girara/girara-0.3.7.recipe
Normal file
@@ -0,0 +1,90 @@
|
||||
SUMMARY="User interface library"
|
||||
DESCRIPTION="girara is a library that implements a user interface that focuses on simplicity and \
|
||||
minimalism.
|
||||
It consists of three main components:
|
||||
* The view is a widget that represents the actual application (e.g.: a web site or a document).
|
||||
* The input bar is used to execute commands of the application, while the status bar notifies the \
|
||||
user with current information.
|
||||
* It is designed to replace and the enhance the user interface that is used by zathura."
|
||||
HOMEPAGE="https://pwmt.org/projects/girara/"
|
||||
COPYRIGHT="2010-2020 pwmt.org"
|
||||
LICENSE="Zlib"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://pwmt.org/projects/girara/download/girara-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="77132e9bd652f1c9e4260de046768ea449a7d977c4cd3d6d817d2d72b6f946e0"
|
||||
|
||||
ARCHITECTURES="?all !x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion="3.1"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%.*}"
|
||||
|
||||
PROVIDES="
|
||||
girara$secondaryArchSuffix = $portVersion
|
||||
lib:libgirara_gtk3$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libgdk_3$secondaryArchSuffix
|
||||
lib:libglib_2.0$secondaryArchSuffix
|
||||
lib:libgtk_3$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
lib:libjson_c$secondaryArchSuffix
|
||||
lib:libpango_1.0$secondaryArchSuffix
|
||||
# lib:libnotify$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
girara${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libgirara_gtk3$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
girara$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libgdk_3$secondaryArchSuffix
|
||||
devel:libglib_2.0$secondaryArchSuffix
|
||||
devel:libgtk_3$secondaryArchSuffix
|
||||
devel:libjson_c$secondaryArchSuffix
|
||||
devel:libpango_1.0$secondaryArchSuffix
|
||||
# devel:libnotify$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:doxygen
|
||||
cmd:meson
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ninja
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
meson build --buildtype=release \
|
||||
--prefix=$prefix \
|
||||
--includedir=$includeDir \
|
||||
--libdir=$libDir \
|
||||
--localedir=$dataDir/locale
|
||||
# default disabled
|
||||
# -Dnotify=enabled
|
||||
ninja -C build
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
ninja -C build install
|
||||
|
||||
prepareInstalledDevelLib \
|
||||
libgirara-gtk3
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
ninja -C build test
|
||||
}
|
||||
Reference in New Issue
Block a user