mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
vala: bump version.
This commit is contained in:
96
dev-lang/vala/vala-0.36.4.recipe
Normal file
96
dev-lang/vala/vala-0.36.4.recipe
Normal file
@@ -0,0 +1,96 @@
|
||||
SUMMARY="An object-oriented programming language that uses the GObject system"
|
||||
DESCRIPTION="Vala is a new programming language that aims to bring modern \
|
||||
programming language features to GNOME developers without imposing any \
|
||||
additional runtime requirements and without using a different ABI \
|
||||
compared to applications and libraries written in C."
|
||||
HOMEPAGE="https://wiki.gnome.org/Projects/Vala"
|
||||
COPYRIGHT="2006-2016 Jürg Billeter
|
||||
2006-2016 Raffaele Sandrini"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://download.gnome.org/sources/vala/${portVersion%.*}/vala-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="e9f23ce711c1a72ce664d10946fbc5953f01b0b7f2a3562e7a01e362d86de059"
|
||||
SOURCE_DIR="vala-$portVersion"
|
||||
PATCHES="vala-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
vala$secondaryArchSuffix = $portVersion
|
||||
cmd:vala$secondaryArchSuffix
|
||||
cmd:valac$secondaryArchSuffix
|
||||
cmd:vapicheck$secondaryArchSuffix
|
||||
cmd:vapigen$secondaryArchSuffix
|
||||
cmd:vala_gen_introspect$secondaryArchSuffix
|
||||
cmd:vala_${portVersion%.*}$secondaryArchSuffix
|
||||
cmd:vala_gen_introspect_${portVersion%.*}$secondaryArchSuffix
|
||||
cmd:valac_${portVersion%.*}$secondaryArchSuffix
|
||||
cmd:vapicheck_${portVersion%.*}$secondaryArchSuffix
|
||||
cmd:vapigen_${portVersion%.*}$secondaryArchSuffix
|
||||
lib:libvala_${portVersion%.*}$secondaryArchSuffix
|
||||
"
|
||||
PROVIDES_common="
|
||||
vala${secondaryArchSuffix}_common = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
glib2${secondaryArchSuffix} >= 2.32.0
|
||||
vala${secondaryArchSuffix}_common == $portVersion
|
||||
lib:libffi$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
"
|
||||
REQUIRES_common="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
glib2${secondaryArchSuffix}_devel >= 2.32.0
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:awk
|
||||
cmd:bison
|
||||
cmd:cmp
|
||||
cmd:diff
|
||||
cmd:flex
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -fi
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
# remove libtool library files
|
||||
rm $libDir/lib*.la
|
||||
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries common \
|
||||
$dataDir/aclocal/vapigen.m4 \
|
||||
$dataDir/aclocal/vala.m4 \
|
||||
$dataDir/vala/Makefile.vapigen
|
||||
|
||||
# Avoid having an empty data/aclocal/ in vala$secondaryArchSuffix
|
||||
rmdir $dataDir/aclocal
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
sed -i -e 's/-lm/-lroot/g' $sourceDir/tests/testrunner.sh
|
||||
make check
|
||||
}
|
||||
Reference in New Issue
Block a user