diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/fontconfig-ultimate |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/fontconfig-ultimate')
4 files changed, 247 insertions, 0 deletions
diff --git a/media-libs/fontconfig-ultimate/Manifest b/media-libs/fontconfig-ultimate/Manifest new file mode 100644 index 000000000000..e96b7bc1e612 --- /dev/null +++ b/media-libs/fontconfig-ultimate/Manifest @@ -0,0 +1,7 @@ +DIST fontconfig-ultimate-2015.04.tar.gz 455899 SHA256 e3bc9dd9c145156bd7bfa8e70c2328f47be6873da31c319bc594a5819afb8732 SHA512 cdf11c298c9746c720dd6a4e1d361aa16244fdd46630fa00fea03d6d57956b6cee41b3ea439c84d81756a11d63768e4672851c9692a87944b6688a9763a06096 WHIRLPOOL 6847f41cb76d9da8b3b00143a7277b7be516390780ae92ef942aaa11d5ce785c555f8fe79d58200e684dbeb1b17735c215ba886db429c56750251c58abce294a +DIST fontconfig-ultimate-2015.08.01.tar.gz 1241997 SHA256 19b3eac37f589a651e90507680c80e19bcb2ed4e3e6c63da7ca3c6e22bb209e9 SHA512 2c1e8c522c94f6db45c63cde610bd2abf95ae913241ebda275d40cda0c0b62a489047749eaefa78fcf25d802ebad442f32f2bbf5629d4fa8ee0c6dbc9f105de9 WHIRLPOOL f26910fc2bebf15cb86376ee7b690a46c2d2f6f915f410307e9e9c20155a2bdbf5b8e2d63cafb371e44e63058f41ed93b5c8b09b36feb740970cb468644e18eb +EBUILD fontconfig-ultimate-2015.04.ebuild 3127 SHA256 200d9fe9a3b972dd6fda358169535988751c96c6728055a27c780114089ee88e SHA512 4675d001e27b22c6e47c78d7c5db867eccfa9790b2f4c46c4623b790ef2ff4f7d6e05e9e7fbe43e84c0ae85f37651a7a5b824795e60af04447885ad33cbf07a6 WHIRLPOOL d08bb398ed557840f1419c05ba765d58f45ffae8d209cc85e2e1426d17bae8d0511c438459c779268317b9fea770563dff2a6f15e329e08805ea70f0bc8a6fa2 +EBUILD fontconfig-ultimate-2015.08.01.ebuild 3127 SHA256 200d9fe9a3b972dd6fda358169535988751c96c6728055a27c780114089ee88e SHA512 4675d001e27b22c6e47c78d7c5db867eccfa9790b2f4c46c4623b790ef2ff4f7d6e05e9e7fbe43e84c0ae85f37651a7a5b824795e60af04447885ad33cbf07a6 WHIRLPOOL d08bb398ed557840f1419c05ba765d58f45ffae8d209cc85e2e1426d17bae8d0511c438459c779268317b9fea770563dff2a6f15e329e08805ea70f0bc8a6fa2 +MISC ChangeLog 3156 SHA256 4305857fa00ee3f3e515296ddd49c2d2ec817343c64ce6bfeab0653113327120 SHA512 cfe61e1cb042812f0adb70cac5565424d63df031b386225121ca7570fa3448d1f3a17645a43e5428ce1ce0e4fcea88ec25ac6e55a8ed892bc19abe79e165790a WHIRLPOOL ced4008b6e4f2f36d23a2ca4ec9211261a35d4b23459bc8fae33f5d66659da221774944bb26b241981be8cc91f8e7add868046341a049a1169ce536824e76094 +MISC ChangeLog-2015 641 SHA256 4836c5ffe23f1cf78c6ce47cc5af3f58fd2d1171cff83682e7c741108bbb222c SHA512 52254990b3a565aac01352fdae71b29549619dbedc9d088523f40e54d3908b541975530c6a047a99d1e8298298e150036d9a49d6f6bcbf4c31ef2e891564863f WHIRLPOOL 558d4b0ae9e2911f296fd02c12c7d57a2d5a7860706d45f2d05c1c417a24b53a991fce2b298c33515b41a08c500eedef73fb484cdd41ceef0c25fe3500c8800e +MISC metadata.xml 648 SHA256 8b3177d0a464209508c01e8ae0163f2adbdeb47a04ab728ec637d3b31a349156 SHA512 87af2bc6684a792381a77eb575e90281f4ee3f6d688cb1c40b312f27bd9c7db106921aad9aed0b9204d1d5c8ca77fb0323fecad618f0b24e46ed424bfb9ad490 WHIRLPOOL b00746012e4a80e35e01a000b140bc2020f4193b8ba37cb15f0105c9fbfcf8aa1162b0d8178d1487ce173d98e0e492032d7d8c7fe33801c7d5248a005e665442 diff --git a/media-libs/fontconfig-ultimate/fontconfig-ultimate-2015.04.ebuild b/media-libs/fontconfig-ultimate/fontconfig-ultimate-2015.04.ebuild new file mode 100644 index 000000000000..1ae068284626 --- /dev/null +++ b/media-libs/fontconfig-ultimate/fontconfig-ultimate-2015.04.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2015 Gentoo Foundation +# 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="http://bohoomil.com/" +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/fontconfig-ultimate-2015.08.01.ebuild b/media-libs/fontconfig-ultimate/fontconfig-ultimate-2015.08.01.ebuild new file mode 100644 index 000000000000..1ae068284626 --- /dev/null +++ b/media-libs/fontconfig-ultimate/fontconfig-ultimate-2015.08.01.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2015 Gentoo Foundation +# 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="http://bohoomil.com/" +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 new file mode 100644 index 000000000000..cfbeebe1dd77 --- /dev/null +++ b/media-libs/fontconfig-ultimate/metadata.xml @@ -0,0 +1,20 @@ +<?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> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <maintainer type="person"> + <email>witold.pilat@gmail.com</email> + <name>Witold Piłat</name> + <description>Proxied/co-maintainer. CC on bugs.</description> + </maintainer> + <upstream> + <remote-id type="github">bohoomil/fontconfig-ultimate</remote-id> + </upstream> +</pkgmetadata> |