From cfca9d17b47f7904644caaecec97261892f2e349 Mon Sep 17 00:00:00 2001 From: Timothy Redaelli Date: Sat, 25 Nov 2006 11:39:57 +0000 Subject: [PATCH] New ebuild, thanks to Gorch wrt bug #155517 Package-Manager: portage-2.1.2_rc2 --- media-sound/mumble/ChangeLog | 10 ++++ media-sound/mumble/Manifest | 30 ++++++++++ media-sound/mumble/files/digest-mumble-0.9.4 | 3 + .../mumble/files/mumble-0.9.4-path.patch | 14 +++++ media-sound/mumble/metadata.xml | 11 ++++ media-sound/mumble/mumble-0.9.4.ebuild | 57 +++++++++++++++++++ 6 files changed, 125 insertions(+) create mode 100644 media-sound/mumble/ChangeLog create mode 100644 media-sound/mumble/Manifest create mode 100644 media-sound/mumble/files/digest-mumble-0.9.4 create mode 100644 media-sound/mumble/files/mumble-0.9.4-path.patch create mode 100644 media-sound/mumble/metadata.xml create mode 100644 media-sound/mumble/mumble-0.9.4.ebuild diff --git a/media-sound/mumble/ChangeLog b/media-sound/mumble/ChangeLog new file mode 100644 index 000000000000..bf7e9f3bd91a --- /dev/null +++ b/media-sound/mumble/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for media-sound/mumble +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/mumble/ChangeLog,v 1.1 2006/11/25 11:39:57 drizzt Exp $ + +*mumble-0.9.4 (25 Nov 2006) + + 25 Nov 2006; Timothy Redaelli + +files/mumble-0.9.4-path.patch, +metadata.xml, +mumble-0.9.4.ebuild: + New ebuild, thanks to Gorch wrt bug #155517 + diff --git a/media-sound/mumble/Manifest b/media-sound/mumble/Manifest new file mode 100644 index 000000000000..5d6ab0427183 --- /dev/null +++ b/media-sound/mumble/Manifest @@ -0,0 +1,30 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX mumble-0.9.4-path.patch 447 RMD160 862ab9f81c026c142c62aeb14692f28098563a9c SHA1 e6872cdffc10c53dacc7c04833b65894e65c3ef6 SHA256 bcd9fd343e4f7694b0056ae2914b7d0e6f060fca1ac6f03da3ca4a5c77f0a4be +MD5 e2fd5b8062c1c5bd829880b0ff423b19 files/mumble-0.9.4-path.patch 447 +RMD160 862ab9f81c026c142c62aeb14692f28098563a9c files/mumble-0.9.4-path.patch 447 +SHA256 bcd9fd343e4f7694b0056ae2914b7d0e6f060fca1ac6f03da3ca4a5c77f0a4be files/mumble-0.9.4-path.patch 447 +DIST mumble-0.9.4.tar.bz2 250137 RMD160 96fe8968d888a4b491fe35894a4da46bc39c3765 SHA1 0cfd59658a814457764201fe85e0fa12161c1fc5 SHA256 cf02411ad244dbe6537f4bdfe64b0accc6dcb668d47e4b371c08572052b6259d +EBUILD mumble-0.9.4.ebuild 1422 RMD160 30bb5602f306a8954533d54592239ea4939aac1b SHA1 84e2a00714db63354632f4704bfbbc996dcc64bc SHA256 cf54b504233b2b07aaacdefebe7d50106da12bda162ee5019e9240f9793b017d +MD5 7de661c3b7dca7b154f30c0a53cdbabd mumble-0.9.4.ebuild 1422 +RMD160 30bb5602f306a8954533d54592239ea4939aac1b mumble-0.9.4.ebuild 1422 +SHA256 cf54b504233b2b07aaacdefebe7d50106da12bda162ee5019e9240f9793b017d mumble-0.9.4.ebuild 1422 +MISC ChangeLog 408 RMD160 1a43fdd3921b2c1202e5e1b29eeca8547c054d93 SHA1 010f4a00936c017b77c31c472da89aa1a80b3ec0 SHA256 8b09757e53d3f46af1b766a206dca37e685e0cacb9eb68fd50bc3b0d5e29d3ba +MD5 d0a1d044324d4320ac5ba10cdfa17ad7 ChangeLog 408 +RMD160 1a43fdd3921b2c1202e5e1b29eeca8547c054d93 ChangeLog 408 +SHA256 8b09757e53d3f46af1b766a206dca37e685e0cacb9eb68fd50bc3b0d5e29d3ba ChangeLog 408 +MISC metadata.xml 363 RMD160 102575523319353cc60e28189e68b28f59a07f0f SHA1 75130f6e4f918296cbd65ec77a06109c1151b44b SHA256 443f75198b71c6b920850b016d9c020315da4b672a9e474d82acf7ac02eeaa06 +MD5 a32c99e88c3e3e0271a1d6ca7d9da262 metadata.xml 363 +RMD160 102575523319353cc60e28189e68b28f59a07f0f metadata.xml 363 +SHA256 443f75198b71c6b920850b016d9c020315da4b672a9e474d82acf7ac02eeaa06 metadata.xml 363 +MD5 08f2afb232db5f6d9178ec45c2791b87 files/digest-mumble-0.9.4 241 +RMD160 71523f6c7a5192ac9743b321596c60e4a0330e86 files/digest-mumble-0.9.4 241 +SHA256 c39405f998fec0788de7d48221b7ea3d26183cf7fa5e63e670587eaf36a554fd files/digest-mumble-0.9.4 241 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.5 (GNU/Linux) + +iD8DBQFFaCu6GDyatLGpTbYRArmcAJkBhQqXEjvk7qkqeOtryvEEITdGPACgm9+y +UilcrSLor0TuduMQzWcGORM= +=z4lY +-----END PGP SIGNATURE----- diff --git a/media-sound/mumble/files/digest-mumble-0.9.4 b/media-sound/mumble/files/digest-mumble-0.9.4 new file mode 100644 index 000000000000..ebe934a2e016 --- /dev/null +++ b/media-sound/mumble/files/digest-mumble-0.9.4 @@ -0,0 +1,3 @@ +MD5 22b08db6e4757134ba27a93d145d647b mumble-0.9.4.tar.bz2 250137 +RMD160 96fe8968d888a4b491fe35894a4da46bc39c3765 mumble-0.9.4.tar.bz2 250137 +SHA256 cf02411ad244dbe6537f4bdfe64b0accc6dcb668d47e4b371c08572052b6259d mumble-0.9.4.tar.bz2 250137 diff --git a/media-sound/mumble/files/mumble-0.9.4-path.patch b/media-sound/mumble/files/mumble-0.9.4-path.patch new file mode 100644 index 000000000000..7462e91a04f1 --- /dev/null +++ b/media-sound/mumble/files/mumble-0.9.4-path.patch @@ -0,0 +1,14 @@ +--- Database.cpp.orig 2006-11-25 12:13:13.745701315 +0100 ++++ Database.cpp 2006-11-25 12:14:31.167122733 +0100 +@@ -37,10 +37,7 @@ + QStringList datapaths; + int i; + +- datapaths << qs.value("InstPath").toString(); +- datapaths << QDir::homePath(); +- datapaths << qApp->applicationDirPath(); +- datapaths << QDir::currentPath(); ++ datapaths << QDir::homePath() + "/.qt"; + bool found = false; + + for(i = 0; (i < datapaths.size()) && ! found; i++) { diff --git a/media-sound/mumble/metadata.xml b/media-sound/mumble/metadata.xml new file mode 100644 index 000000000000..74ac835bd3ee --- /dev/null +++ b/media-sound/mumble/metadata.xml @@ -0,0 +1,11 @@ + + + +voip + +drizzt@gentoo.org + + +Mumble is a low-latency, high quality voice chat software primarily intended for use while gaming. + + diff --git a/media-sound/mumble/mumble-0.9.4.ebuild b/media-sound/mumble/mumble-0.9.4.ebuild new file mode 100644 index 000000000000..2d6892c586aa --- /dev/null +++ b/media-sound/mumble/mumble-0.9.4.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/mumble/mumble-0.9.4.ebuild,v 1.1 2006/11/25 11:39:57 drizzt Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="voice chat software for gaming written in Qt4" +HOMEPAGE="http://mumble.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND="dev-libs/boost + =x11-libs/qt-4* + media-libs/speex + media-libs/alsa-lib + x11-libs/libXevie" + +RDEPEND="${DEPEND}" + +pkg_setup() { + if ! built_with_use =x11-libs/qt-4* sqlite ; then + echo + ewarn "You need to build Qt4 with the sqlite use flag" + echo + die "Your Qt4 has no sqlite support" + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${P}-path.patch +} + +src_compile() { + qmake mumble.pro || die "qmake failed" + lrelease mumble.pro || die "mumble translation failed" + emake CC="$(tc-getCC) ${CFLAGS}" \ + CXX="$(tc-getCXX) ${CXXFLAGS}" \ + LINK="$(tc-getCXX)" \ + LFLAGS="${LDFLAGS}" || die "emake failed" +} + +src_install() { + dodoc README CHANGES || die "installing docs failed" + dobin mumble || die "installing failed" + insinto /usr/share/pixmaps + newins mumble.png.0 mumble.png \ + || die "installing icon failed" + make_desktop_entry mumble "Mumble" mumble.png "KDE;Qt;AudioVideo" \ + || die "installing desktop entry failed" +} -- 2.26.2