# ChangeLog for app-emulation/spice-vdagent
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/spice-vdagent/ChangeLog,v 1.1 2011/05/11 09:02:31 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/spice-vdagent/ChangeLog,v 1.2 2011/07/25 09:24:52 dev-zero Exp $
+
+*spice-vdagent-0.8.1 (25 Jul 2011)
+
+ 25 Jul 2011; Tiziano Müller <dev-zero@gentoo.org>
+ +spice-vdagent-0.8.1.ebuild, files/spice-vdagent.initd:
+ Version bump (bug #376269).
*spice-vdagent-0.8.0 (11 May 2011)
#!/sbin/runscript
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/spice-vdagent/files/spice-vdagent.initd,v 1.1 2011/05/11 09:02:31 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/spice-vdagent/files/spice-vdagent.initd,v 1.2 2011/07/25 09:24:52 dev-zero Exp $
depend() {
after dbus
fi
eend 0
+ # recreate the directory since /var/run may reside on a ramdisk
+ mkdir -p /var/run/spice-vdagentd
+
# cleanup stalled socket
rm -f /var/run/spice-vdagentd/spice-vdagent-sock
--- /dev/null
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/spice-vdagent/spice-vdagent-0.8.1.ebuild,v 1.1 2011/07/25 09:24:52 dev-zero Exp $
+
+EAPI=4
+
+inherit linux-info
+
+DESCRIPTION="SPICE VD Linux Guest Agent."
+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="+consolekit"
+
+RDEPEND="x11-libs/libXfixes
+ x11-libs/libXrandr
+ x11-libs/libX11
+ >=app-emulation/spice-protocol-0.8.1
+ consolekit? ( sys-auth/consolekit sys-apps/dbus )"
+DEPEND="dev-util/pkgconfig
+ ${RDEPEND}"
+
+CONFIG_CHECK="INPUT_UINPUT"
+ERROR_INPUT_UINPUT="User level driver support is required to run the spice-vdagent daemon"
+
+src_configure() {
+ econf \
+ --localstatedir=/var \
+ $(use_enable consolekit console-kit)
+}
+
+src_install() {
+ default
+
+ rm -rf "${D}"/etc/{rc,tmpfiles}.d
+
+ keepdir /var/run/spice-vdagentd
+ keepdir /var/log/spice-vdagentd
+
+ newinitd "${FILESDIR}/${PN}.initd" "${PN}"
+ newconfd "${FILESDIR}/${PN}.confd" "${PN}"
+}
+
+pkg_postinst() {
+ elog "Make sure that the User level driver support kernel module 'uinput' is loaded"
+ elog "if built as a module before starting the vdagent daemon."
+}
# 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.12 2011/05/29 11:15:32 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/spice/ChangeLog,v 1.13 2011/07/25 09:21:07 dev-zero Exp $
+
+*spice-0.8.2 (25 Jul 2011)
+
+ 25 Jul 2011; Tiziano Müller <dev-zero@gentoo.org> +spice-0.8.2.ebuild:
+ Version bump (bug #376269).
29 May 2011; Christian Faulhammer <fauli@gentoo.org> spice-0.8.1.ebuild:
add ~x86, bug 368961
--- /dev/null
+# 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.8.2.ebuild,v 1.1 2011/07/25 09:21:07 dev-zero Exp $
+
+EAPI=4
+
+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 ~x86"
+IUSE="+gui sasl static-libs"
+
+RDEPEND=">=app-emulation/spice-protocol-0.1
+ >=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* )
+ sasl? ( dev-libs/cyrus-sasl )"
+DEPEND="dev-util/pkgconfig
+ ${RDEPEND}"
+
+# maintainer notes:
+# * opengl support is currently broken
+# * add slirp for tunnel-support
+# * add libcacard for smartcard support
+
+src_configure() {
+ local myconf=""
+ use gui && myconf+="--enable-gui "
+ econf ${myconf} \
+ $(use_enable static-libs static) \
+ $(use_with sasl)
+}
+
+src_install() {
+ default
+ use static-libs || rm "${D}"/usr/lib*/*.la
+}