add multilib aware ebuilds

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2784 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one
2010-12-25 17:43:20 +00:00
parent ca658c368a
commit c3102397e6
88 changed files with 11089 additions and 0 deletions

View File

@@ -0,0 +1,194 @@
# ChangeLog for x11-misc/google-gadgets
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/google-gadgets/ChangeLog,v 1.34 2010/11/08 04:29:18 jer Exp $
07 Nov 2010; Jeroen Roovers <jer@gentoo.org> google-gadgets-0.10.5.ebuild,
google-gadgets-0.11.1-r1.ebuild, google-gadgets-0.11.2.ebuild:
Remove HPPA keywording (bug #239441).
29 Oct 2010; Jeroen Roovers <jer@gentoo.org>
google-gadgets-0.11.1-r1.ebuild, google-gadgets-0.11.2.ebuild:
Marked ~hppa (bug #272194).
23 Feb 2010; Joseph Jezak <josejx@gentoo.org>
google-gadgets-0.11.2.ebuild:
Marked ~ppc64 for bug #272194.
*google-gadgets-0.11.2 (27 Jan 2010)
27 Jan 2010; Bernard Cafarelli <voyageur@gentoo.org>
+google-gadgets-0.11.2.ebuild:
Version bump, includes previous patches for gtk+-2.19 and xulrunner 1.9.2,
among other fixes
27 Jan 2010; Bernard Cafarelli <voyageur@gentoo.org>
google-gadgets-0.11.1-r1.ebuild,
+files/google-gadgets-0.11.1-xulrunner-1.9.2.patch:
Add upstream patch to fix compilation with xulrunner 1.9.2, bug #301908
23 Nov 2009; Mark Loeser <halcy0n@gentoo.org>
+google-gadgets-0.10.5.ebuild:
Adding back 0.10.5 as its the only version keyworded for hppa and ppc64
*google-gadgets-0.11.1-r1 (23 Nov 2009)
23 Nov 2009; Bernard Cafarelli <voyageur@gentoo.org>
-files/google-gadgets-0.10.0-xulrunner-1.9.patch,
-files/google-gadgets-0.10.4-gcc41.patch,
-files/google-gadgets-0.10.4-xulrunner-1.9.1.patch,
-google-gadgets-0.10.5.ebuild, -google-gadgets-0.11.0.ebuild,
-google-gadgets-0.11.1.ebuild, +google-gadgets-0.11.1-r1.ebuild:
Add gtk+-2.18 support, reported by Alexandre Rostovtsev
<tetromino@gmail.com> in bug #294124
*google-gadgets-0.11.1 (09 Sep 2009)
09 Sep 2009; Bernard Cafarelli <voyageur@gentoo.org>
-google-gadgets-0.10.3.ebuild, -google-gadgets-0.10.4.ebuild,
+google-gadgets-0.11.1.ebuild:
Version bump, bugfix release
02 Jun 2009; Bernard Cafarelli <voyageur@gentoo.org>
google-gadgets-0.11.0.ebuild:
Make xulrunner optional, now that there is a webkit backend
*google-gadgets-0.11.0 (01 Jun 2009)
01 Jun 2009; Bernard Cafarelli <voyageur@gentoo.org>
+google-gadgets-0.11.0.ebuild, metadata.xml:
Version bump, performance improvement, reduced memory consumption, new
backends for webkit-gtk and libsoup, and bugfixes. ~hppa and ~ppc64
keywords temporarly removed pending bug #272194
11 Apr 2009; Raúl Porcel <armin76@gentoo.org>
google-gadgets-0.10.5.ebuild:
Add ~alpha/~ia64 wrt #260777
11 Apr 2009; Jeroen Roovers <jer@gentoo.org> google-gadgets-0.10.5.ebuild:
Marked ~hppa (bug #260777).
16 Feb 2009; Bernard Cafarelli <voyageur@gentoo.org>
-google-gadgets-0.10.0-r2.ebuild, -google-gadgets-0.10.2-r2.ebuild,
google-gadgets-0.10.5.ebuild:
Ebuild cleanup by scarabeus, remove some old versions
05 Feb 2009; Brent Baude <ranger@gentoo.org> google-gadgets-0.10.5.ebuild:
marking google-gadgets-0.10.5 ~ppc for kde tree bustification/repair
05 Feb 2009; Brent Baude <ranger@gentoo.org> google-gadgets-0.10.5.ebuild:
google-gadgets-0.10.5 ~ppc64 for kde borkage
*google-gadgets-0.10.5 (08 Jan 2009)
08 Jan 2009; Bernard Cafarelli <voyageur@gentoo.org>
+google-gadgets-0.10.5.ebuild:
Version bump, mostly bugfixes and new about dialogs
30 Dec 2008; Bernard Cafarelli <voyageur@gentoo.org>
+files/google-gadgets-0.10.4-xulrunner-1.9.1.patch,
google-gadgets-0.10.4.ebuild:
Get ready for xulrunner 1.9.1, patch spotted by loki_val
17 Dec 2008; Bernard Cafarelli <voyageur@gentoo.org>
+files/google-gadgets-0.10.4-gcc41.patch, google-gadgets-0.10.3.ebuild,
google-gadgets-0.10.4.ebuild:
Fix compilation with gcc 4.1, clean warning on gcc version in 0.10.3
(works with gcc 4.1)
*google-gadgets-0.10.4 (16 Dec 2008)
16 Dec 2008; Bernard Cafarelli <voyageur@gentoo.org>
+google-gadgets-0.10.4.ebuild:
Version bump, bugfixes and optimization, more gadgets supported including
the new youtube gadget. Also install ChangeLog
15 Dec 2008; Bernard Cafarelli <voyageur@gentoo.org>
google-gadgets-0.10.3.ebuild:
Fix USE=-gtk compilation, add Gentoo oem branding, thanks Robert Piasek
<robert.piasek@member.fsf.org> and loki_val in bug #250599
*google-gadgets-0.10.3 (10 Dec 2008)
10 Dec 2008; Bernard Cafarelli <voyageur@gentoo.org> metadata.xml,
+google-gadgets-0.10.3.ebuild:
Taking over maintainership, version bump and ebuild cleanups, bug #250508
26 Sep 2008; Peter Alfredsen <loki_val@gentoo.org>
google-gadgets-0.10.2-r2.ebuild:
!! instead of ! to block.
26 Sep 2008; Peter Alfredsen <loki_val@gentoo.org>
google-gadgets-0.10.2-r2.ebuild:
Add note about failure with <gcc-4.2
*google-gadgets-0.10.2-r2 (26 Sep 2008)
26 Sep 2008; Peter Alfredsen <loki_val@gentoo.org>
-google-gadgets-0.10.2.ebuild, -google-gadgets-0.10.2-r1.ebuild,
+google-gadgets-0.10.2-r2.ebuild:
Fix for 'undefined symbol: JS_SetOperationCallback', blocking
spidermonkey. Shifting to EAPI 2 and losing a lot of cruft. Fix sysdeps.h
being installed the wrong place, reported by Sput.
*google-gadgets-0.10.2-r1 (24 Sep 2008)
24 Sep 2008; Peter Alfredsen <loki_val@gentoo.org>
+google-gadgets-0.10.2-r1.ebuild:
Fix ggl crashing on startup.
http://code.google.com/p/google-gadgets-for-linux/issues/detail?id=220
*google-gadgets-0.10.2 (14 Sep 2008)
14 Sep 2008; Peter Alfredsen <loki_val@gentoo.org>
-google-gadgets-0.10.0-r1.ebuild, +google-gadgets-0.10.2.ebuild:
Bump for 0.10.2
24 Aug 2008; Peter Alfredsen <loki_val@gentoo.org>
google-gadgets-0.10.0-r1.ebuild, google-gadgets-0.10.0-r2.ebuild:
Remove ewarn about qt4, since qt-4.4.1 is now unmasked
*google-gadgets-0.10.0-r2 (20 Jul 2008)
20 Jul 2008; Peter Alfredsen <loki_val@gentoo.org>
+files/google-gadgets-0.10.0-xulrunner-1.9.patch,
-google-gadgets-0.10.0.ebuild, google-gadgets-0.10.0-r1.ebuild,
+google-gadgets-0.10.0-r2.ebuild:
Add fix to *really* build with xulrunner-1.9 plus fix ggl-gtk sometimes
not being able to quit.
*google-gadgets-0.10.0-r1 (16 Jul 2008)
16 Jul 2008; Peter Alfredsen <loki_val@gentoo.org>
+google-gadgets-0.10.0-r1.ebuild:
Bugfixes wrt bug 231990 (love to eva) and cleanup of ebuild.
*google-gadgets-0.10.0 (11 Jul 2008)
11 Jul 2008; Peter Alfredsen <loki_val@gentoo.org>
-files/google-gadgets-0.9.2-gcc43-test.patch,
-google-gadgets-0.9.2-r1.ebuild, -google-gadgets-0.9.3.ebuild,
+google-gadgets-0.10.0.ebuild:
Bump to 0.10.0, remove old.
*google-gadgets-0.9.3 (13 Jun 2008)
13 Jun 2008; Peter Alfredsen <loki_val@gentoo.org>
+google-gadgets-0.9.3.ebuild:
Version bump
11 Jun 2008; <welp@gentoo.org> google-gadgets-0.9.2-r1.ebuild:
Keyword ~amd64
*google-gadgets-0.9.2-r1 (08 Jun 2008)
08 Jun 2008; Peter Alfredsen <loki_val@gentoo.org>
+files/google-gadgets-0.9.2-gcc43-test.patch,
-google-gadgets-0.9.2.ebuild, +google-gadgets-0.9.2-r1.ebuild:
New ebuild with Desktop entries and fix for bug 225361.
*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.

View File

@@ -0,0 +1,4 @@
DIST google-gadgets-for-linux-0.11.2.tar.bz2 2539750 RMD160 6497189e64793d2cab16058b4baeb42f3198b97b SHA1 22716f5ae640c7f201012d9d75868137c23ebc79 SHA256 2f129ae6c294876b3bc29bdf66c0f02e2c1000f97aadb3540d296560a14f343f
EBUILD google-gadgets-0.11.2.ebuild 4559 RMD160 3a145b3f955b22c7ffb57bbd224b65546cc89cfb SHA1 de82962286373d8323ec7bf992d87227e070b1f1 SHA256 b3ef2084aa0979565018efc3aa59a22aaa22cf7d233d513624a67ed502e724dd
MISC ChangeLog 7156 RMD160 c399438960d82f5b8a36d4769a6e3fdad7e733d8 SHA1 9ca44e5829b37676f7ed4aad9a773dabe9f07cbe SHA256 1409f8542fb40dc672dc28eac0ae8e00bb6387efcec75c719824bd396940805d
MISC metadata.xml 486 RMD160 b08018667c1efbe528ecbbb88b4a0fe5932464f9 SHA1 6d0a5c446e901d47be27b4c707e986b8b8964c64 SHA256 200d5369ac38f83f0fe143ab1d87c734b88e52eb6eca146208fd21dec5776dda

View File

@@ -0,0 +1,148 @@
# Copyright 1999-2010 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.11.2.ebuild,v 1.4 2010/11/08 04:29:18 jer Exp $
EAPI=2
inherit base autotools multilib eutils fdo-mime
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.bz2"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~x86"
IUSE="+dbus debug +gtk +qt4 +gstreamer networkmanager soup startup-notification webkit +xulrunner"
# Weird things happen when we start mix-n-matching, so for the time being
# I've just locked the deps to the versions I had as of Summer 2008. With any
# luck, they'll be stable when we get to stabling this package.
RDEPEND="
>=dev-libs/libxml2-2.6.32
sys-libs/zlib
x11-libs/libX11
x11-libs/libXext
dbus? ( sys-apps/dbus )
gstreamer? (
>=media-libs/gstreamer-0.10.19
>=media-libs/gst-plugins-base-0.10.19
)
gtk? (
>=dev-libs/atk-1.22.0
gnome-base/librsvg
>=net-misc/curl-7.18.2
>=x11-libs/cairo-1.6.4
>=x11-libs/gtk+-2.12.10
>=x11-libs/pango-1.20.3
dbus? ( >=dev-libs/dbus-glib-0.74 )
)
networkmanager? ( net-misc/networkmanager )
qt4? (
>=x11-libs/qt-core-4.4.0
>=x11-libs/qt-opengl-4.4.0
>=x11-libs/qt-script-4.4.0
>=x11-libs/qt-webkit-4.4.0
>=x11-libs/qt-xmlpatterns-4.4.0
dbus? ( >=x11-libs/qt-dbus-4.4.0 )
)
soup? ( >=net-libs/libsoup-2.26 )
startup-notification? ( x11-libs/startup-notification )
webkit? ( >=net-libs/webkit-gtk-1.0.3 )
xulrunner? ( net-libs/xulrunner:1.9 )
"
DEPEND="${RDEPEND}
>=dev-util/pkgconfig-0.20
"
S="${WORKDIR}/${MY_P}"
RESTRICT="test"
pkg_setup() {
# 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
}
src_prepare() {
sed -i -r \
-e '/^GGL_SYSDEPS_INCLUDE_DIR/ c\GGL_SYSDEPS_INCLUDE_DIR=$GGL_INCLUDE_DIR' \
configure.ac||die "404"
eautoreconf
}
src_configure() {
local myconf="--disable-dependency-tracking \
--disable-update-desktop-database \
--disable-update-mime-database \
--disable-werror \
--enable-libxml2-xml-parser \
--with-browser-plugins-dir=/usr/$(get_libdir)/nsbrowser/plugins \
--with-ssl-ca-file=/etc/ssl/certs/ca-certificates.crt \
--with-oem-brand=Gentoo \
$(use_enable debug) \
$(use_enable dbus libggadget-dbus) \
$(use_enable gstreamer gst-audio-framework) \
$(use_enable gstreamer gst-video-element) \
$(use_enable soup soup-xml-http-request) \
$(use_enable webkit webkit-script-runtime) \
$(use_enable webkit gtkwebkit-browser-element) \
$(use_enable gtk gtk-host) \
$(use_enable gtk libggadget-gtk ) \
$(use_enable gtk gtk-edit-element) \
$(use_enable gtk gtk-flash-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-edit-framework) \
$(use_enable qt4 qt-system-framework) \
$(use_enable qt4 qtwebkit-browser-element) \
$(use_enable qt4 qt-xml-http-request) \
$(use_enable qt4 qt-script-runtime)"
if use xulrunner; then
myconf="${myconf} \
$(use_enable gtk gtkmoz-browser-element) \
--with-gtkmozembed=libxul \
--enable-smjs-script-runtime \
--with-smjs-cppflags=-I/usr/include/nspr \
--with-smjs-libdir=/usr/$(get_libdir)/xulrunner-1.9 \
--with-smjs-incdir=/usr/include/xulrunner-1.9/unstable"
else
myconf="${myconf} --disable-gtkmoz-browser-element --disable-smjs-script-runtime"
fi
econf ${myconf}
}
src_test() {
#If someone wants to guarantee that emake will not make
#tests fail promiscuosly, please do, otherwise we're using make.
make check &> "${WORKDIR}"/check
}
src_install() {
base_src_install
dodoc ChangeLog README
}
pkg_postinst() {
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
}

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
<email>voyageur@gentoo.org</email>
<name>Bernard Cafarelli</name>
</maintainer>
<use>
<flag name="soup">Enables XML HTTP request extension based on <pkg>net-libs/libsoup</pkg></flag>
<flag name="webkit">Enables browser element and script runtime based on <pkg>net-libs/webkit-gtk</pkg></flag>
</use>
</pkgmetadata>