mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
Add atkmm, cairomm, pangomm (for gtkmm3.)
This commit is contained in:
81
dev-cpp/atkmm/atkmm-2.28.2.recipe
Normal file
81
dev-cpp/atkmm/atkmm-2.28.2.recipe
Normal file
@@ -0,0 +1,81 @@
|
||||
SUMMARY="The official C++ interface for the ATK accessibility toolkit library"
|
||||
DESCRIPTION="The official C++ wrapper for the ATK accessibility toolkit."
|
||||
HOMEPAGE="https://gitlab.gnome.org/GNOME/atkmm/"
|
||||
COPYRIGHT="2010-2021 atkmm authors"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://download.gnome.org/sources/atkmm/2.28/atkmm-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="a0bb49765ceccc293ab2c6735ba100431807d384ffa14c2ebd30e07993fd2fa4"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion="1.1.0"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
apiVersion="1.6"
|
||||
|
||||
PROVIDES="
|
||||
atkmm$secondaryArchSuffix = $portVersion
|
||||
lib:libatkmm_$apiVersion$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libatk_1.0$secondaryArchSuffix
|
||||
lib:libglib_2.0$secondaryArchSuffix
|
||||
lib:libglibmm_2.4$secondaryArchSuffix
|
||||
lib:libsigc_2.0$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
atkmm${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libatkmm_$apiVersion$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
atkmm$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libatk_1.0$secondaryArchSuffix
|
||||
devel:libglibmm_2.4$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:meson
|
||||
cmd:ninja
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
defineDebugInfoPackage atkmm$secondaryArchSuffix \
|
||||
"$libDir"/libatkmm-$apiVersion.so.$libVersion
|
||||
|
||||
BUILD()
|
||||
{
|
||||
meson build \
|
||||
--prefix=$prefix --includedir=$includeDir \
|
||||
--libdir=$libDir --datadir=$dataDir --bindir=$binDir \
|
||||
-Dmaintainer-mode=false --buildtype=debugoptimized
|
||||
|
||||
ninja $jobArgs -C build
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
ninja -C build install
|
||||
|
||||
rm -rf $libDir/*.la
|
||||
|
||||
mv $libDir/atkmm-$apiVersion/include/*.h $includeDir/atkmm-$apiVersion
|
||||
rm -rf $libDir/atkmm-$apiVersion
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libatkmm-$apiVersion
|
||||
|
||||
fixPkgconfig
|
||||
|
||||
sed -i -e 's|-I${libdir}/atkmm-$apiVersion/include||' \
|
||||
$developLibDir/pkgconfig/atkmm-$apiVersion.pc
|
||||
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
75
dev-cpp/cairomm/cairomm-1.13.1.recipe
Normal file
75
dev-cpp/cairomm/cairomm-1.13.1.recipe
Normal file
@@ -0,0 +1,75 @@
|
||||
SUMMARY="C++ interface for Cairo"
|
||||
DESCRIPTION="a C++ wrapper for the cairo graphics library. It offers all the \
|
||||
power of cairo with an interface familiar to C++ developers, including use of \
|
||||
the Standard Template Library where it makes sense."
|
||||
HOMEPAGE="https://www.cairographics.org/cairomm/"
|
||||
COPYRIGHT="2006-2016 cairomm authors"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://www.cairographics.org/releases/cairomm-${portVersion}.tar.gz"
|
||||
CHECKSUM_SHA256="97a78bd7de6baf8af3da1f9b39f1317f8da9f1145b7694e928fbd5521da08ef6"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion="1.4.0"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
cairomm$secondaryArchSuffix = $portVersion
|
||||
lib:libcairomm_1.0$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libcairo$secondaryArchSuffix
|
||||
lib:libsigc_2.0$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
lib:libpng16$secondaryArchSuffix
|
||||
lib:libfreetype$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
cairomm${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libcairomm_1.0$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
cairomm$secondaryArchSuffix == $portVersion base
|
||||
devel:libcairo$secondaryArchSuffix
|
||||
devel:libsigc_2.0$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libcairo$secondaryArchSuffix
|
||||
devel:libsigc_2.0$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:awk
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
defineDebugInfoPackage cairomm$secondaryArchSuffix \
|
||||
"$libDir"/libcairomm-1.0.so.$libVersion
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
rm -rf $libDir/*.la
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libcairomm-1.0
|
||||
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
86
dev-cpp/pangomm/pangomm-2.46.2.recipe
Normal file
86
dev-cpp/pangomm/pangomm-2.46.2.recipe
Normal file
@@ -0,0 +1,86 @@
|
||||
SUMMARY="C++ interface for Pango"
|
||||
DESCRIPTION="A C++ wrapper for the Pango text layout library"
|
||||
HOMEPAGE="https://pango.gnome.org/"
|
||||
COPYRIGHT="2021 pangomm authors"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://download.gnome.org/sources/pangomm/2.46/pangomm-${portVersion}.tar.xz"
|
||||
CHECKSUM_SHA256="57442ab4dc043877bfe3839915731ab2d693fc6634a71614422fb530c9eaa6f4"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion="1.0.30"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
apiVers="1.4"
|
||||
|
||||
PROVIDES="
|
||||
pangomm$secondaryArchSuffix = $portVersion
|
||||
lib:libpangomm_$apiVers$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libcairomm_1.0$secondaryArchSuffix
|
||||
lib:libglibmm$secondaryArchSuffix
|
||||
lib:libpango_1.0$secondaryArchSuffix
|
||||
lib:libsigc_2.0$secondaryArchSuffix
|
||||
lib:libglib_2.0$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
pangomm${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libpangomm_$apiVers$secondaryArchSuffix
|
||||
"
|
||||
REQUIRES_devel="
|
||||
pangomm$secondaryArchSuffix == $portVersion base
|
||||
devel:libcairomm_1.0$secondaryArchSuffix
|
||||
devel:libglibmm$secondaryArchSuffix
|
||||
devel:libpango_1.0$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libcairomm_1.0$secondaryArchSuffix
|
||||
devel:libglibmm$secondaryArchSuffix
|
||||
devel:libpango_1.0$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:meson
|
||||
cmd:ninja
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
defineDebugInfoPackage pangomm$secondaryArchSuffix \
|
||||
"$libDir"/libpangomm-$apiVers.so.$libVersion
|
||||
|
||||
BUILD()
|
||||
{
|
||||
meson build \
|
||||
--prefix=$prefix --includedir=$includeDir \
|
||||
--libdir=$libDir --datadir=$dataDir --bindir=$binDir \
|
||||
-Dmaintainer-mode=false --buildtype=debugoptimized
|
||||
|
||||
ninja $jobArgs -C build
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
ninja -C build install
|
||||
|
||||
rm -rf $libDir/*.la
|
||||
|
||||
mv $libDir/pangomm-$apiVers/include/*.h $includeDir/pangomm-$apiVers
|
||||
rm -rf $libDir/pangomm-$apiVers
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libpangomm-$apiVers
|
||||
|
||||
fixPkgconfig
|
||||
|
||||
sed -i -e 's|-I${libdir}/pangomm-$apiVers/include||' \
|
||||
$developLibDir/pkgconfig/pangomm-$apiVers.pc
|
||||
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
Reference in New Issue
Block a user