Skip to content

Commit

Permalink
media-fonts/noto-emoji*: rename (see message inside)
Browse files Browse the repository at this point in the history
Signed-off-by: Vadim Misbakh-Soloviov <[email protected]>
  • Loading branch information
msva committed Jun 25, 2024
1 parent f7b4ce9 commit f3adc2e
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 25 deletions.
25 changes: 0 additions & 25 deletions media-fonts/noto-emoji-apple/noto-emoji-apple-9999.ebuild

This file was deleted.

File renamed without changes.
37 changes: 37 additions & 0 deletions media-fonts/noto-emoji/noto-emoji-9999.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit font git-r3

MY_PN="noto-fonts-emoji-apple"

DESCRIPTION="Google Noto Emoji Fonts replaced with Apple branded emoji"
HOMEPAGE="https://gitlab.com/timescam/noto-fonts-emoji-apple https://xdaforums.com/t/magisk-module-ios-13-2-emoji.3993487/"
EGIT_REPO_URI="https://gitlab.com/timescam/${MY_PN}"

LICENSE="Apache-2.0 OFL-1.1"
SLOT="0"

IUSE="apple-icons"

RESTRICT="binchecks strip"

FONT_SUFFIX="ttf"
DOCS=( README.md )

pkg_pretend() {
if ! use apple-icons; then
die "\tThis ebuild currently only supports installing noto-emoji-apple." \
"\n\tThe package name was hijacked from google's noto package because it appeared as mandatory dependency for plasma" \
"\n\t(so it became a blocker for this font, but many users would consider apple's emojis beautifier)" \
"\n\t(but it is probably no way for apple-patched font to be packaged 'officialy'" \
"\n\t(as well as come to plasma) because of potential licensing issues)" \
"\n" \
"\n\tYou are seeing this message because you should make conscious decision" \
"\n\twhether you want to get hijacked font with apple emojis, or original google ones" \
"\n" \
"\n\tTL;DR: Please, just enable 'apple' USE-flag on ${CATEGORY}/${P}::${PORTAGE_REPO_NAME}"
fi
}
1 change: 1 addition & 0 deletions profiles/updates/2Q-2024
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
move media-fonts/noto-emoji-apple virtual/noto-emoji-apple
9 changes: 9 additions & 0 deletions virtual/noto-emoji-apple/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>[email protected]</email>
<description>Also, you can find me on IRC (Libera.Chat) as mva, or in Telegram as @mva_name</description>
<name>Vadim A. Misbakh-Soloviov</name>
</maintainer>
</pkgmetadata>
11 changes: 11 additions & 0 deletions virtual/noto-emoji-apple/noto-emoji-apple-0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Noto Emoji (patched for Apple emojis) virtual package"

SLOT="0"
KEYWORDS="amd64 x86"

RDEPEND="media-fonts/noto-emoji[apple-icons]"

0 comments on commit f3adc2e

Please sign in to comment.