Jump to content

Photo

rss owl ebuild java garbage?


No replies to this topic

#1
666threesixes666

666threesixes666

    Advanced Member

  • Members
  • PipPipPip
  • 129 posts

i snagged a seriously deprecated ebuild from somewhere, trying to revbump it i ran into some issues...  this source is for eclipse to build.

 

what i have so far:

# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2


inherit versionator java-pkg-2 java-ant-2 java-utils-2

DESCRIPTION="A mature Java-based RSS/RDF/Atom Newsreader with advanced features."

HOMEPAGE="http://www.rssowl.org/"
LICENSE="CPL-1.0"

SRC_URI="https://downloads.sourceforge.net/project/${PN}/${PN}%202/$PV/${P}.source.zip"


SLOT="0"
KEYWORDS="*"
IUSE="doc"

#S=${WORKDIR}/${MY_P}
S=${WORKDIR}/
KEYWORDS="*"

DEPEND=">=dev-java/swt-3.5.2
>=virtual/jdk-1.6.0"

RDEPEND=">=virtual/jre-1.6.0"

src_unpack() {
unpack ${A}
cd ${S}/lib
java-pkg_jar-from swt-3
}

EANT_BUILD_TARGET="deploy_linux"

src_install() {
java-pkg_dojar ${PN}.jar

# Create program launcher
java-pkg_dolauncher
echo -e "#!/bin/sh\njava -Djava.library.path=/usr/lib/ -jar /usr/share/${PN}/lib/${PN}.jar" > ./${PN}
dobin ${PN}

insinto /usr/share/icons/hicolor/32x32/apps
newins img/32x32.png rssowl.png

insinto /usr/share/applications/
doins ${FILESDIR}/rssowl.desktop

java-pkg_dohtml -r doc/tutorial/en/*
dodoc doc/{CHANGELOG.txt,LICENSE.txt,README.txt}
}

i had a problem with conditional urls but resolved that finding a source.zip  the urls should go higher up in the ebuilding dev stuff and give conditional url examples.

 

im looking for alternatives...  liferea's good but its major flaw is marking items as read automatically so if i click away i lost my post to view.

http://www.rss-speci...eader-linux.htm


Duke: No more of that talk or I'll put the f*cking leeches on you, understand?

 

Paul: [about Percy] The man is mean and careless and stupid, and that's a bad combination in a place like this.




Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users