mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
New package: inkscape-silhouette-1.29
This commit is contained in:
parent
34fcb92bb0
commit
e4226a072d
2 changed files with 46 additions and 0 deletions
22
srcpkgs/inkscape-silhouette/patches/udev-install.patch
Normal file
22
srcpkgs/inkscape-silhouette/patches/udev-install.patch
Normal 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
|
24
srcpkgs/inkscape-silhouette/template
Normal file
24
srcpkgs/inkscape-silhouette/template
Normal 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
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue