diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2016-07-07 06:46:52 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2016-07-07 06:46:52 +0300 |
commit | e9c2e55c71fe01212e6fec7b79dc20de76d49431 (patch) | |
tree | 6217da0f150014ed49773afe8bf61de6eaf8dc0a /app-misc/gcstar/gcstar-scm.ebuild | |
parent | 752e16ca4b5a5b798400e99480c9d68c504149a1 (diff) |
added gcstar-scm
rtorrent:fixed build
Diffstat (limited to 'app-misc/gcstar/gcstar-scm.ebuild')
-rw-r--r-- | app-misc/gcstar/gcstar-scm.ebuild | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/app-misc/gcstar/gcstar-scm.ebuild b/app-misc/gcstar/gcstar-scm.ebuild new file mode 100644 index 0000000..987443d --- /dev/null +++ b/app-misc/gcstar/gcstar-scm.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit eutils fdo-mime gnome2-utils subversion + +DESCRIPTION="Manage your collections of movies, games, books, music and more" +HOMEPAGE="http://www.gcstar.org/" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="cddb gnome mp3 spell stats tellico vorbis" + +ESVN_REPO_URI="svn://svn.gna.org/svn/gcstar/trunk" + +RDEPEND="dev-lang/perl + dev-perl/Archive-Zip + dev-perl/DateTime-Format-Strptime + dev-perl/gtk2-perl + 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_install() { + + # Yes, ED *is* needed here. gcstar's install lacks any concept of DESTDIR. + cd ${PN} + ./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 +} |