diff --git a/kde-apps/akregator/additional-files/akregator.rdef.in b/kde-apps/akregator/additional-files/akregator.rdef.in new file mode 100644 index 000000000..61075fdbb --- /dev/null +++ b/kde-apps/akregator/additional-files/akregator.rdef.in @@ -0,0 +1,40 @@ +resource app_flags B_SINGLE_LAUNCH; + +resource app_version { + major = @MAJOR@, + middle = @MIDDLE@, + minor = @MINOR@, + + variety = B_APPV_FINAL, + internal = 0, + + short_info = "@APP_NAME@", + long_info = "@LONG_INFO@" +}; + +resource app_signature "@APP_SIGNATURE@"; + +resource vector_icon { + $"6E6369660402000602BC8000BD00003D0000BC80004BD55546555500F27935FF" + $"F2784B020002023A4FC93A4FC9BA4FC93A4FC94A02C54B6AAA00292C2FFFFF00" + $"00000003B8633305FF07020CB8D8B520B8D8B520B7F5B520B740B6B7B740B5D5" + $"B740BAA0B740C272B740BE89B5EFC334B520C61FB520C49BB51FC740B65EC920" + $"B592C854B72AC9EC30CA5FB83FCA5FBAE4CA5FBD0DC83FBC4AC98FC0F6C83FC8" + $"C7C83FC4DFC83FC9AAC83FCA5FC6A7CA5FC789CA5FC157CA5FB6B7CA5FBC07CA" + $"5FB5D5C8C7B51FC9AAB51FC377B51FB8D8B520BE27B51FB8D8B5200206BAE0C4" + $"9FBAE0C49FB9E0C59FB7DFC7A0B8DFC6A0B8BDC87EBA78CA39B99AC95CBB8EC9" + $"EFBD0DC83FBC7CC939BD89C83FBE81C83FBE05C83FBD4BC70ABAE0C49FBC16C5" + $"D4BAE0C49F0208C0D03DC0D03DBE55BE3E30BD9FBBDABDEFBA6FBEB038C0D0BB" + $"8040BB80C12A30C1DFBA6FC185BB80C40040C83FBD9F50C2C2C83FC8C8C83FC5" + $"C5C83FC9AAC83FC9D7C796C9D7C796C6D5C493C0D03DC3D2C190C0D03D000CB5" + $"23C5DAB523C5DAB521C5F1B520C61FB520C608B51FC740B65EC921B592C855B7" + $"2AC9ED30CA60B83FCA60BAE4CA5FBD0DC83FBC4AC990C0F6C83FC8C8C83FC4DF" + $"C83FC9AAC83FCA60C6A7CA60C78ACA60C67ACA6050CA60C64DCA60C702C8C854" + $"C9AA54C4DF54BD0D54C0F654BC4AC90830C9D7BAE4C9D7B721C9D7B523C5DAB5" + $"46C817B523C5DA000530C40030C400B833C400B74050B740C4F3B740C74C30C8" + $"3FB833C83FBA8CC83FBB8050BB80C74CBB80C4F330C400BA8CC40030C4000005" + $"3040304030C07530C1DF30C12ABBB8C1DFBD9F50BD9FC3C7BE55504050BF0A50" + $"40C29A3040BCE5403040000530BB8030BB8030BC3530BD9F30BCEABE11BD9FC1" + $"DF50C1DFC16EC29550C40050C34A50C400C04130BB80BF3EBB8030BB80040A00" + $"0100000A01020102000A020103000A030304050600" +}; diff --git a/kde-apps/akregator/akregator-22.04.3.recipe b/kde-apps/akregator/akregator-22.04.3.recipe new file mode 100644 index 000000000..1f4d33e80 --- /dev/null +++ b/kde-apps/akregator/akregator-22.04.3.recipe @@ -0,0 +1,178 @@ +SUMMARY="A KDE news feed reader" +DESCRIPTION="Feed readers provide a convenient way to browse different kinds of content, \ +including news, blogs, and other content from online sites. Instead of checking all your \ +favorite web sites manually for updates, Akregator collects the content for you." +HOMEPAGE="https://invent.kde.org/pim/akregator" +COPYRIGHT="2010-2023 KDE Organisation" +LICENSE="MIT + GNU GPL v2" +REVISION="1" +SOURCE_URI="$HOMEPAGE/-/archive/v$portVersion/akregator-v$portVersion.tar.bz2" +CHECKSUM_SHA256="b1ccab090f6051033de66282766848bd9a823ca8724415eb44ea904384507823" +SOURCE_DIR="akregator-v$portVersion" +ADDITIONAL_FILES="akregator.rdef.in" + +ARCHITECTURES="all !x86_gcc2" +SECONDARY_ARCHITECTURES="x86" + +libVersion="5.20.3" +libVersionCompat="$libVersion compat >= ${libVersion%%.*}" + +PROVIDES=" + akregator$secondaryArchSuffix = $portVersion + cmd:akregator$secondaryArchSuffix = $portVersion + cmd:akregatorstorageexporter$secondaryArchSuffix = $portVersion + lib:libakregatorinterfaces$secondaryArchSuffix = $libVersionCompat + lib:libakregatorprivate$secondaryArchSuffix = $libVersionCompat + " +REQUIRES=" + haiku$secondaryArchSuffix + lib:libassuan$secondaryArchSuffix + lib:libgpgmepp$secondaryArchSuffix + lib:libGrantlee_Templates$secondaryArchSuffix + # KF5 + lib:libKF5Auth$secondaryArchSuffix + lib:libKF5Codecs$secondaryArchSuffix + lib:libKF5Completion$secondaryArchSuffix + lib:libKF5ConfigCore$secondaryArchSuffix + lib:libKF5ConfigGui$secondaryArchSuffix + lib:libKF5ConfigWidgets$secondaryArchSuffix + lib:libKF5Contacts$secondaryArchSuffix + lib:libKF5CoreAddons$secondaryArchSuffix + lib:libKF5Crash$secondaryArchSuffix + lib:libKF5I18n$secondaryArchSuffix + lib:libKF5ItemModels$secondaryArchSuffix + lib:libKF5KCMUtils$secondaryArchSuffix + lib:libKF5KIOCore$secondaryArchSuffix + lib:libKF5JobWidgets$secondaryArchSuffix + lib:libKF5Notifications$secondaryArchSuffix + lib:libKF5NotifyConfig$secondaryArchSuffix + lib:libKF5Parts$secondaryArchSuffix + lib:libKF5Service$secondaryArchSuffix + lib:libKF5Solid$secondaryArchSuffix + lib:libKF5SonnetUi$secondaryArchSuffix + lib:libKF5Syndication$secondaryArchSuffix + lib:libKF5TextWidgets$secondaryArchSuffix + lib:libKF5WidgetsAddons$secondaryArchSuffix + lib:libKF5WindowSystem$secondaryArchSuffix + lib:libKF5XmlGui$secondaryArchSuffix + lib:libKUserFeedbackCore$secondaryArchSuffix + # KPim5 + lib:libKF5AkonadiCore$secondaryArchSuffix + lib:libKF5AkonadiMime$secondaryArchSuffix + lib:libKF5GrantleeTheme$secondaryArchSuffix + lib:libKF5KontactInterface$secondaryArchSuffix + lib:libKF5Libkdepim$secondaryArchSuffix + lib:libKF5Libkleo$secondaryArchSuffix + lib:libKF5MessageCore$secondaryArchSuffix + lib:libKF5Mime$secondaryArchSuffix + lib:libKF5PimCommonAkonadi$secondaryArchSuffix + lib:libKF5PimTextEdit$secondaryArchSuffix + # Qt5 + lib:libQt5Core$secondaryArchSuffix + lib:libQt5DBus$secondaryArchSuffix + lib:libQt5Gui$secondaryArchSuffix + lib:libQt5Network$secondaryArchSuffix + lib:libQt5Quick$secondaryArchSuffix + lib:libQt5Webengine$secondaryArchSuffix + lib:libQt5Widgets$secondaryArchSuffix + lib:libQt5Xml$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + devel:libGrantlee_Templates$secondaryArchSuffix + devel:libgpgmepp$secondaryArchSuffix + # KF5 + extra_cmake_modules$secondaryArchSuffix >= 5.93.0 + devel:libKF5Auth$secondaryArchSuffix + devel:libKF5Bookmarks$secondaryArchSuffix + devel:libKF5Codecs$secondaryArchSuffix + devel:libKF5Completion$secondaryArchSuffix + devel:libKF5ConfigCore$secondaryArchSuffix + devel:libKF5ConfigWidgets$secondaryArchSuffix + devel:libKF5Contacts$secondaryArchSuffix + devel:libKF5CoreAddons$secondaryArchSuffix + devel:libKF5Crash$secondaryArchSuffix + devel:libKF5I18n$secondaryArchSuffix + devel:libKF5ItemModels$secondaryArchSuffix + devel:libKF5ItemViews$secondaryArchSuffix + devel:libKF5JobWidgets$secondaryArchSuffix + devel:libKF5KCMUtils$secondaryArchSuffix + devel:libKF5KIOCore$secondaryArchSuffix + devel:libKF5Notifications$secondaryArchSuffix + devel:libKF5NotifyConfig$secondaryArchSuffix + devel:libKF5Parts$secondaryArchSuffix + devel:libKF5Service$secondaryArchSuffix + devel:libKF5Solid$secondaryArchSuffix + devel:libKF5SonnetCore$secondaryArchSuffix + devel:libKF5Syndication$secondaryArchSuffix + devel:libKF5TextWidgets$secondaryArchSuffix + devel:libKF5WidgetsAddons$secondaryArchSuffix + devel:libKF5WindowSystem$secondaryArchSuffix + devel:libKF5XmlGui$secondaryArchSuffix + devel:libKUserFeedbackCore$secondaryArchSuffix + # KPim5 + devel:libKF5AkonadiContact$secondaryArchSuffix + devel:libKF5AkonadiCore$secondaryArchSuffix + devel:libKF5AkonadiMime$secondaryArchSuffix + devel:libKF5GrantleeTheme$secondaryArchSuffix + devel:libKF5IMAP$secondaryArchSuffix + devel:libKF5KontactInterface$secondaryArchSuffix + devel:libKF5Libkdepim$secondaryArchSuffix + devel:libKF5Libkleo$secondaryArchSuffix + devel:libKF5MessageViewer$secondaryArchSuffix + devel:libKF5Mime$secondaryArchSuffix + devel:libKF5PimCommon$secondaryArchSuffix + devel:libKF5PimTextEdit$secondaryArchSuffix + # Qt5 + devel:libQt5Core$secondaryArchSuffix + devel:libQt5Webengine$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + cmd:cmake + cmd:g++$secondaryArchSuffix + cmd:make + cmd:msgfmt + cmd:msgmerge + cmd:pkg_config$secondaryArchSuffix + cmd:qdbuscpp2xml$secondaryArchSuffix >= 5 + " + +BUILD() +{ + cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \ + $cmakeDirArgs \ + -DCMAKE_INSTALL_BINDIR=$appsDir \ + -DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt5 \ + -DKDE_INSTALL_QMLDIR=$dataDir/Qt5/qml \ + -DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \ + -DECM_DIR=/system/data/cmake/Modules/ECM/cmake + make -C build $jobArgs +} + +INSTALL() +{ + make -C build install + + mv $appsDir/akregator $appsDir/Akregator + + local MAJOR="`echo "$portVersion" | cut -d. -f1`" + local MIDDLE="`echo "$portVersion" | cut -d. -f2`" + local MINOR="`echo "$portVersion" | cut -d. -f3`" + local APP_NAME="Akregator" + local LONG_INFO="$SUMMARY" + local APP_SIGNATURE="application/x-vnd.akregator" + sed \ + -e "s|@MAJOR@|$MAJOR|" \ + -e "s|@MIDDLE@|$MIDDLE|" \ + -e "s|@MINOR@|$MINOR|" \ + -e "s|@LONG_INFO@|$LONG_INFO|" \ + -e "s|@APP_NAME@|$APP_NAME|" \ + -e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \ + $portDir/additional-files/akregator.rdef.in > akregator.rdef + + addResourcesToBinaries akregator.rdef $appsDir/Akregator + + addAppDeskbarSymlink $appsDir/Akregator +}