aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Healy <lmiphay@gmail.com>2021-11-12 12:32:50 +0000
committerPaul Healy <lmiphay@gmail.com>2021-11-12 12:32:50 +0000
commit04c2391cd2ff5d6e0780d5e1416b061c2c38c992 (patch)
treefa812ccf81681e647a6ee57f5bec87b29664bfbd /media-fonts
parentapp-oam/bun python 3 updates (diff)
downloadlmiphay-04c2391cd2ff5d6e0780d5e1416b061c2c38c992.tar.gz
lmiphay-04c2391cd2ff5d6e0780d5e1416b061c2c38c992.tar.bz2
lmiphay-04c2391cd2ff5d6e0780d5e1416b061c2c38c992.zip
media-fonts/tahoma add fetch restriction
Bug: https://bugs.gentoo.org/823290 Signed-off-by: Paul Healy <lmiphay@gmail.com>
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/tahoma/Manifest4
-rw-r--r--media-fonts/tahoma/tahoma-2.ebuild16
2 files changed, 13 insertions, 7 deletions
diff --git a/media-fonts/tahoma/Manifest b/media-fonts/tahoma/Manifest
index fe56993..69b2b73 100644
--- a/media-fonts/tahoma/Manifest
+++ b/media-fonts/tahoma/Manifest
@@ -1 +1,3 @@
-EBUILD tahoma-2.ebuild 748 BLAKE2B 6db1195ee67aaa5701bc7565c02f5639c0a35d614ecc9348349b7e51333f09657331a19092a3dd09a387cd3326c73722eb82694f5e6ad31f6c9a48ac296327aa SHA512 20eed53fb3232cf6bd02ae0c28d91d0c1eed158633773ec6f71d193c1294ef43067982ea46e70d6715a2ee8cdd6538b8fdb8cfaf99aca438558313137028274a
+DIST tahoma.ttf 383140 BLAKE2B cb0931d4703c6c7ed391169421ee463aab8b67aa9b275ac405e375df80dfa05f69bdfe7cc91a8318b581061ceb28b2b1b8a81def0809c5707d396ef55245d64c SHA512 f78763c9b8f7f2858d22e9e5a89ea3224e17b1c03a22de9e940d36dc7115a2a0f156f054aaa30ac6e48e5355eed086a08e82993a96c5df6be3f82ac367754473
+DIST tahomabd.ttf 355436 BLAKE2B 09f7eaa79c858aeaf9108b75f11590fcbad4a4bc0774a8b0e7538a8cd168fc8de943561f1418058e88537f70a8ae764415a2f797ee11f6e322a69306af481c1c SHA512 0996e90a7b3e0764632f75a7388084b95bcb1b13b24ee31afb44b1d1fa076aeed9ccefe0e10a8de4a8699ffba1f1d87e75baa135e7dc451f2b8d4d96b7538f39
+EBUILD tahoma-2.ebuild 720 BLAKE2B 08971f39f83e617360a69e27bb5c22033f2c9d3be81e512d020bf9698aa1566222d9bb9c519e254941affa7536f4372cfcef19a87cccb379c43d6ae2f28c6f34 SHA512 7c3ec75dd9d1961a610fdc2bce78957f446104745ec0fe8e1b0d3d123264de32593a060dd0715b4c6fb2479449a901dd70e98c95b3f795a6e41fd98b915770b0
diff --git a/media-fonts/tahoma/tahoma-2.ebuild b/media-fonts/tahoma/tahoma-2.ebuild
index 3d6ecbf..b437c13 100644
--- a/media-fonts/tahoma/tahoma-2.ebuild
+++ b/media-fonts/tahoma/tahoma-2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -7,10 +7,11 @@ inherit font
DESCRIPTION="Microsoft's Tahoma font"
HOMEPAGE="http://microsoft.com"
-SRC_URI=""
+SRC_URI="file:///tahoma.ttf file:///tahomabd.ttf"
LICENSE="MSttfEULA"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd"
+RESTRICT="bindist fetch"
S=${WORKDIR}
FONT_S=${WORKDIR}
@@ -18,10 +19,13 @@ FONT_SUFFIX="ttf"
FONTDIR="/usr/share/fonts/tahoma"
MYDISTDIR="/usr/portage/distfiles"
-src_unpack() {
+pkg_nofetch() {
+ einfo ""
+ einfo "Please copy these files to your distfiles directory:"
+ einfo "tahoma.ttf"
+ einfo "tahomabd.ttf"
+}
- ls ${MYDISTDIR}/tahoma.ttf >/dev/null || die "Get tahoma.ttf and tahomabd.ttf and put them in ${MYDISTDIR}"
- ls ${MYDISTDIR}/tahomabd.ttf >/dev/null || die "Get tahoma.ttf and tahomabd.ttf and put them in ${MYDISTDIR}"
+src_unpack() {
cp ${MYDISTDIR}/tahoma.ttf ${MYDISTDIR}/tahomabd.ttf ${S}
-
}