Add feedgator app (#10880)

* add feedgator app
This commit is contained in:
tmtfx
2024-08-26 12:59:37 +02:00
committed by GitHub
parent 98cf037b85
commit 281efef1f6

View File

@@ -0,0 +1,39 @@
SUMMARY="Feed the Gator"
DESCRIPTION="FeedGator is a feed/RSS aggregator. \
It's a native python3 program that uses Haiku APIs through Haiku-PyAPI \
wrapper and the feedparser module. \
Check the settings to enable some features like automated feed checks \
or launch minimized. \
The code is released under MIT license."
HOMEPAGE="https://github.com/tmtfx/feedgator"
COPYRIGHT="2024 Fabio Tomat (TmTFx)"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="https://github.com/tmtfx/FeedGator/archive/refs/tags/$portVersion.tar.gz"
CHECKSUM_SHA256="7b3f7711ab6c9c7318357bf155fb3f6a25b75dcc29ec4b2b2f1a1e336a7ca0d1"
SOURCE_DIR="FeedGator-$portVersion"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE="yes"
PROVIDES="
feedgator = $portVersion
app:FeedGator = $portVersion
cmd:feedgator.py
"
REQUIRES="
haiku
haiku_pyapi_python310
feedparser_python310
"
INSTALL()
{
mkdir -p $appsDir/BGator2 $binDir $dataDir/BGator2 $docDir/BGator2
cp FeedGator.py $appsDir/BGator2
cp Data/FeedGator1c.png $dataDir/BGator2
cp Data/help/* $docDir/BGator2
ln -sfn $appsDir/BGator2/FeedGator.py $binDir/FeedGator.py
ln -sfn $appsDir/BGator2/FeedGator.py $appsDir/BGator2/FeedGator
addAppDeskbarSymlink $appsDir/BGator2/FeedGator
}