diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-voip/homer/homer-0.25-r1.ebuild | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-voip/homer/homer-0.25-r1.ebuild')
-rw-r--r-- | net-voip/homer/homer-0.25-r1.ebuild | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/net-voip/homer/homer-0.25-r1.ebuild b/net-voip/homer/homer-0.25-r1.ebuild new file mode 100644 index 000000000000..84172c754207 --- /dev/null +++ b/net-voip/homer/homer-0.25-r1.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="Homer Conferencing (short: Homer) is a free SIP softphone with advanced audio and video support" +HOMEPAGE="http://www.homer-conferencing.com" + +MY_PN="Homer-Conferencing" +MY_BIN="Homer" + +if [[ ${PV} == *9999* ]]; then + inherit git-2 + EGIT_REPO_URI="git://github.com/${MY_PN}/${MY_PN}.git" + KEYWORDS="" +else + SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/V${PV}.tar.gz -> ${PN}-${PV}.tar.gz + http://dev.gentoo.org/~hwoarang/distfiles/${P}-ffmpeg2.patch" + KEYWORDS="amd64 x86" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="pulseaudio" + +DEPEND="dev-util/cmake + >=dev-libs/openssl-1.0 + media-libs/alsa-lib + media-libs/libsdl[X,sound,video,alsa] + media-libs/portaudio[alsa] + media-libs/sdl-mixer + media-libs/sdl-sound + media-libs/x264:* + media-video/ffmpeg:0[X] + net-libs/sofia-sip + dev-qt/qtcore:4 + dev-qt/qtdbus:4 + dev-qt/qtgui:4 + dev-qt/qtmultimedia:4 + dev-qt/qtwebkit:4 + pulseaudio? ( media-sound/pulseaudio )" + +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_prepare() { + epatch "${DISTDIR}/${P}-ffmpeg2.patch" + # Bug #543138 + sed -e '/mRtpEncoderStream->reference_dts = 0;/d' \ + -i HomerMultimedia/src/RTP.cpp || die + + if use pulseaudio; then + sed -i \ + -e "/^set(FEATURE_PULSEAUDIO/s:OFF:ON:" \ + HomerBuild/config/HomerFeatures.txt || die "sed failed" + fi +} + +src_compile() { + tc-export CXX + emake -C HomerBuild default \ + INSTALL_PREFIX=/usr/bin \ + INSTALL_LIBDIR=/usr/$(get_libdir) \ + INSTALL_DATADIR=/usr/share/${PN} \ + VERBOSE=1 +} + +src_install() { + emake -C HomerBuild install \ + DESTDIR="${D}" \ + VERBOSE=1 + + # Create .desktop entry + doicon ${MY_BIN}/${MY_BIN}.png + make_desktop_entry "${MY_BIN}" "${MY_PN}" "${MY_BIN}" "Network;InstantMessaging;Telephony;VideoConference" +} |