changeset 2:4bdac9bd90cc

vsss-0.230913-0.1_PKG
author prymula <prymula76@outlook.com>
date Thu, 01 Feb 2024 17:13:37 +0100
parents 82b75cc1e524
children 3989cc565d09
files photocrop/DEBIAN/debian.control photocrop/DEBIAN/photocrop.dsc verysimpleslideshow/DEBIAN/debian.control verysimpleslideshow/DEBIAN/verysimpleslideshow.dsc verysimpleslideshow/Makefile.aur verysimpleslideshow/PKG/PKGBUILD verysimpleslideshow/RPM/verysimpleslideshow.spec verysimpleslideshow/verysimpleslideshow.py
diffstat 7 files changed, 47 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/photocrop/DEBIAN/debian.control	Wed Jan 31 16:45:19 2024 +0100
+++ b/photocrop/DEBIAN/debian.control	Thu Feb 01 17:13:37 2024 +0100
@@ -2,9 +2,9 @@
 Section: python
 Priority: extra
 Maintainer: Przemysław R. Pietraszczyk
-Build-Depends: debhelper-compat (= 13), python3-all, python-setuptools, dh-python, python3-gi, python3-gi-cairo, gir1.2-gtk-3.0, fakeroot
+Build-Depends: debhelper-compat (= 13), python3-all, dh-python, python3-gi, python3-gi-cairo, gir1.2-gtk-3.0, fakeroot
 Standards-Version: 0.230112-0~alpha
-Homepage: http://pietraszczyk.vxm.pl/przycianie-zdjec
+Homepage: http://prymula.ct8.pl
 
 
 Package: photocrop
--- a/photocrop/DEBIAN/photocrop.dsc	Wed Jan 31 16:45:19 2024 +0100
+++ b/photocrop/DEBIAN/photocrop.dsc	Thu Feb 01 17:13:37 2024 +0100
@@ -12,7 +12,7 @@
 DEBTRANSFORM-TAR: photocrop_0.2301012-0~alpha.tar.gz
  
 Standards-Version: 0.2301012-0~alpha
-Build-Depends: debhelper-compat (= 13), python3-all, python-setuptools, dh-python, python3-gi, python3-gi-cairo, gir1.2-gtk-3.0, fakeroot
+Build-Depends: debhelper-compat (= 13), python3-all, dh-python, python3-gi, python3-gi-cairo, gir1.2-gtk-3.0, fakeroot
 Package-List:
  photocrop deb x11 optional arch=all
 Files:
--- a/verysimpleslideshow/DEBIAN/debian.control	Wed Jan 31 16:45:19 2024 +0100
+++ b/verysimpleslideshow/DEBIAN/debian.control	Thu Feb 01 17:13:37 2024 +0100
@@ -2,12 +2,12 @@
 Section: python
 Priority: extra
 Maintainer: Przemysław R. Pietraszczyk
-Build-Depends: debhelper-compat (= 12), python3-all, dh-python, fakeroot
+Build-Depends: debhelper-compat (= 12), python3-all, dh-python, python3-pil, fakeroot
 Standards-Version: 0.230913-0
 Homepage: http://prymula.ct8.pl
 
 
 Package: verysimpleslideshow
 Architecture: all
-Depends: ${misc:Depends}, python3-all, ffmpeg
+Depends: ${misc:Depends}, python3-all, python3-pil, ffmpeg
 Description: CLI script for creating slideshows 
--- a/verysimpleslideshow/DEBIAN/verysimpleslideshow.dsc	Wed Jan 31 16:45:19 2024 +0100
+++ b/verysimpleslideshow/DEBIAN/verysimpleslideshow.dsc	Thu Feb 01 17:13:37 2024 +0100
@@ -11,7 +11,7 @@
 DEBTRANSFORM-TAR: verysimpleslideshow-0.230913-0.tar.gz
  
 Standards-Version: 0.230913-0
-Build-Depends: debhelper-compat (>= 12), python3-all, dh-python, fakeroot
+Build-Depends: debhelper-compat (>= 12), python3-all, dh-python, python3-pil, fakeroot
 Package-List:
  verysimpleslideshow deb x11 optional arch=all
 Files:
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/verysimpleslideshow/Makefile.aur	Thu Feb 01 17:13:37 2024 +0100
@@ -0,0 +1,15 @@
+prefix=$DESTDIR
+
+all:
+
+install:
+	mkdir -pm 0755 $(prefix)/bin
+	install -m 0755 verysimpleslideshow.py $(prefix)/bin
+	ln -s $(prefix)/bin/verysimpleslideshow.py $(prefix)/bin/vsss
+
+
+uninstall:
+	rm $(prefix)/bin/vsss
+	rm $(prefix)/bin/verysimpleslideshow.py
+	
+.PHONY: all install uninstall
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/verysimpleslideshow/PKG/PKGBUILD	Thu Feb 01 17:13:37 2024 +0100
@@ -0,0 +1,24 @@
+# Maintainer: Przemyslaw R. Pietraszczyk <prymula76@outlook.com>
+pkgname=verysimpleslideshow
+pkgver=0.230913
+pkgrel=0
+pkgdesc="Create a breathtaking slide show"
+arch=('any')
+url="prymula.ct8.pl"
+license=('GPL')
+groups=()
+depends=('python' 'python-pillow')
+makedepends=('python' 'python-pillow')
+source=($pkgname-$pkgver-$pkgrel.tar.gz)
+noextract=()
+sha256sums=('304c76b1e3fca440ee36df1389f054c16fe25fa8163e9e0b6f69bbdaadb1368b') #generate with 'makepkg -g' || sha256sum
+
+#build() {
+	#cd "$srcdir/$pkgname-$pkgver-$pkgrel"
+	#python -m build --wheel --no-isolation
+#}
+
+package() {
+	cd "$srcdir/$pkgname-$pkgver-$pkgrel"
+	make -f Makefile.aur DESTDIR="$pkgdir/" install
+}
--- a/verysimpleslideshow/RPM/verysimpleslideshow.spec	Wed Jan 31 16:45:19 2024 +0100
+++ b/verysimpleslideshow/RPM/verysimpleslideshow.spec	Thu Feb 01 17:13:37 2024 +0100
@@ -25,7 +25,7 @@
 Source0:	%{name}-%{unmangled_version}.tar.gz
 %if 0%{?suse_version}>=150000
 BuildRequires:	python3
-Requires:       python3, ffmpeg
+Requires:       python3, ffmpeg-4
 %endif
 %if 0%{?fedora}>=36
 BuildRequires:	python3
@@ -34,7 +34,7 @@
 BuildArch:	noarch
 
 %description
-
+Create a breathtaking slide show
 
 %prep
 %setup -n %{name}-%{unmangled_version} -n %{name}-%{unmangled_version}