mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
aiksaurus, bump version (#2581)
This commit is contained in:
committed by
waddlesplash
parent
ef5ae3f02f
commit
f2ac76e2a8
88
app-text/aiksaurus/aiksaurus-1.2.2~git.recipe
Normal file
88
app-text/aiksaurus/aiksaurus-1.2.2~git.recipe
Normal file
@@ -0,0 +1,88 @@
|
||||
SUMMARY="A set of libraries and applications for Thesaurus"
|
||||
DESCRIPTION="Aiksaurus is a set of libraries and applications which provide \
|
||||
a thesaurus (currently English only, based on Guttenburg's Moby thesaurus) \
|
||||
using native GUI on several platforms:
|
||||
* UNIX (GTK+ & Qt)
|
||||
* Win32 & MacOSX (Cocoa)
|
||||
The core library itself is platform-independent. The principal language is \
|
||||
C++, with some use of Cocoa/ObjC++; wrappers are provided for C and Cocoa/ObjC."
|
||||
HOMEPAGE="http://aiksaurus.sourceforge.net"
|
||||
COPYRIGHT="2001-2005 Jared Davis
|
||||
2004 Dom Lachowicz
|
||||
2001-2003 Francis J. Franklin
|
||||
2001-2002 John Levon
|
||||
2001 Michael D. Pritchett"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
srcGitRev="c897e56c757df065463d50322b2590dfec0af067"
|
||||
SOURCE_URI="https://github.com/AbiWord/aiksaurus/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="6fe47475d38a06d45cd1e29af397b2d46d225f99cd5ced35aa42f3e73d98a566"
|
||||
SOURCE_FILENAME="aiksaurus-$portVersion.tar.gz"
|
||||
SOURCE_DIR="aiksaurus-$srcGitRev"
|
||||
PATCHES="aiksaurus-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
libVersion="1.0.1"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
aiksaurus$secondaryArchSuffix = $portVersion
|
||||
lib:libAiksaurus_1.2$secondaryArchSuffix = $libVersionCompat
|
||||
cmd:aiksaurus$secondaryArchSuffix = $portVersion
|
||||
cmd:caiksaurus$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
aiksaurus${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libAiksaurus$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
aiksaurus$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libintl$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:awk
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:intltoolize
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
defineDebugInfoPackage aiksaurus$secondaryArchSuffix \
|
||||
"$binDir"/aiksaurus \
|
||||
"$binDir"/caiksaurus \
|
||||
"$libDir"/libAiksaurus-1.2.so.$libVersion
|
||||
|
||||
BUILD()
|
||||
{
|
||||
./autogen.sh
|
||||
runConfigure ./configure --datadir=$dataDir
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
rm -f "$libDir"/*.la
|
||||
rm -r "$dataDir"/applications
|
||||
|
||||
prepareInstalledDevelLib libAiksaurus
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
31
app-text/aiksaurus/patches/aiksaurus-1.2.2~git.patchset
Normal file
31
app-text/aiksaurus/patches/aiksaurus-1.2.2~git.patchset
Normal file
@@ -0,0 +1,31 @@
|
||||
From 74b74dcad15f8e2c042f5d58c095393c2c1100c4 Mon Sep 17 00:00:00 2001
|
||||
From: begasus <begasus@gmail.com>
|
||||
Date: Sun, 20 May 2018 08:44:22 +0200
|
||||
Subject: import partial patch from previous version
|
||||
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index a3387ba..6197fb5 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -42,3 +42,5 @@ EXTRA_DIST = \
|
||||
ac-helpers/pkg-config/pkg.m4 \
|
||||
aiksaurus.spec.in \
|
||||
aiksaurus.spec
|
||||
+
|
||||
+ACLOCAL_AMFLAGS = -I m4
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 1b858eb..194fbf0 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -8,6 +8,7 @@ m4_define(
|
||||
[aiksaurus_version_major.aiksaurus_version_minor.aiksaurus_version_micro])
|
||||
AC_INIT([aiksaurus],[aiksaurus_version],[http://aiksaurus.sourceforge.net/])
|
||||
AC_CONFIG_SRCDIR([base/Aiksaurus.h])
|
||||
+AC_CONFIG_MACRO_DIR([m4])
|
||||
|
||||
AIK_MAJOR_VERSION=aiksaurus_version_major
|
||||
AIK_MINOR_VERSION=aiksaurus_version_minor
|
||||
--
|
||||
2.16.2
|
||||
|
||||
Reference in New Issue
Block a user