summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2008-06-06 16:51:12 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2008-06-06 16:51:12 +0000
commit91f3fe9109f66e215028e91471054913d94cd914 (patch)
tree98c0cb0baf43e866d2fc7ee3711b71a3ba2c7466 /x11-misc
parentversion bump (diff)
downloadhistorical-91f3fe9109f66e215028e91471054913d94cd914.tar.gz
historical-91f3fe9109f66e215028e91471054913d94cd914.tar.bz2
historical-91f3fe9109f66e215028e91471054913d94cd914.zip
Initial commit.
Package-Manager: portage-2.1.5.4
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/google-gadgets/ChangeLog10
-rw-r--r--x11-misc/google-gadgets/Manifest4
-rw-r--r--x11-misc/google-gadgets/google-gadgets-0.9.2.ebuild131
-rw-r--r--x11-misc/google-gadgets/metadata.xml9
4 files changed, 154 insertions, 0 deletions
diff --git a/x11-misc/google-gadgets/ChangeLog b/x11-misc/google-gadgets/ChangeLog
new file mode 100644
index 000000000000..94ad885dce40
--- /dev/null
+++ b/x11-misc/google-gadgets/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for x11-misc/google-gadgets
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/google-gadgets/ChangeLog,v 1.1 2008/06/06 16:51:12 loki_val Exp $
+
+*google-gadgets-0.9.2 (06 Jun 2008)
+
+ 06 Jun 2008; Peter Alfredsen <loki_val@gentoo.org> +metadata.xml,
+ +google-gadgets-0.9.2.ebuild:
+ Initial commit.
+
diff --git a/x11-misc/google-gadgets/Manifest b/x11-misc/google-gadgets/Manifest
new file mode 100644
index 000000000000..585b2ba97609
--- /dev/null
+++ b/x11-misc/google-gadgets/Manifest
@@ -0,0 +1,4 @@
+DIST google-gadgets-for-linux-0.9.2.tar.gz 2335255 RMD160 ca4f3566aa18de287b72d3cab8ace50e27c3e427 SHA1 931832a65a1025df810b3665520958da00adc094 SHA256 4918565eafa989f0c027a2ab5592a483eb5fde059ce15e1eb8a239edfd3a82ad
+EBUILD google-gadgets-0.9.2.ebuild 3908 RMD160 01e23e2b2a6d889eafa559582b8d9d5d36101605 SHA1 afa2deee333c159df64b0a88b433366dbee8c8bb SHA256 5e6115b297fcd3672e23152c97909d36ddf003587498ded4d0535216cb130b01
+MISC ChangeLog 377 RMD160 063438954c0d5d46ea58ef06473ad212f1eea622 SHA1 13bd527c6c4d9da881708b5308d06215b8cac85e SHA256 a86c4d4b376262c8e4853e981467f81c8990b6380e722942184024e696a7d6d2
+MISC metadata.xml 258 RMD160 e363fac4024fa1d6e8481465c06e42cbe2eb9e2a SHA1 26ea33fa143b55cfa84ee879aab41f1b5e337127 SHA256 960cfc8d2eda3540d50ea76f60889fb72e3dc8342ecd9dce2070517e4469f599
diff --git a/x11-misc/google-gadgets/google-gadgets-0.9.2.ebuild b/x11-misc/google-gadgets/google-gadgets-0.9.2.ebuild
new file mode 100644
index 000000000000..c61f9170774d
--- /dev/null
+++ b/x11-misc/google-gadgets/google-gadgets-0.9.2.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/google-gadgets/google-gadgets-0.9.2.ebuild,v 1.1 2008/06/06 16:51:12 loki_val Exp $
+
+EAPI=1
+
+inherit base autotools libtool
+
+MY_PN=${PN}-for-linux
+MY_P=${MY_PN}-${PV}
+DESCRIPTION="Cool gadgets from Google for your Desktop"
+HOMEPAGE="http://code.google.com/p/google-gadgets-for-linux/"
+SRC_URI="http://${MY_PN}.googlecode.com/files/${MY_P}.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="+dbus debug +gtk +qt4 +gstreamer"
+
+# Weird things happen when we start mix-n-matching, so for the time being
+# I've just locked the deps to the versions I have.
+# google gadgets will compile against xulrunner-1.9. Work, well...
+RDEPEND=">=dev-lang/spidermonkey-1.7.0
+ x11-libs/libX11
+ x11-libs/libXext
+ >=dev-libs/libxml2-2.6.32
+ >=sys-libs/zlib-1.2.3-r1
+
+ dbus? ( sys-apps/dbus )
+
+ gstreamer? ( >=media-libs/gstreamer-0.10.19
+ >=media-libs/gst-plugins-base-0.10.19 )
+
+ gtk? ( dbus? ( >=dev-libs/dbus-glib-0.74 )
+ >=x11-libs/cairo-1.6.4
+ >=x11-libs/gtk+-2.12.10
+ >=x11-libs/pango-1.20.3
+ >=net-libs/xulrunner-1.8.1.14
+ >=net-misc/curl-7.18.1
+ >=dev-libs/atk-1.22.0 )
+
+ qt4? ( dbus? ( >=x11-libs/qt-dbus-4.4.0 )
+ >=x11-libs/qt-core-4.4.0
+ >=x11-libs/qt-webkit-4.4.0
+ >=x11-libs/qt-xmlpatterns-4.4.0
+ >=x11-libs/qt-opengl-4.4.0 )"
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.20"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ base_src_unpack
+ cd "${S}"
+ elibtoolize
+ AT_M4DIR="libltdl"
+ eautoreconf
+}
+
+pkg_setup() {
+ if ! use qt4
+ then
+ ewarn "Since >=x11-libs/qt-core-4.4.0 and related packages are package.masked"
+ ewarn "pending updates to the tree, the qt backend for ${PN} will not be built"
+ ewarn "unless you unmask the qt dependencies of this package and add"
+ ewarn "${CATEGORY}/${PN} qt4"
+ ewarn "to /etc/portage/profile/package.use.force"
+ fi
+
+ # If a non-google, non-qt4 and non-gtk host system for google-gadgets is ever developed,
+ # I'll consider changing the error below.
+ if ! use gtk && ! use qt4
+ then
+ eerror "You must choose which toolkit to build for. Either qt4 or gtk can be"
+ eerror "chosen. For qt4, see also above. To enable $toolkit, do:"
+ eerror "echo \"${CATEGORY}/${PN} \$toolkit\" >> /etc/portage/package.use"
+ die "You need to choose a toolkit"
+ fi
+
+ if ! use gstreamer
+ then
+ ewarn "Disabling gstreamer disables the multimedia functions of ${PN}."
+ ewarn "This is not recommended. To enable gstreamer, do:"
+ ewarn "echo \"${CATEGORY}/${PN} gstreamer\" >> /etc/portage/package.use"
+ fi
+
+ if use gtk
+ then
+ if built_with_use net-misc/curl ssl
+ then
+ if built_with_use net-misc/curl nss || built_with_use net-misc/curl gnutls
+ then
+ curl_die
+ else
+ einfo "Congratulations! Your net-misc/curl is configured correctly to run"
+ einfo "${PN}. Not many can say that."
+ fi
+ else
+ curl_die
+ fi
+ fi
+}
+
+src_compile() {
+ econf --disable-dependecy-tracking \
+ --disable-werror \
+ --enable-libxml2-xml-parser \
+ --enable-smjs-script-runtime \
+ $(use_enable debug) \
+ $(use_enable dbus libggadget-dbus) \
+ $(use_enable gstreamer gst-audio-framework) \
+ $(use_enable gstreamer gst-mediaplayer-element) \
+ $(use_enable gtk gtk-host) \
+ $(use_enable gtk libggadget-gtk ) \
+ $(use_enable gtk gtkmoz-browser-element) \
+ $(use_enable gtk gtk-system-framework) \
+ $(use_enable gtk curl_xml_http_request) \
+ $(use_enable qt4 qt-host) \
+ $(use_enable qt4 libggadget-qt) \
+ $(use_enable qt4 qt-system-framework) \
+ $(use_enable qt4 qtwebkit-browser-element) \
+ $(use_enable qt4 qt-xml-http-request) \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+curl_die() {
+ eerror "net-misc/curl must be built with these use flags: ssl -gnutls -nss"
+ eerror "to do so, do:"
+ eerror 'echo "net-misc/curl ssl -gnutls -nss" >> /etc/portage/package.use'
+ die "Your net-misc/curl was misconfigured."
+}
diff --git a/x11-misc/google-gadgets/metadata.xml b/x11-misc/google-gadgets/metadata.xml
new file mode 100644
index 000000000000..762741c0ab18
--- /dev/null
+++ b/x11-misc/google-gadgets/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>no-herd</herd>
+ <maintainer>
+ <email>loki_val@gentoo.org</email>
+ <name>Peter Alfredsen</name>
+ </maintainer>
+</pkgmetadata>