ebuild for picasa, bug 134376
authorStefan Schweizer <genstef@gentoo.org>
Tue, 6 Jun 2006 19:29:10 +0000 (19:29 +0000)
committerStefan Schweizer <genstef@gentoo.org>
Tue, 6 Jun 2006 19:29:10 +0000 (19:29 +0000)
Package-Manager: portage-2.1_rc4-r1

media-gfx/picasa/ChangeLog [new file with mode: 0644]
media-gfx/picasa/Manifest [new file with mode: 0644]
media-gfx/picasa/files/digest-picasa-2.2.2820.5 [new file with mode: 0644]
media-gfx/picasa/metadata.xml [new file with mode: 0644]
media-gfx/picasa/picasa-2.2.2820.5.ebuild [new file with mode: 0644]

diff --git a/media-gfx/picasa/ChangeLog b/media-gfx/picasa/ChangeLog
new file mode 100644 (file)
index 0000000..c20bdd0
--- /dev/null
@@ -0,0 +1,10 @@
+# ChangeLog for media-gfx/picasa
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/picasa/ChangeLog,v 1.1 2006/06/06 19:29:10 genstef Exp $
+
+*picasa-2.2.2820.5 (06 Jun 2006)
+
+  06 Jun 2006; Stefan Schweizer <genstef@gentoo.org> +metadata.xml,
+  +picasa-2.2.2820.5.ebuild:
+  ebuild for picasa, bug 134376
+
diff --git a/media-gfx/picasa/Manifest b/media-gfx/picasa/Manifest
new file mode 100644 (file)
index 0000000..6986f87
--- /dev/null
@@ -0,0 +1,26 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST picasa-2.2.2820-5.i386.bin 26872893 RMD160 f36c43bbe83f14fbfccd98ebb53fbc316d645945 SHA1 8355e33400cfd1d7d389348455a56e45e0cd2e91 SHA256 a96203833ba333fad3dcae60eab539cc07472851be34fdddbb7d63d7c82bc63d
+EBUILD picasa-2.2.2820.5.ebuild 1987 RMD160 b965364cf80208a026cfa85b878114ba03fe7cec SHA1 362717413725ed2e2aa5129b8b3d2953c2af8b04 SHA256 ad7ef7af0892808607ffd53cc216f258e1ddab8163064e0d4cdff498b112c643
+MD5 1a525da4d7ec5ab9429bc9932fb31fec picasa-2.2.2820.5.ebuild 1987
+RMD160 b965364cf80208a026cfa85b878114ba03fe7cec picasa-2.2.2820.5.ebuild 1987
+SHA256 ad7ef7af0892808607ffd53cc216f258e1ddab8163064e0d4cdff498b112c643 picasa-2.2.2820.5.ebuild 1987
+MISC ChangeLog 370 RMD160 4d50ee8da58275b0dffbd1c0d01520fd8b2ee942 SHA1 d9426211bf778ebb31d1da6a8b0d1178e3b59f94 SHA256 26557af70221eeb0f8f14d10ed9e9062adf5d8336a2efa4d5090747f8f768bca
+MD5 417a6e3b281007b33766f196f8c15609 ChangeLog 370
+RMD160 4d50ee8da58275b0dffbd1c0d01520fd8b2ee942 ChangeLog 370
+SHA256 26557af70221eeb0f8f14d10ed9e9062adf5d8336a2efa4d5090747f8f768bca ChangeLog 370
+MISC metadata.xml 304 RMD160 3cd9315c196ed4d0ec474fb1b9e3cf7567af3c91 SHA1 9776781765288eeb9d4009f8ace681f40d7750d5 SHA256 3bdfb86f3f30de8bc5487eccdbe237404452967ea374e0e56e86e8a09d7d3290
+MD5 b2b1706c8796732b917f1c2bbdfd39d4 metadata.xml 304
+RMD160 3cd9315c196ed4d0ec474fb1b9e3cf7567af3c91 metadata.xml 304
+SHA256 3bdfb86f3f30de8bc5487eccdbe237404452967ea374e0e56e86e8a09d7d3290 metadata.xml 304
+MD5 a85afcab8a70bd319b1e84b15bfefdb2 files/digest-picasa-2.2.2820.5 265
+RMD160 d14be760c659492d320fb7028304d9dc400c7eec files/digest-picasa-2.2.2820.5 265
+SHA256 a1a826a454a2ec78fa388a7e6ffce39cd5d0e5002139c4501eb71e0d97a36741 files/digest-picasa-2.2.2820.5 265
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.3 (GNU/Linux)
+
+iD8DBQFEhdePNJowsmZ/PzARAhugAKCekIb5lxgMC87feiXxZr6svg2fmACgzRGK
+oZiy2xIPjXvi/c6dg9CBXPA=
+=xx+g
+-----END PGP SIGNATURE-----
diff --git a/media-gfx/picasa/files/digest-picasa-2.2.2820.5 b/media-gfx/picasa/files/digest-picasa-2.2.2820.5
new file mode 100644 (file)
index 0000000..d978657
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 4dc28b3419a16e07984f9bf28a0fcc2e picasa-2.2.2820-5.i386.bin 26872893
+RMD160 f36c43bbe83f14fbfccd98ebb53fbc316d645945 picasa-2.2.2820-5.i386.bin 26872893
+SHA256 a96203833ba333fad3dcae60eab539cc07472851be34fdddbb7d63d7c82bc63d picasa-2.2.2820-5.i386.bin 26872893
diff --git a/media-gfx/picasa/metadata.xml b/media-gfx/picasa/metadata.xml
new file mode 100644 (file)
index 0000000..036a7de
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer>
+    <email>genstef@gentoo.org</email>
+    <name>Stefan Schweizer</name>
+       <description>Feel free to change what you want</description>
+  </maintainer>
+</pkgmetadata>
diff --git a/media-gfx/picasa/picasa-2.2.2820.5.ebuild b/media-gfx/picasa/picasa-2.2.2820.5.ebuild
new file mode 100644 (file)
index 0000000..baed4d0
--- /dev/null
@@ -0,0 +1,68 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/picasa/picasa-2.2.2820.5.ebuild,v 1.1 2006/06/06 19:29:10 genstef Exp $
+
+inherit eutils versionator
+
+MY_P="picasa-$(replace_version_separator 3 '-')"
+DESCRIPTION="Google's photo organizer"
+HOMEPAGE="http://picasa.google.com"
+SRC_URI="http://dl.google.com/linux/standalone/${MY_P}.i386.bin"
+LICENSE="GPL-2 MPL-1.1 BSD as-is"
+SLOT="0"
+KEYWORDS="-* ~x86"
+
+RDEPEND="dev-libs/atk
+       dev-libs/glib
+       dev-libs/libxml2
+       sys-libs/zlib
+       x11-libs/gtk+
+       || (
+               (
+                       x11-libs/libICE
+                       x11-libs/libSM
+                       x11-libs/libX11
+                       x11-libs/libXext
+                       x11-libs/libXi
+                       x11-libs/libXt
+               )
+               virtual/x11
+       )
+       x11-libs/pango"
+S=${WORKDIR}
+
+src_unpack() {
+       MY_FILE=${DISTDIR}/${MY_P}.i386.bin
+       MY_OFFSET=`head -n 375 ${MY_FILE} | wc -c | tr -d " "`
+       dd if=${MY_FILE} bs=${MY_OFFSET} skip=1 | tar xfz -
+
+       sed -i -e "s:28.20:28.3205:" \
+               'wine/drive_c/Program Files/Picasa2/update/LifeScapeUpdater/currentversion.ini'
+       sed -i -e "s:;;HKLM,Soft:HKLM,Soft:" -e \
+               's:"DisableMediaDetector",0x10003,0x00000001:"DisableMediaDetector",0x10003,0x00000000:' \
+               wine/drive_c/windows/inf/picasa.inf
+}
+
+src_install() {
+       insinto /opt/picasa
+       doins -r bin wine
+       chmod a+x ${D}/opt/picasa/{wine/{lib/{wine/*.so,*.so.1},bin/*},bin/*}
+       keepdir /opt/picasa/wine/drive_c/windows/{command,system}
+
+       dodir /usr/bin
+       for i in picasa mediadetector s{et,how}picasascreensaver; do
+               dosym /opt/picasa/bin/${i} /usr/bin/${i}
+       done
+
+       dodoc README LICENSE.FOSS
+
+       cd desktop
+       mv google-picasa-mediadetector.desktop.template google-picasa-mediadetector.desktop
+       mv google-picasa.desktop.template google-picasa.desktop
+       sed -i -e "s:EXEC:mediadetector:" google-picasa-mediadetector.desktop
+       sed -i -e "s:EXEC:picasa:" google-picasa.desktop
+       sed -i -e "s:ICON:picasa.xpm:" google-picasa{,-mediadetector}.desktop
+
+       doicon picasa.xpm
+       domenu {google-picasa{,-mediadetector},picasascr}.desktop
+}