2018-07-24 12:51:27 +00:00
|
|
|
SUMMARY="An RSS/Atom feed reader"
|
|
|
|
DESCRIPTION="QuiteRSS is an open-source, cross-platform RSS/Atom news feed \
|
|
|
|
reader based on Qt.
|
|
|
|
Some of its features:
|
|
|
|
* Embedded browser (Webkit core)
|
|
|
|
* Feed and news filters: new, unread, starred, deleted (for news until \
|
|
|
|
restart application)
|
|
|
|
* User filters
|
|
|
|
* Adblock
|
|
|
|
* Automatic cleanup on close using criterias
|
|
|
|
* Enable/Disable images in news preview
|
|
|
|
* Open feed or news in own tab
|
|
|
|
|
|
|
|
... and much more"
|
2018-07-21 15:46:54 +00:00
|
|
|
HOMEPAGE="https://quiterss.org/"
|
2020-02-02 11:42:34 +00:00
|
|
|
COPYRIGHT="2011-2020 QuiteRSS Team"
|
2018-07-21 15:46:54 +00:00
|
|
|
LICENSE="GNU GPL v3"
|
2019-11-19 13:49:29 +00:00
|
|
|
REVISION="1"
|
2018-07-21 15:46:54 +00:00
|
|
|
SOURCE_URI="https://github.com/QuiteRSS/quiterss/archive/$portVersion.tar.gz"
|
2020-04-22 08:20:05 +00:00
|
|
|
CHECKSUM_SHA256="d9dffa205a8ec4e7bf00d87183fd94d4a12f045fae04a6efd41d6557827233bc"
|
2018-07-21 15:46:54 +00:00
|
|
|
SOURCE_FILENAME="quiterss-$portVersion.tar.gz"
|
2018-10-02 12:18:29 +00:00
|
|
|
PATCHES="quiterss-$portVersion.patchset"
|
2019-10-20 03:19:02 +00:00
|
|
|
ADDITIONAL_FILES="
|
|
|
|
haikuicons.zip
|
|
|
|
quiterss.rdef.in
|
|
|
|
"
|
2018-07-21 15:46:54 +00:00
|
|
|
|
2021-09-15 19:40:18 +00:00
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
2018-07-21 15:46:54 +00:00
|
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
|
|
|
|
PROVIDES="
|
|
|
|
quiterss$secondaryArchSuffix = $portVersion
|
|
|
|
app:quiterss$secondaryArchSuffix = $portVersion
|
|
|
|
"
|
|
|
|
REQUIRES="
|
|
|
|
haiku$secondaryArchSuffix
|
|
|
|
lib:libGL$secondaryArchSuffix
|
|
|
|
lib:libQt5Core$secondaryArchSuffix
|
|
|
|
lib:libQt5Gui$secondaryArchSuffix
|
|
|
|
lib:libQt5Multimedia$secondaryArchSuffix
|
|
|
|
lib:libQt5Network$secondaryArchSuffix
|
|
|
|
lib:libQt5PrintSupport$secondaryArchSuffix
|
|
|
|
lib:libQt5Sql$secondaryArchSuffix
|
|
|
|
lib:libQt5WebKit$secondaryArchSuffix
|
|
|
|
lib:libQt5WebKitWidgets$secondaryArchSuffix
|
|
|
|
lib:libQt5Widgets$secondaryArchSuffix
|
|
|
|
lib:libQt5Xml$secondaryArchSuffix
|
|
|
|
lib:libsqlite3$secondaryArchSuffix
|
|
|
|
"
|
|
|
|
|
|
|
|
BUILD_REQUIRES="
|
|
|
|
haiku${secondaryArchSuffix}_devel
|
|
|
|
devel:libGL$secondaryArchSuffix
|
|
|
|
devel:libQt5Core$secondaryArchSuffix
|
|
|
|
devel:libQt5Gui$secondaryArchSuffix
|
|
|
|
devel:libQt5Multimedia$secondaryArchSuffix
|
|
|
|
devel:libQt5Network$secondaryArchSuffix
|
|
|
|
devel:libQt5PrintSupport$secondaryArchSuffix
|
|
|
|
devel:libQt5Sql$secondaryArchSuffix
|
|
|
|
devel:libQt5WebKit$secondaryArchSuffix
|
|
|
|
devel:libQt5WebKitWidgets$secondaryArchSuffix
|
|
|
|
devel:libQt5Widgets$secondaryArchSuffix
|
|
|
|
devel:libQt5Xml$secondaryArchSuffix
|
|
|
|
devel:libsqlite3$secondaryArchSuffix
|
|
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
|
|
cmd:g++$secondaryArchSuffix
|
2019-10-20 03:19:02 +00:00
|
|
|
cmd:lrelease$secondaryArchSuffix >= 5
|
2018-07-21 15:46:54 +00:00
|
|
|
cmd:make
|
|
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
|
|
cmd:qmake$secondaryArchSuffix >= 5
|
|
|
|
cmd:sed
|
|
|
|
"
|
|
|
|
|
|
|
|
defineDebugInfoPackage quiterss$secondaryArchSuffix \
|
|
|
|
"$appsDir"/QuiteRSS/QuiteRSS
|
|
|
|
|
2019-10-20 03:19:02 +00:00
|
|
|
|
|
|
|
PATCH()
|
|
|
|
{
|
|
|
|
unzip -o $sourceDir/../../additional-files/haikuicons.zip -d $sourceDir/images
|
|
|
|
}
|
|
|
|
|
2018-07-21 15:46:54 +00:00
|
|
|
BUILD()
|
|
|
|
{
|
|
|
|
qmake .
|
|
|
|
make $jobArgs
|
|
|
|
}
|
|
|
|
|
|
|
|
INSTALL()
|
|
|
|
{
|
|
|
|
mkdir -p $appsDir/QuiteRSS
|
|
|
|
|
|
|
|
cd release/target
|
|
|
|
cp quiterss $appsDir/QuiteRSS/QuiteRSS
|
|
|
|
cp -R lang $appsDir/QuiteRSS
|
|
|
|
|
|
|
|
# Add Haiku resources
|
|
|
|
local APP_SIGNATURE="application/x-vnd.qt5-quiterss"
|
|
|
|
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
|
|
|
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
|
|
|
local MINOR="`echo "$portVersion" | cut -d. -f3`"
|
|
|
|
local LONG_INFO="$SUMMARY"
|
|
|
|
sed \
|
|
|
|
-e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \
|
|
|
|
-e "s|@MAJOR@|$MAJOR|" \
|
|
|
|
-e "s|@MIDDLE@|$MIDDLE|" \
|
|
|
|
-e "s|@MINOR@|$MINOR|" \
|
|
|
|
-e "s|@LONG_INFO@|$LONG_INFO|" \
|
|
|
|
$portDir/additional-files/quiterss.rdef.in > quiterss.rdef
|
|
|
|
|
|
|
|
addResourcesToBinaries quiterss.rdef $appsDir/QuiteRSS/QuiteRSS
|
|
|
|
addAppDeskbarSymlink $appsDir/QuiteRSS/QuiteRSS
|
|
|
|
}
|