mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
104 lines
2.6 KiB
Bash
104 lines
2.6 KiB
Bash
SUMMARY="A GObject plugins library"
|
|
DESCRIPTION="libpeas is a gobject-based plugins engine, and is targetted at giving every \
|
|
application the chance to assume its own extensibility. It also has a set of features \
|
|
including, but not limited to:
|
|
|
|
* multiple extension points
|
|
* on demand (lazy) programming language support for C, Python and Lua
|
|
*simplicity of the APIS"
|
|
HOMEPAGE="https://wiki.gnome.org/Projects/Libpeas"
|
|
COPYRIGHT="Steve Frécinaux
|
|
Ignacio Casal Quinteiro
|
|
"
|
|
LICENSE="GNU LGPL v2.1"
|
|
REVISION="1"
|
|
SOURCE_URI="https://gitlab.gnome.org/GNOME/libpeas/-/archive/libpeas-$portVersion/libpeas-libpeas-$portVersion.tar.gz"
|
|
SOURCE_DIR="libpeas-libpeas-$portVersion"
|
|
CHECKSUM_SHA256="514b0576d9a56460915490bdb61dcb88634fdacfb2801e28dcbb9a730348858f"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
libpeas$secondaryArchSuffix = $portVersion compat >= 1
|
|
lib:libpeas_1.0$secondaryArchSuffix = 0.3400.0 compat >= 0
|
|
lib:libpeas_gtk_1.0$secondaryArchSuffix = 0.3400.0 compat >= 0
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libcairo$secondaryArchSuffix
|
|
lib:libcairo_gobject$secondaryArchSuffix
|
|
lib:libgdk_pixbuf_2.0$secondaryArchSuffix
|
|
lib:libgirepository_1.0$secondaryArchSuffix
|
|
lib:libglib_2.0$secondaryArchSuffix
|
|
lib:libgtk_3$secondaryArchSuffix
|
|
lib:libpango_1.0$secondaryArchSuffix
|
|
lib:libintl$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libpeas${secondaryArchSuffix}_devel = $portVersion compat >= 1
|
|
devel:libpeas_1.0$secondaryArchSuffix = 0.3400.0 compat >= 0
|
|
devel:libpeas_gtk_1.0$secondaryArchSuffix = 0.3400.0 compat >= 0
|
|
"
|
|
REQUIRES_devel="
|
|
libpeas$secondaryArchSuffix == $portVersion base
|
|
devel:libgtk_3$secondaryArchSuffix
|
|
devel:libgirepository_1.0$secondaryArchSuffix
|
|
devel:libglib_2.0$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libgirepository_1.0$secondaryArchSuffix
|
|
devel:libglib_2.0$secondaryArchSuffix
|
|
devel:libgtk_3$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:find
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:gperf
|
|
cmd:make
|
|
cmd:meson
|
|
cmd:ninja
|
|
cmd:perl
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:python3
|
|
cmd:valac
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
meson \
|
|
--buildtype=release \
|
|
--prefix=$prefix \
|
|
--libdir=$libDir \
|
|
--libexecdir=$binDir \
|
|
--datadir=$dataDir \
|
|
--localedir=$dataDir/locale \
|
|
--includedir=$includeDir \
|
|
--sysconfdir=$settingsDir \
|
|
-Ddemos=false \
|
|
-Dintrospection=true \
|
|
-Dvapi=true \
|
|
_build
|
|
|
|
cd _build
|
|
ninja
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
cd _build
|
|
ninja install
|
|
|
|
prepareInstalledDevelLibs libpeas-1.0 libpeas-gtk-1.0
|
|
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|