New package: inkscape-silhouette-1.29

This commit is contained in:
classabbyamp 2025-01-03 00:27:53 -05:00
parent 34fcb92bb0
commit e4226a072d
No known key found for this signature in database
GPG Key ID: 6BE0755918A4C7F5
2 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,22 @@
From 86f552b48c835b5f20208830d287656c9d71874c Mon Sep 17 00:00:00 2001
From: classabbyamp <5366828+classabbyamp@users.noreply.github.com>
Date: Thu, 2 Jan 2025 15:04:38 -0500
Subject: [PATCH] Makefile: install udev rules under PREFIX
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 7119820..6f7bb25 100644
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,7 @@ VERS=$$(python3 ./sendto_silhouette.py --version)
DEST=$(DESTDIR)$(PREFIX)/share/inkscape/extensions
LOCALE=$(DESTDIR)$(PREFIX)/share/locale
-UDEV=$(DESTDIR)/lib/udev
+UDEV=$(DESTDIR)$(PREFIX)/lib/udev
INKSCAPE_TEMPLATES=$(DESTDIR)$(PREFIX)/share/inkscape/templates
# User-specifc inkscape extensions folder for local install

View File

@ -0,0 +1,24 @@
# Template file for 'inkscape-silhouette'
pkgname=inkscape-silhouette
version=1.29
revision=1
build_style=gnu-makefile
make_build_target="mo"
make_check_target="test"
hostmakedepends="gettext"
depends="inkscape python3-lxml python3-xmltodict python3-usb python3-libusb1
python3-numpy python3-matplotlib python3-cssselect wxPython"
checkdepends="python3-pytest umockdev ${depends}"
short_desc="Inkscape extension to drive Silhouette vinyl cutters"
maintainer="classabbyamp <void@placeviolette.net>"
license="GPL-2.0-only"
homepage="https://github.com/fablabnbg/inkscape-silhouette"
changelog="https://github.com/fablabnbg/inkscape-silhouette/releases"
distfiles="https://github.com/fablabnbg/inkscape-silhouette/archive/refs/tags/v${version}.tar.gz"
checksum=2fbdf9c8fedff331a87eb4d774359094d9d8628e9b5b3de6a68f25287b532f35
python_version=3
post_patch() {
# use python3-usb instead
rm -r silhouette/pyusb-1.0.2
}