diff options
author | Naohiro Aota <naota@gentoo.org> | 2013-03-31 13:15:44 +0000 |
---|---|---|
committer | Naohiro Aota <naota@gentoo.org> | 2013-03-31 13:15:44 +0000 |
commit | fb2cecb8d1bcaf6c75b51d636cec9cb7b7610977 (patch) | |
tree | ff5ee91d9cee7387b8ffaf63271ca244f9503d73 /net-misc/mikutter/mikutter-9999.ebuild | |
parent | bump (diff) | |
download | gentoo-2-fb2cecb8d1bcaf6c75b51d636cec9cb7b7610977.tar.gz gentoo-2-fb2cecb8d1bcaf6c75b51d636cec9cb7b7610977.tar.bz2 gentoo-2-fb2cecb8d1bcaf6c75b51d636cec9cb7b7610977.zip |
Version bump wrt #460858
(Portage version: 2.2.0_alpha166/cvs/Linux x86_64, signed Manifest commit with key F8551514)
Diffstat (limited to 'net-misc/mikutter/mikutter-9999.ebuild')
-rw-r--r-- | net-misc/mikutter/mikutter-9999.ebuild | 39 |
1 files changed, 24 insertions, 15 deletions
diff --git a/net-misc/mikutter/mikutter-9999.ebuild b/net-misc/mikutter/mikutter-9999.ebuild index 2b50b603a262..349b8b67716b 100644 --- a/net-misc/mikutter/mikutter-9999.ebuild +++ b/net-misc/mikutter/mikutter-9999.ebuild @@ -1,21 +1,23 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/mikutter/mikutter-9999.ebuild,v 1.3 2011/12/18 01:03:30 naota Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/mikutter/mikutter-9999.ebuild,v 1.4 2013/03/31 13:15:44 naota Exp $ -EAPI=3 +EAPI=5 USE_RUBY="ruby19" -inherit ruby-ng +inherit ruby-ng eutils if [ "${PV}" = "9999" ]; then - ESVN_REPO_URI="svn://toshia.dip.jp/mikutter/trunk" - inherit subversion + EGIT_REPO_URI="git://toshia.dip.jp/mikutter.git" + inherit git-2 KEYWORDS="" + EGIT_SOURCEDIR="${WORKDIR}/all" else MY_P="${PN}.${PV}" SRC_URI="http://mikutter.hachune.net/bin/${MY_P}.tar.gz" KEYWORDS="~amd64 ~x86" + RUBY_S="${PN}" fi DESCRIPTION="mikutter is simple, powerful and moeful twitter client" @@ -29,19 +31,24 @@ DEPEND="" RDEPEND="libnotify? ( x11-libs/libnotify ) sound? ( media-sound/alsa-utils )" -ruby_add_rdepend "dev-ruby/ruby-gtk2 - dev-ruby/rcairo - dev-ruby/httpclient +ruby_add_rdepend "dev-ruby/addressable + dev-ruby/bsearch + dev-ruby/json + dev-ruby/memoize + >=dev-ruby/oauth-0.4.7 + dev-ruby/ruby-gtk2 + dev-ruby/typed-array virtual/ruby-ssl" -S="${WORKDIR}/${PN}" - -src_prepare() { - cd "${WORKDIR}" - mv mikutter all +all_ruby_unpack() { + if [ "${PV}" = "9999" ];then + git-2_src_unpack + else + default + fi } -all_ruby_install() { +each_ruby_install() { exeinto /usr/share/mikutter doexe mikutter.rb insinto /usr/share/mikutter @@ -49,4 +56,6 @@ all_ruby_install() { exeinto /usr/bin doexe "${FILESDIR}"/mikutter dodoc README + make_desktop_entry mikutter Mikutter \ + /usr/share/mikutter/core/skin/data/icon.png } |