Updates
This commit is contained in:
parent
be3f1a6c77
commit
a5e9df0216
2
media-gfx/inkscape-silhouette/Manifest
Normal file
2
media-gfx/inkscape-silhouette/Manifest
Normal file
@ -0,0 +1,2 @@
|
||||
AUX inkscape-silhouette-cleanup.patch 1082 BLAKE2B 6d039b79b149468d1b6a677eb5f255bafddc66780c87b24bb53e03c3cdad84a1a7fdb06b892e573f546f43c100aeeb55588a14d54c052849f953c7be193ac471 SHA512 660aadf376f124a1b2f1f3daf24db9b3a998e565f92208e713de7f888601ed852080812120b8c3098dd1d955778d6cf4ba050d8d3254764503d5177026ab3660
|
||||
EBUILD inkscape-silhouette-9999.ebuild 994 BLAKE2B b5d0187e159db11a34cdaa50fe00aa57e2ac2dd9d6ffd80a8231a1852155dd9b1872a1d97cf3aefc4489e593b85a5785fd96019a57e97ea0dfaa243ca56422ed SHA512 fdb3d22ec0de6a2a8a69e08367cbf7dd5f6296012ace98a7a08996da3a5984ff0b1032991242311816a251b9c1c395c57820c6e0fa143a6b4f7e31523cf9ec9c
|
@ -0,0 +1,23 @@
|
||||
diff -urN inkscape-silhouette-9999.orig/Makefile inkscape-silhouette-9999/Makefile
|
||||
--- inkscape-silhouette-9999.orig/Makefile 2023-05-24 08:56:46.538789895 +0200
|
||||
+++ inkscape-silhouette-9999/Makefile 2023-05-24 08:59:01.493223179 +0200
|
||||
@@ -37,7 +37,6 @@
|
||||
install: mo
|
||||
mkdir -p $(DEST)
|
||||
@# CAUTION: cp -a does not work under fakeroot. Use cp -r instead.
|
||||
- cp -r silhouette $(DEST)
|
||||
install -m 755 *silhouette*.py $(DEST)
|
||||
install -m 644 *.inx $(DEST)
|
||||
cp -r locale $(LOCALE)
|
||||
diff -urN inkscape-silhouette-9999.orig/silhouette/Graphtec.py inkscape-silhouette-9999/silhouette/Graphtec.py
|
||||
--- inkscape-silhouette-9999.orig/silhouette/Graphtec.py 2023-05-24 08:56:46.585456942 +0200
|
||||
+++ inkscape-silhouette-9999/silhouette/Graphtec.py 2023-05-24 08:58:05.419432821 +0200
|
||||
@@ -29,8 +29,6 @@
|
||||
|
||||
usb_reset_needed = False # https://github.com/fablabnbg/inkscape-silhouette/issues/10
|
||||
|
||||
-sys.path.append(os.path.dirname(os.path.abspath(__file__)) + '/pyusb-1.0.2') # have a pyusb fallback
|
||||
-
|
||||
sys_platform = sys.platform.lower()
|
||||
if sys_platform.startswith('win'):
|
||||
import usb.core
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
inherit python-single-r1 udev
|
||||
|
||||
DESCRIPTION="Drive Silhouette vinyl cutters from within inkscape."
|
||||
HOMEPAGE="https://github.com/fablabnbg/inkscape-silhouette"
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/fablabnbg/${PN}.git"
|
||||
KEYWORDS=""
|
||||
inherit git-r3
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="https://github.com/fablabnbg/${PN}/archive/refs/tags/v${PV}.tar.gz"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
>=media-gfx/inkscape-1.0
|
||||
dev-python/pyusb
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( Commands.md HISTORY.txt LICENSE README.md )
|
||||
PATCHES=( "${FILESDIR}/${PN}-cleanup.patch" )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
rm -r "${S}"/silhouette/pyusb-1.*
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake mo
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_domodule silhouette
|
||||
|
||||
DESTDIR="${D}" emake install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
udev_reload
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
udev_reload
|
||||
}
|
3
media-gfx/pstoedit/Manifest
Normal file
3
media-gfx/pstoedit/Manifest
Normal file
@ -0,0 +1,3 @@
|
||||
DIST pstoedit-3.78.tar.gz 1301408 BLAKE2B 8a8cc64ac28554360654f3cd87a468f4925edf6e5ef14fa5c618571479f8a317082f88cf91bf0e48cd49a4858cb5e0949798bf37361fefc523efd61b2af8957e SHA512 ed880da1ba16780224b4bb40d520f99bc5290b4335dd30f1a195855ce75b3880d5a4fca9885b214855ce61d8bd701aa0681a190e69a8fdef2f3d5e1e2f692648
|
||||
EBUILD pstoedit-3.78.ebuild 1256 BLAKE2B 6d4c6fb52b3606b500f6bd0b162e5a2de8b13d70bcbddcaa071f7e437d0ec66fff283335e84fa8a8be46dc26d87369c278235c7635e785d5aef9ac375f644bb9 SHA512 d37877dae32ea46bc268a6a64dd2582ed16a9e39ab76aa9fe6088d4c08f97b9a4c5d74bac1d255628c6fe774568d5cc982f345264141cd29a8c09200b10014cc
|
||||
MISC metadata.xml 634 BLAKE2B ea6bd21397a45a3591572e803513b32361761a9872800027ab779c2a9f0e214db9e70dc9fed0acbf6dafe3769cd8525e21d2875e62f4b8711bfc03f38bc47214 SHA512 d8d509f442aee8fbb9036dab15fba870e18b8d6b0b120d3c82bb50e7d86379425f5b91161e4f37137f43710fd50ac2c8481b47b0dd5ab39654729a7280258465
|
19
media-gfx/pstoedit/metadata.xml
Normal file
19
media-gfx/pstoedit/metadata.xml
Normal file
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>tex@gentoo.org</email>
|
||||
<name>Gentoo TeX Project</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>printing@gentoo.org</email>
|
||||
<name>Gentoo Printing Project</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="emf">Enable <pkg>media-libs/libemf</pkg> support</flag>
|
||||
<flag name="pptx">Enable support for generating PowerPoint pptx files</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">pstoedit</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
61
media-gfx/pstoedit/pstoedit-3.78.ebuild
Normal file
61
media-gfx/pstoedit/pstoedit-3.78.ebuild
Normal file
@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Translate PostScript and PDF graphics into other vector formats"
|
||||
HOMEPAGE="https://sourceforge.net/projects/pstoedit/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="emf imagemagick plotutils pptx"
|
||||
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
RDEPEND="
|
||||
>=app-text/ghostscript-gpl-8.71-r1
|
||||
>=media-libs/gd-2.0.35-r1:=
|
||||
emf? ( >=media-libs/libemf-1.0.3 )
|
||||
imagemagick? ( >=media-gfx/imagemagick-6.6.1.2:=[cxx] )
|
||||
plotutils? ( media-libs/plotutils )
|
||||
pptx? ( dev-libs/libzip:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( doc/readme.txt )
|
||||
HTML_DOCS=( doc/{changelog,pstoedit}.htm )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i \
|
||||
-e '/CXXFLAGS="-g"/d' \
|
||||
-e 's:-pedantic::' \
|
||||
configure.ac || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--disable-static
|
||||
--without-swf
|
||||
$(use_with emf)
|
||||
$(use_with imagemagick magick)
|
||||
$(use_with plotutils libplot)
|
||||
$(use_with pptx)
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
doman doc/pstoedit.1
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
Loading…
Reference in New Issue
Block a user