summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-03-20 21:29:35 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-03-21 20:05:33 +0100
commit982ea443222996a8c0758e5c170a675c58daa5ef (patch)
tree2cf89f2497e9a56552f68cf491cfa5eb3e5d4397
parentmedia-fonts/gidole: EAPI-7 bump (diff)
downloadgentoo-982ea443222996a8c0758e5c170a675c58daa5ef.tar.gz
gentoo-982ea443222996a8c0758e5c170a675c58daa5ef.tar.bz2
gentoo-982ea443222996a8c0758e5c170a675c58daa5ef.zip
media-fonts/thaifonts-scalable: 0.7.2 version bump, EAPI-7, fix SRC_URI
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--media-fonts/thaifonts-scalable/Manifest1
-rw-r--r--media-fonts/thaifonts-scalable/thaifonts-scalable-0.7.2.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/media-fonts/thaifonts-scalable/Manifest b/media-fonts/thaifonts-scalable/Manifest
index 2242adb78ade..106a659aa221 100644
--- a/media-fonts/thaifonts-scalable/Manifest
+++ b/media-fonts/thaifonts-scalable/Manifest
@@ -1 +1,2 @@
+DIST thaifonts-scalable-0.7.2.tar.xz 1958780 BLAKE2B 6e976d0d7543acbf5869b21c5a488b2d0c3c8b9428a29c35736bb087bd5accbbb81a2766f670940a8006a2f4050818064c4753820a9a12691a3b39d80359da69 SHA512 dd5865da81bbb10665c561ae188197a3bb0831162bf69795298f80f8aff1a210fce8e3d961476a878851376d15d95dd7d36144d53e8123a309ea883ced1a7e58
DIST ttf-tlwg-0.6.1.tar.xz 1931628 BLAKE2B cf1f45f4f34cd38c45b5aabba0646a3cdd0e9a50908d9601a3544f7d56aa10ac463ec4b0afdf6d59cbba53bfb3ea2b9f02967ac0d8a4997cb1a18adfab7e300e SHA512 47364c9125509eb115abdaa60eb1f046d5bef694b2b51113e611b1c35c50300d682fc35c71e16ab3d6ffb43f36ba3e77af70019ec050012aebe04d9c0ece544f
diff --git a/media-fonts/thaifonts-scalable/thaifonts-scalable-0.7.2.ebuild b/media-fonts/thaifonts-scalable/thaifonts-scalable-0.7.2.ebuild
new file mode 100644
index 000000000000..9c1fc35e0575
--- /dev/null
+++ b/media-fonts/thaifonts-scalable/thaifonts-scalable-0.7.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit font
+
+DESCRIPTION="Collection of free fonts for Thai"
+HOMEPAGE="https://linux.thai.net/projects/thaifonts-scalable"
+SRC_URI="https://github.com/tlwg/fonts-tlwg/releases/download/v${PV}/ttf-tlwg-${PV}.tar.xz -> ${P}.tar.xz"
+S="${WORKDIR}/ttf-tlwg-${PV}"
+
+LICENSE="|| ( GPL-2-with-font-exception GPL-3-with-font-exception )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE=""
+
+FONT_CONF=(
+ fontconfig/conf.avail/64-01-tlwg-kinnari.conf
+ fontconfig/conf.avail/64-02-tlwg-norasi.conf
+ fontconfig/conf.avail/64-10-tlwg-loma.conf
+ fontconfig/conf.avail/64-11-tlwg-waree.conf
+ fontconfig/conf.avail/64-13-tlwg-garuda.conf
+ fontconfig/conf.avail/64-14-tlwg-umpush.conf
+ fontconfig/conf.avail/64-15-laksaman.conf
+ fontconfig/conf.avail/64-21-tlwg-typo.conf
+ fontconfig/conf.avail/64-22-tlwg-typist.conf
+ fontconfig/conf.avail/64-23-tlwg-mono.conf
+ fontconfig/conf.avail/89-tlwg-garuda-synthetic.conf
+ fontconfig/conf.avail/89-tlwg-kinnari-synthetic.conf
+ fontconfig/conf.avail/89-tlwg-laksaman-synthetic.conf
+ fontconfig/conf.avail/89-tlwg-umpush-synthetic.conf
+)
+FONT_SUFFIX="ttf"
+
+pkg_postinst() {
+ font_pkg_postinst
+ elog " 64-*.conf enable basic support"
+ elog " 89-*-synthetic.conf emulate the Thai font of Windows"
+}