Resolves #1162341: Packaged Noto Color Emoji
This commit is contained in:
parent
3763861fb1
commit
c831cd7f36
17
66-google-noto-color-emoji.conf
Normal file
17
66-google-noto-color-emoji.conf
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<alias>
|
||||||
|
<family>fantasy</family>
|
||||||
|
<prefer>
|
||||||
|
<family>Noto Color Emoji</family>
|
||||||
|
</prefer>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>Noto Color Emoji</family>
|
||||||
|
<default>
|
||||||
|
<family>fantasy</family>
|
||||||
|
</default>
|
||||||
|
</alias>
|
||||||
|
</fontconfig>
|
||||||
|
|
@ -10,7 +10,7 @@ in Unicode.\
|
|||||||
|
|
||||||
Name: %{fontname}-fonts
|
Name: %{fontname}-fonts
|
||||||
Version: 20141117
|
Version: 20141117
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: Hinted and Non Hinted OpenType fonts for Unicode scripts
|
Summary: Hinted and Non Hinted OpenType fonts for Unicode scripts
|
||||||
Group: User Interface/X
|
Group: User Interface/X
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
@ -131,6 +131,7 @@ Source151: %{fontconf}-sans-traditional-chinese.conf
|
|||||||
Source152: %{fontconf}-sans-japanese.conf
|
Source152: %{fontconf}-sans-japanese.conf
|
||||||
Source153: %{fontconf}-sans-korean.conf
|
Source153: %{fontconf}-sans-korean.conf
|
||||||
Source154: %{fontconf}-sans-cjk.conf
|
Source154: %{fontconf}-sans-cjk.conf
|
||||||
|
Source155: %{fontconf}-color-emoji.conf
|
||||||
|
|
||||||
# Add appstream metadata files
|
# Add appstream metadata files
|
||||||
Source200: %{fontname}.metainfo.xml
|
Source200: %{fontname}.metainfo.xml
|
||||||
@ -138,6 +139,9 @@ Source200: %{fontname}.metainfo.xml
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: fontforge >= 20080429
|
BuildRequires: fontforge >= 20080429
|
||||||
BuildRequires: fontpackages-devel
|
BuildRequires: fontpackages-devel
|
||||||
|
BuildRequires: fonttools >= 2.5
|
||||||
|
BuildRequires: optipng
|
||||||
|
BuildRequires: cairo-devel
|
||||||
Requires: fontpackages-filesystem
|
Requires: fontpackages-filesystem
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -183,7 +187,7 @@ fi\
|
|||||||
%{_fontdir}/Noto%{-a*}%{!-a:%{fname}}-*.*t%{-c:c}%{!-c:f}\
|
%{_fontdir}/Noto%{-a*}%{!-a:%{fname}}-*.*t%{-c:c}%{!-c:f}\
|
||||||
%{_fontconfig_templatedir}/%{fontconf}-%{pname}.conf\
|
%{_fontconfig_templatedir}/%{fontconf}-%{pname}.conf\
|
||||||
%config(noreplace) %{_fontconfig_confdir}/%{fontconf}-%{pname}.conf\
|
%config(noreplace) %{_fontconfig_confdir}/%{fontconf}-%{pname}.conf\
|
||||||
#%%_font_pkg -n %{pname} -f %{fontconf}-%{pname}.conf Noto%{-a*}%{!-a:%{fname}}*.*t%{-c:c}%{!-c:f}\
|
#%%_font_pkg -n %%{pname} -f %%{fontconf}-%%{pname}.conf Noto%{-a*}%{!-a:%%{fname}}*.*t%{-c:c}%{!-c:f}\
|
||||||
%{_datadir}/appdata/%{subpkg}.metainfo.xml
|
%{_datadir}/appdata/%{subpkg}.metainfo.xml
|
||||||
|
|
||||||
|
|
||||||
@ -299,6 +303,7 @@ fi\
|
|||||||
%notopkg Serif Khmer
|
%notopkg Serif Khmer
|
||||||
%notopkg Serif Lao
|
%notopkg Serif Lao
|
||||||
%notopkg Serif Thai
|
%notopkg Serif Thai
|
||||||
|
%notopkg Color Emoji
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -306,13 +311,15 @@ fi\
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{nil}
|
cd color_emoji
|
||||||
|
env PYTHONPATH=.. make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -m 0755 -d %{buildroot}%{_fontdir}
|
install -m 0755 -d %{buildroot}%{_fontdir}
|
||||||
install -m 0644 -p fonts/individual/unhinted/Noto*.ttf %{buildroot}%{_fontdir}
|
install -m 0644 -p fonts/individual/unhinted/Noto*.ttf %{buildroot}%{_fontdir}
|
||||||
install -m 0644 -p fonts/individual/hinted/Noto*.ttf %{buildroot}%{_fontdir}
|
install -m 0644 -p fonts/individual/hinted/Noto*.ttf %{buildroot}%{_fontdir}
|
||||||
|
install -m 0644 -p color_emoji/NotoColorEmoji.ttf %{buildroot}%{_fontdir}/NotoColorEmoji-Regular.ttf
|
||||||
|
|
||||||
|
|
||||||
# for cjk fonts
|
# for cjk fonts
|
||||||
install -m 0644 -p third_party/noto_cjk/NotoSans{JP,KR,SC,TC}*.otf %{buildroot}%{_fontdir}
|
install -m 0644 -p third_party/noto_cjk/NotoSans{JP,KR,SC,TC}*.otf %{buildroot}%{_fontdir}
|
||||||
@ -353,7 +360,7 @@ for f in \
|
|||||||
sans-tamil sans-tamil-ui sans-telugu sans-telugu-ui \
|
sans-tamil sans-tamil-ui sans-telugu sans-telugu-ui \
|
||||||
sans-thaana sans-thai sans-thai-ui sans-tifinagh \
|
sans-thaana sans-thai sans-thai-ui sans-tifinagh \
|
||||||
sans-traditional-chinese sans-ugaritic sans-ui sans-vai sans-yi \
|
sans-traditional-chinese sans-ugaritic sans-ui sans-vai sans-yi \
|
||||||
serif serif-armenian serif-georgian serif-khmer serif-lao serif-thai \
|
serif serif-armenian serif-georgian serif-khmer serif-lao serif-thai color-emoji \
|
||||||
; do
|
; do
|
||||||
install -m 0644 -p %{_sourcedir}/%{fontconf}-$f.conf \
|
install -m 0644 -p %{_sourcedir}/%{fontconf}-$f.conf \
|
||||||
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-$f.conf
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}-$f.conf
|
||||||
@ -381,6 +388,9 @@ done
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 13 2015 Pravin Satpute <psatpute@redhat.com> - 20141117-6
|
||||||
|
- Resolves #1162341: Packaged Noto Color Emoji
|
||||||
|
|
||||||
* Mon Dec 15 2014 Jens Petersen <petersen@redhat.com> - 20141117-5
|
* Mon Dec 15 2014 Jens Petersen <petersen@redhat.com> - 20141117-5
|
||||||
- improve generated font subpackage descriptions
|
- improve generated font subpackage descriptions
|
||||||
- it is Hanunoo not Hanuno!
|
- it is Hanunoo not Hanuno!
|
||||||
|
@ -16,4 +16,3 @@
|
|||||||
<updatecontact>pnemade_at_redhat_dot_com</updatecontact>
|
<updatecontact>pnemade_at_redhat_dot_com</updatecontact>
|
||||||
<url type="homepage">https://code.google.com/p/noto</url>
|
<url type="homepage">https://code.google.com/p/noto</url>
|
||||||
</component>
|
</component>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user