55 lines
1.1 KiB
Bash
55 lines
1.1 KiB
Bash
|
# Copyright 2019 Gentoo Authors
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=7
|
||
|
|
||
|
ARCH_FILE="Zoiper5_${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
|
||
|
media-libs/libv4l:=
|
||
|
sys-libs/zlib
|
||
|
x11-libs/cairo
|
||
|
x11-libs/gdk-pixbuf
|
||
|
x11-libs/gtk+
|
||
|
x11-libs/libXScrnSaver
|
||
|
x11-libs/libnotify
|
||
|
"
|
||
|
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
|
||
|
}
|