From 6678d6e3772ab76590ad78a5e720be05e6e5ba2c Mon Sep 17 00:00:00 2001 From: kx Date: Sat, 9 Dec 2023 17:36:54 +0300 Subject: GNOME: pyatspi-2.46.0 --- GNOME/core/Makefile | 1 + GNOME/core/pyatspi/Makefile | 50 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 GNOME/core/pyatspi/Makefile (limited to 'GNOME') diff --git a/GNOME/core/Makefile b/GNOME/core/Makefile index a875e38..9d397f8 100644 --- a/GNOME/core/Makefile +++ b/GNOME/core/Makefile @@ -122,6 +122,7 @@ SUBDIRS := GConf \ notification-daemon \ pango \ pangomm \ + pyatspi \ pygobject \ pygtk \ rest \ diff --git a/GNOME/core/pyatspi/Makefile b/GNOME/core/pyatspi/Makefile new file mode 100644 index 0000000..d8aff73 --- /dev/null +++ b/GNOME/core/pyatspi/Makefile @@ -0,0 +1,50 @@ +# +# Project Home: +# ============ +# https://www.gnome.org +# +# Repository browse: https://git.gnome.org/browse/pyatspi +# +# Downloads: +# ========= +# ftp://ftp.gnome.org/pub/GNOME/sources +# https://download.gnome.org/sources +# + + +url = https://download.gnome.org/sources + +versions = 2.46.0 + +pkg_name = pyatspi +arch_type = tar.xz +suffixes = $(arch_type) + +files = $(foreach suffix, $(suffixes), $(addsuffix .$(suffix), $(addprefix $(pkg_name)-, $(versions)))) + +tarballs = $(addsuffix .$(arch_type), $(addprefix $(pkg_name)-, $(versions))) +sha1s = $(addsuffix .sha1sum, $(tarballs)) + + +all: $(files) $(sha1s) + + +.PHONY: downloads_clean + +$(files): + @echo -e "\n======= Downloading '$(pkg_name)' sourses =======\n" + @for version in $(versions) ; do \ + major_minor=`echo $$version | sed 's/\([0-9][.0-9][0-9]*\)\([\.].*\)/\1/'` ; \ + for suffix in $(suffixes) ; do \ + wget -N $(url)/$(pkg_name)/$$major_minor/$(pkg_name)-$$version.$$suffix ; \ + done ; \ + done + +$(sha1s): %.$(arch_type).sha1sum : %.$(arch_type) + @for tarball in $< ; do \ + echo -e "\n======= Calculation the '$$tarball' sha1sum =======\n" ; \ + sha1sum --binary $$tarball > $$tarball.sha1sum ; \ + done + +downloads_clean: + @rm -f $(files) $(sha1s) -- cgit v1.2.3