diff options
author | Matthew Brewer <tomboy64@sina.cn> | 2016-04-01 00:10:13 +0200 |
---|---|---|
committer | Matthew Brewer <tomboy64@sina.cn> | 2016-04-01 00:11:54 +0200 |
commit | c2307f49e2a5be9c14568ef626bdbf994d17244d (patch) | |
tree | adea5f42376dd08094933976852c45cc8c9f2d03 | |
parent | bla (diff) | |
download | tbc-c2307f49e2a5be9c14568ef626bdbf994d17244d.tar.gz tbc-c2307f49e2a5be9c14568ef626bdbf994d17244d.tar.bz2 tbc-c2307f49e2a5be9c14568ef626bdbf994d17244d.zip |
slic3r stuff
42 files changed, 843 insertions, 0 deletions
diff --git a/dev-perl/Encode-Locale/Encode-Locale-1.30.0-r1.ebuild b/dev-perl/Encode-Locale/Encode-Locale-1.30.0-r1.ebuild new file mode 100644 index 0000000..ef98d7c --- /dev/null +++ b/dev-perl/Encode-Locale/Encode-Locale-1.30.0-r1.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +MODULE_AUTHOR=GAAS +MODULE_VERSION=1.03 +inherit perl-module + +DESCRIPTION="Determine the locale encoding" + +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +SRC_TEST=do diff --git a/dev-perl/Encode-Locale/Encode-Locale-1.50.0.ebuild b/dev-perl/Encode-Locale/Encode-Locale-1.50.0.ebuild new file mode 100644 index 0000000..88e5883 --- /dev/null +++ b/dev-perl/Encode-Locale/Encode-Locale-1.50.0.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DIST_AUTHOR=GAAS +DIST_VERSION=1.05 +inherit perl-module + +DESCRIPTION="Determine the locale encoding" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test" + +RDEPEND="virtual/perl-Encode" +DEPEND="${RDEPEND} + test? ( virtual/perl-Test-Simple )" + +SRC_TEST=do diff --git a/dev-perl/Encode-Locale/Manifest b/dev-perl/Encode-Locale/Manifest new file mode 100644 index 0000000..8560d6f --- /dev/null +++ b/dev-perl/Encode-Locale/Manifest @@ -0,0 +1,2 @@ +DIST Encode-Locale-1.03.tar.gz 6846 SHA256 f76337e0933225914111fcc3319ff4db359b1abfd1aa56dff2df5378db0e2d55 SHA512 f236a8d8dbf9c3af8cc382cb963e82bea289aa6ea57d5c36bf71c7cc0ba498ef1237357512418b7859723f865094057a827bd8043ad74b41a96e611a8ffebc0a WHIRLPOOL 159fbd4a3975c73aac1c353b0e3ba275f611e26c5f987df3364c05bfab44fb02b5f88d013d1f6bf449af890c6de483d0ed924a1db6f6f72e6e5e4f25f0a3c63a +DIST Encode-Locale-1.05.tar.gz 8355 SHA256 176fa02771f542a4efb1dbc2a4c928e8f4391bf4078473bd6040d8f11adb0ec1 SHA512 68ed5732fd3645eca2ea54080067677a48f90fc5a594a1b453a322f3127e67a984d539cb5fd41ac63a03b9dab693c070b65e3c70a2a677dc61b4634f3e212d06 WHIRLPOOL 7cc9e4f5611d352a4e8824dcffd2fcdf328ec9f2b54b63ca9f2fd8b5b8cd2f3824e3e7761f044215716c50cab4b64a7569b2afb0f54462ad5495c33db448ce60 diff --git a/dev-perl/Encode-Locale/Manifest.rej b/dev-perl/Encode-Locale/Manifest.rej new file mode 100644 index 0000000..394aac1 --- /dev/null +++ b/dev-perl/Encode-Locale/Manifest.rej @@ -0,0 +1,5 @@ +--- dev-perl/Encode-Locale/Manifest ++++ dev-perl/Encode-Locale/Manifest +@@ -1 +1,2 @@ + DIST Encode-Locale-1.03.tar.gz 6846 SHA256 f76337e0933225914111fcc3319ff4db359b1abfd1aa56dff2df5378db0e2d55 SHA512 f236a8d8dbf9c3af8cc382cb963e82bea289aa6ea57d5c36bf71c7cc0ba498ef1237357512418b7859723f865094057a827bd8043ad74b41a96e611a8ffebc0a WHIRLPOOL 159fbd4a3975c73aac1c353b0e3ba275f611e26c5f987df3364c05bfab44fb02b5f88d013d1f6bf449af890c6de483d0ed924a1db6f6f72e6e5e4f25f0a3c63a ++DIST Encode-Locale-1.05.tar.gz 8355 SHA256 176fa02771f542a4efb1dbc2a4c928e8f4391bf4078473bd6040d8f11adb0ec1 SHA512 68ed5732fd3645eca2ea54080067677a48f90fc5a594a1b453a322f3127e67a984d539cb5fd41ac63a03b9dab693c070b65e3c70a2a677dc61b4634f3e212d06 WHIRLPOOL 7cc9e4f5611d352a4e8824dcffd2fcdf328ec9f2b54b63ca9f2fd8b5b8cd2f3824e3e7761f044215716c50cab4b64a7569b2afb0f54462ad5495c33db448ce60 diff --git a/dev-perl/Encode-Locale/metadata.xml b/dev-perl/Encode-Locale/metadata.xml new file mode 100644 index 0000000..2691766 --- /dev/null +++ b/dev-perl/Encode-Locale/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>perl@gentoo.org</email> + <name>Gentoo Perl Project</name> + </maintainer> + <upstream> + <remote-id type="cpan">Encode-Locale</remote-id> + <remote-id type="cpan-module">Encode::Locale</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-perl/ExtUtils-CppGuess/ExtUtils-CppGuess-0.80.0.ebuild b/dev-perl/ExtUtils-CppGuess/ExtUtils-CppGuess-0.80.0.ebuild new file mode 100644 index 0000000..94715a4 --- /dev/null +++ b/dev-perl/ExtUtils-CppGuess/ExtUtils-CppGuess-0.80.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DIST_AUTHOR="ETJ" +DIST_VERSION="0.08" +inherit perl-module + +DESCRIPTION="Guess C++ compiler and flags" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND="dev-perl/Capture-Tiny" +DEPEND="${RDEPEND} + >=dev-perl/Module-Build-0.420.0 + test? ( + virtual/perl-autodie + virtual/perl-Test-Simple + virtual/perl-File-Path + virtual/perl-File-Spec + virtual/perl-ExtUtils-MakeMaker + virtual/perl-ExtUtils-Manifest + )" + +SRC_TEST=do diff --git a/dev-perl/ExtUtils-CppGuess/Manifest b/dev-perl/ExtUtils-CppGuess/Manifest new file mode 100644 index 0000000..98b5272 --- /dev/null +++ b/dev-perl/ExtUtils-CppGuess/Manifest @@ -0,0 +1 @@ +DIST ExtUtils-CppGuess-0.08.tar.gz 7169 SHA256 a45d9ed5449d3378f073d6e69ed79365176775cd6367e62898494b99d455dede SHA512 9521741132d7f8ce20ccddea30b09cd685f75330af01b6bcfaa3728cf40b0a5849042e2f2b8bb0b7c38cf4adb22b1c1bc71c4e6eff8f7674708e7c251570e92e WHIRLPOOL abb183221705100512c210e90954760c22a614dec4646044af27e7aaa5ff8e8045367851bea307c25459014bb253165c42b694253482c92815f5d25d444ce02c diff --git a/dev-perl/ExtUtils-CppGuess/metadata.xml b/dev-perl/ExtUtils-CppGuess/metadata.xml new file mode 100644 index 0000000..297b581 --- /dev/null +++ b/dev-perl/ExtUtils-CppGuess/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>perl@gentoo.org</email> + <name>Gentoo Perl Project</name> + </maintainer> + <upstream> + <remote-id type="cpan">ExtUtils-CppGuess</remote-id> + <remote-id type="cpan-module">ExtUtils::CppGuess</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-perl/ExtUtils-Typemaps-Default/ExtUtils-Typemaps-Default-1.05.ebuild b/dev-perl/ExtUtils-Typemaps-Default/ExtUtils-Typemaps-Default-1.05.ebuild new file mode 100644 index 0000000..895a2c6 --- /dev/null +++ b/dev-perl/ExtUtils-Typemaps-Default/ExtUtils-Typemaps-Default-1.05.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DIST_AUTHOR=SMUELLER +DIST_VERSION=1.05 +inherit perl-module + +DESCRIPTION="A set of useful typemaps" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=">=virtual/perl-ExtUtils-ParseXS-3.180.300" +DEPEND="${RDEPEND} + >=dev-perl/Module-Build-0.400.0 + test? ( + virtual/perl-Test-Simple + ) +" + +SRC_TEST=do diff --git a/dev-perl/ExtUtils-Typemaps-Default/Manifest b/dev-perl/ExtUtils-Typemaps-Default/Manifest new file mode 100644 index 0000000..6377cc5 --- /dev/null +++ b/dev-perl/ExtUtils-Typemaps-Default/Manifest @@ -0,0 +1 @@ +DIST ExtUtils-Typemaps-Default-1.05.tar.gz 9327 SHA256 3dfaf5837ebfdc007895bfca84c3c2e76d589a7d336400e8dfb3243d818215de SHA512 91f3f5e3abfe2532a38bfb097d06e5a4145c84729a906af5269353f92b19bfcb86ac5c664067dc3adad405bbc8d0b43071180da4e6575e468b7b946d6c44e949 WHIRLPOOL e33d47c237e1501492e3c25b0e5026a829bc4f1558ecc90289a231ed78c7862f1b4abaf77a3454016c7e86ef54bbc4849b431a82bff32a9bbc9c3c288da7cc1e diff --git a/dev-perl/ExtUtils-Typemaps-Default/metadata.xml b/dev-perl/ExtUtils-Typemaps-Default/metadata.xml new file mode 100644 index 0000000..68d1f19 --- /dev/null +++ b/dev-perl/ExtUtils-Typemaps-Default/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>perl@gentoo.org</email> + <name>Gentoo Perl Project</name> + </maintainer> + <upstream> + <remote-id type="cpan">ExtUtils-Typemaps-Default</remote-id> + <remote-id type="cpan-module">ExtUtils::Typemaps::Basic</remote-id> + <remote-id type="cpan-module">ExtUtils::Typemaps::Default</remote-id> + <remote-id type="cpan-module">ExtUtils::Typemaps::ObjectMap</remote-id> + <remote-id type="cpan-module">ExtUtils::Typemaps::STL</remote-id> + <remote-id type="cpan-module">ExtUtils::Typemaps::STL::List</remote-id> + <remote-id type="cpan-module">ExtUtils::Typemaps::STL::String</remote-id> + <remote-id type="cpan-module">ExtUtils::Typemaps::STL::Vector</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-perl/Growl-GNTP/Growl-GNTP-0.20.ebuild b/dev-perl/Growl-GNTP/Growl-GNTP-0.20.ebuild new file mode 100644 index 0000000..2a994ec --- /dev/null +++ b/dev-perl/Growl-GNTP/Growl-GNTP-0.20.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DIST_AUTHOR=MATTN +DIST_VERSION=0.20 +inherit perl-module + +DESCRIPTION="Perl implementation of GNTP Protocol (Client Part)" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND="dev-perl/Data-UUID + dev-perl/Crypt-CBC + virtual/perl-Digest-MD5 + virtual/perl-Digest-SHA + virtual/perl-Encode + virtual/perl-IO" +DEPEND="${RDEPEND} + dev-perl/Module-Build + virtual/perl-File-Spec + virtual/perl-CPAN-Meta" + +SRC_TEST=do diff --git a/dev-perl/Growl-GNTP/Manifest b/dev-perl/Growl-GNTP/Manifest new file mode 100644 index 0000000..af666b9 --- /dev/null +++ b/dev-perl/Growl-GNTP/Manifest @@ -0,0 +1 @@ +DIST Growl-GNTP-0.20.tar.gz 23374 SHA256 b1c9795b72c750ca6bb69cfa7e50e78e429a8e1972d7cb9ed7ee1ec769311d94 SHA512 a8acd7cd9a46a8c81bc34a7076f379735ca9712bedbb7c8451aea6049113c477310093ac39e5f83c9b4a0b31f0ae4df25bb5cf682e4a7f0e113edb15e84c1977 WHIRLPOOL dbe87d2149e60d167b55472145a0187d7ac2ff383bcf2f34ab93e3d4ab1736cce1288f15547e13d88337a08ddd4c56142ce5f1c8fd95227915520e4354a4a9f6 diff --git a/dev-perl/Growl-GNTP/metadata.xml b/dev-perl/Growl-GNTP/metadata.xml new file mode 100644 index 0000000..87c3bd3 --- /dev/null +++ b/dev-perl/Growl-GNTP/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>perl@gentoo.org</email> + <name>Gentoo Perl Project</name> + </maintainer> + <upstream> + <remote-id type="cpan">XML-SAX-Expat</remote-id> + <remote-id type="cpan-module">XML::SAX::Expat</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-perl/Math-Libm/Manifest b/dev-perl/Math-Libm/Manifest new file mode 100644 index 0000000..4a6f18c --- /dev/null +++ b/dev-perl/Math-Libm/Manifest @@ -0,0 +1 @@ +DIST Math-Libm-1.00.tar.gz 4554 SHA256 bfd309f283ac8cb9bf00af8c7c3a10bf25abfd642861c2022efaff0a4a52c276 SHA512 17a1f38e32a82ec9a0307033920559dfe554fdae43b9fefffd7dc0ff690b6c5018079bded8554135da8546ccaf8dc0890e7e9b9a1e3845e53d46c993cec11540 WHIRLPOOL 09220baab48f6e907db3f7cca0770a85c7c3ae0c76bfe9d02058d848f388eb0594616cf17f04670ebfcbfbc6937e5031ebbc739b3bb607faf2bdb96903a1f4c0 diff --git a/dev-perl/Math-Libm/Math-Libm-1.0.0.ebuild b/dev-perl/Math-Libm/Math-Libm-1.0.0.ebuild new file mode 100644 index 0000000..cf9f451 --- /dev/null +++ b/dev-perl/Math-Libm/Math-Libm-1.0.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DIST_AUTHOR="DSLEWART" +DIST_VERSION="1.00" +inherit perl-module + +DESCRIPTION="wrapper to libm functions" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND="virtual/perl-AutoLoader + virtual/perl-Carp" +DEPEND="${RDEPEND} + virtual/perl-ExtUtils-MakeMaker" + +SRC_TEST="do" diff --git a/dev-perl/Math-Libm/metadata.xml b/dev-perl/Math-Libm/metadata.xml new file mode 100644 index 0000000..22711e8 --- /dev/null +++ b/dev-perl/Math-Libm/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>perl@gentoo.org</email> + <name>Gentoo Perl Project</name> + </maintainer> + <upstream> + <remote-id type="cpan">Math-Libm</remote-id> + <remote-id type="cpan-module">Math::Libm</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-perl/Math-PlanePath/Manifest b/dev-perl/Math-PlanePath/Manifest new file mode 100644 index 0000000..be52956 --- /dev/null +++ b/dev-perl/Math-PlanePath/Manifest @@ -0,0 +1 @@ +DIST Math-PlanePath-122.tar.gz 1290711 SHA256 edcf64f5cb9e4cca6dd6ee88c285551ee5151438c041cdeb41a4af88f184452f SHA512 06983ab17b50da9a6872a0c154e433736720c40fc2f845de606f7089697d00d22bc1b9a8580292258af0d3d6e1133363ec2894269ed472f1fb4e52f0af2709ed WHIRLPOOL 23576d1f5d74dd5753ac236a4cf4fc1de6df25950746c78211408389e3845f3bfe3610b7f2005ff2f20c4b8874ee1977498cf027e392b3de37f9f9296ac19a22 diff --git a/dev-perl/Math-PlanePath/Math-PlanePath-122.0.0.ebuild b/dev-perl/Math-PlanePath/Math-PlanePath-122.0.0.ebuild new file mode 100644 index 0000000..bb0696f --- /dev/null +++ b/dev-perl/Math-PlanePath/Math-PlanePath-122.0.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DIST_AUTHOR="KRYDE" +DIST_VERSION="122" + +inherit perl-module + +DESCRIPTION="Mathematical paths through the 2-D plane" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND=" + dev-perl/Math-Libm + >=dev-perl/constant-defer-5.0.0 + virtual/perl-Scalar-List-Utils +" + +DEPEND="${RDEPEND} + virtual/perl-ExtUtils-MakeMaker + test? ( + virtual/perl-Test + ) +" + +SRC_TEST="do" diff --git a/dev-perl/Math-PlanePath/metadata.xml b/dev-perl/Math-PlanePath/metadata.xml new file mode 100644 index 0000000..88c9b8c --- /dev/null +++ b/dev-perl/Math-PlanePath/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>perl@gentoo.org</email> + <name>Gentoo Perl Project</name> + </maintainer> + <upstream> + <remote-id type="cpan">Math-PlanePath</remote-id> + <remote-id type="cpan-module">Math::PlanePath</remote-id> + <remote-id type="cpan-module">Math::PlanePath::ToothpickTree</remote-id> + <remote-id type="cpan-module">Math::PlanePath::ToothpickReplicate</remote-id> + <remote-id type="cpan-module">Math::PlanePath::ToothpickUpist</remote-id> + <remote-id type="cpan-module">Math::PlanePath::LCornerTree</remote-id> + <remote-id type="cpan-module">Math::PlanePath::LCornerReplicate</remote-id> + <remote-id type="cpan-module">Math::PlanePath::OneOfEight</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-perl/Module-Build-WithXSpp/Module-Build-WithXSpp-0.140.0.ebuild b/dev-perl/Module-Build-WithXSpp/Module-Build-WithXSpp-0.140.0.ebuild new file mode 100644 index 0000000..a2313ad --- /dev/null +++ b/dev-perl/Module-Build-WithXSpp/Module-Build-WithXSpp-0.140.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +MODULE_AUTHOR="SMUELLER" +MODULE_VERSION=0.14 +inherit perl-module + +DESCRIPTION="XS++ enhanced flavour of Module::Build" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=" + >=dev-perl/ExtUtils-CppGuess-0.40.0 + >=dev-perl/ExtUtils-XSpp-0.110.0 + virtual/perl-Digest-MD5 + virtual/perl-ExtUtils-CBuilder + >=virtual/perl-ExtUtils-ParseXS-2.220.500 + >=dev-perl/Module-Build-0.260.0 +" + +DEPEND="${RDEPEND} + test? ( + virtual/perl-Test-Simple + ) +" + +SRC_TEST="do" diff --git a/dev-perl/Module-Build-WithXSpp/metadata.xml b/dev-perl/Module-Build-WithXSpp/metadata.xml new file mode 100644 index 0000000..5f6402c --- /dev/null +++ b/dev-perl/Module-Build-WithXSpp/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>perl@gentoo.org</email> + <name>Gentoo Perl Project</name> + </maintainer> + <upstream> + <remote-id type="cpan">Module-Build-WithXSpp</remote-id> + <remote-id type="cpan-module">Module::Build::WithXSpp</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-perl/Net-Bonjour/Manifest b/dev-perl/Net-Bonjour/Manifest new file mode 100644 index 0000000..255e48a --- /dev/null +++ b/dev-perl/Net-Bonjour/Manifest @@ -0,0 +1 @@ +DIST Net-Bonjour-0.96.tar.gz 8323 SHA256 c38a1f3ab200b08208d0c3a02b23d30653dfc62c09c6a12561c6ea08a69b1f97 SHA512 1d35f29dac829ba5cdd51878c00f361830d50862ebeb29dce942f4bf291de6f700015ea792061d3410fe315ba20b425222ac87dfb6843ebfb0b97d7dca736a65 WHIRLPOOL f26787d3a872ce18eda8855dd5c5e20178c98f6f4f282bb97977eadd1f2ce0a03bf183085e70379a78e05a70b44bc933f9c3675c97b922f1bd1907a073a2896f diff --git a/dev-perl/Net-Bonjour/Net-Bonjour-0.960.0.ebuild b/dev-perl/Net-Bonjour/Net-Bonjour-0.960.0.ebuild new file mode 100644 index 0000000..fc41a0e --- /dev/null +++ b/dev-perl/Net-Bonjour/Net-Bonjour-0.960.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DIST_AUTHOR="CHLIGE" +DIST_VERSION="0.96" +inherit perl-module + +DESCRIPTION="Module for DNS service discovery (Apple's Bonjour)" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=" + >=dev-perl/Net-DNS-0.500.0 + >=virtual/perl-Socket-1.750.0 +" + +DEPEND="${RDEPEND} + virtual/perl-ExtUtils-MakeMaker + test? ( + virtual/perl-Test-Simple + ) +" + +SRC_TEST=do diff --git a/dev-perl/Net-Bonjour/metadata.xml b/dev-perl/Net-Bonjour/metadata.xml new file mode 100644 index 0000000..f906d7a --- /dev/null +++ b/dev-perl/Net-Bonjour/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>perl@gentoo.org</email> + <name>Gentoo Perl Project</name> + </maintainer> + <upstream> + <remote-id type="cpan">Net-Bonjour</remote-id> + <remote-id type="cpan-module">Net::Bonjour</remote-id> + <remote-id type="cpan-module">Net::Bonjour::Entry</remote-id> + <remote-id type="cpan-module">Net::Bonjour::Rendezvous</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-perl/Wx-GLCanvas/Manifest b/dev-perl/Wx-GLCanvas/Manifest new file mode 100644 index 0000000..9182190 --- /dev/null +++ b/dev-perl/Wx-GLCanvas/Manifest @@ -0,0 +1 @@ +DIST Wx-GLCanvas-0.09.tar.gz 13910 SHA256 6ad2c29ff06ff80a5c8b4b9d1d6bf0aed57489e831be59c94494f4f688dc8fe0 SHA512 2a866736a77c9de697ae474eae82363f89f5ac53c39fe2633b154f218f54d0ce9a0c08894152cee507969a0eaae9695472f27b353d4395469a97da758e59ce84 WHIRLPOOL 609ffcbc2f2d7d22c5f22e396442aed2566a479a3fda6575ffa41e043530852166614f1e8737a6d6f5b7c6157a8ee7ba79629a4eca451e71d86d0799edcfdf93 diff --git a/dev-perl/Wx-GLCanvas/Wx-GLCanvas-0.90.0.ebuild b/dev-perl/Wx-GLCanvas/Wx-GLCanvas-0.90.0.ebuild new file mode 100644 index 0000000..334d344 --- /dev/null +++ b/dev-perl/Wx-GLCanvas/Wx-GLCanvas-0.90.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DIST_AUTHOR="MBARBON" +DIST_VERSION="0.09" +inherit perl-module + +DESCRIPTION="interface to wxWidgets' OpenGL canvas" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-perl/OpenGL + >=dev-perl/Wx-0.570.0" +DEPEND="${RDEPEND} + virtual/perl-Exporter + virtual/perl-ExtUtils-MakeMaker +" + +# Tests fail due to needing access to an active X11 session, virtualx doesn't suffice +RESTRICT="test" + +SRC_TEST="do" diff --git a/dev-perl/Wx-GLCanvas/metadata.xml b/dev-perl/Wx-GLCanvas/metadata.xml new file mode 100644 index 0000000..45a02a7 --- /dev/null +++ b/dev-perl/Wx-GLCanvas/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>perl@gentoo.org</email> + <name>Gentoo Perl Project</name> + </maintainer> + <upstream> + <remote-id type="cpan">Wx-GLCanvas</remote-id> + <remote-id type="cpan-module">Wx::GLCanvas</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-perl/XML-SAX-ExpatXS/Manifest b/dev-perl/XML-SAX-ExpatXS/Manifest new file mode 100644 index 0000000..8f9054a --- /dev/null +++ b/dev-perl/XML-SAX-ExpatXS/Manifest @@ -0,0 +1 @@ +DIST XML-SAX-ExpatXS-1.33.tar.gz 156436 SHA256 1e3db191853d235c42c7d2a5dc2ea055158ff29c7d54c5c673d271cdbd43bc6a SHA512 bf00b444611baf215886534acc6ae16cbc8dc593223698762f3a68f2baca661fe82a6287e1c1c4bf3c5c005f165516eae32b22af7505c502009da0a46aeca40f WHIRLPOOL e98d1e72e54c661be2cd83ff8a0adfc618d860c1e541496fa267b515555bc92e0934125860d75e9d49af481ee016ced7e3a613b513e38aa1a5dfdbfc0d6a2870 diff --git a/dev-perl/XML-SAX-ExpatXS/XML-SAX-ExpatXS-1.33.ebuild b/dev-perl/XML-SAX-ExpatXS/XML-SAX-ExpatXS-1.33.ebuild new file mode 100644 index 0000000..aa5ea7d --- /dev/null +++ b/dev-perl/XML-SAX-ExpatXS/XML-SAX-ExpatXS-1.33.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DIST_AUTHOR=PCIMPRICH +DIST_VERSION=1.33 +inherit perl-module + +DESCRIPTION="Perl SAX 2 XS extension to Expat parser" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND="dev-libs/expat + >=dev-perl/XML-SAX-0.960" +DEPEND="${RDEPEND} + virtual/perl-ExtUtils-MakeMaker + test? ( virtual/perl-ExtUtils-Command + virtual/perl-Test + virtual/perl-Test-Harness )" + +SRC_TEST=do diff --git a/dev-perl/XML-SAX-ExpatXS/metadata.xml b/dev-perl/XML-SAX-ExpatXS/metadata.xml new file mode 100644 index 0000000..87c3bd3 --- /dev/null +++ b/dev-perl/XML-SAX-ExpatXS/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>perl@gentoo.org</email> + <name>Gentoo Perl Project</name> + </maintainer> + <upstream> + <remote-id type="cpan">XML-SAX-Expat</remote-id> + <remote-id type="cpan-module">XML::SAX::Expat</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-perl/constant-defer/Manifest b/dev-perl/constant-defer/Manifest new file mode 100644 index 0000000..32d2786 --- /dev/null +++ b/dev-perl/constant-defer/Manifest @@ -0,0 +1 @@ +DIST constant-defer-6.tar.gz 43427 SHA256 7b21263198ca22686efff3ae987a240be423dd2160afdeb29fe716d032986ffa SHA512 902916d32ed11737d34f8764af171ba1731de807ffbfd62e342f83bef05ab0a34ddaeec3f2c9b41814877b0568fc3e09fbf26e7ce2cd4a3dd6eeba75e6755b5f WHIRLPOOL ccd9e0fcb0763677e7fbdb5815d332bca69d3db117985582dd0f2469d4c70e27024f7f01a96d84ba8d0b8b009d4e6496402b7f2990b532f0995e84d7ed9f8067 diff --git a/dev-perl/constant-defer/constant-defer-6.0.0.ebuild b/dev-perl/constant-defer/constant-defer-6.0.0.ebuild new file mode 100644 index 0000000..adf71fc --- /dev/null +++ b/dev-perl/constant-defer/constant-defer-6.0.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DIST_AUTHOR="KRYDE" +DIST_VERSION="6" +inherit perl-module + +DESCRIPTION="constant subs with deferred value calculation" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND="dev-perl/B-Utils + dev-perl/Sub-Identify + virtual/perl-Carp + virtual/perl-Data-Dumper + virtual/perl-Memoize + virtual/perl-Package-Constants + virtual/perl-Pod-Simple" +DEPEND="virtual/perl-ExtUtils-MakeMaker + virtual/perl-Exporter + test? ( dev-perl/File-Slurp + virtual/perl-ExtUtils-Manifest + virtual/perl-Test + virtual/perl-Test-Simple )" + +SRC_TEST="do" diff --git a/dev-perl/constant-defer/metadata.xml b/dev-perl/constant-defer/metadata.xml new file mode 100644 index 0000000..fe36084 --- /dev/null +++ b/dev-perl/constant-defer/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>perl@gentoo.org</email> + <name>Gentoo Perl Project</name> + </maintainer> + <upstream> + <remote-id type="cpan">constant-defer</remote-id> + <remote-id type="cpan-module">constant::defer</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-gfx/slic3r/Manifest b/media-gfx/slic3r/Manifest new file mode 100644 index 0000000..e08cfb4 --- /dev/null +++ b/media-gfx/slic3r/Manifest @@ -0,0 +1,2 @@ +DIST slic3r-1.1.7.tar.gz 2079200 SHA256 8e1f68a71d78686cf6957ee7665757a4e7d14646bdee262cef76cba47b3f0d50 SHA512 0c3a12890f57f422084b20152ede3467a8624db4ba8be774258df0af963c1f6f41fda7d96967f6355bd95727539e6aad51c30cf45284a7ee3fff294839acc650 WHIRLPOOL 18c95a59acff51891251852d59d4bf33b9c1ad8721f581e3c9f55b56bb62e087d030ecb701d16b07cca4567f142ea3b0693c0ab436f1c25b28d02b4a1ce351cd +DIST slic3r-1.2.9.tar.gz 2165322 SHA256 f1c231ae56039ccd4ecf624e288c1362cab49b0f751a4663857b916b7fa51f2f SHA512 c0284f40de43c54e775baccdb2a67813a6ca4b69db78a788f2023b3f34127e780e6d0160144b9df1e17a2992b3255ef9a372b61a594f503b21efad7334387a51 WHIRLPOOL fc3bee0188ab7bd54ac19f3d874acb20dd8614594b79a8539001fd9a682f10c3436ef477d60458c49c7028c8b4bb7bf8585b4b53e73ac3a411d1a18720820eb0 diff --git a/media-gfx/slic3r/files/slic3r-1.1.7-adjust_var_path.patch b/media-gfx/slic3r/files/slic3r-1.1.7-adjust_var_path.patch new file mode 100644 index 0000000..ee4d75d --- /dev/null +++ b/media-gfx/slic3r/files/slic3r-1.1.7-adjust_var_path.patch @@ -0,0 +1,11 @@ +--- a/lib/Slic3r.pm 2016-03-31 13:27:59.431548980 +0200 ++++ b/lib/Slic3r.pm 2016-03-31 13:28:21.658675137 +0200 +@@ -29,7 +29,7 @@ + if $^V >= v5.16; + + use FindBin; +-our $var = "$FindBin::Bin/var"; ++our $var = "$FindBin::RealBin/var"; + + use Encode; + use Encode::Locale; diff --git a/media-gfx/slic3r/files/slic3r-1.2.9-adjust_var_path.patch b/media-gfx/slic3r/files/slic3r-1.2.9-adjust_var_path.patch new file mode 100644 index 0000000..9dc93a5 --- /dev/null +++ b/media-gfx/slic3r/files/slic3r-1.2.9-adjust_var_path.patch @@ -0,0 +1,11 @@ +--- a/lib/Slic3r.pm 2015-06-17 04:38:28.000000000 -0400 ++++ b/lib/Slic3r.pm 2015-06-19 11:56:07.005873299 -0400 +@@ -30,7 +30,7 @@ + if $^V == v5.16; + + use FindBin; +-our $var = decode_path($FindBin::Bin) . "/var"; ++our $var = decode_path($FindBin::RealBin) . "/var"; + + use Moo 1.003001; + diff --git a/media-gfx/slic3r/files/slic3r-9999-adjust_var_path.patch b/media-gfx/slic3r/files/slic3r-9999-adjust_var_path.patch new file mode 100644 index 0000000..9dc93a5 --- /dev/null +++ b/media-gfx/slic3r/files/slic3r-9999-adjust_var_path.patch @@ -0,0 +1,11 @@ +--- a/lib/Slic3r.pm 2015-06-17 04:38:28.000000000 -0400 ++++ b/lib/Slic3r.pm 2015-06-19 11:56:07.005873299 -0400 +@@ -30,7 +30,7 @@ + if $^V == v5.16; + + use FindBin; +-our $var = decode_path($FindBin::Bin) . "/var"; ++our $var = decode_path($FindBin::RealBin) . "/var"; + + use Moo 1.003001; + diff --git a/media-gfx/slic3r/metadata.xml b/media-gfx/slic3r/metadata.xml new file mode 100644 index 0000000..a5ba6a8 --- /dev/null +++ b/media-gfx/slic3r/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <use> + <flag name="gui">Enable GUI</flag> + </use> + <longdescription lang="en"> + </longdescription> +</pkgmetadata> diff --git a/media-gfx/slic3r/slic3r-1.1.7.ebuild b/media-gfx/slic3r/slic3r-1.1.7.ebuild new file mode 100644 index 0000000..8c2f9fd --- /dev/null +++ b/media-gfx/slic3r/slic3r-1.1.7.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils perl-module + +DESCRIPTION="A mesh slicer to generate G-code for 3D fused-filament-fabrication (vulgo 3D printers)" +HOMEPAGE="http://slic3r.org" +SRC_URI="https://github.com/alexrj/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="AGPL-3 CC-BY-3.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +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/Encode-Locale + dev-perl/IO-stringy + >=dev-perl/Math-PlanePath-53 + >=dev-perl/Moo-1.3.1 + dev-perl/XML-SAX-ExpatXS + virtual/perl-Carp + 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 + virtual/perl-Time-HiRes + 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 + x11-libs/libXmu + )" +DEPEND="${RDEPEND} + >=dev-perl/ExtUtils-CppGuess-0.70 + >=dev-perl/ExtUtils-Typemaps-Default-1.05 + >=dev-perl/ExtUtils-XSpp-0.170 + >=dev-perl/Module-Build-0.380 + >=dev-perl/Module-Build-WithXSpp-0.140 + >=virtual/perl-ExtUtils-MakeMaker-6.80 + >=virtual/perl-ExtUtils-ParseXS-3.22 + test? ( virtual/perl-Test-Harness + virtual/perl-Test-Simple )" + +SRC_TEST="do" +S="${WORKDIR}/Slic3r-${PV}/xs" + +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 +} diff --git a/media-gfx/slic3r/slic3r-1.2.9.ebuild b/media-gfx/slic3r/slic3r-1.2.9.ebuild new file mode 100644 index 0000000..b31e798 --- /dev/null +++ b/media-gfx/slic3r/slic3r-1.2.9.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils perl-module + +DESCRIPTION="A mesh slicer to generate G-code for 3D fused-filament-fabrication (vulgo 3D printers)" +HOMEPAGE="http://slic3r.org" +SRC_URI="https://github.com/alexrj/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="AGPL-3 CC-BY-3.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +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/Encode-Locale-1.50 + dev-perl/IO-stringy + >=dev-perl/Math-PlanePath-53 + >=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 + 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 + x11-libs/libXmu + )" +DEPEND="${RDEPEND} + >=dev-perl/ExtUtils-CppGuess-0.70 + >=dev-perl/ExtUtils-Typemaps-Default-1.05 + >=dev-perl/ExtUtils-XSpp-0.170 + >=dev-perl/Module-Build-0.380 + >=dev-perl/Module-Build-WithXSpp-0.140 + >=virtual/perl-ExtUtils-MakeMaker-6.80 + >=virtual/perl-ExtUtils-ParseXS-3.22 + test? ( virtual/perl-Test-Harness + virtual/perl-Test-Simple )" + +SRC_TEST="do" +S="${WORKDIR}/Slic3r-${PV}/xs" + +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 +} diff --git a/media-gfx/slic3r/slic3r-9999.ebuild b/media-gfx/slic3r/slic3r-9999.ebuild new file mode 100644 index 0000000..0232e08 --- /dev/null +++ b/media-gfx/slic3r/slic3r-9999.ebuild @@ -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 3D fused-filament-fabrication (vulgo 3D printers)" +HOMEPAGE="http://slic3r.org" +SRC_URI="" +EGIT_REPO_URI="https://github.com/alexrj/Slic3r.git" + +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 + dev-perl/IO-stringy + >=dev-perl/Math-PlanePath-53 + >=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 + 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 + x11-libs/libXmu + )" +DEPEND="${RDEPEND} + dev-perl/Devel-CheckLib + >=dev-perl/ExtUtils-CppGuess-0.70 + >=dev-perl/ExtUtils-Typemaps-Default-1.05 + >=dev-perl/ExtUtils-XSpp-0.170 + >=dev-perl/Module-Build-0.380 + >=dev-perl/Module-Build-WithXSpp-0.140 + >=virtual/perl-ExtUtils-MakeMaker-6.80 + >=virtual/perl-ExtUtils-ParseXS-3.22 + test? ( virtual/perl-Test-Harness + virtual/perl-Test-Simple )" + +SRC_TEST="do" +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 +} |