Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 565978 Details for
Bug 678432
media-fonts/noto should add USE flags to limit size of installed contents
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ebuild with additional USE flags (proof of concept)
noto-20181024-r1.ebuild (text/plain), 3.58 KB, created by
Michael Hofmann
on 2019-02-21 01:34:55 UTC
(
hide
)
Description:
ebuild with additional USE flags (proof of concept)
Filename:
MIME Type:
Creator:
Michael Hofmann
Created:
2019-02-21 01:34:55 UTC
Size:
3.58 KB
patch
obsolete
># Copyright 1999-2019 Gentoo Authors ># Distributed under the terms of the GNU General Public License v2 > >EAPI=6 >inherit font > >DESCRIPTION="Google's font family that aims to support all the world's languages" >HOMEPAGE="https://www.google.com/get/noto/ https://github.com/googlei18n/noto-fonts" > >COMMIT="d7af81e614086435102cca95961b141b3530a027" >SRC_URI="https://github.com/googlei18n/noto-fonts/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" > >LICENSE="OFL-1.1" >SLOT="0" >KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86" >IUSE="+lgc lgc-ext croscore cjk" > >SCRIPTS=" > Adlam Ahom AnatolianHieroglyphs Arabic Armenian Avestan Balinese Bamum > BassaVah Batak Bengali Bhaiksuki Brahmi Buginese Buhid CanadianAboriginal > Carian CaucasianAlbanian Chakma Cham Cherokee Coptic Cuneiform Cypriot > Deseret Devanagari Duployan EgyptianHieroglyphs Elbasan Ethiopic Georgian > Glagolitic Gothic Grantha Gujarati Gurmukhi Hanunoo Hatran Hebrew > ImperialAramaic InscriptionalPahlavi InscriptionalParthian Javanese > Kaithi Kannada KayahLi Kharoshthi Khmer Khudawadi Lao Lepcha Limbu > LinearA LinearB Lisu Lycian Lydian Mahajani Malayalam Mandaic Manichaean > Marchen MeeteiMayek MendeKikakui Meroitic Miao Modi Mongolian Mro Multani > Myanmar NKo Nabataean NewTaiLue Newa Ogham OlChiki OldHungarian OldItalic > OldNorthArabian OldPermic OldPersian OldSouthArabian OldTurkic Oriya Osage > Osmanya PahawhHmong Palmyrene PauCinHau PhagsPa Phoenician PsalterPahlavi > Rejang Runic Samaritan Saurashtra Sharada Shavian Sinhala SoraSompeng > Sundanese SylotiNagri Syriac SyriacEastern SyriacEstrangela SyriacWestern > Tagalog Tagbanwa TaiLe TaiTham TaiViet Takri Tamil Telugu Thaana Thai > Tibetan Tifinagh Tirhuta Ugaritic Vai WarangCiti Yi >" > >IUSE+="${SCRIPTS}" > >RDEPEND="cjk? ( media-fonts/noto-cjk )" >RESTRICT="binchecks strip" > >S="${WORKDIR}/${PN}-fonts-${COMMIT}" > >FONT_SUFFIX="ttf" >FONT_CONF=( > # From ArchLinux > "${FILESDIR}/66-noto-serif.conf" > "${FILESDIR}/66-noto-mono.conf" > "${FILESDIR}/66-noto-sans.conf" >) > >src_install() { > # Don't install in separate subdirs > FONT_S="${S}/unhinted/" font_src_install > FONT_S="${S}/hinted/" font_src_install > > FONT_DIR="${D}/usr/share/fonts/noto" > > if ! use croscore; then > rm "${FONT_DIR}"/{Arimo,Cousine,Tinos}-*.ttf > fi > > if ! use lgc; then > rm -f "${FONT_DIR}"/NotoSans-{Regular,Italic,Bold,BoldItalic}.ttf > rm -f "${FONT_DIR}"/NotoSansMono-{Regular,Bold}.ttf > rm -f "${FONT_DIR}"/NotoSansSymbols-{Regular,Bold}.ttf > rm -f "${FONT_DIR}"/NotoSansSymbols2-Regular.ttf > rm -f "${FONT_DIR}"/NotoSerif-{Regular,Italic,Bold,BoldItalic}.ttf > fi > > if ! use lgc-ext; then > rm -f "${FONT_DIR}"/NotoSans-{Thin,Light,Medium,Semi,Extra,Black,Condensed}*.ttf > rm -f "${FONT_DIR}"/NotoSansDisplay-{Regular,Italic,Bold,BoldItalic,Thin,Light,Medium,Semi,Extra,Black,Condensed}*.ttf > rm -f "${FONT_DIR}"/NotoSansMono-{Thin,Light,Medium,Semi,Extra,Black,Condensed}*.ttf > rm -f "${FONT_DIR}"/NotoSansSymbols-{Thin,Light,Medium,Semi,Extra,Black,Condensed}*.ttf > rm -f "${FONT_DIR}"/NotoSerif-{Thin,Light,Medium,Semi,Extra,Black,Condensed}*.ttf > rm -f "${FONT_DIR}"/NotoSerifDisplay-{Regular,Italic,Bold,BoldItalic,Thin,Light,Medium,Semi,Extra,Black,Condensed}*.ttf > rm -f "${FONT_DIR}"/NotoMusic-*.ttf > fi > > for script in ${SCRIPTS}; do > if ! use "${script}"; then > rm -f "${FONT_DIR}"/NotoSans${script}{,UI,Slanted,Unjoined}-*.ttf > rm -f "${FONT_DIR}"/NotoSerif${script}{,UI,Slanted,Unjoined}-*.ttf > if test "${script}" = "Arabic"; then > rm -f "${FONT_DIR}"/NotoKufi*.ttf > rm -f "${FONT_DIR}"/NotoNaskh*.ttf > rm -f "${FONT_DIR}"/NotoNastaliqUrdu*.ttf > fi > fi > done > > font_xfont_config >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 678432
: 565978 |
565980