summaryrefslogtreecommitdiff
path: root/app-misc/gcstar
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-03-24 10:19:03 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-03-24 10:19:03 +0000
commitb279bbe94522565b8feb19b8e5f377d3ea76f157 (patch)
treee4790abc54cd850232f7d7de49e371fdfe8976c7 /app-misc/gcstar
parentc5283d322accc6097afec74eab24550829788bab (diff)
gentoo resync : 24.03.2018
Diffstat (limited to 'app-misc/gcstar')
-rw-r--r--app-misc/gcstar/Manifest4
-rw-r--r--app-misc/gcstar/gcstar-1.7.0.ebuild6
-rw-r--r--app-misc/gcstar/gcstar-1.7.1.ebuild87
3 files changed, 94 insertions, 3 deletions
diff --git a/app-misc/gcstar/Manifest b/app-misc/gcstar/Manifest
index 0b955f838de5..8fe7d1c2cd83 100644
--- a/app-misc/gcstar/Manifest
+++ b/app-misc/gcstar/Manifest
@@ -1,5 +1,7 @@
AUX gcstar-1.4.0-man.patch 902 BLAKE2B 092a745eaa409c8b4c8b44244c99f4012d9eaa25c530b7731ec8e1ee5750b62b25c518917afe112c520f8f38c1ac8d09c88305a4048a34203b4fcb3257194eaf SHA512 eb1f1ec1822927b5885350fd69f26e599afebe240cfdc01adde27894f37ebdfa2fe14fd0e5cda3e0f12acea622d852d5442fef1f08b4ab8e8238b9d1d5b56482
AUX gcstar-1.7.0-gcstar.desktop.patch 796 BLAKE2B 052d2d3325c04e1d8bb64951cfa43b44d1fa85f7c11326e2d56b04e8c5a57e70dc7b5a6758ae27186b403d27a4fd3d1ffc903c761c7a0a98b7430c4ef3602d56 SHA512 59ef9e55ffd607723b0cf833bf666ea4661db3af14b45425ba4b55de1d6144714eddf4cdbe17caddfa5a2876772c5c387a0fd06354c44fc8f3b26b83bba56150
DIST gcstar-1.7.0.tar.gz 4506937 BLAKE2B dfc6f53921ecad73676fb9943f87dfb3c465347e4d4783f1efc29ec75c35eb56ecf97f9eba6121eb22740642d186d642a3384c10ea8ef6a8b42664e1c2a056e3 SHA512 9cb22a7ee38bbeae67ffc6f649ef6e988da43a1f353b027bacbf14ffcca8a4c12ef28d64876b2171396315eae95f76708a1307255eabc3eed6776137e2ae7090
-EBUILD gcstar-1.7.0.ebuild 2858 BLAKE2B d4551f462d5d942e9111f32f685767eb5aa9c8cd9ecc989467a4a6ed063b4c129b80c87e7f84590dcd7e124cbfa9898c47e662bc250f211831a338e23f2bac9a SHA512 32e4f5d31b14c9fe091a1cc2542c78728ab9ae09a0151cd98ff65b1acc9d15f4f0b58d08b0959b1e43f8748221df3d321e85e6d74465068f5f2639ebc7e74ab8
+DIST gcstar-1.7.1.tar.gz 4514370 BLAKE2B 001768d7e2b4d01c97b5a34d078979ce909def1e516166aa305dd03e343bd0188bb54c7adfeb84578f063e860fa78f8faf426f64938eba0688cf5c86feebee4a SHA512 2a37717c6e9bd83758bef99e810ef3321f5558bd5714aa2a332522262182daade9e623f51a256594f74094da3e680ba35d9650d0bc0451226bf41e98fdd57802
+EBUILD gcstar-1.7.0.ebuild 2983 BLAKE2B 5dea9b2b2e74043d0c015bd975cf2b84cc928862f871c8c0833dfa92ef7db4f13d99de145987aead78281a1936199b3efe7059756a90cb72c1b2ff85c130a69f SHA512 dda33ea7ecd94915c9777448fffca7768f53e12e85af730a1b1e9af343a7596d6319a06b6ba9f58a38cefa0db8d972cbae43f17a0fdb52e238480bf03c523b4c
+EBUILD gcstar-1.7.1.ebuild 2172 BLAKE2B d6b0641fcaa802947c08096c8a4eac18ba7615a7d0a30fdabb048be8dddbb4140355bc4bd5ddef33eb3054b2d08eb08fd86fe0a2a804a4724c3c844ad9ac280f SHA512 99e26e221e53648586be1dacde738076d1a3d434d57d7f83f1183201d504dd3582b8e079595a5ce095368bafa4d1a362a2659d66bc53bdcbf1a09ce28baaec8d
MISC metadata.xml 967 BLAKE2B 94301ae3ebb8b7f8339f09c9e0d490a4c46e9a35eadb3eb2cd209ed292a6fc546faa41995bee4cbacfbd76445fdeffa78075377ecab0b2625e45b2fd283abc65 SHA512 0a7c5e4cd287e6c7d9f6bcbb3e406a19511410e3ea7498ff11fe00df89739bff959b0a1af38410f9a226fe850005bf0b604b3c2c0690adf5ba75fcfcd86183a0
diff --git a/app-misc/gcstar/gcstar-1.7.0.ebuild b/app-misc/gcstar/gcstar-1.7.0.ebuild
index 7d283d97551b..0eb9c9eb8cc6 100644
--- a/app-misc/gcstar/gcstar-1.7.0.ebuild
+++ b/app-misc/gcstar/gcstar-1.7.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
@@ -7,7 +7,9 @@ inherit eutils fdo-mime gnome2-utils
DESCRIPTION="Manage your collections of movies, games, books, music and more"
HOMEPAGE="http://www.gcstar.org/"
-SRC_URI="http://download.gna.org/gcstar/${P}.tar.gz"
+# 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"
diff --git a/app-misc/gcstar/gcstar-1.7.1.ebuild b/app-misc/gcstar/gcstar-1.7.1.ebuild
new file mode 100644
index 000000000000..afc8b8f716ae
--- /dev/null
+++ b/app-misc/gcstar/gcstar-1.7.1.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit desktop xdg-utils 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://launchpad.net/gcstar/1.7/${PV}/+download/${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}"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.4.0-man.patch"
+)
+
+src_install() {
+ # 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
+ newicon -s "${size}" share/gcstar/icons/gcstar_${size}x${size}.png gcstar.png
+ done
+ newicon -s scalable 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() {
+ xdg_desktop_database_update
+ xdg_mime_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_mime_database_update
+ gnome2_icon_cache_update
+}