mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
31
dev-lang/vala/patches/vala-0.30.1.patchset
Normal file
31
dev-lang/vala/patches/vala-0.30.1.patchset
Normal file
@@ -0,0 +1,31 @@
|
||||
From 5e9c794a7b3cecb5a016fdf2609cd1c3cb2b65ca Mon Sep 17 00:00:00 2001
|
||||
From: Kostadin Damyanov <maxmight@gmail.com>
|
||||
Date: Thu, 4 Feb 2016 05:01:46 +0200
|
||||
Subject: remove the dbus tests
|
||||
|
||||
|
||||
diff --git a/tests/Makefile.am b/tests/Makefile.am
|
||||
index 1666826..974c838 100644
|
||||
--- a/tests/Makefile.am
|
||||
+++ b/tests/Makefile.am
|
||||
@@ -196,17 +196,6 @@ TESTS = \
|
||||
asynchronous/bug661961.vala \
|
||||
asynchronous/bug742621.vala \
|
||||
asynchronous/closures.vala \
|
||||
- dbus/basic-types.test \
|
||||
- dbus/arrays.test \
|
||||
- dbus/structs.test \
|
||||
- dbus/errors.test \
|
||||
- dbus/async.test \
|
||||
- dbus/async-errors.test \
|
||||
- dbus/signals.test \
|
||||
- dbus/filedescriptor.test \
|
||||
- dbus/dicts.test \
|
||||
- dbus/bug596862.vala \
|
||||
- dbus/bug602003.test \
|
||||
gir/bug651773.test \
|
||||
gir/bug667751.test \
|
||||
gir/bug742012.test \
|
||||
--
|
||||
2.7.0
|
||||
|
||||
91
dev-lang/vala/vala-0.30.1.recipe
Normal file
91
dev-lang/vala/vala-0.30.1.recipe
Normal file
@@ -0,0 +1,91 @@
|
||||
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/0.30/vala-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="23add78e5c6a5e6df019d4a885c9c79814c9e0b957519ec8a4f4d826c4e5df2c"
|
||||
SOURCE_DIR="vala-$portVersion"
|
||||
PATCHES="vala-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
vala = $portVersion
|
||||
cmd:vala$secondaryArchSuffix
|
||||
cmd:valac$secondaryArchSuffix
|
||||
cmd:vapicheck$secondaryArchSuffix
|
||||
cmd:vapigen$secondaryArchSuffix
|
||||
cmd:vala_gen_introspect$secondaryArchSuffix
|
||||
cmd:vala_0.30$secondaryArchSuffix
|
||||
cmd:vala_gen_introspect_0.30$secondaryArchSuffix
|
||||
cmd:valac_0.30$secondaryArchSuffix
|
||||
cmd:vapicheck_0.30$secondaryArchSuffix
|
||||
cmd:vapigen_0.30$secondaryArchSuffix
|
||||
lib:libvala_0.30$secondaryArchSuffix
|
||||
"
|
||||
PROVIDES_common="
|
||||
vala_common = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
glib2${secondaryArchSuffix} >= 2.32.0
|
||||
vala_common$secondaryArchSuffix == $portVersion
|
||||
lib:libffi$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
"
|
||||
REQUIRES_common="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
glib2${secondaryArchSuffix}_devel >= 2.32.0
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
cmd:autoconf
|
||||
cmd:awk
|
||||
cmd:bison
|
||||
cmd:cmp
|
||||
cmd:diff
|
||||
cmd:flex
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtool
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
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
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
sed -i 's/-lm/-lroot/g' $sourceDir/tests/testrunner.sh
|
||||
make check
|
||||
}
|
||||
Reference in New Issue
Block a user