From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QwFuK-0005wh-M0 for garchives@archives.gentoo.org; Wed, 24 Aug 2011 16:02:24 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 75B9721C07C; Wed, 24 Aug 2011 16:02:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 2E5CF21C07C for ; Wed, 24 Aug 2011 16:02:14 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2E0941B401F for ; Wed, 24 Aug 2011 16:02:14 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 8C2CA80040 for ; Wed, 24 Aug 2011 16:02:13 +0000 (UTC) From: "Christian Schmitt" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Christian Schmitt" Message-ID: <5b479154a0ff7ba9ec44a3f8261ace15dabf2a49.christian@gentoo> Subject: [gentoo-commits] proj/gamerlay:master commit in: games-util/fgcom/, games-util/fgcom/files/ X-VCS-Repository: proj/gamerlay X-VCS-Files: games-util/fgcom/fgcom-9999.ebuild games-util/fgcom/files/fgcom-makefile.patch games-util/fgcom/metadata.xml X-VCS-Directories: games-util/fgcom/ games-util/fgcom/files/ X-VCS-Committer: christian X-VCS-Committer-Name: Christian Schmitt X-VCS-Revision: 5b479154a0ff7ba9ec44a3f8261ace15dabf2a49 Date: Wed, 24 Aug 2011 16:02:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: fe3bbf72358eebbddfd1771b096e6898 commit: 5b479154a0ff7ba9ec44a3f8261ace15dabf2a49 Author: Christian Schmitt ilovelinux de> AuthorDate: Wed Aug 24 15:47:59 2011 +0000 Commit: Christian Schmitt ilovelinux de> CommitDate: Wed Aug 24 15:47:59 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/gamerlay.git;= a=3Dcommit;h=3D5b479154 [games-util/fgcom] new ebuild --- games-util/fgcom/fgcom-9999.ebuild | 39 +++++++++++++++++++++= ++++++ games-util/fgcom/files/fgcom-makefile.patch | 29 ++++++++++++++++++++ games-util/fgcom/metadata.xml | 9 ++++++ 3 files changed, 77 insertions(+), 0 deletions(-) diff --git a/games-util/fgcom/fgcom-9999.ebuild b/games-util/fgcom/fgcom-= 9999.ebuild new file mode 100644 index 0000000..4d54f1a --- /dev/null +++ b/games-util/fgcom/fgcom-9999.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3D4 + +inherit subversion + +DESCRIPTION=3D"A VoIP client for FlightGear" +HOMEPAGE=3D"http://fgcom.sourceforge.net/" +ESVN_REPO_URI=3D"http://fgcom.svn.sourceforge.net/svnroot/fgcom/trunk" + +LICENSE=3D"GPL-2" +SLOT=3D"0" +KEYWORDS=3D"" +IUSE=3D"" + +DEPEND=3D"dev-games/simgear + media-libs/openal + media-libs/plib" +RDEPEND=3D"${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-makefile.patch +} + +src_compile() { + cd src + emake -j1 +} + +src_install() { + cd src + dobin ${PN} + insinto /usr/share/"${PN}" + doins ../data/positions.txt + doins ../data/phonebook.txt + doins ../data/special_frequencies.txt +} diff --git a/games-util/fgcom/files/fgcom-makefile.patch b/games-util/fgc= om/files/fgcom-makefile.patch new file mode 100644 index 0000000..56ae235 --- /dev/null +++ b/games-util/fgcom/files/fgcom-makefile.patch @@ -0,0 +1,29 @@ +diff --git a/src/Makefile b/src/Makefile +index 5bb5259..340aec2 100644 +--- a/src/Makefile ++++ b/src/Makefile +@@ -35,12 +35,11 @@ PLIB_PREFIX :=3D /usr/local/src/fgfs-builder/install + OPENAL_PREFIX :=3D /usr/local/src/fgfs-builder/install + SVNDEF :=3D -D'SVN_REV=3D"$(shell svnversion -n .)"' + INSTALL_BIN :=3D /usr/local/bin +-INSTALL_DIR :=3D /usr/local/fgcom ++INSTALL_DIR :=3D /usr/share/fgcom + SIMGEAR_INC :=3D ~/tmp/simgear +-DEBUG :=3D -O0 -Wall -ggdb +-CXXFLAGS :=3D $(DEBUG) $(SVNDEF) -I $(OPENAL_PREFIX) -I ../iaxclient/li= b -I $(PLIB_PREFIX)/include ++CXXFLAGS :=3D $(CFLAGS) $(SVNDEF) -I $(OPENAL_PREFIX) -I ../iaxclient/l= ib -I $(PLIB_PREFIX)/include + CXXFLAGS +=3D -I $(SIMGEAR_INC) -DDEFAULT_POSITIONS_FILE=3D\"$(INSTALL_= DIR)/positions.txt\" -DSPECIAL_FREQUENCIES_FILE=3D\"$(INSTALL_DIR)/specia= l_frequencies.txt\" +-LDFLAGS :=3D -L $(PLIB_PREFIX)/lib ++LIBS :=3D -L $(PLIB_PREFIX)/lib + STATIC_LIBS :=3D ../iaxclient/lib/libiaxclient.a -lopenal -lasound -lpl= ibul -lplibnet -lpthread -lsgmisc -lsgdebug -lz -lm + INDENT :=3D /usr/bin/indent + ECHO :=3D /bin/echo -e +@@ -78,7 +77,7 @@ iaxclient: +=20 + fgcomstatic: $(OFILES) + cd ../iaxclient/lib && make +- $(CXX) $(LDFLAGS) $(OFILES) $(STATIC_LIBS) -o fgcom ++ $(CXX) $(LDFLAGS) $(OFILES) $(LIBS) $(STATIC_LIBS) -o fgcom +=20 + indent: $(CPPFILES) $(HFILES) + $(INDENT) $(IFLAGS) $(CPPFILES) $(HFILES) diff --git a/games-util/fgcom/metadata.xml b/games-util/fgcom/metadata.xm= l new file mode 100644 index 0000000..a5f4ada --- /dev/null +++ b/games-util/fgcom/metadata.xml @@ -0,0 +1,9 @@ + + + +games + +chris@ilovelinux.de +Christian Schmitt + +