public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/gamerlay:master commit in: games-util/fgcom/, games-util/fgcom/files/
@ 2011-08-24 16:02 Christian Schmitt
  0 siblings, 0 replies; 2+ messages in thread
From: Christian Schmitt @ 2011-08-24 16:02 UTC (permalink / raw
  To: gentoo-commits

commit:     5b479154a0ff7ba9ec44a3f8261ace15dabf2a49
Author:     Christian Schmitt <chris <AT> ilovelinux <DOT> de>
AuthorDate: Wed Aug 24 15:47:59 2011 +0000
Commit:     Christian Schmitt <chris <AT> ilovelinux <DOT> de>
CommitDate: Wed Aug 24 15:47:59 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=5b479154

[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=4
+
+inherit subversion
+
+DESCRIPTION="A VoIP client for FlightGear"
+HOMEPAGE="http://fgcom.sourceforge.net/"
+ESVN_REPO_URI="http://fgcom.svn.sourceforge.net/svnroot/fgcom/trunk"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+DEPEND="dev-games/simgear
+	media-libs/openal
+	media-libs/plib"
+RDEPEND="${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/fgcom/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 := /usr/local/src/fgfs-builder/install
+ OPENAL_PREFIX := /usr/local/src/fgfs-builder/install
+ SVNDEF := -D'SVN_REV="$(shell svnversion -n .)"'
+ INSTALL_BIN := /usr/local/bin
+-INSTALL_DIR := /usr/local/fgcom
++INSTALL_DIR := /usr/share/fgcom
+ SIMGEAR_INC := ~/tmp/simgear
+-DEBUG := -O0 -Wall -ggdb
+-CXXFLAGS := $(DEBUG) $(SVNDEF) -I $(OPENAL_PREFIX) -I ../iaxclient/lib -I $(PLIB_PREFIX)/include
++CXXFLAGS := $(CFLAGS) $(SVNDEF) -I $(OPENAL_PREFIX) -I ../iaxclient/lib -I $(PLIB_PREFIX)/include
+ CXXFLAGS += -I $(SIMGEAR_INC) -DDEFAULT_POSITIONS_FILE=\"$(INSTALL_DIR)/positions.txt\" -DSPECIAL_FREQUENCIES_FILE=\"$(INSTALL_DIR)/special_frequencies.txt\"
+-LDFLAGS := -L $(PLIB_PREFIX)/lib
++LIBS := -L $(PLIB_PREFIX)/lib
+ STATIC_LIBS := ../iaxclient/lib/libiaxclient.a -lopenal -lasound -lplibul -lplibnet -lpthread -lsgmisc -lsgdebug -lz -lm
+ INDENT := /usr/bin/indent
+ ECHO := /bin/echo -e
+@@ -78,7 +77,7 @@ iaxclient:
+ 
+ fgcomstatic: $(OFILES)
+ 	cd ../iaxclient/lib && make
+-	$(CXX) $(LDFLAGS) $(OFILES) $(STATIC_LIBS) -o fgcom
++	$(CXX) $(LDFLAGS) $(OFILES) $(LIBS) $(STATIC_LIBS) -o fgcom
+ 
+ indent:	$(CPPFILES) $(HFILES)
+ 	$(INDENT) $(IFLAGS) $(CPPFILES) $(HFILES)

diff --git a/games-util/fgcom/metadata.xml b/games-util/fgcom/metadata.xml
new file mode 100644
index 0000000..a5f4ada
--- /dev/null
+++ b/games-util/fgcom/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+<maintainer>
+<email>chris@ilovelinux.de</email>
+<name>Christian Schmitt</name>
+</maintainer>
+</pkgmetadata>



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] proj/gamerlay:master commit in: games-util/fgcom/, games-util/fgcom/files/
@ 2012-07-13 20:46 Christian Schmitt
  0 siblings, 0 replies; 2+ messages in thread
From: Christian Schmitt @ 2012-07-13 20:46 UTC (permalink / raw
  To: gentoo-commits

commit:     aaf40eb5f9deeacc06640cc8a34d6f8e7a81030a
Author:     Christian Schmitt <chris <AT> ilovelinux <DOT> de>
AuthorDate: Fri Jul 13 20:45:39 2012 +0000
Commit:     Christian Schmitt <chris <AT> ilovelinux <DOT> de>
CommitDate: Fri Jul 13 20:46:22 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=aaf40eb5

[games-util/fgcom] move to new git repo, switch to cmake

---
 games-util/fgcom/fgcom-9999.ebuild          |   24 ++-------------------
 games-util/fgcom/files/fgcom-makefile.patch |   29 ---------------------------
 2 files changed, 3 insertions(+), 50 deletions(-)

diff --git a/games-util/fgcom/fgcom-9999.ebuild b/games-util/fgcom/fgcom-9999.ebuild
index 4d54f1a..1f4e649 100644
--- a/games-util/fgcom/fgcom-9999.ebuild
+++ b/games-util/fgcom/fgcom-9999.ebuild
@@ -1,14 +1,14 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
 EAPI=4
 
-inherit subversion
+inherit cmake-utils git-2
 
 DESCRIPTION="A VoIP client for FlightGear"
 HOMEPAGE="http://fgcom.sourceforge.net/"
-ESVN_REPO_URI="http://fgcom.svn.sourceforge.net/svnroot/fgcom/trunk"
+EGIT_REPO_URI="git://gitorious.org/fg/fgcom.git"
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -19,21 +19,3 @@ DEPEND="dev-games/simgear
 	media-libs/openal
 	media-libs/plib"
 RDEPEND="${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/fgcom/files/fgcom-makefile.patch
deleted file mode 100644
index 56ae235..0000000
--- a/games-util/fgcom/files/fgcom-makefile.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-diff --git a/src/Makefile b/src/Makefile
-index 5bb5259..340aec2 100644
---- a/src/Makefile
-+++ b/src/Makefile
-@@ -35,12 +35,11 @@ PLIB_PREFIX := /usr/local/src/fgfs-builder/install
- OPENAL_PREFIX := /usr/local/src/fgfs-builder/install
- SVNDEF := -D'SVN_REV="$(shell svnversion -n .)"'
- INSTALL_BIN := /usr/local/bin
--INSTALL_DIR := /usr/local/fgcom
-+INSTALL_DIR := /usr/share/fgcom
- SIMGEAR_INC := ~/tmp/simgear
--DEBUG := -O0 -Wall -ggdb
--CXXFLAGS := $(DEBUG) $(SVNDEF) -I $(OPENAL_PREFIX) -I ../iaxclient/lib -I $(PLIB_PREFIX)/include
-+CXXFLAGS := $(CFLAGS) $(SVNDEF) -I $(OPENAL_PREFIX) -I ../iaxclient/lib -I $(PLIB_PREFIX)/include
- CXXFLAGS += -I $(SIMGEAR_INC) -DDEFAULT_POSITIONS_FILE=\"$(INSTALL_DIR)/positions.txt\" -DSPECIAL_FREQUENCIES_FILE=\"$(INSTALL_DIR)/special_frequencies.txt\"
--LDFLAGS := -L $(PLIB_PREFIX)/lib
-+LIBS := -L $(PLIB_PREFIX)/lib
- STATIC_LIBS := ../iaxclient/lib/libiaxclient.a -lopenal -lasound -lplibul -lplibnet -lpthread -lsgmisc -lsgdebug -lz -lm
- INDENT := /usr/bin/indent
- ECHO := /bin/echo -e
-@@ -78,7 +77,7 @@ iaxclient:
- 
- fgcomstatic: $(OFILES)
- 	cd ../iaxclient/lib && make
--	$(CXX) $(LDFLAGS) $(OFILES) $(STATIC_LIBS) -o fgcom
-+	$(CXX) $(LDFLAGS) $(OFILES) $(LIBS) $(STATIC_LIBS) -o fgcom
- 
- indent:	$(CPPFILES) $(HFILES)
- 	$(INDENT) $(IFLAGS) $(CPPFILES) $(HFILES)



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-07-13 20:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-13 20:46 [gentoo-commits] proj/gamerlay:master commit in: games-util/fgcom/, games-util/fgcom/files/ Christian Schmitt
  -- strict thread matches above, loose matches on Subject: below --
2011-08-24 16:02 Christian Schmitt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox