You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.5 KiB
58 lines
1.5 KiB
# Copyright 1999-2015 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Id$
|
|
|
|
EAPI=5
|
|
inherit readme.gentoo
|
|
|
|
DESCRIPTION="Configuration to be used in conjunction with the freetype-infinality subpixel hinting"
|
|
HOMEPAGE="http://www.infinality.net/blog/infinality-freetype-patches/"
|
|
SRC_URI="https://dev.gentoo.org/~yngwin/distfiles/${P}.tar.xz
|
|
nyx? ( https://dev.gentoo.org/~yngwin/distfiles/fontconfig-nyx-2.tar.xz )"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 x86"
|
|
IUSE="+nyx"
|
|
|
|
DEPEND=""
|
|
RDEPEND="app-eselect/eselect-fontconfig
|
|
app-eselect/eselect-infinality
|
|
app-eselect/eselect-lcdfilter"
|
|
PDEPEND="media-libs/freetype:2[infinality]
|
|
>=x11-libs/libXft-2.3.0
|
|
nyx? ( media-fonts/croscorefonts )"
|
|
|
|
src_configure() {
|
|
:
|
|
}
|
|
|
|
src_compile() {
|
|
:
|
|
}
|
|
|
|
src_install() {
|
|
DOC_CONTENTS="Use eselect fontconfig enable 52-infinality.conf to enable the
|
|
configuration. Then use eselect infinality to set your fontconfig style and
|
|
eselect lcdfilter to set freetype variables. If you run into trouble with
|
|
applications not being able to find Type-1 fonts, then comment out the
|
|
relevant lines in ${EPREFIX}/etc/fonts/infinality/infinality.conf"
|
|
|
|
dodoc infinality/{CHANGELOG,CHANGELOG.pre_git,README}
|
|
readme.gentoo_create_doc
|
|
|
|
insinto /etc/fonts/conf.avail
|
|
doins conf.avail/52-infinality.conf
|
|
|
|
insinto /etc/fonts/infinality
|
|
doins -r infinality/{conf.src,styles.conf.avail,infinality.conf}
|
|
|
|
insinto /etc/X11/
|
|
doins "${FILESDIR}"/Xresources
|
|
|
|
if use nyx ; then
|
|
insinto /etc/fonts/infinality/styles.conf.avail
|
|
doins -r "${WORKDIR}"/nyx
|
|
fi
|
|
}
|