gui-apps/emote - 9999 (konsolebox)

Search

Install

Install this version:

emerge -a =gui-apps/emote-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =gui-apps/emote-9999

Or alternatively:

emerge --autounmask-write -a =gui-apps/emote-9999

Package Information

Description:
A modern emoji picker for Linux
Homepage:
https://github.com/tom-james-watson/Emote
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
9999 8 ~amd64 ~arm ~arm64 ~x86 0
View Raw Ebuild
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{10..12} )
inherit meson python-single-r1 xdg

DESCRIPTION="A modern emoji picker for Linux"
HOMEPAGE="https://github.com/tom-james-watson/Emote"

if [[ ${PV} == 9999 ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/tom-james-watson/Emote.git"
else
	SRC_URI="https://github.com/tom-james-watson/Emote/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
	S="${WORKDIR}/Emote-${PV}"
	KEYWORDS="~amd64 ~arm ~arm64 ~x86"
fi

LICENSE="GPL-3"
SLOT="0"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"

PATCHES=("${FILESDIR}/${PN}-4.1.0-remove-autostart-enabler.patch")

RDEPEND="${PYTHON_DEPS}
	$(python_gen_cond_dep '>=dev-python/dbus-python-1.2.18[${PYTHON_USEDEP}]
			>=dev-python/manimpango-0.4.3[${PYTHON_USEDEP}]
			>=dev-python/setproctitle-1.3.2[${PYTHON_USEDEP}]
			dev-python/pygobject:3[${PYTHON_USEDEP}]')
	dev-libs/keybinder
	media-fonts/noto-emoji
	x11-misc/xdotool
	x11-themes/hicolor-icon-theme"

src_install() {
	meson_src_install
	python_fix_shebang "${ED}/usr/bin/emote"
	rm -f "${ED}/usr/share/emote/static/"{com.tomjwatson.Emote.desktop,meson.build,prepare-launch} || die
	dosym ../../usr/share/applications/com.tomjwatson.Emote.desktop /etc/autostart/com.tomjwatson.Emote.desktop
}

Inherited Eclasses

xdg

Dependencies

RDEPEND

	$(python_gen_cond_dep '>=dev-python/dbus-python-1.2.18[]
			>=dev-python/manimpango-0.4.3[]
			>=dev-python/setproctitle-1.3.2[]
			dev-python/pygobject:3[]')
	dev-libs/keybinder
	media-fonts/noto-emoji
	x11-misc/xdotool
	x11-themes/hicolor-icon-theme