summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorRaymond Jennings <shentino@gmail.com>2016-10-17 07:59:46 -0700
committerDavid Seifert <soap@gentoo.org>2016-10-21 20:48:33 +0200
commite3a38f765a1d4145ccfec89086f53a147ff21d1d (patch)
tree7e2304d9e91d96534a48ae57170eb5c2627dea33 /net-im
parentdev-cpp/asio: Version bump to 1.10.8 (diff)
downloadgentoo-e3a38f765a1d4145ccfec89086f53a147ff21d1d.tar.gz
gentoo-e3a38f765a1d4145ccfec89086f53a147ff21d1d.tar.bz2
gentoo-e3a38f765a1d4145ccfec89086f53a147ff21d1d.zip
net-im/skypeforlinux: Revbump
* Remove obsolete blocker on net-im/skype:1 * Readd dependencies on gcc and glibc - Turns out we need to hardcode them if upstream does the compile for us and gives us a binary - Also, we need to require gcc use cxx, to pull in libstdc++ * Fix bug 596980 - Uncomment amended paxmarking - Document the pax_kernel USE flag - Slash standardize ED - Mark paxctl with || die * Minor formatting fix to src_unpack() * Fix up IUSE for pax_kernel and removal of selinux * Remove bogus fowners call * Clean up unicode fluff out of metadata.xml - Seriously, why do we need fancy apostrophes when an ASCII one will do just fine? * Amend HOMEPAGE to use https Closes: https://github.com/gentoo/gentoo/pull/2601 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/skypeforlinux/metadata.xml5
-rw-r--r--net-im/skypeforlinux/skypeforlinux-1.10.0.1-r1.ebuild (renamed from net-im/skypeforlinux/skypeforlinux-1.10.0.1.ebuild)32
2 files changed, 17 insertions, 20 deletions
diff --git a/net-im/skypeforlinux/metadata.xml b/net-im/skypeforlinux/metadata.xml
index 7651eeca8d33..c6d726f00243 100644
--- a/net-im/skypeforlinux/metadata.xml
+++ b/net-im/skypeforlinux/metadata.xml
@@ -9,5 +9,8 @@
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
- <longdescription>Skype is for doing things together, whenever you’re apart. Skype’s text, voice and video make it simple to share experiences with the people that matter to you, wherever they are.</longdescription>
+ <use>
+ <flag name="pax_kernel">Triggers a paxmarking of the main skype binary</flag>
+ </use>
+ <longdescription>Skype is for doing things together, whenever you're apart. Skype's text, voice and video make it simple to share experiences with the people that matter to you, wherever they are.</longdescription>
</pkgmetadata>
diff --git a/net-im/skypeforlinux/skypeforlinux-1.10.0.1.ebuild b/net-im/skypeforlinux/skypeforlinux-1.10.0.1-r1.ebuild
index 106a1e5e078f..1001af44ba14 100644
--- a/net-im/skypeforlinux/skypeforlinux-1.10.0.1.ebuild
+++ b/net-im/skypeforlinux/skypeforlinux-1.10.0.1-r1.ebuild
@@ -8,21 +8,19 @@ EAPI=6
inherit eutils rpm
DESCRIPTION="P2P Internet Telephony (VoiceIP) client"
-HOMEPAGE="http://www.skype.com/"
+HOMEPAGE="https://www.skype.com/"
SRC_URI="https://repo.skype.com/rpm/stable/${PN}_${PV}-1.x86_64.rpm"
LICENSE="Skype-TOS no-source-code"
SLOT="0"
KEYWORDS="~amd64"
-#IUSE="pax_kernel selinux"
-IUSE=""
+IUSE="pax_kernel"
S="${WORKDIR}"
QA_PREBUILT=opt/skypeforlinux/skypeforlinux
RESTRICT="mirror bindist strip" #299368
RDEPEND="virtual/ttf-fonts
- !net-im/skype:1
dev-libs/atk
dev-libs/expat
dev-libs/glib:2
@@ -35,6 +33,8 @@ RDEPEND="virtual/ttf-fonts
media-libs/freetype:2
net-print/cups
sys-apps/dbus
+ sys-devel/gcc[cxx]
+ sys-libs/glibc
x11-libs/cairo
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:2
@@ -50,9 +50,8 @@ RDEPEND="virtual/ttf-fonts
x11-libs/libXScrnSaver
x11-libs/libXtst
x11-libs/pango"
-# selinux? ( sec-policy/selinux-skype )"
-src_unpack () {
+src_unpack() {
rpm_src_unpack ${A}
}
@@ -86,7 +85,6 @@ src_install() {
into /opt
dobin usr/bin/skypeforlinux
- fowners root:audio /opt/bin/skypeforlinux /opt/skypeforlinux/skypeforlinux
# insinto /etc/dbus-1/system.d
# doins ${PN}.conf
@@ -102,18 +100,14 @@ src_install() {
domenu usr/share/applications/skypeforlinux.desktop
-# if use pax_kernel; then
-# if use apulse; then
-# pax-mark Cm "${ED}"/opt/bin/${PN}-bin || die
-# else
-# pax-mark Cm "${ED}"/opt/bin/${PN} || die
-# fi
-# eqawarn "You have set USE=pax_kernel meaning that you intend to run"
-# eqawarn "${PN} under a PaX enabled kernel. To do so, we must modify"
-# eqawarn "the ${PN} binary itself and this *may* lead to breakage! If"
-# eqawarn "you suspect that ${PN} is being broken by this modification,"
-# eqawarn "please open a bug."
-# fi
+ if use pax_kernel; then
+ paxctl -Cm "${ED%/}"/opt/skypeforlinux/skypeforlinux || die
+ eqawarn "You have set USE=pax_kernel meaning that you intend to run"
+ eqawarn "${PN} under a PaX enabled kernel. To do so, we must modify"
+ eqawarn "the ${PN} binary itself and this *may* lead to breakage! If"
+ eqawarn "you suspect that ${PN} is being broken by this modification,"
+ eqawarn "please open a bug."
+ fi
# echo PRELINK_PATH_MASK=/opt/bin/${PN} > ${T}/99${PN}
# doenvd "${T}"/99${PN} #430142