From 4d6d2a8412d0b6ae3664e4e2c21e5662a0f49c76 Mon Sep 17 00:00:00 2001 From: Jason Wever Date: Sun, 24 Aug 2003 16:21:46 +0000 Subject: new opera ebuild contributed by Gustavo Zacarias , closes bug #26543 --- net-www/opera/ChangeLog | 8 ++- net-www/opera/Manifest | 8 +-- net-www/opera/files/digest-opera-6.12_beta1 | 1 + net-www/opera/opera-6.12_beta1.ebuild | 80 +++++++++++++++++++++++++++++ 4 files changed, 93 insertions(+), 4 deletions(-) create mode 100644 net-www/opera/files/digest-opera-6.12_beta1 create mode 100644 net-www/opera/opera-6.12_beta1.ebuild (limited to 'net-www/opera') diff --git a/net-www/opera/ChangeLog b/net-www/opera/ChangeLog index 5e815e3a99ec..ec0177a244ab 100644 --- a/net-www/opera/ChangeLog +++ b/net-www/opera/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-www/opera # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/opera/ChangeLog,v 1.28 2003/08/22 01:40:26 zul Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/opera/ChangeLog,v 1.29 2003/08/24 16:21:28 weeve Exp $ + +*opera-6.12_beta1 (24 Aug 2003) + + 24 Aug 2003; Jason Wever opera-6.12_beta1.ebuild: + new opera ebuild contributed by Gustavo Zacarias , + closes bug #26543 22 Aug 2003; Chuck Short opera-6.12_beta1.ebuild: Removed sparc ebuild diff --git a/net-www/opera/Manifest b/net-www/opera/Manifest index e6b72ce4f9d8..23976596833a 100644 --- a/net-www/opera/Manifest +++ b/net-www/opera/Manifest @@ -1,9 +1,11 @@ +MD5 08ab077a4bab2dafe980db7256e6075a ChangeLog 5592 MD5 94eb9b180337dadfa9cde6ef3791aac8 opera-6.12.ebuild 3289 -MD5 a9c82bfec7a0dc5cc9aa3ec41e65a12a opera-7.20_beta4.ebuild 2925 MD5 b060229a0600c022164b782118244875 opera-7.11-r2.ebuild 3715 -MD5 6c19cd5491f0abe90e787d6cb1b09bd4 ChangeLog 5387 MD5 fa353fe86f07677d50b7191424a518d1 opera-7.20_beta3.ebuild 2924 -MD5 c06fc9c9e26bfa2b0fdc7c89bdac926e files/digest-opera-7.20_beta4 90 +MD5 a9c82bfec7a0dc5cc9aa3ec41e65a12a opera-7.20_beta4.ebuild 2925 +MD5 7bae5c1115cbae449099217feafc29f4 opera-6.12_beta1.ebuild 2448 MD5 cbaaedfc5f57eea800b4a64928d77683 files/digest-opera-6.12 89 MD5 fd6b6eba741abd18ba590e9a5c0f225f files/digest-opera-7.11-r2 177 MD5 335715e5501a61c037facefd461215ae files/digest-opera-7.20_beta3 90 +MD5 c06fc9c9e26bfa2b0fdc7c89bdac926e files/digest-opera-7.20_beta4 90 +MD5 060858a4f81b92854de461ed0e1f955b files/digest-opera-6.12_beta1 90 diff --git a/net-www/opera/files/digest-opera-6.12_beta1 b/net-www/opera/files/digest-opera-6.12_beta1 new file mode 100644 index 000000000000..aef7bce2fea0 --- /dev/null +++ b/net-www/opera/files/digest-opera-6.12_beta1 @@ -0,0 +1 @@ +MD5 445ab639281d5aa6f270d4a022aab5d7 opera-6.12-20030306.1-static-qt.sparc.tar.gz 4692037 diff --git a/net-www/opera/opera-6.12_beta1.ebuild b/net-www/opera/opera-6.12_beta1.ebuild new file mode 100644 index 000000000000..b7770f50263a --- /dev/null +++ b/net-www/opera/opera-6.12_beta1.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-www/opera/opera-6.12_beta1.ebuild,v 1.3 2003/08/24 16:21:28 weeve Exp $ + +# Based on original Gentoo Techonologies opera ebuild +# Modified by Gustavo Zacarias for sparc + +DESCRIPTION="Opera web browser." +HOMEPAGE="http://www.opera.com/linux/" +IUSE="gnome kde" + +RDEPEND="virtual/x11" + +SLOT="0" +LICENSE="OPERA" +KEYWORDS="-* sparc" + +NV=6.12-20030306.1-static-qt.sparc +SRC_URI="ftp://ftp.opera.com/pub/opera/linux/612/beta1/en/sparc/static/opera-${NV}.tar.gz" +S=${WORKDIR}/opera-${NV} + +src_unpack() { + unpack ${A} + cd ${S} + sed -e "s:/etc:${D}/etc:g" \ + -e "s:config_dir=\"/etc\":config_dir=\"${D}/etc/\":g" \ + -e "s:read install_config:install_config=yes:" \ + -e "s:/opt/kde2:${D}/usr/kde/2:g" \ + -e "s:/opt/kde2:${D}/usr/kde/2:g" \ + -e "s:/usr/share/applnk:${D}/usr/share/applnk:g" \ + -e "s:/usr/share/pixmaps:${D}/usr/share/pixmaps:g" \ + -e "s:/usr/share/icons:${D}/usr/share/icons:g" \ + -e "s:/etc/X11:${D}/etc/X11:g" \ + -e "s:/usr/share/gnome:${D}/usr/share/gnome:g" \ + -e 's:#\(LD_PRELOAD=.*libawt.so\):\1:' \ + -e 's:#\(OPERA_FORCE_JAVA_ENABLED=\):\1:' \ + -e 's:#\(export LD_PRELOAD OPERA_FORCE_JAVA_ENABLED\):\1:' \ + < install.sh >install.sh.hacked || die + mv install.sh.hacked install.sh + chmod +x install.sh + +} + +src_install() { + # Prepare installation directories for Opera's installer script. + dodir /etc + if [ "`use kde`" ] + then + # Install stuff for KDE2, and then simply copy it over + # into the KDE3 directories. + dodir /usr/kde/2/share/icons/{locolor,hicolor}/{16x16,22x22,32x32,48x48}/apps + dodir /usr/kde/2/share/applnk/Internet + fi + if [ "`use gnome`" ] + then + dodir /usr/share/gnome/pixmaps + dodir /usr/share/gnome/apps/Internet + fi + + # Opera's native installer. + ./install.sh --prefix="${D}"/opt/opera || die + if [ "`use kde`" ] + then + cp -R ${D}/usr/kde/2 ${D}/usr/kde/3 + fi + rm ${D}/opt/opera/share/doc/opera/help + dosym /opt/share/doc/opera/help /opt/opera/share/opera/help + + dosed /opt/opera/bin/opera + dosed /opt/opera/share/opera/java/opera.policy + + # Install the icons + insinto /usr/share/icons /etc/X11/wmconfig /etc/X11/applnk/Internet \ + /usr/share/pixmaps + doins images/opera.xpm + + # Install a symlink /usr/bin/opera + dodir /usr/bin + dosym /opt/opera/bin/opera /usr/bin/opera +} -- cgit v1.2.3-65-gdbad