public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: media-fonts/twemoji/
@ 2023-03-13  8:29 Viorel Munteanu
  0 siblings, 0 replies; 3+ messages in thread
From: Viorel Munteanu @ 2023-03-13  8:29 UTC (permalink / raw
  To: gentoo-commits

commit:     3d5c97bd0a06c624afc8a8aac9618ba5b9105129
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sun Mar 12 11:13:16 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sun Mar 12 11:13:16 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3d5c97bd

media-fonts/twemoji: add 14.0.2

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 media-fonts/twemoji/Manifest              |   2 +
 media-fonts/twemoji/twemoji-14.0.2.ebuild | 127 ++++++++++++++++++++++++++++++
 2 files changed, 129 insertions(+)

diff --git a/media-fonts/twemoji/Manifest b/media-fonts/twemoji/Manifest
index c46d4e0c7..a68b67968 100644
--- a/media-fonts/twemoji/Manifest
+++ b/media-fonts/twemoji/Manifest
@@ -1,2 +1,4 @@
 DIST twemoji-13.1.0-noto.tar.gz 170352518 BLAKE2B 545e58d47b247998c0f376bbc9ec43fcb2ac4c1d24465420ae43a168987dcb7c4eba873b9cc64cfc6ffce3290551242d7e44ed69606f9c3d8a59dbeeddc3cdb2 SHA512 a7ea0c33f4703749d8a30f4be2fac5971429dcec7b6feed2645854d9ae1eebb428597a56ad148c3732e320a65d4133da30c0003ed39f07c5270462e31fdf3d0b
 DIST twemoji-13.1.0.tar.gz 4646713 BLAKE2B b144e76f2428d1fc523742a9501ac7c73af04e9d0ce4c1b5c5131da21d2a69416a8f3512dd0ffd01dd44e7b7620311abb8ced5c45f10c70ca9ec20406583820c SHA512 a1463c76a2bbcece8871cb868967c0bff74a495bf88d28e41c8962ed12ffba1966ee622f72f6da2222a06db8debb62ae89fe1fffcd9272e8aa3fcc029713115b
+DIST twemoji-14.0.2-noto.tar.gz 170352518 BLAKE2B 545e58d47b247998c0f376bbc9ec43fcb2ac4c1d24465420ae43a168987dcb7c4eba873b9cc64cfc6ffce3290551242d7e44ed69606f9c3d8a59dbeeddc3cdb2 SHA512 a7ea0c33f4703749d8a30f4be2fac5971429dcec7b6feed2645854d9ae1eebb428597a56ad148c3732e320a65d4133da30c0003ed39f07c5270462e31fdf3d0b
+DIST twemoji-14.0.2.tar.gz 4758975 BLAKE2B d339dd65d176888391195393137d295ffd5d5b9f98fed77268935f07445a2f505838fa74ae724f4a10f1dc9cffa7ef1f85b2652a50182713a4af500e90979cf8 SHA512 2256c473888817b4802f4b26069f4d04eccff1621ec9595bb0696f1be54664add8c2d56f87cee06451eb2cbb8969d29cccdd56d10d5f11bcff08881c96d4ead2

diff --git a/media-fonts/twemoji/twemoji-14.0.2.ebuild b/media-fonts/twemoji/twemoji-14.0.2.ebuild
new file mode 100644
index 000000000..3018bc88d
--- /dev/null
+++ b/media-fonts/twemoji/twemoji-14.0.2.ebuild
@@ -0,0 +1,127 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{9..10} )
+
+inherit font python-any-r1
+
+NOTO_PV="2.034"
+DESCRIPTION="A color emoji font with a flat visual style, designed and used by Twitter"
+HOMEPAGE="
+	https://twemoji.twitter.com
+	https://github.com/twitter/twemoji
+"
+SRC_URI="
+	https://github.com/googlefonts/noto-emoji/archive/refs/tags/v${NOTO_PV}.tar.gz -> ${P}-noto.tar.gz
+	https://github.com/twitter/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+"
+S="${WORKDIR}/noto-emoji-${NOTO_PV}"
+
+LICENSE="Apache-2.0 CC-BY-4.0 MIT OFL-1.1"
+SLOT="0"
+KEYWORDS="~amd64"
+
+BDEPEND="
+	${PYTHON_DEPS}
+	app-arch/zopfli
+	media-gfx/pngquant
+	x11-libs/cairo
+	|| (
+		media-gfx/imagemagick[png]
+		media-gfx/graphicsmagick[png]
+	)
+	$(python_gen_any_dep '
+		>=dev-python/fonttools-4.7.0[${PYTHON_USEDEP}]
+		>=dev-python/nototools-0.2.13[${PYTHON_USEDEP}]
+	')
+"
+
+RESTRICT="binchecks strip"
+
+DOCS=( CONTRIBUTING.md FOLDERS.md LEGACY.md README.md )
+
+PATCHES=(
+	# https://github.com/googlei18n/noto-emoji/issues/240
+	"${FILESDIR}"/noto-build-path.patch
+	# Be more verbose
+	"${FILESDIR}"/noto-pngquant-verbose.patch
+
+)
+
+FONT_S="${S}"
+FONT_SUFFIX="ttf"
+FONT_CONF=( "${FILESDIR}"/75-${PN}.conf )
+
+python_check_deps() {
+	python_has_version "dev-python/fonttools[${PYTHON_USEDEP}]" &&
+	python_has_version "dev-python/nototools[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+	python-any-r1_pkg_setup
+	font_pkg_setup
+}
+
+src_unpack() {
+	default
+
+	mv "${WORKDIR}"/${P}/assets "${S}" || die
+	mv "${WORKDIR}"/${P}/*.md "${S}" || die
+}
+
+src_prepare() {
+	default
+
+	# Be more verbose
+	sed -i -e 's:\(@$(ZOPFLIPNG) -y "$<" "$@"\) 1> /dev/null 2>&1:\1:g' Makefile || die
+
+	# Based on Fedora patch to allow graphicsmagick usage
+	if has_version -b media-gfx/graphicsmagick; then
+		eapply "${FILESDIR}/noto-use-gm.patch"
+	fi
+
+	sed NotoColorEmoji.tmpl.ttx.tmpl \
+		-e "s/Noto Color Emoji/${PN^}/" \
+		-e "s/NotoColorEmoji/${PN^}/" \
+		-e "s/Copyright .* Google Inc\./Twitter, Inc and other contributors./" \
+		-e "s/ Version .*/ ${PV}/" \
+		-e "s/.*is a trademark.*//" \
+		-e "s/Google, Inc\./Twitter, Inc and other contributors/" \
+		-e "s,http://www.google.com/get/noto/,https://twemoji.twitter.com," \
+		-e "s/.*is licensed under.*/      Creative Commons Attribution 4.0 International/" \
+		-e "s,http://scripts.sil.org/OFL,http://creativecommons.org/licenses/by/4.0/," \
+		> ${PN^}.tmpl.ttx.tmpl || die
+
+	pushd assets/72x72 || die
+	for png in *.png; do
+		mv ${png} emoji_u${png//-/_} || die
+	done
+}
+
+src_compile() {
+	local mymakeflags=(
+		EMOJI="${PN^}"
+		EMOJI_SRC_DIR="assets/72x72"
+		FLAGS=""
+		BODY_DIMENSIONS="76x72"
+		BYPASS_SEQUENCE_CHECK="true"
+		VIRTUAL_ENV="true"
+	)
+
+	emake "${mymakeflags[@]}"
+}
+
+src_install() {
+	rm NotoColorEmoji_WindowsCompatible.ttf *.tmpl.ttf || die
+
+	# Don't lose fancy emoji icons
+	insinto /usr/share/icons/${PN}/72/emotes/
+	doins assets/72x72/*.png
+
+	insinto /usr/share/icons/${PN}/scalable/emotes/
+	doins assets/svg/*.svg
+
+	font_src_install
+	einstalldocs
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: media-fonts/twemoji/
@ 2023-05-01  9:20 Viorel Munteanu
  0 siblings, 0 replies; 3+ messages in thread
From: Viorel Munteanu @ 2023-05-01  9:20 UTC (permalink / raw
  To: gentoo-commits

commit:     12f3590efef9b344c9c781b87f1baf802e020a0d
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sun Apr 30 15:04:35 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sun Apr 30 15:23:52 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=12f3590e

media-fonts/twemoji: rename dep, drop old

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 media-fonts/twemoji/Manifest              |   2 -
 media-fonts/twemoji/twemoji-13.1.0.ebuild | 116 ------------------------------
 media-fonts/twemoji/twemoji-14.0.2.ebuild |   2 +-
 3 files changed, 1 insertion(+), 119 deletions(-)

diff --git a/media-fonts/twemoji/Manifest b/media-fonts/twemoji/Manifest
index a68b67968..4694af0ac 100644
--- a/media-fonts/twemoji/Manifest
+++ b/media-fonts/twemoji/Manifest
@@ -1,4 +1,2 @@
-DIST twemoji-13.1.0-noto.tar.gz 170352518 BLAKE2B 545e58d47b247998c0f376bbc9ec43fcb2ac4c1d24465420ae43a168987dcb7c4eba873b9cc64cfc6ffce3290551242d7e44ed69606f9c3d8a59dbeeddc3cdb2 SHA512 a7ea0c33f4703749d8a30f4be2fac5971429dcec7b6feed2645854d9ae1eebb428597a56ad148c3732e320a65d4133da30c0003ed39f07c5270462e31fdf3d0b
-DIST twemoji-13.1.0.tar.gz 4646713 BLAKE2B b144e76f2428d1fc523742a9501ac7c73af04e9d0ce4c1b5c5131da21d2a69416a8f3512dd0ffd01dd44e7b7620311abb8ced5c45f10c70ca9ec20406583820c SHA512 a1463c76a2bbcece8871cb868967c0bff74a495bf88d28e41c8962ed12ffba1966ee622f72f6da2222a06db8debb62ae89fe1fffcd9272e8aa3fcc029713115b
 DIST twemoji-14.0.2-noto.tar.gz 170352518 BLAKE2B 545e58d47b247998c0f376bbc9ec43fcb2ac4c1d24465420ae43a168987dcb7c4eba873b9cc64cfc6ffce3290551242d7e44ed69606f9c3d8a59dbeeddc3cdb2 SHA512 a7ea0c33f4703749d8a30f4be2fac5971429dcec7b6feed2645854d9ae1eebb428597a56ad148c3732e320a65d4133da30c0003ed39f07c5270462e31fdf3d0b
 DIST twemoji-14.0.2.tar.gz 4758975 BLAKE2B d339dd65d176888391195393137d295ffd5d5b9f98fed77268935f07445a2f505838fa74ae724f4a10f1dc9cffa7ef1f85b2652a50182713a4af500e90979cf8 SHA512 2256c473888817b4802f4b26069f4d04eccff1621ec9595bb0696f1be54664add8c2d56f87cee06451eb2cbb8969d29cccdd56d10d5f11bcff08881c96d4ead2

diff --git a/media-fonts/twemoji/twemoji-13.1.0.ebuild b/media-fonts/twemoji/twemoji-13.1.0.ebuild
deleted file mode 100644
index d0ca0cfd2..000000000
--- a/media-fonts/twemoji/twemoji-13.1.0.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{9..10} )
-
-inherit font python-any-r1
-
-NOTO_PV="2.034"
-DESCRIPTION="A color emoji font with a flat visual style, designed and used by Twitter"
-HOMEPAGE="https://twemoji.twitter.com"
-SRC_URI="https://github.com/googlefonts/noto-emoji/archive/refs/tags/v${NOTO_PV}.tar.gz -> ${P}-noto.tar.gz
-	https://github.com/twitter/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/noto-emoji-${NOTO_PV}"
-
-LICENSE="Apache-2.0 CC-BY-4.0 MIT OFL-1.1"
-SLOT="0"
-KEYWORDS="~amd64"
-
-BDEPEND="
-	${PYTHON_DEPS}
-	app-arch/zopfli
-	$(python_gen_any_dep '
-		>=dev-python/fonttools-4.7.0[${PYTHON_USEDEP}]
-		>=dev-python/nototools-0.2.13[${PYTHON_USEDEP}]
-	')
-	media-gfx/pngquant
-	x11-libs/cairo
-	|| ( media-gfx/imagemagick[png] media-gfx/graphicsmagick[png] )
-"
-
-RESTRICT="binchecks strip"
-
-DOCS=( CONTRIBUTING.md FOLDERS.md LEGACY.md README.md )
-
-PATCHES=(
-	# https://github.com/googlei18n/noto-emoji/issues/240
-	"${FILESDIR}"/noto-build-path.patch
-	# Be more verbose
-	"${FILESDIR}"/noto-pngquant-verbose.patch
-
-)
-
-FONT_S="${S}"
-FONT_SUFFIX="ttf"
-FONT_CONF=( "${FILESDIR}"/75-${PN}.conf )
-
-python_check_deps() {
-	has_version -b "dev-python/fonttools[${PYTHON_USEDEP}]" &&
-	has_version -b "dev-python/nototools[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
-	font_pkg_setup
-}
-
-src_unpack() {
-	default
-
-	mv "${WORKDIR}"/${P}/assets "${S}" || die
-	mv "${WORKDIR}"/${P}/*.md "${S}" || die
-}
-
-src_prepare() {
-	default
-
-	# Be more verbose
-	sed -i -e 's:\(@$(ZOPFLIPNG) -y "$<" "$@"\) 1> /dev/null 2>&1:\1:g' Makefile || die
-
-	# Based on Fedora patch to allow graphicsmagick usage
-	if has_version -b media-gfx/graphicsmagick; then
-		eapply "${FILESDIR}/noto-use-gm.patch"
-	fi
-
-	sed NotoColorEmoji.tmpl.ttx.tmpl \
-		-e "s/Noto Color Emoji/${PN^}/" \
-		-e "s/NotoColorEmoji/${PN^}/" \
-		-e "s/Copyright .* Google Inc\./Twitter, Inc and other contributors./" \
-		-e "s/ Version .*/ ${PV}/" \
-		-e "s/.*is a trademark.*//" \
-		-e "s/Google, Inc\./Twitter, Inc and other contributors/" \
-		-e "s,http://www.google.com/get/noto/,https://twemoji.twitter.com," \
-		-e "s/.*is licensed under.*/      Creative Commons Attribution 4.0 International/" \
-		-e "s,http://scripts.sil.org/OFL,http://creativecommons.org/licenses/by/4.0/," \
-		> ${PN^}.tmpl.ttx.tmpl || die
-
-	pushd assets/72x72 || die
-	for png in *.png; do
-		mv ${png} emoji_u${png//-/_} || die
-	done
-}
-
-src_compile() {
-	python_setup
-	einfo "Building fonts..."
-
-	emake EMOJI=${PN^} EMOJI_SRC_DIR="assets/72x72" \
-		FLAGS= BODY_DIMENSIONS=76x72 \
-		BYPASS_SEQUENCE_CHECK=true \
-		VIRTUAL_ENV=true
-}
-
-src_install() {
-	rm NotoColorEmoji_WindowsCompatible.ttf *.tmpl.ttf || die
-
-	# Don't lose fancy emoji icons
-	insinto /usr/share/icons/${PN}/72/emotes/
-	doins assets/72x72/*.png
-
-	insinto /usr/share/icons/${PN}/scalable/emotes/
-	doins assets/svg/*.svg
-
-	font_src_install
-
-	einstalldocs
-}

diff --git a/media-fonts/twemoji/twemoji-14.0.2.ebuild b/media-fonts/twemoji/twemoji-14.0.2.ebuild
index 3018bc88d..34b284c9f 100644
--- a/media-fonts/twemoji/twemoji-14.0.2.ebuild
+++ b/media-fonts/twemoji/twemoji-14.0.2.ebuild
@@ -33,7 +33,7 @@ BDEPEND="
 	)
 	$(python_gen_any_dep '
 		>=dev-python/fonttools-4.7.0[${PYTHON_USEDEP}]
-		>=dev-python/nototools-0.2.13[${PYTHON_USEDEP}]
+		>=dev-python/notofonttools-0.2.13[${PYTHON_USEDEP}]
 	')
 "
 


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: media-fonts/twemoji/
  2024-09-07 13:35 [gentoo-commits] repo/proj/guru:dev " David Roman
@ 2024-09-07 13:38 ` David Roman
  0 siblings, 0 replies; 3+ messages in thread
From: David Roman @ 2024-09-07 13:38 UTC (permalink / raw
  To: gentoo-commits

commit:     70abcc31d0703aed667ad346ebfc1ff16a2c9f34
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Sat Sep  7 13:28:21 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Sat Sep  7 13:28:21 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=70abcc31

media-fonts/twemoji: enable py3.12

Signed-off-by: David Roman <davidroman96 <AT> gmail.com>

 media-fonts/twemoji/twemoji-14.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-fonts/twemoji/twemoji-14.0.2.ebuild b/media-fonts/twemoji/twemoji-14.0.2.ebuild
index 033b164a1..cfac223d2 100644
--- a/media-fonts/twemoji/twemoji-14.0.2.ebuild
+++ b/media-fonts/twemoji/twemoji-14.0.2.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit font python-any-r1
 


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-09-07 13:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-01  9:20 [gentoo-commits] repo/proj/guru:master commit in: media-fonts/twemoji/ Viorel Munteanu
  -- strict thread matches above, loose matches on Subject: below --
2024-09-07 13:35 [gentoo-commits] repo/proj/guru:dev " David Roman
2024-09-07 13:38 ` [gentoo-commits] repo/proj/guru:master " David Roman
2023-03-13  8:29 Viorel Munteanu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox