app-text/aiksaurus - 1.2.1-r4 (gentoo)

Search

Install

Install this version:

emerge -a =app-text/aiksaurus-1.2.1-r4

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-text/aiksaurus-1.2.1-r4

Or alternatively:

emerge --autounmask-write -a =app-text/aiksaurus-1.2.1-r4

Package Information

Description:
A thesaurus lib, tool, and database
Homepage:
https://sourceforge.net/projects/aiksaurus/
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
1.2.1-r4 8 ~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools flag-o-matic

DESCRIPTION="A thesaurus lib, tool, and database"
HOMEPAGE="https://sourceforge.net/projects/aiksaurus/"
SRC_URI="
	https://downloads.sourceforge.net/${PN}/${P}.tar.gz
	https://dev.gentoo.org/~soap/distfiles/${P}-patches.txz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
IUSE="gtk"

RDEPEND="gtk? ( x11-libs/gtk+:2 )"
DEPEND="${RDEPEND}"
BDEPEND="gtk? ( virtual/pkgconfig )"

PATCHES=(
	"${WORKDIR}"/patches/${P}-gcc43.patch
	"${WORKDIR}"/patches/${P}-format-security.patch
	"${WORKDIR}"/patches/${P}-c++17.patch
	"${FILESDIR}"/aiksaurus-1.2.1-autoconf.patch
	"${FILESDIR}"/aiksaurus-1.2.1-libdir_pkgconfig.patch
)

src_prepare() {
	default

	# Needed to make relink work on FreeBSD, without it won't install.
	# Also needed for a sane .so versionning there.
	#elibtoolize
	# Clang 16
	eautoreconf
}

src_configure() {
	filter-flags -fno-exceptions
	econf $(use_with gtk)
}

src_install() {
	default
	find "${ED}" -name '*.la' -delete || die
}

USE Flags

Manage flags for this package: euse -i <flag> -p app-text/aiksaurus | euse -E <flag> -p app-text/aiksaurus | euse -D <flag> -p app-text/aiksaurus

Global/Standard Flags

gtk

Inherited Eclasses

Dependencies

DEPEND

gtk? ( x11-libs/gtk+:2 )

RDEPEND

gtk? ( x11-libs/gtk+:2 )

BDEPEND

gtk? ( virtual/pkgconfig )