From c218398bbbe70a616790cf146c28c1066b9284bf Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 9 Jul 2024 12:24:59 +0100 Subject: gentoo auto-resync : 09:07:2024 - 12:24:58 --- net-im/telegram-desktop-bin/Manifest | 6 +- .../telegram-desktop-bin-5.1.4.ebuild | 64 ---------------------- .../telegram-desktop-bin-5.2.3.ebuild | 64 ++++++++++++++++++++++ 3 files changed, 67 insertions(+), 67 deletions(-) delete mode 100644 net-im/telegram-desktop-bin/telegram-desktop-bin-5.1.4.ebuild create mode 100644 net-im/telegram-desktop-bin/telegram-desktop-bin-5.2.3.ebuild (limited to 'net-im/telegram-desktop-bin') diff --git a/net-im/telegram-desktop-bin/Manifest b/net-im/telegram-desktop-bin/Manifest index 78e7293a68f6..1dfea0947fd4 100644 --- a/net-im/telegram-desktop-bin/Manifest +++ b/net-im/telegram-desktop-bin/Manifest @@ -1,7 +1,7 @@ -DIST tdesktop-5.1.4.tar.gz 19524673 BLAKE2B b52478e32ecf36ff6d7eb86bb3901d95c01d390c1c904a6f09cb51c238d53c8c90d72d171d1bcf43e8e36752c5f58367ac3458c4b13bef6d2f1e82917061beec SHA512 2d5f4af71037505a9830d930b35cc9e12e1d79342ac2695213ca71102be40ca501a0254b51d259b31e6ff69cc7272b63d3787e87a025e06ceb7f9a0bef0becb9 DIST tdesktop-5.1.7.tar.gz 19527170 BLAKE2B 26beb9a130d84c4ffacf5c854d4c83a6f3463f1aa3abe49f1d57c717e1c8142c8dbd112ab3d362620ad26a4c950ab92df012053fe4daf1a48dcd6e8b47423815 SHA512 4813abba7bf4976923940f034a07fc6ad512904273c1265549f2b181ecf2a21bc47f900d1628797f57392932f60c28caab4e08b8db66780847cdca1fd9d684ba -DIST tsetup.5.1.4.tar.xz 57386184 BLAKE2B 78c87be77b8a0e5402e90d719c5b26222183031b1259ec91e89da945f6d86d01fe891665c7e94ffa52f8153e72208ab107c1bf0555e86ca87febc0bb211c95ab SHA512 4f617ec2e31fce2812812c989656e933024267695fabb564cf19f92f570b9027a96dc34d873a41a4316fc3ba51977933f811ead98fd1d23c7c36a7355d046d18 +DIST tdesktop-5.2.3.tar.gz 19578184 BLAKE2B fc84134969910c919469c069f6de498c6491d773b8dda4815d10db07e94e7fecbb43c4e8263bc96ac086cc8cf6944d4e77bfc1066cb26384b758bc6378e6f6a6 SHA512 4cabcb06fae6f1c51bdd738d8ac5d261d82e0fb044ad7b76f7aaef3291b731469cc3f5014b1c86f63756629b12e566c4f0fc2e09a240fb0b318d887b173cf067 DIST tsetup.5.1.7.tar.xz 57387456 BLAKE2B b78ea2ad7ccc71b9579d71bac9a5af0e9a4ca1060e5a515804f8c770565ace3a298f53e478551e91b61697010608c06fb4ef024230eb65a22bde444c1b32f2cc SHA512 283b1f4e85032236e182ac420b93f3d59f15f014c4728f90fefabb1c09f1b54211694a011f994c31493004a10c1f6d7c2b2c800314d7719688226dce1a9051ba -EBUILD telegram-desktop-bin-5.1.4.ebuild 1623 BLAKE2B 4e0ec6429b91f3b31f8b5f8fc46a2025a90fad67ec6d99f5177ef17c74ee3d7aece57be3a0e6dd03d32cdb6368bbb482c19ce9f41175a80f3fd402a6a9f16684 SHA512 5b60ef7442633f981d74851e835ae3a475bcef7ec411c7ebdf462f29d6c6429fe4dd0a260c75a52fbecbbe948566ee53265741e9dd7f5a3815a68d0c0e8c3253 +DIST tsetup.5.2.3.tar.xz 57653472 BLAKE2B ede4057f519fec21417f1348b1a20666430f903e8cb13ab507b2a1050882042252f87e445b2de859607b9ee7b77b4791d252d4173ae7b473dd62cb1b812ab578 SHA512 0d9e212d78ff5c572a69c4378a7cd8e232f6fec510df97502808e161490458d473987ca79f8cc1328708c9fafdf26c1f6e85d60adc4c6547e3cf579fd15d3d26 EBUILD telegram-desktop-bin-5.1.7.ebuild 1623 BLAKE2B 4e0ec6429b91f3b31f8b5f8fc46a2025a90fad67ec6d99f5177ef17c74ee3d7aece57be3a0e6dd03d32cdb6368bbb482c19ce9f41175a80f3fd402a6a9f16684 SHA512 5b60ef7442633f981d74851e835ae3a475bcef7ec411c7ebdf462f29d6c6429fe4dd0a260c75a52fbecbbe948566ee53265741e9dd7f5a3815a68d0c0e8c3253 +EBUILD telegram-desktop-bin-5.2.3.ebuild 1623 BLAKE2B 4e0ec6429b91f3b31f8b5f8fc46a2025a90fad67ec6d99f5177ef17c74ee3d7aece57be3a0e6dd03d32cdb6368bbb482c19ce9f41175a80f3fd402a6a9f16684 SHA512 5b60ef7442633f981d74851e835ae3a475bcef7ec411c7ebdf462f29d6c6429fe4dd0a260c75a52fbecbbe948566ee53265741e9dd7f5a3815a68d0c0e8c3253 MISC metadata.xml 501 BLAKE2B 94aa66404772e94f51d8c59e36d19e6454f37173aaac352fe3539bcc09e72c267e69001c41f8356f19ca2830107164144d907865ad7fb3ad1def8771f5ef6d9a SHA512 3cd8e818062cd40787f12c9530ed202ea23c3f60a70f1ab50c95a7b3310197590be5a75378c598dabe5a1fce310fa8acf409a36e7446b66c2046a109d59a5ff8 diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-5.1.4.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-5.1.4.ebuild deleted file mode 100644 index 24722ca70535..000000000000 --- a/net-im/telegram-desktop-bin/telegram-desktop-bin-5.1.4.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2024 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 ) -" - -S="${WORKDIR}/Telegram" - -LICENSE="GPL-3-with-openssl-exception" -SLOT="0" -KEYWORDS="-* ~amd64" - -QA_PREBUILT="usr/bin/telegram-desktop" - -RDEPEND=" - !net-im/telegram-desktop - sys-libs/glibc - dev-libs/glib:2 - >=media-libs/fontconfig-2.13 - media-libs/freetype:2 - virtual/opengl - x11-libs/gtk+:3[X,wayland] - x11-libs/libX11 - >=x11-libs/libxcb-1.10 -" - -src_prepare() { - default - - sed -i -e \ - 's/^Exec=@CMAKE_INSTALL_FULL_BINDIR@\/telegram-desktop/Exec=\/usr\/bin\/telegram-desktop/' \ - "${WORKDIR}/tdesktop-${PV}"/lib/xdg/org.telegram.desktop.service || die -} - -src_install() { - newbin Telegram telegram-desktop - - insinto /usr/share/TelegramDesktop/externalupdater.d/ - 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/org.telegram.desktop.desktop - insinto /usr/share/dbus-1/services - doins "${WORKDIR}/tdesktop-${PV}"/lib/xdg/org.telegram.desktop.service -} - -pkg_postinst() { - xdg_pkg_postinst - optfeature "spell checker support" app-text/enchant -} diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-5.2.3.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-5.2.3.ebuild new file mode 100644 index 000000000000..24722ca70535 --- /dev/null +++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-5.2.3.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2024 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 ) +" + +S="${WORKDIR}/Telegram" + +LICENSE="GPL-3-with-openssl-exception" +SLOT="0" +KEYWORDS="-* ~amd64" + +QA_PREBUILT="usr/bin/telegram-desktop" + +RDEPEND=" + !net-im/telegram-desktop + sys-libs/glibc + dev-libs/glib:2 + >=media-libs/fontconfig-2.13 + media-libs/freetype:2 + virtual/opengl + x11-libs/gtk+:3[X,wayland] + x11-libs/libX11 + >=x11-libs/libxcb-1.10 +" + +src_prepare() { + default + + sed -i -e \ + 's/^Exec=@CMAKE_INSTALL_FULL_BINDIR@\/telegram-desktop/Exec=\/usr\/bin\/telegram-desktop/' \ + "${WORKDIR}/tdesktop-${PV}"/lib/xdg/org.telegram.desktop.service || die +} + +src_install() { + newbin Telegram telegram-desktop + + insinto /usr/share/TelegramDesktop/externalupdater.d/ + 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/org.telegram.desktop.desktop + insinto /usr/share/dbus-1/services + doins "${WORKDIR}/tdesktop-${PV}"/lib/xdg/org.telegram.desktop.service +} + +pkg_postinst() { + xdg_pkg_postinst + optfeature "spell checker support" app-text/enchant +} -- cgit v1.2.3