Added several ebuilds
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
DIST ocrfeeder-0.8.1.tar.xz 900692 SHA256 5816401c9b4bfce98fd9a7b649a3c7ecc3d6968a30f0e4d1b3677d172d55253b SHA512 77684cf752ea1f3b55a1373099d3be3cbfe812cead2b254bd0624f650ace5254d5f708c001f946c3e59fd34f6db52f39b94ff6865588370ed3a5ea6530be8113 WHIRLPOOL 182f7717c3b7638d1818b6172c660b2b00f232cc8ee43f4811ef417838aadbcce063281e241d176b19d353d6a654c1d7862cd4b9bda1fe1dec59a6e0493ca0b0
|
||||
EBUILD ocrfeeder-0.8.1.ebuild 744 SHA256 17b5dad4d990938e26c38fb5c81343aa9621925bbec56c9058abc517c077cd53 SHA512 e08020f5f9b42214ea7f6f97eb4e4ac1ef924e3a92a0c538b0185ef9a2c790fac1c1f7007fb05819f3f16b9249e3b206cd3b8e45a5050e46c651c9bd3b4e212c WHIRLPOOL 785444b43e1e0f215de6d68a757d6a92064d1dc7bec7aec10a21e4d0dd79bec8b20d81a75274cf0427d757a115fe3a8f60c389f20d3cc82905c5c52445cf0a58
|
||||
@@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit versionator
|
||||
|
||||
DESCRIPTION="Document layout analysis and optical character recognition system"
|
||||
HOMEPAGE="http://live.gnome.org/OCRFeeder"
|
||||
SRC_URI="http://ftp.gnome.org/pub/GNOME/sources/${PN}/$(get_version_component_range 1-2)/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="+unpaper tesseract gocr"
|
||||
|
||||
# TODO python
|
||||
DEPEND="
|
||||
app-text/gtkspell:3
|
||||
dev-python/python-sane
|
||||
dev-python/pyenchant
|
||||
x11-libs/goocanvas[introspection]
|
||||
app-text/gnome-doc-utils
|
||||
dev-python/reportlab
|
||||
|
||||
gocr? ( app-text/gocr )
|
||||
unpaper? ( app-text/unpaper )
|
||||
tesseract? ( app-text/tesseract )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
@@ -0,0 +1,3 @@
|
||||
AUX slic3r-9999-adjust_var_path.patch 328 SHA256 a054f273f369f4f833d6c139a20bb0f8e005fb85e871cc5f17919d7428e7c3d7 SHA512 7cda1634ee0d80a3b63e6ecce726850d469121498b4f83717ca82360909c6dd8ddaefebffffa1ef0f8beae4473a2040432bd382aa78d43b0e8f108eaaddbdbb6 WHIRLPOOL 61bb16086f7e7660a8109d9af8f42cb31a6d4139eb74ef823ae2b58e764db94401aff05c4671bf747a973d29a588dcbbc8f36821f55b1bcf25041741cd6d3786
|
||||
EBUILD slic3r-9999.ebuild 2560 SHA256 9becb3da6df6c8b13ef89ae3b43bb870c6c1b23f8079ee7668f76b3e812beb9b SHA512 cde193c7a3fc73b9066df1a8042e76b141bdecb8b68d9c2b2619f5ecddba640a1e7ef8207e60148ccbf8ab3d3b9578024c61a0a13de5a68025f3971fcab81bba WHIRLPOOL 078bb7a0e9e1520dc11af65f1ff322a7ea28dc4785590d9175ad8eb498477f11a1f0c9e2f2508a1c7a04e6eedcbeafd93282094b4af4bf040a0dd3c9c8a3f119
|
||||
MISC metadata.xml 1166 SHA256 f9ead7e79da319295791a454378ef319bc215d647af78ce0c1ee50d0b9272cfc SHA512 8fa8adf81c468d72253218f1e5c4c42e8546a89166c3a3158db17b7504c13920abe7bc4ce3efadb4e6fa035d23d3a509c844699ac80b417dd16b570a6f6f213e WHIRLPOOL ff18b28867a43a0094fa59739f2ea72fb5297cda6ba4f40e43fd006e13c3c4f4e7a6baadd6dcb816103d39a59b16f90bf75b5ededd23f220cd3c6260e393448f
|
||||
@@ -0,0 +1,11 @@
|
||||
--- a/lib/Slic3r.pm 2016-12-18 15:24:37.520000000 +0100
|
||||
+++ b/lib/Slic3r.pm 2016-12-18 15:25:23.430000000 +0100
|
||||
@@ -42,7 +42,7 @@
|
||||
|
||||
use FindBin;
|
||||
# Path to the images.
|
||||
-our $var = sub { decode_path($FindBin::Bin) . "/var/" . $_[0] };
|
||||
+our $var = sub { decode_path($FindBin::RealBin) . "/var/" . $_[0] };
|
||||
|
||||
use Moo 1.003001;
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>tomboy64@sina.cn</email>
|
||||
<name>Proxy-Maintainer; please assign him to bugs.</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Gentoo Proxy Maintainers Project</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>3dprint@gentoo.org</email>
|
||||
<name>Gentoo 3D Printer Project</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>perl@gentoo.org</email>
|
||||
<name>Gentoo Perl Project</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="gui">Enable GUI</flag>
|
||||
</use>
|
||||
<longdescription lang="en">
|
||||
Slic3r is the tool you need to convert a 3D model into printing instructions for your 3D printer. It cuts the model into horizontal slices (layers), generates toolpaths to fill them and calculates the amount of material to be extruded.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">alexrj/Slic3r</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -0,0 +1,112 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils git-r3 perl-module
|
||||
|
||||
DESCRIPTION="A mesh slicer to generate G-code for fused-filament-fabrication (3D printers)"
|
||||
HOMEPAGE="http://slic3r.org"
|
||||
SRC_URI=""
|
||||
EGIT_REPO_URI="https://github.com/alexrj/Slic3r.git"
|
||||
EGIT_BRANCH="stable"
|
||||
|
||||
LICENSE="AGPL-3 CC-BY-3.0"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="+gui test"
|
||||
|
||||
# check Build.PL for dependencies
|
||||
RDEPEND="!=dev-lang/perl-5.16*
|
||||
>=dev-libs/boost-1.55[threads]
|
||||
dev-perl/Class-XSAccessor
|
||||
dev-perl/Devel-Size
|
||||
>=dev-perl/Encode-Locale-1.50.0
|
||||
dev-perl/IO-stringy
|
||||
>=dev-perl/Math-PlanePath-53.0.0
|
||||
>=dev-perl/Moo-1.3.1
|
||||
dev-perl/XML-SAX-ExpatXS
|
||||
virtual/perl-Carp
|
||||
virtual/perl-Encode
|
||||
virtual/perl-File-Spec
|
||||
virtual/perl-Getopt-Long
|
||||
virtual/perl-parent
|
||||
virtual/perl-Scalar-List-Utils
|
||||
virtual/perl-Test-Simple
|
||||
virtual/perl-Thread-Semaphore
|
||||
>=virtual/perl-threads-1.960.0
|
||||
virtual/perl-Time-HiRes
|
||||
virtual/perl-Unicode-Normalize
|
||||
virtual/perl-XSLoader
|
||||
gui? ( dev-perl/Class-Accessor
|
||||
dev-perl/Growl-GNTP
|
||||
dev-perl/libwww-perl
|
||||
dev-perl/Module-Pluggable
|
||||
dev-perl/Net-Bonjour
|
||||
dev-perl/Net-DBus
|
||||
dev-perl/OpenGL
|
||||
>=dev-perl/Wx-0.991.800
|
||||
dev-perl/Wx-GLCanvas
|
||||
>=media-libs/freeglut-3
|
||||
virtual/perl-Math-Complex
|
||||
>=virtual/perl-Socket-2.16.0
|
||||
x11-libs/libXmu
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-perl/Devel-CheckLib
|
||||
>=dev-perl/ExtUtils-CppGuess-0.70.0
|
||||
>=dev-perl/ExtUtils-Typemaps-Default-1.50.0
|
||||
>=dev-perl/ExtUtils-XSpp-0.170.0
|
||||
>=dev-perl/Module-Build-0.380.0
|
||||
>=dev-perl/Module-Build-WithXSpp-0.140.0
|
||||
>=virtual/perl-ExtUtils-MakeMaker-6.800.0
|
||||
>=virtual/perl-ExtUtils-ParseXS-3.220.0
|
||||
test? ( virtual/perl-Test-Harness
|
||||
virtual/perl-Test-Simple )"
|
||||
|
||||
S="${WORKDIR}/slic3r-${PV}/xs"
|
||||
|
||||
src_unpack() {
|
||||
git-r3_src_unpack
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
pushd "${WORKDIR}/slic3r-${PV}" || die
|
||||
eapply "${FILESDIR}/${P}-adjust_var_path.patch"
|
||||
eapply_user
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
SLIC3R_NO_AUTO=1 perl-module_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
perl-module_src_test
|
||||
pushd .. || die
|
||||
prove -Ixs/blib/arch -Ixs/blib/lib/ t/ || die "Tests failed"
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
perl-module_src_install
|
||||
|
||||
pushd .. || die
|
||||
insinto "${VENDOR_LIB}"
|
||||
doins -r lib/Slic3r.pm lib/Slic3r
|
||||
|
||||
insinto "${VENDOR_LIB}"/Slic3r
|
||||
doins -r var
|
||||
|
||||
exeinto "${VENDOR_LIB}"/Slic3r
|
||||
doexe slic3r.pl
|
||||
|
||||
dosym "${VENDOR_LIB}"/Slic3r/slic3r.pl /usr/bin/slic3r.pl
|
||||
|
||||
make_desktop_entry slic3r.pl \
|
||||
Slic3r \
|
||||
"${VENDOR_LIB}/Slic3r/var/Slic3r_128px.png" \
|
||||
"Graphics;3DGraphics;Engineering;Development"
|
||||
popd || die
|
||||
}
|
||||
Reference in New Issue
Block a user