From 28cb918d80073c2a797253b24570e7cdcc46ec62 Mon Sep 17 00:00:00 2001 From: kx Date: Mon, 11 Dec 2023 11:11:53 +0300 Subject: AyatanaIndicators --- packages/x/Makefile | 1 + packages/x/ayatana/Makefile | 26 ++++++++++++++ packages/x/ayatana/appindicator/Makefile | 59 ++++++++++++++++++++++++++++++++ packages/x/ayatana/ido/Makefile | 59 ++++++++++++++++++++++++++++++++ packages/x/ayatana/indicator/Makefile | 59 ++++++++++++++++++++++++++++++++ 5 files changed, 204 insertions(+) create mode 100644 packages/x/ayatana/Makefile create mode 100644 packages/x/ayatana/appindicator/Makefile create mode 100644 packages/x/ayatana/ido/Makefile create mode 100644 packages/x/ayatana/indicator/Makefile (limited to 'packages') diff --git a/packages/x/Makefile b/packages/x/Makefile index a52b45c..3fb99d3 100644 --- a/packages/x/Makefile +++ b/packages/x/Makefile @@ -7,6 +7,7 @@ SUBDIRS := Vulkan \ WindowMaker \ WindowMaker-extra \ + ayatana \ conky \ dejavu-fonts \ dejavu-fonts-ttf \ diff --git a/packages/x/ayatana/Makefile b/packages/x/ayatana/Makefile new file mode 100644 index 0000000..f7d051c --- /dev/null +++ b/packages/x/ayatana/Makefile @@ -0,0 +1,26 @@ + +# +# Following command helps to cheate SUBDIRS list: +# $ tree -fid . +# + +SUBDIRS := ido \ + indicator \ + appindicator + + +all-recursive downloads_clean-recursive: + @set fnord $(MAKEFLAGS); amf=$$2; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + local_target="$$target"; \ + (cd $$subdir && $(MAKE) $$fnord $$local_target) \ + || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + done; test -z "$$fail" + +all: all-recursive + +downloads_clean: downloads_clean-recursive + +.PHONY: all-recursive downloads_clean-recursive all downloads_clean diff --git a/packages/x/ayatana/appindicator/Makefile b/packages/x/ayatana/appindicator/Makefile new file mode 100644 index 0000000..6507573 --- /dev/null +++ b/packages/x/ayatana/appindicator/Makefile @@ -0,0 +1,59 @@ +# +# Project Home: +# ============ +# https://github.com/AyatanaIndicators +# +# Clone: +# ===== +# git clone https://github.com/AyatanaIndicators/libayatana-appindicator.git +# + +url = https://github.com/AyatanaIndicators + +repo_name = libayatana-appindicator +pkg_name = appindicator +suffix = tar.xz + +versions = 0.5.93 + +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=`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/packages/x/ayatana/ido/Makefile b/packages/x/ayatana/ido/Makefile new file mode 100644 index 0000000..d433d4d --- /dev/null +++ b/packages/x/ayatana/ido/Makefile @@ -0,0 +1,59 @@ +# +# Project Home: +# ============ +# https://github.com/AyatanaIndicators +# +# Clone: +# ===== +# git clone https://github.com/AyatanaIndicators/ayatana-ido.git +# + +url = https://github.com/AyatanaIndicators + +repo_name = ayatana-ido +pkg_name = ido +suffix = tar.xz + +versions = 0.10.1 + +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=`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/packages/x/ayatana/indicator/Makefile b/packages/x/ayatana/indicator/Makefile new file mode 100644 index 0000000..fba1af0 --- /dev/null +++ b/packages/x/ayatana/indicator/Makefile @@ -0,0 +1,59 @@ +# +# Project Home: +# ============ +# https://github.com/AyatanaIndicators +# +# Clone: +# ===== +# git clone https://github.com/AyatanaIndicators/libayatana-indicator.git +# + +url = https://github.com/AyatanaIndicators + +repo_name = libayatana-indicator +pkg_name = indicator +suffix = tar.xz + +versions = 0.9.4 + +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=`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) -- cgit v1.2.3