summaryrefslogtreecommitdiff
path: root/media-fonts/cantarell
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-05-29 03:22:09 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-05-29 03:22:09 +0100
commitd4bd6695641f6d2ec7ff8681913d304e995902f5 (patch)
tree6ec8d4c38152bb4f2bb4b93277236ebd9fbbd21d /media-fonts/cantarell
parent22910f5d14da606bd7f06e19a2f61c5d1a8fc94b (diff)
gentoo resync : 29.05.2018
Diffstat (limited to 'media-fonts/cantarell')
-rw-r--r--media-fonts/cantarell/Manifest2
-rw-r--r--media-fonts/cantarell/cantarell-0.101.ebuild50
2 files changed, 52 insertions, 0 deletions
diff --git a/media-fonts/cantarell/Manifest b/media-fonts/cantarell/Manifest
index 48fca21646ae..bfa6a4dcbb0e 100644
--- a/media-fonts/cantarell/Manifest
+++ b/media-fonts/cantarell/Manifest
@@ -1,3 +1,5 @@
DIST cantarell-fonts-0.0.25.tar.xz 351768 BLAKE2B cfdd7570c99db9e75658369df9eb243ddb6290dfe8017bcff12edf876134ba185083e70676369962a2a9f35365e92268625b47da286aca640927fb7a47073295 SHA512 c09c3ecb3d4c50f613234398fabd327ca92b8abbc27082e8e98f2944f3dd9f0c2ff4c022ff5e5503a86e724bb8e2fbf6cd081f8a29e91b4209f5bf0e32168c3e
+DIST cantarell-fonts-0.101.tar.xz 263480 BLAKE2B 79652cf87088a8fe505895cad1f2474e0cb52e4be8a977ae06442a0e8ca6ba6a7f93c811b14e56fd5e61a17c97175b2374d180e435cbac00af8c10b272461802 SHA512 52dbd8358de7e20146e627ab0b1298efb97ee335e45d8e63bab7c3a7d05314d0bb94ac448e34af4c6f7212623185a9e03a30eb24acee4915142e40af0086bbfb
EBUILD cantarell-0.0.25.ebuild 636 BLAKE2B c3835e6879c2988de5d9db10f5465abf5e62c5d3cacbf8d3bd4167dde7af00a7cf15faa9873ee514606c57d5eaaf43e8d01af60d2f41c31d403c4cf4b851f116 SHA512 4f18ffd0c1b6dbc0637ae7a121bf11518a145d5880af8576d5bd54afb64cb3c713ba64db020d4acf1c1dc12a4fb41cbb93eb166c15f01c15d6f6525eefeae2b4
+EBUILD cantarell-0.101.ebuild 1017 BLAKE2B 71a58cf0e8459b7c2a7a9b33ca897a82bd2ccca3af71539aaf88bbe9dbdea1685e6a20b554f1e01722647b6e91f37d9d0aa6b2f58f3145b4390cb0cfeeeec0b6 SHA512 98d4c72cec77cd77b8724f4a6ac4ace1a23d01ee6297d1e6168b02d5bcbc5db17ff4363b204347688e576cf6e6c5cd2e4656b1e843cb31b722b5a32e37e92476
MISC metadata.xml 249 BLAKE2B e71e1b95fee768c696704acbf7e3cf0e599ed2bc8de92bae0141d1194ef9e842bdc292798904487a9b90ddfda9b0e84abd3b76b1518576c1d288240e4e46f110 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506
diff --git a/media-fonts/cantarell/cantarell-0.101.ebuild b/media-fonts/cantarell/cantarell-0.101.ebuild
new file mode 100644
index 000000000000..b63dba2c58db
--- /dev/null
+++ b/media-fonts/cantarell/cantarell-0.101.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME_ORG_MODULE="${PN}-fonts"
+
+inherit font gnome.org meson
+
+DESCRIPTION="Default fontset for GNOME Shell"
+HOMEPAGE="https://wiki.gnome.org/Projects/CantarellFonts"
+
+LICENSE="OFL-1.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="media-libs/fontconfig"
+DEPEND="
+ >=sys-devel/gettext-0.19.8
+ virtual/pkgconfig
+"
+
+# This ebuild does not install any binaries
+RESTRICT="binchecks strip"
+
+# Font eclass settings
+FONT_CONF=("${S}/fontconfig/31-cantarell.conf")
+FONT_S="${S}/prebuilt"
+FONT_SUFFIX="otf"
+
+src_prepare() {
+ # Leave prebuilt font installation to font.eclass
+ sed -e "/subdir('prebuilt')/d" -i meson.build || die
+
+ default
+}
+
+src_configure() {
+ local emesonargs=(
+ -Dfontsdir=${FONTDIR}
+ -Duseprebuilt=true
+ )
+ meson_src_configure
+}
+
+src_install() {
+ local DOCS=( NEWS README.md )
+ meson_src_install
+ font_src_install
+}