2012-11-09 14:54:26 +01:00
|
|
|
# Copyright 1999-2012 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
|
|
|
EAPI=4
|
|
|
|
|
|
|
|
inherit git-2
|
|
|
|
|
|
|
|
DESCRIPTION="Homer Conferencing (short: Homer) is a free SIP spftphone with advanced audio and video support."
|
|
|
|
HOMEPAGE="http://www.homer-conferencing.com"
|
|
|
|
|
2012-11-09 15:02:12 +01:00
|
|
|
if [[ ${PV} == *9999* ]]; then
|
2012-11-09 14:54:26 +01:00
|
|
|
EGIT_REPO_URI="git://github.com/Homer-Conferencing/Homer-Conferencing.git"
|
|
|
|
KEYWORDS=""
|
|
|
|
else
|
2012-11-13 11:40:00 +01:00
|
|
|
SRC_URI="https://github.com/Homer-Conferencing/Homer-Conferencing/archive/V${PV}.tar.gz -> ${PN}-${PV}.tar.gz"
|
2012-11-09 14:54:26 +01:00
|
|
|
KEYWORDS="~x86 ~amd64"
|
|
|
|
fi
|
|
|
|
|
|
|
|
LICENSE="GPL-3"
|
|
|
|
SLOT="0"
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
RDEPEND=">=dev-libs/openssl-1.0
|
|
|
|
media-libs/alsa-lib
|
|
|
|
>=media-libs/libsdl-1.2
|
2012-11-09 15:07:19 +01:00
|
|
|
media-libs/portaudio[alsa]
|
2012-11-09 14:54:26 +01:00
|
|
|
>=media-libs/sdl-mixer-1.2
|
|
|
|
>=media-libs/sdl-sound-1.0
|
|
|
|
media-libs/x264
|
|
|
|
media-video/ffmpeg
|
2012-11-09 14:56:30 +01:00
|
|
|
>=net-libs/sofia-sip-1.12
|
2012-11-09 14:54:26 +01:00
|
|
|
>=x11-libs/qt-gui-4.6"
|
|
|
|
DEPEND="dev-util/cmake
|
|
|
|
${RDEPEND}"
|
|
|
|
|
|
|
|
src_compile() {
|
2012-11-09 15:04:38 +01:00
|
|
|
cd "${S}"/HomerBuild
|
2012-11-09 14:54:26 +01:00
|
|
|
emake all || die "make failed"
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
2012-11-09 15:04:38 +01:00
|
|
|
cd "${S}"/HomerBuild
|
|
|
|
emake install \
|
|
|
|
INSTALL_PREFIX="${DESTDIR}/usr" \
|
|
|
|
INSTALL_LIBDIR="${DESTDIR}"/usr/$(get_libdir) \
|
|
|
|
|| die "emake install failed"
|
2012-11-09 14:54:26 +01:00
|
|
|
}
|