Jump to content
Read the Funtoo Newsletter: Summer 2023 ×

rss owl ebuild java garbage?


Recommended 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-specifications.com/rss-reader-linux.htm

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...