From 264cd01617443a0d7de5a7f06ec12a9ba4074206 Mon Sep 17 00:00:00 2001 From: SupeChicken666 Date: Sun, 20 Apr 2025 03:03:09 +0800 Subject: [PATCH] Remove Skype package (#11766) * Remove Skype package * Add Skype to fixup.rb * Fix syntax --------- Co-authored-by: Satadru Pramanik, DO, MPH, MEng --- lib/fixup.rb | 3 ++- packages/skype.rb | 26 -------------------------- 2 files changed, 2 insertions(+), 27 deletions(-) delete mode 100644 packages/skype.rb diff --git a/lib/fixup.rb b/lib/fixup.rb index bac16adcd..f33f55609 100644 --- a/lib/fixup.rb +++ b/lib/fixup.rb @@ -173,7 +173,8 @@ deprecated_packages = Set[ { pkg_name: 'percona_boost', comments: 'Replaced by regular boost.' }, { pkg_name: 'percona_server', comments: 'Replaced by mysql.' }, { pkg_name: 'q', comments: 'No longer suitable for packaging.' }, - { pkg_name: 'qtchooser', comments: "Doesn't work for newer Qt versions." } + { pkg_name: 'qtchooser', comments: "Doesn't work for newer Qt versions." }, + { pkg_name: 'skype', comments: 'Officially sunsetting and will be shut down soon.' } ] # Handle package renames. diff --git a/packages/skype.rb b/packages/skype.rb deleted file mode 100644 index 4f0db5689..000000000 --- a/packages/skype.rb +++ /dev/null @@ -1,26 +0,0 @@ -require 'package' - -class Skype < Package - description 'Skype is a telecommunications application that specializes in providing video chat and voice calls between devices' - homepage 'https://www.skype.com/' - version '8.110.76.107' - license 'Skype-TOS' - compatibility 'x86_64' - source_url 'https://repo.skype.com/deb/pool/main/s/skypeforlinux/skypeforlinux_8.110.76.107_amd64.deb' - source_sha256 'a1c5e1212c04b70ccf77574e3e38088f9510ffcb2aab6814b6667c299040c4a3' - - no_compile_needed - no_shrink - - depends_on 'gtk3' - - def self.install - FileUtils.mkdir_p CREW_DEST_PREFIX - FileUtils.ln_s './skypeforlinux', 'usr/bin/skype' - FileUtils.mv Dir['usr/*'], CREW_DEST_PREFIX - end - - def self.postinstall - puts "\nType 'skype' to get started.\n".lightblue - end -end