summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/fontconfig-ultimate/ChangeLog12
-rw-r--r--media-libs/fontconfig-ultimate/Manifest5
-rw-r--r--media-libs/fontconfig-ultimate/fontconfig-ultimate-2.11.0.14.ebuild126
-rw-r--r--media-libs/fontconfig-ultimate/fontconfig-ultimate-9999.ebuild124
-rw-r--r--media-libs/fontconfig-ultimate/metadata.xml15
5 files changed, 282 insertions, 0 deletions
diff --git a/media-libs/fontconfig-ultimate/ChangeLog b/media-libs/fontconfig-ultimate/ChangeLog
new file mode 100644
index 000000000..c2439d3bc
--- /dev/null
+++ b/media-libs/fontconfig-ultimate/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for media-libs/fontconfig-ultimate
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*fontconfig-ultimate-9999 (13 Dec 2013)
+*fontconfig-ultimate-2.11.0.14 (13 Dec 2013)
+
+ 13 Dec 2013; Witold Pilat (fau) <witold.pilat@gmail.com>
+ +fontconfig-ultimate-2.11.0.14.ebuild, +fontconfig-ultimate-9999.ebuild,
+ +metadata.xml:
+ New Ebuilds for bug #494204 thanks to Tommy, eroen and floppym
+
diff --git a/media-libs/fontconfig-ultimate/Manifest b/media-libs/fontconfig-ultimate/Manifest
new file mode 100644
index 000000000..f78ba4d04
--- /dev/null
+++ b/media-libs/fontconfig-ultimate/Manifest
@@ -0,0 +1,5 @@
+DIST v2.11.0-14.tar.gz 656724 SHA256 5dcc5b9644d9a0dc63a97ca07964f601fb3f2c5f5316eee477b8c7fa32599cd4 SHA512 ea30861fca02028cb1f47fe86631b05f7f73111c3e4abfc109ffdef03a76599b327331dd408027441764cd3a5eb029206637fb322f39c6d7432d7f3db39f47db WHIRLPOOL 7454f416d0267426d4245205de5bf23446643a66f0924accd635f1c473aa305be1380dd11c03b52c7c3c56fccd77c0628a9fb9b12b2e771f89805914f375227a
+EBUILD fontconfig-ultimate-2.11.0.14.ebuild 3467 SHA256 166f71a4a4f63b82f45d0c2838bf66deecd5478c251853b8a45eca769355638a SHA512 2b8d45df1029ee8be6741661ded43fdeac136b387f93147e94dda31030f6fa1f131b7ed6d70b2b7cc12799232c77717ebadeb27d18ac2923a605b4f31417a8a2 WHIRLPOOL 89736d2b2eb60d743e89cf13dfb2dfa5eb30782d682b20760fbc4e8af5218e75fa9dbc1e42b73d830c104e88210ce18cb15e5934f9a38b5836dc6b82964cc1a6
+EBUILD fontconfig-ultimate-9999.ebuild 3371 SHA256 2403971c19af6365f503c5db06b784c1fc4c65aee96e703da14f47597e482abf SHA512 50e6924e2db6cbb5b73d164da20c8629c7873e25b03ed0fdd0bed2b09d3a479b3717fb9805cad7c68d22708007fe0e77032ea85090bb84b8e956324a0f67fa92 WHIRLPOOL 86e177d25013138d7c45fefdb477dc902d544ad064d211cfbccc3e822a61a331f953d13338d58e321c307186a4babef4df5a5c4f5341edd8f7e8f29977410ff5
+MISC ChangeLog 434 SHA256 a97ef9ab476104e9545a0cae5a8d56f058d30f3f10b9dd6f3d90d6f3c737e2ab SHA512 996933948a4ff549a1f4f932e7cb53803e8b1c5c0df8fce231b2df66d6334c481f2320257d567556b6fe5270e2b8e06deae3e20bfc5e2d940547f489e63c39ab WHIRLPOOL 69caf50df6aec5c93d698eca88a217772e9dff9de5f5ae401b944a8ddb8e95f280b9081d3e286f51aaffe6f04135b4d5685f263c688cc40e3add836469ed468d
+MISC metadata.xml 667 SHA256 8779dabddd4a5374959a662aa40f71ac91f6c9f5b00f5f91f6e22dc3834c5b06 SHA512 125d4f11ae1e329882bbe181971b48ee4903c61508afcd3ef398b102476289f3e308ee243912e832eb66dd5c022357ec0b1bced58ac9819b2f7795d7577f1af1 WHIRLPOOL f7ebb9130cfab7ef38d7186e3507bc5a7616b0ffa8167624057a112109b0477216d908512adb6dd7362effc938f3ebbaf1ee86da68dfeaccbf22ff813ccef26b
diff --git a/media-libs/fontconfig-ultimate/fontconfig-ultimate-2.11.0.14.ebuild b/media-libs/fontconfig-ultimate/fontconfig-ultimate-2.11.0.14.ebuild
new file mode 100644
index 000000000..38f6970f8
--- /dev/null
+++ b/media-libs/fontconfig-ultimate/fontconfig-ultimate-2.11.0.14.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit readme.gentoo versionator
+
+MY_PV=$(replace_version_separator 3 "-")
+DESCRIPTION="A set of rendering and font replacement rules for fontconfig-infinality"
+HOMEPAGE="http://bohoomil.cu.cc/"
+SRC_URI="https://github.com/bohoomil/fontconfig-ultimate/archive/v${MY_PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+fonts-ms +fonts-free fonts-extra"
+
+RDEPEND="app-admin/eselect-infinality
+ app-admin/eselect-lcdfilter
+ media-libs/fontconfig-infinality
+ media-libs/freetype:2[infinality]
+ fonts-ms? (
+ media-fonts/corefonts
+ media-fonts/dejavu
+ media-fonts/notofonts
+ fonts-extra? (
+ media-fonts/cantarell
+ media-fonts/croscorefonts
+ media-fonts/droid
+ media-fonts/font-bh-75dpi
+ media-fonts/paratype
+ )
+ )
+ fonts-free? (
+ media-fonts/dejavu
+ media-fonts/notofonts
+ media-fonts/liberation-fonts
+ media-fonts/heuristica
+ fonts-extra? (
+ media-fonts/cantarell
+ media-fonts/croscorefonts
+ media-fonts/droid
+ media-fonts/font-bh-ttf
+ media-fonts/libertine-ttf
+ media-fonts/paratype
+ media-fonts/urw-fonts
+ )
+ )"
+
+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 \"ultimate\" presets using eselect infinality
+3. Select ultimate lcdfilter settings using eselect lcdfilter"
+
+src_prepare() {
+ # 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,custom}/*.conf
+
+ # Cut a list of default .conf files out of Makefile.am
+ local default_configs config
+ 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
+
+ cd fontconfig_patches/ms || die
+ for config in ${default_configs} *.conf; do
+ dosym ../../conf.src.ultimate/"${config}" \
+ /etc/fonts/infinality/styles.conf.avail/ultimate-ms/"${config}"
+ done
+ cd ../../fontconfig_patches/free || die
+ for config in ${default_configs} *.conf; do
+ dosym ../../conf.src.ultimate/"${config}" \
+ /etc/fonts/infinality/styles.conf.avail/ultimate-free/"${config}"
+ done
+ cd ../../fontconfig_patches/custom || die
+ for config in ${default_configs} *.conf; do
+ dosym ../../conf.src.ultimate/"${config}" \
+ /etc/fonts/infinality/styles.conf.avail/ultimate-custom/"${config}"
+ done
+ cd "${S}"
+
+ insinto /usr/share/eselect-lcdfilter/env.d
+ doins "${T}"/ultimate
+
+ dodoc doc/fontconfig-infinality-ultimate/README
+ dohtml doc/fontconfig-infinality-ultimate/README.html
+ readme.gentoo_create_doc
+}
diff --git a/media-libs/fontconfig-ultimate/fontconfig-ultimate-9999.ebuild b/media-libs/fontconfig-ultimate/fontconfig-ultimate-9999.ebuild
new file mode 100644
index 000000000..2f762b75f
--- /dev/null
+++ b/media-libs/fontconfig-ultimate/fontconfig-ultimate-9999.ebuild
@@ -0,0 +1,124 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+EGIT_REPO_URI="https://github.com/bohoomil/fontconfig-ultimate.git"
+
+inherit readme.gentoo git-2
+
+DESCRIPTION="A set of rendering and font replacement rules for fontconfig-infinality"
+HOMEPAGE="http://bohoomil.cu.cc/"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE="+fonts-ms +fonts-free fonts-extra"
+
+RDEPEND="app-admin/eselect-infinality
+ app-admin/eselect-lcdfilter
+ media-libs/fontconfig-infinality
+ media-libs/freetype:2[infinality]
+ fonts-ms? (
+ media-fonts/corefonts
+ media-fonts/dejavu
+ media-fonts/notofonts
+ fonts-extra? (
+ media-fonts/cantarell
+ media-fonts/croscorefonts
+ media-fonts/droid
+ media-fonts/font-bh-75dpi
+ media-fonts/paratype
+ )
+ )
+ fonts-free? (
+ media-fonts/dejavu
+ media-fonts/notofonts
+ media-fonts/liberation-fonts
+ media-fonts/heuristica
+ fonts-extra? (
+ media-fonts/cantarell
+ media-fonts/croscorefonts
+ media-fonts/droid
+ media-fonts/font-bh-ttf
+ media-fonts/libertine-ttf
+ media-fonts/paratype
+ media-fonts/urw-fonts
+ )
+ )"
+
+DISABLE_AUTOFORMATTING="1"
+DOC_CONTENTS="1. Disable all rules but 52-infinality.conf using eselect fontconfig
+2. Enable one of \"ultimate\" presets using eselect infinality
+3. Select ultimate lcdfilter settings using eselect lcdfilter"
+
+src_prepare() {
+ # 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,custom}/*.conf
+
+ # Cut a list of default .conf files out of Makefile.am
+ local default_configs config
+ 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
+
+ cd fontconfig_patches/ms || die
+ for config in ${default_configs} *.conf; do
+ dosym ../../conf.src.ultimate/"${config}" \
+ /etc/fonts/infinality/styles.conf.avail/ultimate-ms/"${config}"
+ done
+ cd ../../fontconfig_patches/free || die
+ for config in ${default_configs} *.conf; do
+ dosym ../../conf.src.ultimate/"${config}" \
+ /etc/fonts/infinality/styles.conf.avail/ultimate-free/"${config}"
+ done
+ cd ../../fontconfig_patches/custom || die
+ for config in ${default_configs} *.conf; do
+ dosym ../../conf.src.ultimate/"${config}" \
+ /etc/fonts/infinality/styles.conf.avail/ultimate-custom/"${config}"
+ done
+ cd "${S}"
+
+ insinto /usr/share/eselect-lcdfilter/env.d
+ doins "${T}"/ultimate
+
+ dodoc doc/fontconfig-infinality-ultimate/README
+ dohtml doc/fontconfig-infinality-ultimate/README.html
+ readme.gentoo_create_doc
+}
diff --git a/media-libs/fontconfig-ultimate/metadata.xml b/media-libs/fontconfig-ultimate/metadata.xml
new file mode 100644
index 000000000..e9e513608
--- /dev/null
+++ b/media-libs/fontconfig-ultimate/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>maintainer-wanted@gentoo.org</email>
+ </maintainer>
+ <longdescription>Fontconfig-ultimate is a collection of fontconfig
+ rendering and font substitution rules providing easy, "install and
+ forget" method of improving font rendering in Linux.</longdescription>
+ <use>
+ <flag name="fonts-ms">Pull in base fonts for ms profile</flag>
+ <flag name="fonts-free">Pull in base fonts for free profile</flag>
+ <flag name="fonts-extra">Pull in additional fonts for selected profiles</flag>
+ </use>
+</pkgmetadata>