diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2011-02-05 07:53:04 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2011-02-05 07:53:04 +0000 |
commit | ed9bd87915dae008f85ede1bd2a8f4ad17c938f5 (patch) | |
tree | ac6699da0a6a5ac9ad82ad98db1d5c3dc944e03d /app-emulation | |
parent | Fix building with x11-libs/libnotify >= 0.7. (diff) | |
download | gentoo-2-ed9bd87915dae008f85ede1bd2a8f4ad17c938f5.tar.gz gentoo-2-ed9bd87915dae008f85ede1bd2a8f4ad17c938f5.tar.bz2 gentoo-2-ed9bd87915dae008f85ede1bd2a8f4ad17c938f5.zip |
Version bump.
(Portage version: 2.1.9.35/cvs/Linux x86_64)
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/spice/ChangeLog | 7 | ||||
-rw-r--r-- | app-emulation/spice/spice-0.7.2.ebuild | 79 |
2 files changed, 85 insertions, 1 deletions
diff --git a/app-emulation/spice/ChangeLog b/app-emulation/spice/ChangeLog index 839b04ba07de..a85473e4e306 100644 --- a/app-emulation/spice/ChangeLog +++ b/app-emulation/spice/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-emulation/spice # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/spice/ChangeLog,v 1.6 2011/01/05 15:03:39 dev-zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/spice/ChangeLog,v 1.7 2011/02/05 07:53:04 dev-zero Exp $ + +*spice-0.7.2 (05 Feb 2011) + + 05 Feb 2011; Tiziano Müller <dev-zero@gentoo.org> +spice-0.7.2.ebuild: + Version bump. 05 Jan 2011; Tiziano Müller <dev-zero@gentoo.org> spice-0.7.1.ebuild, +files/spice.protocol, +files/spice.schemas: diff --git a/app-emulation/spice/spice-0.7.2.ebuild b/app-emulation/spice/spice-0.7.2.ebuild new file mode 100644 index 000000000000..9a701fd9eeaa --- /dev/null +++ b/app-emulation/spice/spice-0.7.2.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/spice/spice-0.7.2.ebuild,v 1.1 2011/02/05 07:53:04 dev-zero Exp $ + +EAPI=3 + +inherit autotools eutils gnome2-utils + +DESCRIPTION="SPICE server and client." +HOMEPAGE="http://spice-space.org/" +SRC_URI="http://spice-space.org/download/releases/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="gnome +gui kde static-libs uri" + +RDEPEND=">=app-emulation/spice-protocol-0.7.0 + >=x11-libs/pixman-0.17.7 + media-libs/alsa-lib + media-libs/celt:0.5.1 + dev-libs/openssl + >=x11-libs/libXrandr-1.2 + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXrender + x11-libs/libXfixes + virtual/jpeg + sys-libs/zlib + gui? ( =dev-games/cegui-0.6* ) + uri? ( dev-libs/uriparser + gnome? ( gnome-base/gconf ) )" +DEPEND="dev-util/pkgconfig + ${RDEPEND}" + +# maintainer notes: +# * opengl support is currently broken + +src_prepare() { + if use uri ; then + epatch "${FILESDIR}/0001-Added-initial-connection-url-handling-using-the-urip.patch" + eautoreconf + fi +} + +src_configure() { + local myconf="" + use gui && myconf+="--enable-gui " + econf ${myconf} \ + $(use_enable static-libs static) +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc NEWS TODO + use static-libs || rm "${D}"/usr/lib*/*.la + + if use uri ; then + if use gnome ; then + insinto /etc/gconf/schemas + doins "${FILESDIR}/spice.schemas" + fi + if use kde ; then + insinto /usr/share/kde4/services + doins "${FILESDIR}/spice.protocol" + fi + fi +} + +pkg_preinst() { + use uri && use gnome && gnome2_gconf_savelist +} +pkg_postinst() { + use uri && use gnome && gnome2_gconf_install +} + +pkg_prerm() { + use uri && use gnome && gnome2_gconf_uninstall +} |