zoiper-5.3.7.ebuild

Загрузить (1,12 КБ)

# Copyright 2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

MY_PV="5.3.7"
ARCH_FILE="zoiper5_${MY_PV}_x86_64.tar.xz"

DESCRIPTION="Free VoIP softphone for non-commercial use"
HOMEPAGE="www.zoiper.com"
SRC_URI="https://www.zoiper.com/en/voip-softphone/download/zoiper5/for/linux -> $ARCH_FILE"

LICENSE="EULA"
SLOT="0"
KEYWORDS="~amd64"
IUSE="pulseaudio"
RESTRICT="binchecks fetch bindist strip"

DEPEND=""
RDEPEND="${DEPEND}
	pulseaudio? ( media-sound/pulseaudio )
	app-crypt/mit-krb5
	dev-libs/atk
	dev-libs/glib
	media-libs/freetype
	sys-libs/zlib
	x11-libs/cairo
	x11-libs/gdk-pixbuf
	x11-libs/gtk+
	x11-libs/libnotify
	x11-libs/libXScrnSaver"
BDEPEND=""

S="${WORKDIR}"

pkg_nofetch() {
	einfo "Please download ${ARCH_FILE} and move it to"
	einfo "your distfiles directory:"
	einfo
	einfo "https://www.zoiper.com/en/voip-softphone/download/current"
	einfo
}

src_install() {
	insinto /opt
	doins -r Zoiper5
	fperms 0755 /opt/Zoiper5/zoiper
	insinto /usr/share/pixmaps
	doins ${FILESDIR}/zoiper.png
	insinto /usr/share/applications
	doins ${FILESDIR}/zoiper.desktop
	doins ${FILESDIR}/zoiper.png
}

Спасибо!