Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KMess SVN ebuild
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Mental
n00b
n00b


Joined: 04 Oct 2004
Posts: 45
Location: Estonia

PostPosted: Wed Apr 18, 2007 5:12 pm    Post subject: KMess SVN ebuild Reply with quote

Anyone interested in a KMess SVN ebuild?

I already posted it to the KMess forum, but since this is a place where more gentoo fans hang around - here you go:

Code:
inherit kde subversion eutils flag-o-matic

MY_P="${P/_/}"
S="${WORKDIR}/${MY_P}"

DESCRIPTION="MSN Messenger clone for KDE"
HOMEPAGE="http://www.kmess.org"
ESVN_REPO_URI="http://kmess.svn.sourceforge.net/svnroot/kmess/trunk/kmess"
ESVN_STORE_DIR="${PORTAGE_ACTUAL_DISTDIR-${DISTDIR}}/svn-src/"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""

DEPEND="!net-im/kmess"

need-kde 3.4

LANGS="ar ca da de et es fi fr it ko nb nl pt_BR sl sv th tr zh_CN zh_TW"
for X in ${LANGS} ; do
   IUSE="${IUSE} linguas_${X}"
done

src_unpack() {
   ESVN_UPDATE_CMD="svn update"
   ESVN_FETCH_CMD="svn checkout"
   subversion_src_unpack

   cd "${WORKDIR}/${MY_P}/po"
   for X in ${LANGS} ; do
      use linguas_${X} || rm -f "${X}."*
   done
   rm -f "${S}/configure"

   S=${WORKDIR}/${P}
   cd ${S}
   make -f Makefile.dist
}



Updates:
  • 12.04.2006 - Initial ebuild
  • 09.05.2007 - Added post-install einfo for logging the SVN revision of the emerged package (useful for reporting bugs).


Enjoy! :wink:


Last edited by Mental on Wed May 09, 2007 1:01 pm; edited 1 time in total
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Thu Apr 19, 2007 8:21 am    Post subject: Reply with quote

Moved from Desktop Environments to Unsupported Software. User made ebuilds belong here.
_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
Mental
n00b
n00b


Joined: 04 Oct 2004
Posts: 45
Location: Estonia

PostPosted: Thu Apr 19, 2007 8:32 am    Post subject: Reply with quote

Thanks.
Back to top
View user's profile Send private message
gnomen
n00b
n00b


Joined: 04 Sep 2005
Posts: 48

PostPosted: Tue Jun 05, 2007 12:36 am    Post subject: Reply with quote

Thanks for the ebuild. It works nicely. And this is a really interesting project
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum