From: Robin H. Johnson Date: Tue, 19 Nov 2019 18:32:01 +0000 (-0800) Subject: app-misc/subsurface: remove again, partial revert of 37c8aacd953514d585134f7cf10a88fb... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9ec1ac7b4ba71cdc445ebd8a37943720a7ede6d8;p=gentoo.git app-misc/subsurface: remove again, partial revert of 37c8aacd953514d585134f7cf10a88fb25abfdf4 Package-Manager: Portage-2.3.78, Repoman-2.3.17 RepoMan-Options: --force Signed-off-by: Robin H. Johnson --- diff --git a/app-misc/subsurface/metadata.xml b/app-misc/subsurface/metadata.xml deleted file mode 100644 index bdfb432dee4b..000000000000 --- a/app-misc/subsurface/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - prometheanfire@gentoo.org - Matthew Thode - - - Scuba dive planner - - diff --git a/app-misc/subsurface/subsurface-4.9.3.ebuild b/app-misc/subsurface/subsurface-4.9.3.ebuild deleted file mode 100644 index ff7ff60a69dd..000000000000 --- a/app-misc/subsurface/subsurface-4.9.3.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/subsurface/subsurface-9999.ebuild,v 1.9 2015/06/04 19:00:13 kensington Exp $ - -EAPI="5" - -if [[ ${PV} = *9999* ]]; then - EGIT_REPO_URI="https://github.com/Subsurface-divelog/subsurface.git" - GIT_ECLASS="git-r3" - KEYWORDS="" - SRC_URI="" - LIBDC_V="9999" -else - MY_P=${P/s/S} - SRC_URI="http://subsurface.hohndel.org/downloads/${MY_P}.tgz https://bitbucket.org/bearsh/bearshlay/downloads/${MY_P}.tgz" - KEYWORDS="~amd64 ~x86" - LIBDC_V="0.6.0" -fi - -PLOCALES="bg_BG da_DK de_CH de_DE el_GR en_GB es_ES et_EE fi_FI fr_FR he hu it_IT - lv_LV nb_NO nl_NL pl_PL pt_BR pt_PT ro_RO ru_RU sk_SK sv_SE tr zh_TW -" - -inherit eutils l10n qt4-r2 ${GIT_ECLASS} - -DESCRIPTION="An open source dive log program" -HOMEPAGE="http://subsurface.hohndel.org" -LICENSE="GPL-2" -SLOT="0" -IUSE="debug doc usb" - -RDEPEND="dev-db/sqlite:3 - dev-libs/glib:2 - >=dev-libs/libdivecomputer-${LIBDC_V}[usb?] - dev-libs/libgit2:= - dev-libs/libxml2 - dev-libs/libxslt - dev-libs/libzip - dev-qt/qtcore:4 - dev-qt/qtgui:4 - dev-qt/qtsvg:4 - dev-qt/qtwebkit:4 - kde-apps/marble:4 -" -DEPEND="${RDEPEND} - virtual/pkgconfig - doc? ( app-text/asciidoc ) -" - -DOCS="README" - -src_unpack() { - if [[ ${PV} = *9999* ]]; then - git-2_src_unpack - else - unpack ${A} - mv ${MY_P}* ${P} || die "failed to mv the files to ${P}" - fi -} - -rm_trans() { - rm "${ED}/usr/share/${PN}/translations/${PN}_${1}.qm" || die "rm ${PN}_${1}.qm failed" -} - -src_install() { - qt4-r2_src_install - - l10n_for_each_disabled_locale_do rm_trans - - # this is not a translation but present (no need to die if not present) - rm "${ED}/usr/share/${PN}/translations/${PN}_source.qm" - - if ! use doc; then - rm -R "${ED}/usr/share/${PN}/Documentation"* || die "rm doc failed" - fi -} -