app-misc/gcstar: Drop old
authorMikle Kolyada <zlogene@gentoo.org>
Sat, 21 Mar 2020 11:10:34 +0000 (14:10 +0300)
committerMikle Kolyada <zlogene@gentoo.org>
Sat, 21 Mar 2020 11:10:44 +0000 (14:10 +0300)
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
app-misc/gcstar/Manifest
app-misc/gcstar/files/gcstar-1.7.0-gcstar.desktop.patch [deleted file]
app-misc/gcstar/gcstar-1.7.0.ebuild [deleted file]

index 5acaff49ba95d4d83fcf3f3cf5d3024b630a0331..37eb9152a9cb3ba0590e8236ad28f051538df2ac 100644 (file)
@@ -1,2 +1 @@
-DIST gcstar-1.7.0.tar.gz 4506937 BLAKE2B dfc6f53921ecad73676fb9943f87dfb3c465347e4d4783f1efc29ec75c35eb56ecf97f9eba6121eb22740642d186d642a3384c10ea8ef6a8b42664e1c2a056e3 SHA512 9cb22a7ee38bbeae67ffc6f649ef6e988da43a1f353b027bacbf14ffcca8a4c12ef28d64876b2171396315eae95f76708a1307255eabc3eed6776137e2ae7090
 DIST gcstar-1.7.1.tar.gz 4514370 BLAKE2B 001768d7e2b4d01c97b5a34d078979ce909def1e516166aa305dd03e343bd0188bb54c7adfeb84578f063e860fa78f8faf426f64938eba0688cf5c86feebee4a SHA512 2a37717c6e9bd83758bef99e810ef3321f5558bd5714aa2a332522262182daade9e623f51a256594f74094da3e680ba35d9650d0bc0451226bf41e98fdd57802
diff --git a/app-misc/gcstar/files/gcstar-1.7.0-gcstar.desktop.patch b/app-misc/gcstar/files/gcstar-1.7.0-gcstar.desktop.patch
deleted file mode 100644 (file)
index 62b6a7b..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-From e78617436de63141cd4ff6e42fc0391a9a00d80a Mon Sep 17 00:00:00 2001
-From: Alexandre Rostovtsev <tetromino@gentoo.org>
-Date: Sat, 8 Sep 2012 18:14:40 -0400
-Subject: [PATCH] gcstar.desktop: MimeType list must be terminated with ';'
-
-Needed for gcstar.desktop to pass validation with desktop-file-utils-0.20
----
- gcstar/share/applications/gcstar.desktop | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/gcstar/share/applications/gcstar.desktop b/gcstar/share/applications/gcstar.desktop
-index aa6a46d..c7a146e 100644
---- a/gcstar/share/applications/gcstar.desktop
-+++ b/gcstar/share/applications/gcstar.desktop
-@@ -15,4 +15,4 @@ Terminal=false
- StartupNotify=true
- Type=Application
- Categories=Office;
--MimeType=application/x-gcstar
-+MimeType=application/x-gcstar;
--- 
-1.7.12
-
diff --git a/app-misc/gcstar/gcstar-1.7.0.ebuild b/app-misc/gcstar/gcstar-1.7.0.ebuild
deleted file mode 100644 (file)
index 0eb9c9e..0000000
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="4"
-
-inherit eutils fdo-mime gnome2-utils
-
-DESCRIPTION="Manage your collections of movies, games, books, music and more"
-HOMEPAGE="http://www.gcstar.org/"
-# Gna permanently shut down in May 2017
-# Original SRC_URI was http://download.gna.org/gcstar/${P}.tar.gz
-SRC_URI="https://dev.gentoo.org/~tetromino/distfiles/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="cddb gnome mp3 spell stats tellico vorbis"
-
-RDEPEND="dev-lang/perl
-       dev-perl/Archive-Zip
-       dev-perl/DateTime-Format-Strptime
-       dev-perl/Gtk2
-       dev-perl/HTML-Parser
-       dev-perl/libwww-perl
-       dev-perl/URI
-       dev-perl/XML-Parser
-       dev-perl/XML-Simple
-       virtual/perl-Archive-Tar
-       virtual/perl-Encode
-       virtual/perl-Getopt-Long
-       virtual/perl-File-Path
-       virtual/perl-File-Spec
-       virtual/perl-File-Temp
-       virtual/perl-IO-Compress
-       virtual/perl-libnet
-       virtual/perl-Storable
-       virtual/perl-Time-Piece
-
-       cddb? ( dev-perl/Net-FreeDB )
-       gnome? ( dev-perl/gnome2-vfs-perl )
-       mp3? ( dev-perl/MP3-Info dev-perl/MP3-Tag )
-       spell? ( dev-perl/gtk2-spell )
-       stats? ( dev-perl/Date-Calc
-               dev-perl/GD[png,truetype] )
-       tellico? ( virtual/perl-Digest-MD5
-               virtual/perl-MIME-Base64 )
-       vorbis? ( dev-perl/Ogg-Vorbis-Header-PurePerl )"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${PN}"
-
-src_prepare() {
-       epatch "${FILESDIR}/${PN}-1.4.0-man.patch"
-       epatch "${FILESDIR}/${P}-gcstar.desktop.patch"
-}
-
-src_install() {
-       if [[ -n ${LINGUAS+set} ]]; then
-               # LINGUAS is set, let's try to respect it.
-               pushd lib/gcstar/GCLang > /dev/null
-
-               mkdir tmp || die "mkdir failed"
-               mv ?? ZH_CN tmp || die "mv 1 failed"
-               # English version should be always available so we will keep it
-               mv tmp/EN . || die "mv 2 failed"
-
-               for x in ${LINGUAS}; do
-                       if [[ ${x} = "zh_CN" ]]; then
-                               mv "tmp/ZH_CN" . || die "mv 3 failed"
-                       else
-                               # GCstar uses upper-case, 2-letter language codes
-                               d=$(echo ${x} | tr '[:lower:]' '[:upper:]' | sed -e 's:_.*::')
-                               if [[ -d "tmp/${d}" ]]; then
-                                       mv "tmp/${d}" . || die "mv 5 failed"
-                               fi
-                       fi
-               done
-
-               rm -rf tmp
-               popd > /dev/null
-       fi
-
-       # Yes, ED *is* needed here. gcstar's install lacks any concept of DESTDIR.
-       ./install --prefix="${ED}usr" \
-               --noclean --nomenu || die "install script failed"
-
-       domenu share/applications/gcstar.desktop
-       for size in 16 22 24 32 36 48 64 72 96 128 256
-       do
-               insinto /usr/share/icons/hicolor/${size}x${size}/apps
-               newins share/gcstar/icons/gcstar_${size}x${size}.png gcstar.png
-       done
-       insinto /usr/share/icons/hicolor/scalable/apps
-       newins share/gcstar/icons/gcstar_scalable.svg gcstar.svg
-       insinto /usr/share/mime/packages
-       doins share/applications/gcstar.xml
-
-       dodoc CHANGELOG README README.fr
-}
-
-pkg_preinst() {
-       gnome2_icon_savelist
-}
-
-pkg_postinst() {
-       fdo-mime_desktop_database_update
-       fdo-mime_mime_database_update
-       gnome2_icon_cache_update
-}
-
-pkg_postrm() {
-       fdo-mime_desktop_database_update
-       fdo-mime_mime_database_update
-       gnome2_icon_cache_update
-}