From 274a3119632f22f51fb01f523b5f596b11336ffc Mon Sep 17 00:00:00 2001 From: Henning Schild Date: Sat, 8 Oct 2022 12:55:19 +0200 Subject: net-im/telegram-desktop-bin: drop USE dependency on x11-libs/libxcb[xkb] Closes: https://bugs.gentoo.org/875971 Signed-off-by: Henning Schild Closes: https://github.com/gentoo/gentoo/pull/27694 Signed-off-by: Joonas Niilola --- net-im/telegram-desktop-bin/Manifest | 4 -- .../telegram-desktop-bin-4.1.0.ebuild | 52 ---------------------- .../telegram-desktop-bin-4.2.0.ebuild | 52 ---------------------- .../telegram-desktop-bin-4.2.4-r1.ebuild | 52 ++++++++++++++++++++++ .../telegram-desktop-bin-4.2.4.ebuild | 52 ---------------------- 5 files changed, 52 insertions(+), 160 deletions(-) delete mode 100644 net-im/telegram-desktop-bin/telegram-desktop-bin-4.1.0.ebuild delete mode 100644 net-im/telegram-desktop-bin/telegram-desktop-bin-4.2.0.ebuild create mode 100644 net-im/telegram-desktop-bin/telegram-desktop-bin-4.2.4-r1.ebuild delete mode 100644 net-im/telegram-desktop-bin/telegram-desktop-bin-4.2.4.ebuild (limited to 'net-im') diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest index 0c8be03ed1a7..5e1dc86544b3 100644 --- a/net-im/telegram-desktop-bin/Manifest +++ b/net-im/telegram-desktop-bin/Manifest @@ -1,6 +1,2 @@ -DIST tdesktop-4.1.0.tar.gz 16990380 BLAKE2B f037dbd8a3a7e30d906a8b4a1244b15fbad7304924033751dd89a0d7aa4db7d17d08821cfed53ff00977793d0974c675c7fea96e614d9a5cbf4d7026beac7ec1 SHA512 50c61a22d0953992cfd6a9eab0ca1ed87e2367e06cf47d51ce7339b93cd49a57ec6a6b5a4a4496f2e8ab71fdf968dc1850844e005eae48fb34ae35040225fbb1 -DIST tdesktop-4.2.0.tar.gz 17060742 BLAKE2B 3f85f903e07bf3a18357c7ec184f9a87863f50306715ad1c1dd03a88b6dff245b2bb7bdf7caf9d31e841f4dbee91be23dcd7d733f53c71b66ede5b9ec252d594 SHA512 48164145da0b6ff54260cfa9c07750da2461ff1c9b6abe0579f35e59dc16f87caa050a464c705b0f6afb186b8d7ee5d30e01be8033c777a4db4c0cd2dcd36382 DIST tdesktop-4.2.4.tar.gz 17065673 BLAKE2B d2fd5db5d216b369902f697f8b2613fbb62ae7b788e08dc33f410a62547c335a8c20f2099989bb8eaaf92a81320e4fc24a3aaf266c6632b2264271e95c8b01ec SHA512 cc4cc3be490de750cb3a048a861d492bea1d2484160ee70b102979b8b446349333effe29f1b51fa014c7a65a4901779fa58f6b0d86ae12864f85d014e8f36d20 -DIST tsetup.4.1.0.tar.xz 43918764 BLAKE2B 05a34d44583aace5ae261d46a1c7382a63bb8a52f8ca07513011d6221b67f835a3f5a4f38a0c9036614cf8e944c71c9be16e344b24c5cf41b293f3b02bdd8170 SHA512 f226a98ea4ba97a3643adcbe2c883082dff72de25a5aa3a246beef78930eaed4e45fa1b4e46a179444660c7be06c124dbe27802271fa6ff0991ab3ac60f8e470 -DIST tsetup.4.2.0.tar.xz 44483976 BLAKE2B ca48fe1e4e92d4cfcfc7601a46ce72dbc3db3fb434ce5c04a4cfdaa6f6b9facc8d5973132798d456401125968a404a5f8b22f872dcb4f7ae07a925d6b8d68469 SHA512 e07f8db5eaa0c46a795887f0bf9ea96bd10c0d48fb1d4a496eb51beb487e92432512839466126067707f2314a6b9d021e15958271f8eeb2a9ad6db86780b997d DIST tsetup.4.2.4.tar.xz 46792948 BLAKE2B 20ebef199dc526de1e786ebd76dfd40d557f4211ae4c37d080f010738a710efe4ed2e5100c81249d49efb4902f7333f4548bff00a50eb284269dbd2aaff1bd21 SHA512 3397e480334605ebe7a8a3f3c6211adea8be0b759749e4beb579a6c4a75cb13accc3be5fa62c1d784fd6f0b92c66be15e986ed83c4fde29a38766b48a013b104 diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-4.1.0.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.1.0.ebuild deleted file mode 100644 index d0558b783945..000000000000 --- a/net-im/telegram-desktop-bin/telegram-desktop-bin-4.1.0.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop optfeature xdg - -DESCRIPTION="Official desktop client for Telegram (binary package)" -HOMEPAGE="https://desktop.telegram.org" -SRC_URI=" - https://github.com/telegramdesktop/tdesktop/archive/v${PV}.tar.gz -> tdesktop-${PV}.tar.gz - amd64? ( https://updates.tdesktop.com/tlinux/tsetup.${PV}.tar.xz ) -" - -LICENSE="GPL-3-with-openssl-exception" -SLOT="0" -KEYWORDS="-* ~amd64" - -QA_PREBUILT="usr/bin/telegram-desktop" - -RDEPEND=" - sys-libs/glibc - dev-libs/glib:2 - >=media-libs/fontconfig-2.13 - media-libs/freetype:2 - virtual/opengl - x11-libs/libX11 - >=x11-libs/libxcb-1.10[xkb] -" - -S="${WORKDIR}/Telegram" - -src_install() { - newbin Telegram telegram-desktop - - insinto /etc/tdesktop - newins - externalupdater <<<"${EPREFIX}/usr/bin/telegram-desktop" - - local icon_size - for icon_size in 16 32 48 64 128 256 512; do - newicon -s "${icon_size}" \ - "${WORKDIR}/tdesktop-${PV}/Telegram/Resources/art/icon${icon_size}.png" \ - telegram.png - done - - domenu "${WORKDIR}/tdesktop-${PV}"/lib/xdg/telegramdesktop.desktop -} - -pkg_postinst() { - xdg_pkg_postinst - optfeature "spell checker support" app-text/enchant -} diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-4.2.0.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.2.0.ebuild deleted file mode 100644 index d0558b783945..000000000000 --- a/net-im/telegram-desktop-bin/telegram-desktop-bin-4.2.0.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop optfeature xdg - -DESCRIPTION="Official desktop client for Telegram (binary package)" -HOMEPAGE="https://desktop.telegram.org" -SRC_URI=" - https://github.com/telegramdesktop/tdesktop/archive/v${PV}.tar.gz -> tdesktop-${PV}.tar.gz - amd64? ( https://updates.tdesktop.com/tlinux/tsetup.${PV}.tar.xz ) -" - -LICENSE="GPL-3-with-openssl-exception" -SLOT="0" -KEYWORDS="-* ~amd64" - -QA_PREBUILT="usr/bin/telegram-desktop" - -RDEPEND=" - sys-libs/glibc - dev-libs/glib:2 - >=media-libs/fontconfig-2.13 - media-libs/freetype:2 - virtual/opengl - x11-libs/libX11 - >=x11-libs/libxcb-1.10[xkb] -" - -S="${WORKDIR}/Telegram" - -src_install() { - newbin Telegram telegram-desktop - - insinto /etc/tdesktop - newins - externalupdater <<<"${EPREFIX}/usr/bin/telegram-desktop" - - local icon_size - for icon_size in 16 32 48 64 128 256 512; do - newicon -s "${icon_size}" \ - "${WORKDIR}/tdesktop-${PV}/Telegram/Resources/art/icon${icon_size}.png" \ - telegram.png - done - - domenu "${WORKDIR}/tdesktop-${PV}"/lib/xdg/telegramdesktop.desktop -} - -pkg_postinst() { - xdg_pkg_postinst - optfeature "spell checker support" app-text/enchant -} diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-4.2.4-r1.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.2.4-r1.ebuild new file mode 100644 index 000000000000..6916ecaa22df --- /dev/null +++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.2.4-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop optfeature xdg + +DESCRIPTION="Official desktop client for Telegram (binary package)" +HOMEPAGE="https://desktop.telegram.org" +SRC_URI=" + https://github.com/telegramdesktop/tdesktop/archive/v${PV}.tar.gz -> tdesktop-${PV}.tar.gz + amd64? ( https://updates.tdesktop.com/tlinux/tsetup.${PV}.tar.xz ) +" + +LICENSE="GPL-3-with-openssl-exception" +SLOT="0" +KEYWORDS="-* ~amd64" + +QA_PREBUILT="usr/bin/telegram-desktop" + +RDEPEND=" + sys-libs/glibc + dev-libs/glib:2 + >=media-libs/fontconfig-2.13 + media-libs/freetype:2 + virtual/opengl + x11-libs/libX11 + >=x11-libs/libxcb-1.10 +" + +S="${WORKDIR}/Telegram" + +src_install() { + newbin Telegram telegram-desktop + + insinto /etc/tdesktop + newins - externalupdater <<<"${EPREFIX}/usr/bin/telegram-desktop" + + local icon_size + for icon_size in 16 32 48 64 128 256 512; do + newicon -s "${icon_size}" \ + "${WORKDIR}/tdesktop-${PV}/Telegram/Resources/art/icon${icon_size}.png" \ + telegram.png + done + + domenu "${WORKDIR}/tdesktop-${PV}"/lib/xdg/telegramdesktop.desktop +} + +pkg_postinst() { + xdg_pkg_postinst + optfeature "spell checker support" app-text/enchant +} diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-4.2.4.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-4.2.4.ebuild deleted file mode 100644 index d0558b783945..000000000000 --- a/net-im/telegram-desktop-bin/telegram-desktop-bin-4.2.4.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop optfeature xdg - -DESCRIPTION="Official desktop client for Telegram (binary package)" -HOMEPAGE="https://desktop.telegram.org" -SRC_URI=" - https://github.com/telegramdesktop/tdesktop/archive/v${PV}.tar.gz -> tdesktop-${PV}.tar.gz - amd64? ( https://updates.tdesktop.com/tlinux/tsetup.${PV}.tar.xz ) -" - -LICENSE="GPL-3-with-openssl-exception" -SLOT="0" -KEYWORDS="-* ~amd64" - -QA_PREBUILT="usr/bin/telegram-desktop" - -RDEPEND=" - sys-libs/glibc - dev-libs/glib:2 - >=media-libs/fontconfig-2.13 - media-libs/freetype:2 - virtual/opengl - x11-libs/libX11 - >=x11-libs/libxcb-1.10[xkb] -" - -S="${WORKDIR}/Telegram" - -src_install() { - newbin Telegram telegram-desktop - - insinto /etc/tdesktop - newins - externalupdater <<<"${EPREFIX}/usr/bin/telegram-desktop" - - local icon_size - for icon_size in 16 32 48 64 128 256 512; do - newicon -s "${icon_size}" \ - "${WORKDIR}/tdesktop-${PV}/Telegram/Resources/art/icon${icon_size}.png" \ - telegram.png - done - - domenu "${WORKDIR}/tdesktop-${PV}"/lib/xdg/telegramdesktop.desktop -} - -pkg_postinst() { - xdg_pkg_postinst - optfeature "spell checker support" app-text/enchant -} -- cgit v1.2.3-65-gdbad