summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-04-26 00:43:10 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2021-04-26 00:46:20 +0200
commit93c497ed7287ca137c306befecc9093a08e82346 (patch)
tree64d4c3d97bace280abf36824660d879ac6ad95f2 /media-libs
parentmedia-libs/fontconfig-infinality: Remove last-rited package (diff)
downloadgentoo-93c497ed7287ca137c306befecc9093a08e82346.tar.gz
gentoo-93c497ed7287ca137c306befecc9093a08e82346.tar.bz2
gentoo-93c497ed7287ca137c306befecc9093a08e82346.zip
media-libs/fontconfig-ultimate: Remove last-rited package
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/fontconfig-ultimate/Manifest1
-rw-r--r--media-libs/fontconfig-ultimate/fontconfig-ultimate-2015.08.01.ebuild110
-rw-r--r--media-libs/fontconfig-ultimate/metadata.xml11
3 files changed, 0 insertions, 122 deletions
diff --git a/media-libs/fontconfig-ultimate/Manifest b/media-libs/fontconfig-ultimate/Manifest
deleted file mode 100644
index b968e8cd486d..000000000000
--- a/media-libs/fontconfig-ultimate/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST fontconfig-ultimate-2015.08.01.tar.gz 1241997 BLAKE2B 291a2cefb793dda5b5d5c826dd720cb9eee311d67a8268554911a4581b6e2bd3389079f4383eb32d350c57f9eb854af04734adaac40e3da134a819c77456c03e SHA512 2c1e8c522c94f6db45c63cde610bd2abf95ae913241ebda275d40cda0c0b62a489047749eaefa78fcf25d802ebad442f32f2bbf5629d4fa8ee0c6dbc9f105de9
diff --git a/media-libs/fontconfig-ultimate/fontconfig-ultimate-2015.08.01.ebuild b/media-libs/fontconfig-ultimate/fontconfig-ultimate-2015.08.01.ebuild
deleted file mode 100644
index 0a217240ac46..000000000000
--- a/media-libs/fontconfig-ultimate/fontconfig-ultimate-2015.08.01.ebuild
+++ /dev/null
@@ -1,110 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit readme.gentoo versionator
-
-MY_PV=$(replace_all_version_separators "-")
-DESCRIPTION="A set of font rendering and replacement rules for fontconfig-infinality"
-HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
-SRC_URI="https://github.com/bohoomil/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-DEPEND="app-eselect/eselect-infinality
- app-eselect/eselect-lcdfilter
- media-libs/fontconfig-infinality
- media-libs/freetype:2[infinality]"
-RDEPEND="${DEPEND}"
-
-S=${WORKDIR}/${PN}-${MY_PV}
-
-DISABLE_AUTOFORMATTING="1"
-DOC_CONTENTS="1. Disable all rules but 52-infinality.conf using eselect fontconfig
-2. Enable one of the \"ultimate\" presets using eselect infinality
-3. Select ultimate lcdfilter settings using eselect lcdfilter"
-
-BLACKLIST="43-wqy-zenhei-sharp.conf"
-
-src_prepare() {
- pushd fontconfig_patches/fonts-settings || die
- rm ${BLACKLIST} || die
- popd
-
- # Generate lcdfilter config
- echo -e "################# FONTCONFIG ULTIMATE STYLE #################\n" \
- > "${T}"/ultimate || die
-
- local infinality_style
- infinality_style=$(sed --quiet \
- -e 's/^USE_STYLE="*\([1-9]\)"*/\1/p' \
- freetype/infinality-settings.sh) || die
-
- if ! [ -n "$infinality_style" ]; then
- ewarn "Missing USE_STYLE variable in package source."
- infinality_style=1
- fi
-
- sed --quiet \
- -e '/INFINALITY_FT_FILTER_PARAMS=/p' \
- freetype/infinality-settings.sh \
- | sed --quiet \
- -e "${infinality_style} s/[ \t]*export[ \t]*//p" \
- >> "${T}"/ultimate
- assert
-
- sed --quiet \
- -e '/INFINALITY_FT_FILTER_PARAMS/ d' \
- -e 's/^[ \t]*export[ \t]*INFINALITY_FT/INFINALITY_FT/p' \
- freetype/infinality-settings.sh \
- >> "${T}"/ultimate || die
-}
-
-src_install() {
- insinto /etc/fonts/infinality/conf.src.ultimate
- doins conf.d.infinality/*.conf
- doins fontconfig_patches/{ms,free,combi}/*.conf
-
- # Cut a list of default .conf files out of Makefile.am
- local default_configs config fonts_settings
- default_configs=$(sed --quiet \
- -e ':again' \
- -e '/\\$/ N' \
- -e 's/\\\n/ /' \
- -e 't again' \
- -e 's/^CONF_LINKS =//p' \
- conf.d.infinality/Makefile.am) || die
-
- # Install per-font settings
- pushd fontconfig_patches/fonts-settings || die
- doins *.conf
- fonts_settings=$(echo *.conf)
- popd
-
- # Install font presets
- pushd fontconfig_patches/ms || die
- for config in ${default_configs} ${fonts_settings} *.conf; do
- dosym ../../conf.src.ultimate/"${config}" \
- /etc/fonts/infinality/styles.conf.avail/ultimate-ms/"${config}"
- done
- popd
- pushd fontconfig_patches/free || die
- for config in ${default_configs} ${fonts_settings} *.conf; do
- dosym ../../conf.src.ultimate/"${config}" \
- /etc/fonts/infinality/styles.conf.avail/ultimate-free/"${config}"
- done
- popd
- pushd fontconfig_patches/combi || die
- for config in ${default_configs} ${fonts_settings} *.conf; do
- dosym ../../conf.src.ultimate/"${config}" \
- /etc/fonts/infinality/styles.conf.avail/ultimate-combi/"${config}"
- done
- popd
-
- insinto /usr/share/eselect-lcdfilter/env.d
- doins "${T}"/ultimate
-
- readme.gentoo_create_doc
-}
diff --git a/media-libs/fontconfig-ultimate/metadata.xml b/media-libs/fontconfig-ultimate/metadata.xml
deleted file mode 100644
index 29794ae87612..000000000000
--- a/media-libs/fontconfig-ultimate/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>fonts@gentoo.org</email>
- <name>Fonts</name>
- </maintainer>
- <upstream>
- <remote-id type="github">bohoomil/fontconfig-ultimate</remote-id>
- </upstream>
-</pkgmetadata>