diff options
author | Tristan Heaven <nyhm@gentoo.org> | 2007-05-01 16:21:47 +0000 |
---|---|---|
committer | Tristan Heaven <nyhm@gentoo.org> | 2007-05-01 16:21:47 +0000 |
commit | 621c7ac340693ac869f8bfe0182f205cc1ae5e36 (patch) | |
tree | f0471c70a984e1a06b3d963257eb6287f1892912 /games-board/ggz-kde-client | |
parent | Fix build on fbsd; bug #176655 (diff) | |
download | gentoo-2-621c7ac340693ac869f8bfe0182f205cc1ae5e36.tar.gz gentoo-2-621c7ac340693ac869f8bfe0182f205cc1ae5e36.tar.bz2 gentoo-2-621c7ac340693ac869f8bfe0182f205cc1ae5e36.zip |
Add avahi USE flag, bug #172712
(Portage version: 2.1.2.5)
Diffstat (limited to 'games-board/ggz-kde-client')
-rw-r--r-- | games-board/ggz-kde-client/ChangeLog | 6 | ||||
-rw-r--r-- | games-board/ggz-kde-client/files/ggz-kde-client-0.0.14-howl.patch | 26 | ||||
-rw-r--r-- | games-board/ggz-kde-client/ggz-kde-client-0.0.14.ebuild | 22 |
3 files changed, 47 insertions, 7 deletions
diff --git a/games-board/ggz-kde-client/ChangeLog b/games-board/ggz-kde-client/ChangeLog index da661358dfc2..7ab21f25d73b 100644 --- a/games-board/ggz-kde-client/ChangeLog +++ b/games-board/ggz-kde-client/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-board/ggz-kde-client # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/ggz-kde-client/ChangeLog,v 1.7 2007/02/22 15:11:34 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/ggz-kde-client/ChangeLog,v 1.8 2007/05/01 16:21:47 nyhm Exp $ + + 01 May 2007; Tristan Heaven <nyhm@gentoo.org> + +files/ggz-kde-client-0.0.14-howl.patch, ggz-kde-client-0.0.14.ebuild: + Add avahi USE flag, bug #172712 *ggz-kde-client-0.0.14 (22 Feb 2007) diff --git a/games-board/ggz-kde-client/files/ggz-kde-client-0.0.14-howl.patch b/games-board/ggz-kde-client/files/ggz-kde-client-0.0.14-howl.patch new file mode 100644 index 000000000000..999edd79c91c --- /dev/null +++ b/games-board/ggz-kde-client/files/ggz-kde-client-0.0.14-howl.patch @@ -0,0 +1,26 @@ +--- configure.ac ++++ configure.ac +@@ -81,21 +81,16 @@ + + AC_CHECK_LIB(howl, sw_discovery_init, + [ +- AC_CHECK_HEADERS([howl/howl_config.h], +- [ + AC_DEFINE(WITH_HOWL, 1, [Use howl for zeroconf mechanism]) +- HOWL_INCLUDES="-I/usr/include/howl" ++ HOWL_INCLUDES="-I/usr/include/howl -I/usr/include/avahi-compat-howl" + LIB_HOWL="-lhowl -lpthread" + AC_SUBST(HOWL_INCLUDES) + AC_SUBST(LIB_HOWL) + AC_C_BIGENDIAN +- ], +- [ +- AC_MSG_WARN([Zeroconf diabled, libhowl (headers) not found.]) +- ]) + ], + [ + AC_MSG_WARN([Zeroconf disabled, libhowl (libs) not found.]) ++ exit 1 + ], + [-lpthread]) + diff --git a/games-board/ggz-kde-client/ggz-kde-client-0.0.14.ebuild b/games-board/ggz-kde-client/ggz-kde-client-0.0.14.ebuild index 1617472b2824..55ab78454d48 100644 --- a/games-board/ggz-kde-client/ggz-kde-client-0.0.14.ebuild +++ b/games-board/ggz-kde-client/ggz-kde-client-0.0.14.ebuild @@ -1,29 +1,39 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/ggz-kde-client/ggz-kde-client-0.0.14.ebuild,v 1.2 2007/03/06 12:07:46 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/ggz-kde-client/ggz-kde-client-0.0.14.ebuild,v 1.3 2007/05/01 16:21:47 nyhm Exp $ -inherit eutils kde-functions games-ggz +inherit autotools eutils kde-functions games-ggz DESCRIPTION="The KDE client for GGZ Gaming Zone" LICENSE="GPL-2" SLOT="0" KEYWORDS="ppc x86" -IUSE="arts" +IUSE="arts avahi" RDEPEND="~dev-games/ggz-client-libs-${PV} virtual/libintl - net-misc/howl - arts? ( kde-base/arts )" + arts? ( kde-base/arts ) + avahi? ( net-dns/avahi ) + !avahi? ( net-misc/howl )" DEPEND="${RDEPEND} sys-devel/gettext" need-kde 3 +pkg_setup() { + if use avahi && ! built_with_use net-dns/avahi howl-compat ; then + die "Please build net-dns/avahi with USE=howl-compat" + fi +} + src_unpack() { unpack ${A} cd "${S}" - epatch "${FILESDIR}"/${P}-defines.patch + epatch \ + "${FILESDIR}"/${P}-defines.patch \ + "${FILESDIR}"/${P}-howl.patch + eautoconf } src_compile() { |