mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-19 15:59:00 -04:00
dev-libs/libthai: new package
A a set of Thai language support routines Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
parent
ca3df19d63
commit
c713bdd88a
1
dev-libs/libthai/Manifest
Normal file
1
dev-libs/libthai/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST libthai-0.1.28.tar.gz 766571 BLAKE2B 085c59b626a4191b90e0bcf738396b701a93af66f5a92b24934b76435ed91ddbd2f394e5ab1574f2e29cbec3daeb82911de153fb20c9bb77a9875e511a2289a7 SHA512 3a5f8766e3ad1484bb01a58a800667ea0b8b805158e7b574132455bd5a703bf19f4e46db8cb8fe4a75a380d88b6343234fa10dda003dcb2a8452a21acc4b8cf8
|
@ -0,0 +1,25 @@
|
||||
From 764c1750c18fc3fe4005fcb5b912ce9e39bc2b7f Mon Sep 17 00:00:00 2001
|
||||
From: Ross Burton <ross.burton@intel.com>
|
||||
Date: Mon, 23 Mar 2020 21:51:31 +0000
|
||||
Subject: [PATCH] configure.ac: remove duplicate AC_CONFIG_MACRO_DIR
|
||||
|
||||
Autoconf 2.70 will fatally error out if AC_CONFIG_MACRO_DIR is called more than once:
|
||||
|
||||
| configure.ac:25: error: AC_CONFIG_MACRO_DIR can only be used once
|
||||
---
|
||||
configure.ac | 2 --
|
||||
1 file changed, 2 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 913500a..1d174c5 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -22,8 +22,6 @@ AC_SUBST(LT_CURRENT)
|
||||
AC_SUBST(LT_REVISION)
|
||||
AC_SUBST(LT_AGE)
|
||||
|
||||
-AC_CONFIG_MACRO_DIR([m4])
|
||||
-
|
||||
DOXYGEN_REQ_VER=1.8.8
|
||||
|
||||
dnl Checks for programs.
|
43
dev-libs/libthai/libthai-0.1.28.ebuild
Normal file
43
dev-libs/libthai/libthai-0.1.28.ebuild
Normal file
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="A a set of Thai language support routines"
|
||||
HOMEPAGE="https://github.com/tlwg/libthai"
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/tlwg/${PN}.git"
|
||||
else
|
||||
SRC_URI="https://github.com/tlwg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="dev-libs/libdatrie"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="dev-vcs/git"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-fix-duplicate-dir.patch" #fix autoconf-2.7
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Fixed version if in non git project
|
||||
echo ${PV} > VERSION
|
||||
# From upstreams autogen.sh, to make it utilize the autotools eclass
|
||||
# Here translate the autogen.sh, equivalent to the following code
|
||||
# > sh autogen.sh
|
||||
|
||||
_elibtoolize --force
|
||||
eaclocal
|
||||
eautomake --add-missing
|
||||
# Not allow git-version-gen does refresh
|
||||
eautoconf
|
||||
}
|
19
dev-libs/libthai/metadata.xml
Normal file
19
dev-libs/libthai/metadata.xml
Normal file
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>vowstar@gmail.com</email>
|
||||
<name>Huang Rui</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">tlwg/libthai</remote-id>
|
||||
</upstream>
|
||||
<longdescription lang="en">
|
||||
LibThai is a set of Thai language support routines aimed to ease
|
||||
developers' tasks to incorporate Thai language support in their
|
||||
applications. It includes important Thai-specific functions e.g. word
|
||||
breaking, input and output methods as well as basic character and
|
||||
string supports. LibThai is an Open Source and collaborative effort
|
||||
initiated by Thai Linux Working Group and opened for all contributors.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
Loading…
x
Reference in New Issue
Block a user