From: mobinmob <mobinmob@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] skype: update to 8.72.0.82,
Date: Sat, 15 May 2021 20:48:06 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-30917@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1758 bytes --]
There is a new pull request by mobinmob against master on the void-packages repository
https://github.com/mobinmob/void-packages skype-update
https://github.com/void-linux/void-packages/pull/30917
skype: update to 8.72.0.82,
- use the rpm as distfile,
(the deb has changed dir structure and I vastly prefer to handle rpms),
- simplify do_install(),
- add comments on do_install().
<!-- Mark items with [x] where applicable -->
#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)
#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR
<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!--
#### Does it build and run successfully?
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
- [ ] aarch64-musl
- [ ] armv7l
- [ ] armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/30917.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-skype-update-30917.patch --]
[-- Type: text/x-diff, Size: 2800 bytes --]
From 16ac0db825d3c1da096cafaa20153a34a6d419c4 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Sat, 15 May 2021 21:44:16 +0300
Subject: [PATCH] skype: update to 8.72.0.82, - use the rpm as distfile, (the
deb has changed dir structure and I vastly prefer to handle rpms), - simplify
do_install(), - add comments on do_install().
---
srcpkgs/skype/template | 44 +++++++++++++++++-------------------------
1 file changed, 18 insertions(+), 26 deletions(-)
diff --git a/srcpkgs/skype/template b/srcpkgs/skype/template
index 4776c3120ebc..8800490de65b 100644
--- a/srcpkgs/skype/template
+++ b/srcpkgs/skype/template
@@ -1,39 +1,31 @@
# Template file for 'skype'
-# This just repackages the debian package.
+# This just repackages the rpm package.
pkgname=skype
-version=8.69.0.77
+version=8.72.0.82
revision=1
archs="x86_64"
+create_wrksrc=yes
+hostmakedepends="rpmextract"
depends="elogind"
short_desc="Skype for Linux"
maintainer="mobinmob <mobinmob@disroot.org>"
-license="custom:skype-servicesagreement"
+license="custom:skype-servicesagreement" # no vlicense
homepage="https://www.skype.com"
-distfiles="https://repo.skype.com/deb/pool/main/s/skypeforlinux/skypeforlinux_${version}_amd64.deb"
-checksum=3daaa53e9f81452d1c1fb5c8e31d7fe47a98b62eb7ad04e1993b4f6a0848407d
+distfiles="https://repo.skype.com/rpm/stable/skypeforlinux_${version}-1.x86_64.rpm"
+checksum=e3f259f5dbc87f267b35bec7eea4d6a4db0a32e510f9f9d3b11baa6e8426cf16
repository="nonfree"
nostrip="yes"
-do_extract() {
- ar p ${XBPS_SRCDISTDIR}/${pkgname}-${version}/skypeforlinux_${version}_amd64.deb data.tar.xz | bsdtar xf - ./usr
-}
-
do_install() {
-
- vsed -i usr/bin/skypeforlinux -e "s;share/;lib/;g"
- vbin usr/bin/skypeforlinux
-
- vmkdir usr/lib
- vcopy usr/share/skypeforlinux usr/lib
-
- vlicense usr/share/doc/skypeforlinux/third-party_attributions.html
- # The binary needs to be able to find this under /usr/share/doc
- vmkdir usr/share/doc/skypeforlinux
- ln -s ../../licenses/skype/third-party_attributions.html ${DESTDIR}/usr/share/doc/skypeforlinux
-
- vinstall usr/share/applications/skypeforlinux.desktop 644 usr/share/applications
- vinstall usr/share/pixmaps/skypeforlinux.png 644 usr/share/pixmaps
- find usr/share/icons -type f -print | while read _f; do
- vinstall "${_f}" 644 "${_f%/*}"
- done
+ # Copy files
+ vcopy "*" /
+ # Move executables to usr/lib and change the launcher script
+ vsed -i "${DESTDIR}/usr/bin/skypeforlinux" -e "s;share/;lib/;g"
+ vmkdir usr/lib/skypeforlinux
+ mv "${DESTDIR}/usr/share/skypeforlinux" "${DESTDIR}/usr/lib/"
+ # Install NOTICE.txt as license. Skype has only a services
+ # agreement available online.
+ vlicense "${DESTDIR}/usr/share/doc/skypeforlinux/NOTICE.txt"
+ # Remove unneeded dir.
+ rm -rf "${DESTDIR}/usr/lib/.build-id"
}
next reply other threads:[~2021-05-15 18:48 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-15 18:48 mobinmob [this message]
2021-05-25 20:11 ` [PR PATCH] [Updated] " mobinmob
2021-05-28 19:54 ` mobinmob
2021-05-28 19:55 ` mobinmob
2021-05-29 10:39 ` skype: update to 88.72.0.94, mobinmob
2021-06-16 12:24 ` [PR PATCH] [Updated] " mobinmob
2021-06-16 12:25 ` mobinmob
2021-06-16 12:26 ` [PR PATCH] [Updated] " mobinmob
2021-06-16 12:26 ` mobinmob
2021-06-16 13:25 ` [PR PATCH] [Merged]: skype: update to 8.73.0.92, Piraty
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-30917@inbox.vuxu.org \
--to=mobinmob@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).