mixi-exheres

An unofficial repo for exherbo (moved to git://git.exherbo.org/dev/mixi.git).
git clone https://git.shadowice.org/mixi-exheres.git
Log | Files | Refs | README

commit 2fdb057f563ee08cd07f29100dab4f46955ade23
parent bbe82502b9273c1f47e526329ed798b76a95b9bc
Author: Johannes Nixdorf <mixi@user-helfen-usern.de>
Date:   Thu Jun  3 15:01:49 +0200

Remove net-www/opera

Diffstat:
metadata/categories.conf | 1-
packages/net-www/opera/files/opera | 4----
packages/net-www/opera/opera-10.60.6344.exheres-0 | 7-------
packages/net-www/opera/opera.exlib | 80-------------------------------------------------------------------------------
4 files changed, 0 insertions(+), 92 deletions(-)
diff --git a/metadata/categories.conf b/metadata/categories.conf @@ -2,7 +2,6 @@ app-text net-irc net-libs net-misc -net-www media-libs media-video kde diff --git a/packages/net-www/opera/files/opera b/packages/net-www/opera/files/opera @@ -1,4 +0,0 @@ -#!/bin/sh -export OPERA_DIR=/usr/share/opera -export OPERA_PERSONALDIR="${HOME}/.opera" -exec OPERA_LIBDIR/opera/opera "$@" diff --git a/packages/net-www/opera/opera-10.60.6344.exheres-0 b/packages/net-www/opera/opera-10.60.6344.exheres-0 @@ -1,7 +0,0 @@ -# Copyright 2010 Johannes Nixdorf <mixi@user-helfen-usern.de> -# Distributed under the terms of the GNU General Public License v2 - -require opera [ alpha=true alphaver=1 ] - -SLOT="0" -PLATFORMS="~amd64 ~x86" diff --git a/packages/net-www/opera/opera.exlib b/packages/net-www/opera/opera.exlib @@ -1,80 +0,0 @@ -# Copyright 2010 Johannes Nixdorf -# Distributed under the terms of the GNU General Public License v2 -# Based in part upon 'opera-9.63.exheres-0' from ::voroskoi, which is: -# Copyright (c) 2008-2009 András Vöröskői <voroskoi@gmail.com> -# , 'opera-10.10.exheres-0' from ::pioto, which is: -# Copytight 2009 Mike Kelly -# And 'opera-10.54_pre6340.ebuild' from gentoo, which is: -# Copyright 1999-2010 Gentoo Foundation - -require multilib - -export_exlib_phases src_install - -# TODO: find good versioning scheme -myexparam -b alpha=false -myexparam alphaver=1 - -SUMMARY="The Opera web browser" -HOMEPAGE="http://www.opera.com/" - -BUILD="$(ever range 3 ${PV})" -MY_BASEVER="$(ever range 1-2 ${PV})" -MY_PV="${MY_BASEVER}-${BUILD}" -MY_PNV="${PN}-${MY_PV}" - -if exparam -b alpha; then - DOWNLOADS=" - listed-only: - platform:x86? ( - http://snapshot.opera.com/unix/${MY_BASEVER}a$(exparam alphaver)/${MY_PNV}.i386.linux.tar.bz2 ) - platform:amd64? ( - http://snapshot.opera.com/unix/${MY_BASEVER}a$(exparam alphaver)/${MY_PNV}.x86_64.linux.tar.bz2 ) - " -else - DOWNLOADS=" - listed-only: - platform:x86? ( - http://snapshot.opera.com/unix/snapshot-${BUILD}/${MY_PNV}.i386.linux.tar.bz2 ) - platform:amd64? ( - http://snapshot.opera.com/unix/snapshot-${BUILD}/${MY_PNV}.x86_64.linux.tar.bz2 ) - " -fi - -LICENCES="opera" -MYOPTIONS=" -platform: - amd64 x86" - -# TODO: find dependencies (gentoo?) -DEPENDENCIES="" - -WORK="${WORKBASE}" - -opera_src_install() { - cd "${WORKBASE}"/${MY_PNV}.* - dodir /usr/bin - edo cp -r lib "${IMAGE}"/usr/${LIBDIR} - edo cp "${FILES}"/opera "${IMAGE}"/usr/bin - edo cp -r share "${IMAGE}"/usr/share - edo rm -r "${IMAGE}/usr/share/doc" - - # Unzip the man pages before sedding - edo gunzip "${IMAGE}"/usr/share/man/man1/* - - # Replace PREFIX and SUFFIX in various files - edo sed -i \ - -e "s:@@{PREFIX}:/usr:g" \ - -e "s:@@{SUFFIX}::g" \ - -e "s:@@{_SUFFIX}::g" \ - -e "s:@@{USUFFIX}::g" \ - "${IMAGE}"/usr/share/mime/packages/opera-widget.xml \ - "${IMAGE}"/usr/share/man/man1/* \ - "${IMAGE}"/usr/share/applications/opera-browser.desktop \ - "${IMAGE}"/usr/share/applications/opera-widget-manager.desktop - - # Sed libdir in opera script - edo sed -i \ - -e "s|OPERA_LIBDIR|/usr/${LIBDIR}|g" \ - "${IMAGE}"/usr/bin/opera -}