author: kx <kx@radix.pro> 2023-12-01 12:43:35 +0300
committer: kx <kx@radix.pro> 2023-12-01 12:43:35 +0300
commit: dfc19c41bd92813c54f1ad05f6242881cf843480
parent: 7fae16ae106842129018836eb16b325c0741cde8
Commit Summary:
Diffstat:
3 files changed, 179 insertions, 81 deletions
diff --git a/KDE/frameworks/Makefile b/KDE/frameworks/Makefile
index abae68d..fcf29f5 100644
--- a/KDE/frameworks/Makefile
+++ b/KDE/frameworks/Makefile
@@ -4,87 +4,89 @@
# $ tree -fid .
#
-SUBDIRS := attica \
- baloo \
- prison \
- bluez-qt \
- breeze-icons \
- extra-cmake-modules \
- kapidox \
- frameworkintegration \
- karchive \
- kauth \
- kbookmarks \
- kcalendarcore \
- kcmutils \
- kcodecs \
- kcompletion \
- kconfig \
- kconfigwidgets \
- kcontacts \
- kcoreaddons \
- kcrash \
- kdav \
- kdbusaddons \
- kdelibs4support \
- kdeclarative \
- kded \
- kdesignerplugin \
- kdesu \
- kdewebkit \
- kdnssd \
- kdoctools \
- kemoticons \
- kfilemetadata \
- kglobalaccel \
- kguiaddons \
- kholidays \
- khtml \
- ki18n \
- kiconthemes \
- kidletime \
- kimageformats \
- kinit \
- kio \
- kirigami \
- kitemmodels \
- kitemviews \
- kjobwidgets \
- kjs \
- kjsembed \
- kmediaplayer \
- knewstuff \
- knotifications \
- knotifyconfig \
- kparts \
- kpeople \
- kplotting \
- kpty \
- kross \
- krunner \
- kservice \
- ktexteditor \
- ktextwidgets \
- kunitconversion \
- kuserfeedback \
- kwallet \
- kwayland \
- kwidgetsaddons \
- kwindowsystem \
- kxmlgui \
- kxmlrpcclient \
- libplasma \
- modemmanager-qt \
- networkmanager-qt \
- oxygen-icons \
- kpackage \
- purpose \
- qqc2-desktop-style \
- kquickcharts \
- solid \
- sonnet \
- syndication \
- syntax-highlighting \
+SUBDIRS := attica \
+ baloo \
+ prison \
+ bluez-qt \
+ breeze-icons \
+ extra-cmake-modules \
+ kapidox \
+ frameworkintegration \
+ karchive \
+ kauth \
+ kbookmarks \
+ kcalendarcore \
+ kcmutils \
+ kcodecs \
+ kcompletion \
+ kconfig \
+ kconfigwidgets \
+ kcontacts \
+ kcoreaddons \
+ kcrash \
+ kdav \
+ kdbusaddons \
+ kdelibs4support \
+ kdeclarative \
+ kded \
+ kdesignerplugin \
+ kdesu \
+ kdewebkit \
+ kdnssd \
+ kdoctools \
+ kemoticons \
+ kfilemetadata \
+ kglobalaccel \
+ kguiaddons \
+ kholidays \
+ khtml \
+ ki18n \
+ kiconthemes \
+ kidletime \
+ kimageformats \
+ kinit \
+ kio \
+ kirigami \
+ kitemmodels \
+ kitemviews \
+ kjobwidgets \
+ kjs \
+ kjsembed \
+ kmediaplayer \
+ knewstuff \
+ knotifications \
+ knotifyconfig \
+ kparts \
+ kpeople \
+ kplotting \
+ kpty \
+ kross \
+ krunner \
+ kservice \
+ ktexteditor \
+ ktextwidgets \
+ kunitconversion \
+ kuserfeedback \
+ kwallet \
+ kwayland \
+ kwidgetsaddons \
+ kwindowsystem \
+ kxmlgui \
+ kxmlrpcclient \
+ libplasma \
+ modemmanager-qt \
+ networkmanager-qt \
+ oxygen-icons \
+ plasma-activities \
+ plasma-activities-stats \
+ kpackage \
+ purpose \
+ qqc2-desktop-style \
+ kquickcharts \
+ solid \
+ sonnet \
+ syndication \
+ syntax-highlighting \
threadweaver
diff --git a/KDE/frameworks/plasma-activities-stats/Makefile b/KDE/frameworks/plasma-activities-stats/Makefile
new file mode 100644
index 0000000..2ae3226
--- /dev/null
+++ b/KDE/frameworks/plasma-activities-stats/Makefile
@@ -0,0 +1,62 @@
+#
+# Project Home:
+# ============
+# https://invent.kde.org
+#
+# Clone:
+# =====
+# git clone https://invent.kde.org/plasma/plasma-activities-stats.git
+#
+
+url = https://invent.kde.org/plasma
+
+repo_name = plasma-activities-stats
+pkg_name = plasma-activities-stats
+suffix = tar.xz
+
+versions = 5.112.0
+
+# List of tags to be extracted:
+TAGS = $(addprefix v, $(versions))
+
+git_repo = .git_clone
+tarballs = $(addsuffix .tar.xz, $(addprefix $(pkg_name)-, $(versions)))
+sha1s = $(addsuffix .sha1sum, $(tarballs))
+
+TARGETS = repository_clean
+
+
+all: $(TARGETS)
+
+.PHONY: downloads_clean repository_clean
+
+$(git_repo):
+ @echo -e "\n======= Clone $(repo_name).git repository =======\n"
+ @rm -rf $(repo_name)
+ @git clone $(url)/$(repo_name).git $(repo_name)
+ @touch $@
+
+$(tarballs): $(git_repo)
+ @for version in $(versions) ; do \
+ tag=v`echo $$version` ; \
+ if [ ! -f $(repo_name)-$$version.$(suffix) ]; then \
+ echo -e "\n======= Creating '$(repo_name)-$$version.$(suffix)' snapshot =======" ; \
+ ( cd $(repo_name) && \
+ git archive --format=tar --prefix=$(pkg_name)-$$version/ $$tag | \
+ xz >../$(pkg_name)-$$version.$(suffix) ) ; \
+ fi ; \
+ done
+
+$(sha1s): %.tar.xz.sha1sum : %.tar.xz
+ @for tarball in $< ; do \
+ echo -e "\n======= Calculation the '$$tarball' sha1sum =======" ; \
+ sha1sum --binary $$tarball > $$tarball.sha1sum ; \
+ done
+
+repository_clean: $(sha1s)
+ @echo -e "\n======= Remove cloned $(repo_name).git repository =======\n"
+ @rm -rf $(git_repo) $(repo_name)
+
+downloads_clean:
+ @rm -rf $(tarballs) $(sha1s)
+ @rm -rf $(git_repo) $(repo_name)
diff --git a/KDE/frameworks/plasma-activities/Makefile b/KDE/frameworks/plasma-activities/Makefile
new file mode 100644
index 0000000..3f26fb8
--- /dev/null
+++ b/KDE/frameworks/plasma-activities/Makefile
@@ -0,0 +1,62 @@
+#
+# Project Home:
+# ============
+# https://invent.kde.org
+#
+# Clone:
+# =====
+# git clone https://invent.kde.org/plasma/plasma-activities.git
+#
+
+url = https://invent.kde.org/plasma
+
+repo_name = plasma-activities
+pkg_name = plasma-activities
+suffix = tar.xz
+
+versions = 5.112.0
+
+# List of tags to be extracted:
+TAGS = $(addprefix v, $(versions))
+
+git_repo = .git_clone
+tarballs = $(addsuffix .tar.xz, $(addprefix $(pkg_name)-, $(versions)))
+sha1s = $(addsuffix .sha1sum, $(tarballs))
+
+TARGETS = repository_clean
+
+
+all: $(TARGETS)
+
+.PHONY: downloads_clean repository_clean
+
+$(git_repo):
+ @echo -e "\n======= Clone $(repo_name).git repository =======\n"
+ @rm -rf $(repo_name)
+ @git clone $(url)/$(repo_name).git $(repo_name)
+ @touch $@
+
+$(tarballs): $(git_repo)
+ @for version in $(versions) ; do \
+ tag=v`echo $$version` ; \
+ if [ ! -f $(repo_name)-$$version.$(suffix) ]; then \
+ echo -e "\n======= Creating '$(repo_name)-$$version.$(suffix)' snapshot =======" ; \
+ ( cd $(repo_name) && \
+ git archive --format=tar --prefix=$(pkg_name)-$$version/ $$tag | \
+ xz >../$(pkg_name)-$$version.$(suffix) ) ; \
+ fi ; \
+ done
+
+$(sha1s): %.tar.xz.sha1sum : %.tar.xz
+ @for tarball in $< ; do \
+ echo -e "\n======= Calculation the '$$tarball' sha1sum =======" ; \
+ sha1sum --binary $$tarball > $$tarball.sha1sum ; \
+ done
+
+repository_clean: $(sha1s)
+ @echo -e "\n======= Remove cloned $(repo_name).git repository =======\n"
+ @rm -rf $(git_repo) $(repo_name)
+
+downloads_clean:
+ @rm -rf $(tarballs) $(sha1s)
+ @rm -rf $(git_repo) $(repo_name)