From f3adc2eca31ed552a6fc7de66bd1063e3c8c6356 Mon Sep 17 00:00:00 2001 From: Vadim Misbakh-Soloviov Date: Tue, 25 Jun 2024 14:07:45 +0700 Subject: [PATCH] media-fonts/noto-emoji*: rename (see message inside) Signed-off-by: Vadim Misbakh-Soloviov --- .../noto-emoji-apple-9999.ebuild | 25 ------------- .../metadata.xml | 0 media-fonts/noto-emoji/noto-emoji-9999.ebuild | 37 +++++++++++++++++++ profiles/updates/2Q-2024 | 1 + virtual/noto-emoji-apple/metadata.xml | 9 +++++ .../noto-emoji-apple-0.ebuild | 11 ++++++ 6 files changed, 58 insertions(+), 25 deletions(-) delete mode 100644 media-fonts/noto-emoji-apple/noto-emoji-apple-9999.ebuild rename media-fonts/{noto-emoji-apple => noto-emoji}/metadata.xml (100%) create mode 100644 media-fonts/noto-emoji/noto-emoji-9999.ebuild create mode 100644 profiles/updates/2Q-2024 create mode 100644 virtual/noto-emoji-apple/metadata.xml create mode 100644 virtual/noto-emoji-apple/noto-emoji-apple-0.ebuild diff --git a/media-fonts/noto-emoji-apple/noto-emoji-apple-9999.ebuild b/media-fonts/noto-emoji-apple/noto-emoji-apple-9999.ebuild deleted file mode 100644 index 76493d0fc..000000000 --- a/media-fonts/noto-emoji-apple/noto-emoji-apple-9999.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# 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/noto-fonts-emoji-apple.git" - -LICENSE="Apache-2.0 OFL-1.1" -SLOT="0" - -RESTRICT="binchecks strip" - -# Although there's no file conflict, it will be "conflict" in runtime -# because of ttf font naming. -RDEPEND="!!media-fonts/noto-emoji" - -# FONT_S="${S}" -FONT_SUFFIX="ttf" -DOCS=( README.md ) diff --git a/media-fonts/noto-emoji-apple/metadata.xml b/media-fonts/noto-emoji/metadata.xml similarity index 100% rename from media-fonts/noto-emoji-apple/metadata.xml rename to media-fonts/noto-emoji/metadata.xml diff --git a/media-fonts/noto-emoji/noto-emoji-9999.ebuild b/media-fonts/noto-emoji/noto-emoji-9999.ebuild new file mode 100644 index 000000000..21c9086db --- /dev/null +++ b/media-fonts/noto-emoji/noto-emoji-9999.ebuild @@ -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 +} diff --git a/profiles/updates/2Q-2024 b/profiles/updates/2Q-2024 new file mode 100644 index 000000000..0cdbd377d --- /dev/null +++ b/profiles/updates/2Q-2024 @@ -0,0 +1 @@ +move media-fonts/noto-emoji-apple virtual/noto-emoji-apple diff --git a/virtual/noto-emoji-apple/metadata.xml b/virtual/noto-emoji-apple/metadata.xml new file mode 100644 index 000000000..bc0dd624f --- /dev/null +++ b/virtual/noto-emoji-apple/metadata.xml @@ -0,0 +1,9 @@ + + + + + mva@gentoo.org + Also, you can find me on IRC (Libera.Chat) as mva, or in Telegram as @mva_name + Vadim A. Misbakh-Soloviov + + diff --git a/virtual/noto-emoji-apple/noto-emoji-apple-0.ebuild b/virtual/noto-emoji-apple/noto-emoji-apple-0.ebuild new file mode 100644 index 000000000..8d4fc85a1 --- /dev/null +++ b/virtual/noto-emoji-apple/noto-emoji-apple-0.ebuild @@ -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]"