parent
6320fadcc8
commit
02abbc61fb
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="A library for changing configuration files"
|
||||
HOMEPAGE="http://augeas.net/"
|
||||
SRC_URI="http://download.augeas.net/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="LGPL-2.1"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="static-libs test"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libxml2
|
||||
sys-libs/readline:="
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
>=app-doc/NaturalDocs-1.40
|
||||
test? ( dev-lang/ruby )"
|
||||
|
||||
#PATCHES=(
|
||||
# "${FILESDIR}"/${P}-gets.patch
|
||||
# "${FILESDIR}"/${P}-test.patch
|
||||
# "${FILESDIR}"/${P}-test2.patch
|
||||
# "${FILESDIR}"/${P}-libxml2-pkgconfig.patch
|
||||
# )
|
||||
|
||||
src_prepare() {
|
||||
if [ -f /usr/share/NaturalDocs/Config/Languages.txt ] ; then
|
||||
addwrite /usr/share/NaturalDocs/Config/Languages.txt
|
||||
fi
|
||||
if [ -f /usr/share/NaturalDocs/Config/Topics.txt ] ; then
|
||||
addwrite /usr/share/NaturalDocs/Config/Topics.txt
|
||||
fi
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Needs to implemented
|
||||
local myeconfargs=( --without-selinux )
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
@ -1,5 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<longdescription/>
|
||||
<maintainer type="person">
|
||||
<email>mgorny@gentoo.org</email>
|
||||
<name>Michał Górny</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- a/configure 2016-08-07 15:50:20.386687733 +0200
|
||||
+++ b/configure 2016-08-07 15:53:55.489691690 +0200
|
||||
@@ -2967,7 +2967,7 @@
|
||||
}
|
||||
EOF
|
||||
|
||||
-if ! compile_prog "-Werror $CFLAGS" "$LIBS" ; then
|
||||
+if ! compile_prog "$CFLAGS" "$LIBS" ; then
|
||||
error_exit "sizeof(size_t) doesn't match GLIB_SIZEOF_SIZE_T."\
|
||||
"You probably need to set PKG_CONFIG_LIBDIR"\
|
||||
"to point to the right pkg-config files for your"\
|
@ -1 +0,0 @@
|
||||
DIST freesmee-0.8-b3.tar.gz 1555942 SHA256 9f049ace09469f6ca6e00439ddcccdbe398f99cd36313ec4f5cb88577154b687 SHA512 61a3f22fcff2f605d61044a84d8d6df4fae40a6f637df9df5e0af2d61aaa474cf085b206900f9e0b9596aa03549ce2df4ca72c1409dc980ac08e8dc1704d4271 WHIRLPOOL a8ba202a9823caecf504e2aaa222c09c667dfe8b092f53922de325ac44fbfe6bf37e0447b9c0af614284432fc1a71633970619624992de789927b3621a080cb7
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit qt4-r2
|
||||
|
||||
DESCRIPTION="Tool for sending SMS and sending/receiving Freesmee-Message-Service"
|
||||
HOMEPAGE="http://www.freesmee.com"
|
||||
SRC_URI="https://github.com/${PN}/${PN}-desktop/archive/0.8-b3.tar.gz -> ${PN}-0.8-b3.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
S="${WORKDIR}/${PN}-desktop-0.8-b3"
|
||||
|
||||
DEPEND="dev-util/ticpp
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
cd deployment/linux || die
|
||||
doicon ${PN}.png
|
||||
domenu ${PN}.desktop
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit qt4-r2 git-2
|
||||
|
||||
DESCRIPTION="Tool for sending SMS and sending/receiving Freesmee-Message-Service"
|
||||
HOMEPAGE="http://www.freesmee.com"
|
||||
EGIT_REPO_URI="https://github.com/${PN}/${PN}-desktop.git"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="dev-util/ticpp
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
dev-qt/qtwebkit:4"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
cd deployment/linux
|
||||
doicon ${PN}.png
|
||||
domenu ${PN}.desktop
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>ago@gentoo.org</email>
|
||||
<name>Agostino Sarubbo</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">freesmee/freesmee-desktop</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +1,2 @@
|
||||
DIST 137323-libalkimia-4.3.2.tar.bz2 32687 SHA256 64379af992d5548a6757495f47568ebf8cb859a868ced8b5d3d5975f4dfcebdc SHA512 fb04e7bf6d01f9fc54cccc63f0b41c28e28a6844eec1e65c057c7dde599a58cb1f173dd012aca995280581d47e3419b59e0d070f649de0e4b1dd92cd4af4c2b2 WHIRLPOOL d022dcc647abb24ed5416d07d7e4e8bc9a8dfb72371ebf5533d49c35892f2116544f6852e7391103c1eb373f18d9070ccc8a80ff1cffaac12bd8db4d46914393
|
||||
DIST libalkimia-5.0.0.tar.xz 28400 SHA256 eea8a2a0f6788a1b9fd464b370598ed6e55353fb40da53375e6f022e71526cb5 SHA512 9ba205f5726f237389b9ea928ef37fc3b38161aaec5988dcc64afa3d8e53575a055b248e3c27e738db13f9e6af231f493e1374bbc50d0672729b0cdb391ce99f WHIRLPOOL 8b12395145f2df72daf9678b5f15e851fc04ad56db72a3cd9882869e1a619bf8ba8014fef8db66370135882b70767ef8692f763328f966be8697f52694ab4b04
|
||||
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Library with common classes and functionality used by KDE finance applications"
|
||||
HOMEPAGE="https://community.kde.org/Alkimia/libalkimia"
|
||||
SRC_URI="mirror://kde/stable/${PN/lib/}/${PV}/src/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0/5"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/gmp:0=[cxx]
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtdbus:4
|
||||
kde-base/kdelibs:4
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
@ -1,14 +1,16 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: close HTML/XML tags quickly"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=13"
|
||||
|
||||
LICENSE="vim"
|
||||
KEYWORDS="alpha amd64 ia64 ~mips ppc sparc x86"
|
||||
KEYWORDS="alpha amd64 ia64 mips ppc sparc x86"
|
||||
IUSE=""
|
||||
|
||||
VIM_PLUGIN_HELPTEXT=\
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils multilib-minimal toolchain-funcs
|
||||
|
||||
DESCRIPTION="An extremely fast compression and decompression library"
|
||||
HOMEPAGE="http://www.oberhumer.com/opensource/lzo/"
|
||||
SRC_URI="http://www.oberhumer.com/opensource/lzo/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="examples static-libs"
|
||||
|
||||
RDEPEND="abi_x86_32? (
|
||||
!<=app-emulation/emul-linux-x86-baselibs-20131008-r19
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32]
|
||||
)"
|
||||
|
||||
DOCS="BUGS ChangeLog README THANKS doc/*"
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE=${S} \
|
||||
econf \
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF} \
|
||||
--enable-shared \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
gen_usr_ldscript -a lzo2
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
rm -f "${ED}"/usr/share/doc/${PF}/COPYING
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc examples/*.{c,h}
|
||||
fi
|
||||
|
||||
prune_libtool_files
|
||||
}
|
@ -1,5 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<longdescription/>
|
||||
<maintainer type="person">
|
||||
<email>mgorny@gentoo.org</email>
|
||||
<name>Michał Górny</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -1 +0,0 @@
|
||||
DIST charade-1.0.3.tar.gz 168537 SHA256 a607146d151005904f3fd8335e3dc89af214453f0d3a29580e1eb0e67e6c3d7f SHA512 203c8d151b9b2530753fb2c4b2dd91b2d63cf01c0aba80ebe450d75ce7cda3ac0612e8ad3a41a0f8498aec63cd5c3a3d6493975efefc45f6c6310e76a9cdf553 WHIRLPOOL 08e99abc221b27d8cd6b5d29031a7ec052820c5e203c4f2102351a014230c44d35bc574bc7cf1c87c316f2ecd7c38edb33b410dfa388ad96f27e4b1e34182bcf
|
@ -1,19 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Universal encoding detector for python 2 and 3 (fork of chardet)"
|
||||
HOMEPAGE="https://github.com/sigmavirus24/charade/ https://pypi.python.org/pypi/charade/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">charade</remote-id>
|
||||
<remote-id type="github">sigmavirus24/charade</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,2 +1,2 @@
|
||||
DIST jaraco.collections-1.3.2.tar.gz 8965 SHA256 8587fcfa89d81d639687184502cddb4868e3dc5b9a73827ee2bfe8455ab27e57 SHA512 2369e9194fba5b25294ff5977def201b14d1ae72ddce08b5163995fcb530e55046f24354a0144f9272e822c38b468f493f262d56d2d0f6edab315be90f5fca70 WHIRLPOOL adb24717b71bce2f4d4ccae216eb9fd638bd8457a6c465c73fff32e045900ca08e8cc3a2bd49e9f55f6d7897caaae2894a74c10eac343c40498e7ab2a18c712a
|
||||
DIST jaraco.collections-1.4.1.tar.gz 10456 SHA256 43d0221be38fa0d8da339a149829800c8c3f843f379c09f3f8f1d99125110936 SHA512 1f9eca787efb427a73b5f03e144a2a95e5740580e21e9857a376d76dd35f39066c3a06056eaf78f72de2f97e4fc70805467fcc516f989ba4785e3f3d9354a538 WHIRLPOOL c37a851f1ab041554c1d9a54565e5671350bc750d31d1569a4415c5c215557739145b3a4992546d715a013695ef86cb788c47b4eb72940a29fdc17a9300399bb
|
||||
DIST jaraco.collections-1.4.tar.gz 9615 SHA256 82af38e4f8ef59ef5b44738561dd766f944e145a7ce39751744783f70f779ccb SHA512 dbb7c07bd6a7b4ef41aad1fef55b760447c94aea7036b56ed6fc02deba0720c2cb644fa47598f3997a307343dd1672d4afdd745fad3e02e37257ea714c02634a WHIRLPOOL 05c22e5b1c0d3725c4f0f486ff628991103643264c0e3338172d585be155eb2ba509182b652ed5484cd07cad13b0486829df2e8e9abd5450d7417ffb19d491f4
|
||||
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="actionmailer.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Framework for designing email-service layers"
|
||||
HOMEPAGE="https://github.com/rails/rails"
|
||||
SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
ruby_add_rdepend "~dev-ruby/actionpack-${PV}
|
||||
>=dev-ruby/mail-2.5.4:2.5"
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/bundler
|
||||
dev-ruby/mocha:0.13
|
||||
>=dev-ruby/test-unit-3:2
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|mysql\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|nokogiri\|bcrypt-ruby\|rdoc\|execjs\)/d" ../Gemfile || die
|
||||
sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
|
||||
|
||||
sed -i -e '/test-unit/ s/3.0.0/3.0/' ../Gemfile || die
|
||||
|
||||
# Avoid test requiring the "pl" locale.
|
||||
sed -i -e '/implicit multipart with other locale/,/^ end/ s:^:#:' \
|
||||
test/base_test.rb || die
|
||||
}
|
@ -1,80 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby20 ruby21"
|
||||
|
||||
# The default test task tries to test activerecord with SQLite as well.
|
||||
RUBY_FAKEGEM_TASK_TEST="test_action_pack"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Eases web-request routing, handling, and response"
|
||||
HOMEPAGE="https://github.com/rails/rails"
|
||||
SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/activemodel-${PV}
|
||||
~dev-ruby/activesupport-${PV}
|
||||
>=dev-ruby/rack-cache-1.2
|
||||
>=dev-ruby/builder-3.0.0:3
|
||||
>=dev-ruby/rack-1.4.5:1.4
|
||||
>=dev-ruby/rack-test-0.6.1:0.6
|
||||
>=dev-ruby/journey-1.0.4:1.0
|
||||
>=dev-ruby/sprockets-2.2.1:2.2
|
||||
>=dev-ruby/erubis-2.7.0"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/mocha:0.13
|
||||
dev-ruby/bundler
|
||||
~dev-ruby/activerecord-${PV}
|
||||
~dev-ruby/actionmailer-${PV}
|
||||
>=dev-ruby/test-unit-3:2
|
||||
>=dev-ruby/tzinfo-0.3.29:0
|
||||
>=dev-ruby/uglifier-1.0.3
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|nokogiri\|execjs\)/d" \
|
||||
-e 'agem "i18n", "~>0.6.11"' ../Gemfile || die
|
||||
|
||||
sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
|
||||
sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die
|
||||
|
||||
sed -i -e '/bcrypt/ s/3.0.0/3.0/' \
|
||||
-e '/test-unit/ s/3.0.0/3.0/' ../Gemfile || die
|
||||
|
||||
# Avoid fragile tests depending on hash ordering
|
||||
sed -i -e '/cookie_3=chocolate/ s:^:#:' test/controller/integration_test.rb || die
|
||||
sed -i -e '/test_to_s/,/end/ s:^:#:' test/template/html-scanner/tag_node_test.rb || die
|
||||
sed -i -e '/"name":"david"/ s:^:#:' test/controller/mime_responds_test.rb || die
|
||||
sed -i -e '/test_option_html_attributes_with_multiple_element_hash/, / end/ s:^:#:' test/template/form_options_helper_test.rb || die
|
||||
sed -i -e '/test_option_html_attributes_with_multiple_hashes/, / end/ s:^:#:' test/template/form_options_helper_test.rb || die
|
||||
|
||||
# Avoid fragile test that gets more output than it expects.
|
||||
sed -i -e '/test_locals_option_to_assert_template_is_not_supported/,/end/ s:^:#:' test/controller/render_test.rb || die
|
||||
|
||||
# Avoid test broken by security updates in i18n.
|
||||
sed -i -e '/test_number_to_i18n_currency/,/end/ s:^:#:' test/template/number_helper_i18n_test.rb || die
|
||||
|
||||
# Avoid test that chokes on bad UTF-8.
|
||||
sed -i -e '/test_handles_urls_with_bad_encoding/,/^ end/ s:^:#:' test/dispatch/static_test.rb || die
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST activeldap-3.2.2.gem 218624 SHA256 2c8f1c5ca5d32ef6c98cc9ad00933a10b3ed9fc0d77eaea504a5615e6e37ece0 SHA512 f3a802fa1e05b2140fc0c14035ce4ec7037496a2de50908a1143bf3a2c89cf9de6a339ead075b38e7f8b8f7f78314cfd9fe414b64e71e89bdd8dce6b9ab7a1ad WHIRLPOOL a07beca35e89738cc1fa39c5cfd193a63240708ab857812795fe02c148e73ef2e9e1865e286d82608c8fbbf78e4f87c6afc66f8a506b0de51550a0dd006bff6a
|
||||
DIST activeldap-4.0.5.gem 224768 SHA256 bcae4c7eea8250c3daf819209c7f269d531dc7741c68e8e5d57cad2bc951a49d SHA512 bf311997d96e90af796e70870a8b24da884547d6f8db7658a5093470261e6fd70585bca527f21447397aee1f1baaa91c79117884efbf70f4d976adcde025db80 WHIRLPOOL ea5adf3256ff99478a2a2d4aa6e0d856c8e9c27a269a22fe6d1856439d40d869a563c789c5aa10a8b61da2d7bc7193ba93cae1bc51b598633bd2429ae3e124ba
|
||||
DIST activeldap-4.0.6.gem 225280 SHA256 2b3660db97d49569eb514d1ab81a01eb3bbed7427cb95f38fef53eac3227be3e SHA512 03053e3798b557c73c3a0918b72d1d3c2cada4da3475913ef17a6f9f2f1ac1e102052459ef1a6d8c25ce41382b64c1a3097ccba1c768497a33a3a971b9778d3b WHIRLPOOL 4a9d282c8042feeeda3119c524e42fe783fafb1c040e09a5e7099c3a934ace0db9babed286334d125ed6e162fcbfc2284398e883f1285ae56176affc65f3abbd
|
||||
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.textile TODO"
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="po"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
MY_P="${P/ruby-/}"
|
||||
DESCRIPTION="ActiveLDAP provides an activerecord inspired object oriented interface to LDAP"
|
||||
HOMEPAGE="https://github.com/activeldap/activeldap"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="3"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
# Most tests require a live LDAP server to run.
|
||||
RESTRICT="test"
|
||||
|
||||
ruby_add_bdepend "dev-ruby/hoe"
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/activemodel-3.2.8:3.2
|
||||
dev-ruby/locale
|
||||
dev-ruby/ruby-gettext
|
||||
dev-ruby/gettext_i18n_rails
|
||||
|| ( >=dev-ruby/ruby-ldap-0.8.2 dev-ruby/ruby-net-ldap )"
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
dodoc doc/text/*
|
||||
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples
|
||||
}
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="activemodel.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Toolkit for building modeling frameworks like Active Record and Active Resource"
|
||||
HOMEPAGE="https://github.com/rails/rails"
|
||||
SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/activesupport-${PV}
|
||||
>=dev-ruby/builder-3.0.0:3
|
||||
>=dev-ruby/bcrypt-ruby-3.0.0"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
>=dev-ruby/mocha-0.13.0:0.13
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Set test environment to our hand.
|
||||
rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
|
||||
sed -i -e '/load_paths/d' test/cases/helper.rb || die "Unable to remove load paths"
|
||||
|
||||
# Fix bcrypt dependency since bcrypt uses semantic versioning.
|
||||
sed -i -e '/bcrypt-ruby/ s/3.0.0/3.0/' lib/active_model/secure_password.rb || die
|
||||
}
|
@ -1,71 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21"
|
||||
|
||||
# this is not null so that the dependencies will actually be filled
|
||||
RUBY_FAKEGEM_TASK_TEST="test"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM"
|
||||
HOMEPAGE="http://rubyforge.org/projects/activerecord/"
|
||||
SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="mysql postgres sqlite"
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
ruby_add_rdepend "~dev-ruby/activesupport-${PV}
|
||||
~dev-ruby/activemodel-${PV}
|
||||
>=dev-ruby/arel-3.0.2:3.0
|
||||
>=dev-ruby/tzinfo-0.3.29:0
|
||||
sqlite? ( >=dev-ruby/sqlite3-1.3.5 )
|
||||
mysql? ( >=dev-ruby/mysql2-0.3.10:0.3 )
|
||||
postgres? ( >=dev-ruby/pg-0.11.0 )"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/bundler
|
||||
~dev-ruby/actionpack-${PV}
|
||||
>=dev-ruby/sqlite3-1.3.5
|
||||
dev-ruby/mocha:0.13
|
||||
>=dev-ruby/test-unit-3:2
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e "/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|nokogiri\|execjs\)/d" ../Gemfile || die
|
||||
sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
|
||||
sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die
|
||||
# sed -i -e '/[Bb]undler/d' ../load_paths.rb || die
|
||||
sed -i -e '/bcrypt/ s/3.0.0/3.0/' \
|
||||
-e '/test-unit/ s/3.0.0/3.0/' ../Gemfile || die
|
||||
|
||||
# Avoid tests depending on hash ordering
|
||||
sed -i -e '/test_should_automatically_build_new_associated/,/ end/ s:^:#:' test/cases/nested_attributes_test.rb || die
|
||||
|
||||
# Avoid test depending on mysql adapter which we don't support for
|
||||
# this Rails version to simplify our dependencies.
|
||||
rm test/cases/connection_specification/resolver_test.rb || die
|
||||
|
||||
# Avoid test depending on specific sqlite3 binding or database version.
|
||||
sed -i -e '/test_uniqueness_violations_are_translated/,/^ end/ s:^:#:' test/cases/adapter_test.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
if use sqlite; then
|
||||
${RUBY} -I. -S rake test_sqlite3 || die "sqlite3 tests failed"
|
||||
fi
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="activeresource.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Think Active Record for web resources"
|
||||
HOMEPAGE="https://github.com/rails/rails"
|
||||
SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
ruby_add_rdepend "~dev-ruby/activesupport-${PV}
|
||||
dev-ruby/builder:3"
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/test-unit:2
|
||||
>=dev-ruby/mocha-0.13.0:0.13
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Set test environment to our hand.
|
||||
rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
|
||||
sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
|
||||
|
||||
# Make sure we use the test-unit gem since ruby18 does not provide
|
||||
# all the test-unit features needed.
|
||||
sed -i -e '1igem "test-unit"' test/abstract_unit.rb || die
|
||||
}
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec"
|
||||
|
||||
RUBY_FAKEGEM_BINWRAP=""
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Utility Classes and Extension to the Standard Library"
|
||||
HOMEPAGE="http://rubyforge.org/projects/activesupport/"
|
||||
SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/multi_json-1.0
|
||||
>=dev-ruby/i18n-0.6.4:0.6
|
||||
!!<dev-ruby/activesupport-3.0.11-r1:3.0"
|
||||
|
||||
# memcache-client, nokogiri, and builder are not strictly
|
||||
# needed, but there are tests using this code.
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/test-unit:2
|
||||
>=dev-ruby/memcache-client-1.5.8
|
||||
dev-ruby/nokogiri
|
||||
>=dev-ruby/builder-3.0.3:3
|
||||
dev-ruby/rack
|
||||
>=dev-ruby/tzinfo-0.3.29
|
||||
)"
|
||||
|
||||
# libxml is not strictly needed, there are tests using this code. jruby
|
||||
# uses a different xml implementation.
|
||||
ruby_add_bdepend "test? ( >=dev-ruby/libxml-2.0.0 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Set test environment to our hand.
|
||||
# rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
|
||||
sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
|
||||
|
||||
# Make sure we use the test-unit gem since ruby18 does not provide
|
||||
# all the test-unit features needed.
|
||||
sed -i -e '1igem "test-unit"' test/abstract_unit.rb || die
|
||||
|
||||
# Avoid test requiring the "de" locale.
|
||||
sed -i -e '/test_transliterate_should_work_with_custom_i18n_rules_and_uncomposed_utf8/,/^ end/ s:^:#:' test/transliterate_test.rb || die
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST coffee-rails-3.2.2.gem 7168 SHA256 75f06d71060999044fbc6ac199b91f1fc0bd075d8dd8acde04e02431396b463a SHA512 b4c6a6d0658f50fcd7632260bbddb25e619a9dfb45c0bab8fd60cbfaf32480875fc4b90bd0e77eef5cf25b84b1de08b1bf335454b2c828340ea20a0986373244 WHIRLPOOL 629fde6c30f1288146284dff0b53e2cc6f5469a8c51a625628435b88bf7e9087352da1a7bf5711b4496c92084272aebfa254ddd41b009157646f062738cc3d95
|
||||
DIST coffee-rails-4.0.1.gem 9216 SHA256 2f6e36f2c7a2b5ea4ba2aae5d8f70b443e47f010e1f645aec28368d783e1d88a SHA512 33a4efc0350977ede05e869ceed0cc5c9902d2f75ade6c84fada2d1265323af4798ffe0f0994d0d7b4a7bbb7e48c7360e04c729bc117c7d4448c986f238fdbae WHIRLPOOL c1a5b1890648df1229d474cc9e33dbfcc339971ea6ca3b3cf584fd055b4ce1bb2a6cf33119499aab1715f6b5b2ddd7855467da2b31e718edab480644f045f7bb
|
||||
DIST coffee-rails-4.1.1.tar.gz 5384 SHA256 91531419b840b5eefdd1ca5214c9d8332a0761f7a86661c379ef40f495a777f8 SHA512 643f8056280b3a4435cea28f53a2e9abe7c3c0a90a860dc91dc619da77968d6f1ed131b29f4e4b6f6312922024f15b92f5847b7f5c3da2a83447ec682c80a1fd WHIRLPOOL efcb409218eb65070088447e4a28a3fe4d0556842c386ae73605995489d71067b8b05e8168ff8e058238eb038129c626078041aead39776873fecc3b70ec5876
|
||||
DIST coffee-rails-4.2.1.tar.gz 5753 SHA256 5efeb14c12edbf5e7854da1cab0d868a1d835b6e3b2c64879fcd067b0c53ec28 SHA512 00b10b2d972d0a1ca2af07d09cc36a407568ddc8a9493d5db7004c4cce9cc65835b78c4d0870e1d18deb70c30f603232652c86df485fd769b17bed15631b1d0e WHIRLPOOL 58caafd8763304a004b5fac698a586a057dd7685160572091fe1afa2bbf084aa8b53e61e03143ca7f7d9125827390b71b587b25e52815245f82be89bec80829e
|
||||
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.markdown"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Coffee Script adapter for the Rails asset pipeline"
|
||||
HOMEPAGE="https://github.com/rails/coffee-rails"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3.2"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x64-macos"
|
||||
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/coffee-script-2.2.0
|
||||
dev-ruby/railties:3.2"
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/rails:3.2 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -e '/git ls-files/d' -i coffee-rails.gemspec || die
|
||||
|
||||
# Make sure Rails 3.2 is used.
|
||||
sed -e '4igem "rails", "~> 3.2.0"' -i test/test_helper.rb || die
|
||||
|
||||
# Apply upstream fix for failing test
|
||||
sed -i -e 's/this.CoffeeScript/CoffeeScript Compiler/' test/assets_test.rb || die
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST mail-2.5.4-git.tar.gz 833881 SHA256 d618fab11e0f4d308535a21bd6c59c2ab81a4ac864db830cc1817ad131512bb9 SHA512 5e042b9bff41e75af76b7d21275488f79b4c5e1821827b114bfc0d09b12b8c487189e4732e58a642621609fad48af381ae7cd5507f4fc5cb620f54a2288a6dda WHIRLPOOL 5013a057fd1cadd2f3ef5b1c4f8c62e476f36309ca6de935041b03986525a42969d4a7d57907eba4c6a5622d96cca269c3dfc37c14e1a45e4167a9b3d9d6ab50
|
||||
DIST mail-2.6.4-git.tar.gz 963211 SHA256 d3e4a384cf60759a839e07fcf12b8cee4ea47775de66e1999cecce03e70af50c SHA512 b92702db0c989371414ef1f4f2855a2b815d2a46f0b110b4c5d63b79b8baaca80aed957865176c4cc1e7142f1d0edd8e3138a85ab42e510a5bd888f32eba5ee2 WHIRLPOOL b69a5cdb28599bd4c766fc219292e9992c660c8bc644d9d5ab6ef2cba68d1fb7b50826838d9fa98d3e5f3b2cf841aaf312194d48c825dc5e22d94d1c5f68e840
|
||||
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.md ROADMAP TODO.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="mail.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
GITHUB_USER="mikel"
|
||||
COMMIT="e8ec8d53c4f5c889691630d0422b9dc044762f1b"
|
||||
|
||||
DESCRIPTION="An email handling library"
|
||||
HOMEPAGE="https://github.com/mikel/mail"
|
||||
SRC_URI="https://github.com/${GITHUB_USER}/mail/archive/${PV}.tar.gz -> ${P}-git.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/mime-types-1.16i:0
|
||||
>=dev-ruby/treetop-1.4.8"
|
||||
|
||||
all_ruby_prepare() {
|
||||
rm Gemfile || die
|
||||
sed -i -e '/[Bb]undle/d' -e '6d' Rakefile || die "Unable to remove Bundler code."
|
||||
|
||||
# Fix up dependencies to match our own.
|
||||
sed -i -e 's/~>/>=/' mail.gemspec || die "Unable to fix up dependencies."
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST mongoid-2.8.1.tar.gz 367336 SHA256 76289084e680fe4ba476112eadda9dac0212a28e169023e84788db8a56494305 SHA512 cdd7e92722a5451c8d9ef0a21b7176446f9d6f41f42f62e0f91006feb6217a4a5c3bf2b193ee57d196aef2a61dc13b50cd76c35da295140abc4a7136d02eda81 WHIRLPOOL b4bc238ef853b1bc8dd42169f1075bd75f6f10fbe02c41aedf93901cb66d79527d6815c8934da2738f8f82ff24081995f6487fc4959888b25014f25509110dd6
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>ruby@gentoo.org</email>
|
||||
<name>Gentoo Ruby Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">mongoid/mongoid</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,81 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
# functional testing crashes Ruby from within Portage, but works
|
||||
# outside of it, needs to be investigated thoroughly, but at least
|
||||
# unit testing works.
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
GITHUB_USER="${PN}"
|
||||
GITHUB_PROJECT="${PN}"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="ODM (Object Document Mapper) Framework for MongoDB"
|
||||
HOMEPAGE="http://two.mongoid.org/"
|
||||
SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/v${PV}.tar.gz -> ${GITHUB_PROJECT}-${PV}.tar.gz"
|
||||
LICENSE="MIT"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/activemodel-3.1 =dev-ruby/activemodel-3*
|
||||
>=dev-ruby/mongo-1.9:0
|
||||
>=dev-ruby/tzinfo-0.3.22:0
|
||||
"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/bundler
|
||||
dev-ruby/ammeter
|
||||
dev-ruby/mocha:0.11
|
||||
dev-ruby/rdoc
|
||||
dev-ruby/rspec
|
||||
dev-util/watchr
|
||||
)"
|
||||
|
||||
DEPEND+=" test? ( dev-db/mongodb )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove unsupported development dependencies and fix versions.
|
||||
sed -i -e '/\(guard-rspec\|rb-fsevent\)/ s:^:#:' \
|
||||
-e '/mocha/ s/= 0.11/~> 0.11.0/' mongoid.gemspec || die
|
||||
|
||||
# Avoid specs tied to localhost
|
||||
rm spec/functional/mongoid/config/{database,replset_database}_spec.rb || die
|
||||
|
||||
# Avoid some failing specs that should be investigated later
|
||||
sed -i -e '/sets the capped size/,/end/ s:^:#:' spec/functional/mongoid/collection_spec.rb || die
|
||||
sed -i -e '/.from_hash/,/^ end/ s:^:#:' spec/functional/mongoid/config_spec.rb || die
|
||||
rm spec/functional/mongoid/persistence_spec.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
mkdir "${T}/mongodb_$(basename $RUBY)"
|
||||
mongod --port 27017 --dbpath "${T}/mongodb_$(basename $RUBY)" \
|
||||
--noprealloc --noauth --nohttpinterface --nounixsocket --nojournal \
|
||||
--bind_ip 127.255.255.254 &
|
||||
mongod_pid=$!
|
||||
failed=0
|
||||
|
||||
sleep 2
|
||||
|
||||
export MONGOID_SPEC_HOST="127.255.255.254"
|
||||
export MONGOID_SPEC_PORT="27017"
|
||||
|
||||
${RUBY} -S bundle exec rspec-2 --format progress spec || failed=1
|
||||
kill "${mongod_pid}"
|
||||
|
||||
[[ "${failed}" == "1" ]] && die "tests failed"
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_BINWRAP=""
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="ruby on rails is a web-application and persistance framework"
|
||||
HOMEPAGE="http://www.rubyonrails.org"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
IUSE="+asset-pipeline"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/actionmailer-${PV}
|
||||
~dev-ruby/actionpack-${PV}
|
||||
~dev-ruby/activerecord-${PV}
|
||||
~dev-ruby/activeresource-${PV}
|
||||
~dev-ruby/activesupport-${PV}
|
||||
=dev-ruby/bundler-1*
|
||||
~dev-ruby/railties-${PV}
|
||||
asset-pipeline? (
|
||||
dev-ruby/jquery-rails
|
||||
>=dev-ruby/sass-rails-3.2.3:3.2
|
||||
>=dev-ruby/uglifier-1.0.3
|
||||
>=dev-ruby/coffee-rails-3.2.1:3.2
|
||||
)"
|
@ -1,82 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="test:regular"
|
||||
RUBY_FAKEGEM_TASK_DOC="generate_guides"
|
||||
RUBY_FAKEGEM_DOCDIR="guides/output"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="railties.gemspec"
|
||||
|
||||
RUBY_FAKEGEM_BINWRAP=""
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Tools for creating, working with, and running Rails applications"
|
||||
HOMEPAGE="https://github.com/rails/rails"
|
||||
SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-${PV}/${PN}"
|
||||
|
||||
# The test suite has many failures, most likely due to a mismatch in
|
||||
# exact dependencies or environment specifics. Needs further
|
||||
# investigation.
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND+=">=app-eselect/eselect-rails-0.18"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/activesupport-${PV}
|
||||
~dev-ruby/actionpack-${PV}
|
||||
>=dev-ruby/rdoc-3.4
|
||||
>=dev-ruby/thor-0.14.6
|
||||
>=dev-ruby/rack-ssl-1.3.2:1.3
|
||||
>=dev-ruby/rake-0.8.7"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/mocha:0.13
|
||||
)
|
||||
doc? (
|
||||
>=dev-ruby/redcloth-4.1.1
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e '/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\)/d' ../Gemfile || die
|
||||
|
||||
# Also allow rdoc 4.x
|
||||
sed -i -e 's/~> 3.4/>= 3.4/' ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
if use doc ; then
|
||||
mv guides/output guides/guides || die
|
||||
dohtml -r guides/guides
|
||||
fi
|
||||
|
||||
ruby_fakegem_binwrapper rails rails-${PV}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "To select between slots of rails, use:"
|
||||
elog "\teselect rails"
|
||||
|
||||
eselect rails update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect rails update
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.markdown"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Official Ruby-on-Rails Integration with Sass"
|
||||
HOMEPAGE="https://github.com/rails/sass-rails"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3.2"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x64-macos ~x86-solaris"
|
||||
|
||||
IUSE=""
|
||||
|
||||
# Restrict tests for now since it is hard to set up the right
|
||||
# environment with the correct ruby interpreter and Rails test
|
||||
# application.
|
||||
RESTRICT="test"
|
||||
|
||||
#ruby_add_bdepend "test? ( dev-ruby/sfl dev-ruby/bundler )"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/sass-3.1.10
|
||||
dev-ruby/railties:3.2
|
||||
dev-ruby/actionpack:3.2
|
||||
>=dev-ruby/tilt-1.3.2"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Use the released version of Rails, not a git checkout
|
||||
sed -i -e 's/:git.*/"~>3.2.0"/' Gemfile || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -S bundle exec rake test || die
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
From edd6d6e2805894e21afe51276d1af65d5395180d Mon Sep 17 00:00:00 2001
|
||||
From: Andy Wingo <wingo@pobox.com>
|
||||
Date: Sun, 07 Aug 2016 10:23:50 +0000
|
||||
Subject: Snarfing .x depends on built headers
|
||||
|
||||
* libguile/Makefile.am (BUILT_INCLUDES): New variable.
|
||||
(BUILT_SOURCES): Put .i and other generated .h to BUILT_INCLUDES.
|
||||
(.c.x, .c.doc): Depend on BUILT_INCLUDES. Fixes
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=590528.
|
||||
---
|
||||
diff --git a/libguile/Makefile.am b/libguile/Makefile.am
|
||||
index cd85604..4c54744 100644
|
||||
--- a/libguile/Makefile.am
|
||||
+++ b/libguile/Makefile.am
|
||||
@@ -430,9 +430,9 @@ DOT_I_FILES = vm-i-system.i vm-i-scheme.i vm-i-loader.i
|
||||
.c.i:
|
||||
$(AM_V_GEN)$(GREP) '^VM_DEFINE' $< > $@
|
||||
|
||||
-BUILT_SOURCES = cpp-E.c cpp-SIG.c libpath.h \
|
||||
- scmconfig.h \
|
||||
- $(DOT_I_FILES) $(DOT_X_FILES) $(EXTRA_DOT_X_FILES)
|
||||
+BUILT_INCLUDES = $(DOT_I_FILES) scmconfig.h
|
||||
+BUILT_SOURCES = cpp-E.c cpp-SIG.c libpath.h $(BUILT_INCLUDES) \
|
||||
+ $(DOT_X_FILES) $(EXTRA_DOT_X_FILES)
|
||||
|
||||
# Force the generation of `guile-procedures.texi' because the top-level
|
||||
# Makefile expects it to be built.
|
||||
@@ -730,9 +730,9 @@ snarfcppopts = $(DEFS) $(AM_CPPFLAGS) $(CPPFLAGS) $(CFLAGS)
|
||||
|
||||
SUFFIXES = .x .doc
|
||||
|
||||
-.c.x:
|
||||
+.c.x: $(BUILT_INCLUDES)
|
||||
$(AM_V_SNARF)$(GUILE_SNARF) -o $@ $< $(snarfcppopts)
|
||||
-.c.doc:
|
||||
+.c.doc: $(BUILT_INCLUDES)
|
||||
$(AM_V_SNARF)./guile-snarf-docs -o $@ $< -- $(snarfcppopts)
|
||||
|
||||
$(DOT_X_FILES) $(EXTRA_DOT_X_FILES): scmconfig.h snarf.h guile-snarf.in version.h
|
||||
--
|
||||
cgit v0.9.0.2
|
@ -1,3 +1,2 @@
|
||||
DIST gource-0.39.tar.gz 856723 SHA256 0f97a3bad240ebc04e37ebbe8e0affaf8ad9bed997d90a4b59d05770c788ffeb SHA512 ff3e3ffb78e541c4aab542e2b0268e0008c9380743214b2726a95d88c7be07727535940c6225cdb7908c0dbf7b85565ee51fcc1d6f4244eef58b1efe68d2f7da WHIRLPOOL 5d8398be7bb543e0ced8cb8970c4e8e37aef23e2e999151f9371c2d4ece150c29d225c2e4d7adeefecffe98bf698e8353b77ae9b955317788fe2dcb0732251ec
|
||||
DIST gource-0.40.tar.gz 861731 SHA256 9c890a926bb3bab8ea3e546c1357488e5a5034d1ea9402afc654cb7e00ccd112 SHA512 f027a791674162a366ef30743508d841bc94b7b81c76041a8041d247420b76a9a82581793cb61e571da4805b2989a11e02dfd1246fe656115fef5568f283802a WHIRLPOOL f668854dc43fcc6776ffddc7582491b08744997a5c7a70ab59a5ca5019cc582ac3cbce7d041baa3fec41f78fed6f832cc803e0aea53b9a70cfb4f01f3ddb0bce
|
||||
DIST gource-0.43.tar.gz 874141 SHA256 85a40ac8e4f5c277764216465c248d6b76589ceac012541c4cc03883a24abde4 SHA512 4983c8afc534280ea61f9d1e0db2479f351acd349b62c2afd0c059faba0a73e1cebfb7d5e97ee6183461c7079df5a8126813f851cceb9cfa60ef23784e9152bd WHIRLPOOL b98c73f9b9bd73f49c459a28b1a75f00af696f26a3e202a7ee5fec09ea59132a77e07d9673ca1d04acc138e8bed53833bf93b5eaa4a1d250bf120c9de5480125
|
||||
DIST gource-0.44.tar.gz 875131 SHA256 2604ca4442305ffdc5bb1a7bac07e223d59c846f93567be067e8dfe2f42f097c SHA512 4cdc7824f8f5b4aa7004135e59157ebf731730bc2dab0120ab919240576939b0e13dc6a09df79fcdb55cc7b4628c3887f5eca7ab0fa73d5e7bf5ad49c7cf898c WHIRLPOOL 55d637d7c2306f87b1ea4acd12f639033cf15b627a06d9d7eb2a4a2bb5bc79b78f0ff1ca949cad1eb4fd77586411662a84838abb65b19e4a7e3b3bef537a5eea
|
||||
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils flag-o-matic versionator
|
||||
|
||||
MY_P=${P/_p/-}
|
||||
MY_P=${MY_P/_/-}
|
||||
MY_DATE=${PV/*_p}
|
||||
|
||||
DESCRIPTION="A software version control visualization tool"
|
||||
HOMEPAGE="http://gource.io/"
|
||||
SRC_URI="https://gource.googlecode.com/files/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/boost-1.46:=[threads(+)]
|
||||
>=media-libs/glew-1.5
|
||||
>=media-libs/libpng-1.2
|
||||
>=media-libs/libsdl-1.2.10[video,opengl,X]
|
||||
>=media-libs/sdl-image-1.2[jpeg,png]
|
||||
dev-libs/libpcre:3
|
||||
dev-libs/tinyxml
|
||||
media-fonts/freefont
|
||||
media-libs/freetype:2
|
||||
media-libs/mesa
|
||||
virtual/glu
|
||||
virtual/jpeg
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
>=media-libs/glm-0.9.3
|
||||
"
|
||||
|
||||
case ${PV} in
|
||||
*_beta*)
|
||||
my_v=$(get_version_component_range 1-3)
|
||||
my_v=${my_v//_/-}
|
||||
S="${WORKDIR}/${PN}-${my_v}" ;;
|
||||
*)
|
||||
S="${WORKDIR}/${PN}-$(get_version_component_range 1-2)" ;;
|
||||
esac
|
||||
|
||||
src_configure() {
|
||||
# fix bug #386525
|
||||
# this enable gource to be compiled against dev-libs/tinyxml[stl]
|
||||
if has_version dev-libs/tinyxml[stl]; then
|
||||
append-cppflags -DTIXML_USE_STL;
|
||||
fi
|
||||
econf --enable-ttf-font-dir=/usr/share/fonts/freefont/ \
|
||||
--with-tinyxml
|
||||
}
|
||||
|
||||
DOCS=( README ChangeLog THANKS )
|
@ -1,62 +1,50 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
EAPI=6
|
||||
|
||||
inherit eutils flag-o-matic versionator
|
||||
|
||||
MY_P=${P/_p/-}
|
||||
MY_P=${MY_P/_/-}
|
||||
MY_DATE=${PV/*_p}
|
||||
inherit flag-o-matic
|
||||
|
||||
DESCRIPTION="A software version control visualization tool"
|
||||
HOMEPAGE="http://gource.io/"
|
||||
SRC_URI="https://gource.googlecode.com/files/${MY_P}.tar.gz"
|
||||
SRC_URI="https://github.com/acaudwell/Gource/releases/download/${P}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
COMMON_DEPEND="
|
||||
>=dev-libs/boost-1.46:=[threads(+)]
|
||||
>=media-libs/glew-1.5
|
||||
>=media-libs/libpng-1.2
|
||||
<media-libs/libsdl-2[video,opengl,X]
|
||||
<media-libs/sdl-image-2[jpeg,png]
|
||||
>=media-libs/glew-1.5:0=
|
||||
>=media-libs/libpng-1.2:0=
|
||||
media-libs/libsdl2[video,opengl,X]
|
||||
media-libs/sdl2-image[jpeg,png]
|
||||
dev-libs/libpcre:3
|
||||
dev-libs/tinyxml
|
||||
media-fonts/freefont
|
||||
media-libs/freetype:2
|
||||
media-libs/mesa
|
||||
virtual/glu
|
||||
virtual/jpeg
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
virtual/glu:0
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
media-fonts/freefont
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
>=media-libs/glm-0.9.3
|
||||
"
|
||||
"
|
||||
|
||||
case ${PV} in
|
||||
*_beta*)
|
||||
my_v=$(get_version_component_range 1-3)
|
||||
my_v=${my_v//_/-}
|
||||
S="${WORKDIR}/${PN}-${my_v}" ;;
|
||||
*)
|
||||
S="${WORKDIR}/${PN}-$(get_version_component_range 1-2)" ;;
|
||||
esac
|
||||
DOCS=( README ChangeLog THANKS )
|
||||
|
||||
src_configure() {
|
||||
# fix bug #386525
|
||||
# this enable gource to be compiled against dev-libs/tinyxml[stl]
|
||||
# this enables gource to be compiled against dev-libs/tinyxml[stl]
|
||||
if has_version dev-libs/tinyxml[stl]; then
|
||||
append-cppflags -DTIXML_USE_STL;
|
||||
fi
|
||||
|
||||
econf \
|
||||
--enable-ttf-font-dir=/usr/share/fonts/freefont/ \
|
||||
--with-tinyxml
|
||||
}
|
||||
|
||||
DOCS=( README ChangeLog THANKS )
|
@ -1,8 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<upstream>
|
||||
<remote-id type="google-code">gource</remote-id>
|
||||
<remote-id type="github">acaudwell/Gource</remote-id>
|
||||
</upstream>
|
||||
<maintainer type="person">
|
||||
<email>kensington@gentoo.org</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="google-code">gource</remote-id>
|
||||
<remote-id type="github">acaudwell/Gource</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -1,3 +0,0 @@
|
||||
DIST rootstrap_0.3.24-3.diff.gz 6618 SHA256 9c9fd6f854082369c7ca585529da4974173c46c414ba0e561a81eb1f4aa38b8d SHA512 7470c849fcea2e144c48c9de3522df95e3c8fd3f176b61840301687c086ba2c8774c8f5fc23572aaabc1cdcc406f8f236ed999375696a09ced2a5719647b5ab4 WHIRLPOOL 9c2bcea59b3ee6b30b9f8bd678f2e57c7fe0db710a2a7fedbd97b01a159d17e379b2b88aac148d1174a867eb1cdf9af8765773e31642179473c41a25983f154b
|
||||
DIST rootstrap_0.3.24-5.diff.gz 7114 SHA256 d8a5d7aeb30feb58e01bbc21bc3e73fd0b68e9d016b4c3e600c28f6cdfa7e36c SHA512 2f53c98e77914cd72f3d6bd1121889804d340f84646af368bc4fe414e8ed889f52719e25884fbf1ae825ce5793500cb74c8d12b7ebb9fba8a99d864a8b1f3c0d WHIRLPOOL 9539aede2341ca17e85930701e465e0c8db2136e58882dc682e05b3dea8c36db80bad5178df47db1048a07e19ba0d2db51fb7fd13ed1fb1f09f174004e02b894
|
||||
DIST rootstrap_0.3.24.orig.tar.gz 19730 SHA256 404cce2567c1545805a746a447a0792a4ba377705591bf0c96e319a8e57c7453 SHA512 04b42d1f999d9c9a3298a78b4b8abbdce6ac1f1192a97c36ff37ad694bcc94b6ca25e16134fea06099e6a92dd099dbc5cbff5e97565521d86fa8a4246d5d9d38 WHIRLPOOL 4bc248b4c9ff069e074ed9d0767425975404725d2996604230afd119e748f70679ed605354f91070a36116886b01bdbaf6e77f241fc56d8f715e3ddfc7274e24
|
@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
inherit eutils
|
||||
|
||||
PATCH_LEVEL=3
|
||||
|
||||
DESCRIPTION="A tool for building complete Linux filesystem images"
|
||||
HOMEPAGE="http://packages.qa.debian.org/rootstrap"
|
||||
SRC_URI="mirror://debian/pool/main/r/${PN}/${PN}_${PV}.orig.tar.gz
|
||||
mirror://debian/pool/main/r/${PN}/${PN}_${PV}-${PATCH_LEVEL}.diff.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-util/debootstrap
|
||||
dev-lang/python
|
||||
app-arch/dpkg"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/docbook-sgml-utils"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
S="${WORKDIR}"/${PN}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${WORKDIR}"/${PN}_${PV}-${PATCH_LEVEL}.diff
|
||||
sed -i -e 's:docbook-to-man:docbook2man:' Makefile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed."
|
||||
newdoc debian/changelog ChangeLog
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=3
|
||||
PYTHON_DEPEND="2"
|
||||
inherit eutils python
|
||||
|
||||
DESCRIPTION="A tool for building complete Linux filesystem images"
|
||||
HOMEPAGE="http://packages.qa.debian.org/rootstrap"
|
||||
SRC_URI="mirror://debian/pool/main/r/${PN}/${PN}_${PV/_p*}.orig.tar.gz
|
||||
mirror://debian/pool/main/r/${PN}/${PN}_${PV/_p/-}.diff.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-util/debootstrap
|
||||
app-arch/dpkg"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/docbook-sgml-utils"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
S="${WORKDIR}"/${PN}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${WORKDIR}"/${PN}_${PV/_p/-}.diff
|
||||
sed -i -e 's:docbook-to-man:docbook2man:' Makefile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed."
|
||||
newdoc debian/changelog ChangeLog
|
||||
python_convert_shebangs -r 2 "${D}"
|
||||
}
|
@ -1 +1 @@
|
||||
DIST chrome-gnome-shell-6.tar.xz 66488 SHA256 1061c1a72770ba521d33b228fe87a51669108b489da590d2a5ade6a0ab6b3592 SHA512 804fb7ebb311b47eb7bae793076096e730d538c5b500db454b7f2349c026d5e2024415e14d3607e59ff3042717200040434f200b133c6edb1d889ee19935769e WHIRLPOOL 76ee88eb1dafd4cb2102944af1fb646cef79cf775d0bbd6921237b11ae1f7e823435fb5ad7669617827ddd54c3576d998a8549815f7dd5158a0d6307b76ed4ca
|
||||
DIST chrome-gnome-shell-6.2.tar.xz 74668 SHA256 8686e464b1eb85e8f917607b0cd764e92a06bc9c6108e17dba6b71f058a41fe5 SHA512 8a4cf249bab8bea4551771c60f8afd16bb7ef2947f49f7abcdeb09d19305ce9d94da2b239ed38ae07da6e3a6b52c50c5562365df0573b6c7641980a2a24da9c9 WHIRLPOOL 3bf4240383dba35f6695c7e6744aaf5d98749e6d53f34ad9c0de7790c105978d96e58c7818c1a43597b63036cdae7a25842bf20b2b565af9f101d444eeb88682
|
||||
|
@ -1 +1,2 @@
|
||||
DIST claws-mail-3.13.2.tar.xz 5582600 SHA256 6a731052814b3284abeca1662d47817a86e018bc7123ab428f015f0cfab40ad1 SHA512 7356a4286fc76e215746de846f412e80b4d21c3be90ac8edd7719be2874569f953ce5c094e4a20b0c467db994d710135fc14bcb01f8fb4e947bf7d1666261ea3 WHIRLPOOL ec64d157fffd7be2849c92209cf3a5cc29935fa60a9061577c1b0bbcdac28b51f800c731ebf5f9598bc34f56ee9815adddfb5691f5faa81c92252bd182ab5120
|
||||
DIST claws-mail-3.14.0.tar.xz 5795536 SHA256 466bd70350c69055d980dc84038d13f231f4ed060af899910e29c7a1de83cc59 SHA512 c127110749af6f5d584f59c3b5800c54a4b06e0b4a8b236d70ef516b7b39c40c870109d58c1d4f13fae6a10176083e948757d95a03c7f1fd526c00cd0c488600 WHIRLPOOL 887b4290f06dadd5e19458cdaf0e12cc3c6e31167da65df80f23028250d828b669aa600cedd5ffedd33445287d3d2e0bd9b2fcb0c7d106fdee9d145152a0fc77
|
||||
|
@ -0,0 +1,211 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit autotools gnome2-utils eutils python-single-r1
|
||||
|
||||
DESCRIPTION="An email client (and news reader) based on GTK+"
|
||||
HOMEPAGE="http://www.claws-mail.org/"
|
||||
|
||||
SRC_URI="http://www.claws-mail.org/download.php?file=releases/${P}.tar.xz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-3"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
|
||||
IUSE="archive bogofilter calendar clamav dbus debug doc gdata gtk3 +imap ipv6 ldap +libcanberra +libindicate +libnotify networkmanager nntp +notification pda pdf perl +pgp python rss session sieve smime spamassassin spam-report spell +gnutls startup-notification valgrind webkit xface"
|
||||
REQUIRED_USE="libcanberra? ( notification )
|
||||
libindicate? ( notification )
|
||||
libnotify? ( notification )
|
||||
networkmanager? ( dbus )
|
||||
smime? ( pgp )"
|
||||
|
||||
# Plugins are all integrated or dropped since 3.9.1
|
||||
PLUGINBLOCK="!!mail-client/claws-mail-acpi-notifier
|
||||
!!mail-client/claws-mail-archive
|
||||
!!mail-client/claws-mail-att-remover
|
||||
!!mail-client/claws-mail-attachwarner
|
||||
!!mail-client/claws-mail-clamd
|
||||
!!mail-client/claws-mail-fancy
|
||||
!!mail-client/claws-mail-fetchinfo
|
||||
!mail-client/claws-mail-gdata
|
||||
!!mail-client/claws-mail-geolocation
|
||||
!!mail-client/claws-mail-gtkhtml
|
||||
!!mail-client/claws-mail-mailmbox
|
||||
!!mail-client/claws-mail-newmail
|
||||
!!mail-client/claws-mail-notification
|
||||
!!mail-client/claws-mail-perl
|
||||
!!mail-client/claws-mail-python
|
||||
!!mail-client/claws-mail-rssyl
|
||||
!!mail-client/claws-mail-spam-report
|
||||
!!mail-client/claws-mail-tnef-parse
|
||||
!!mail-client/claws-mail-vcalendar
|
||||
!!mail-client/claws-mail-address_keeper
|
||||
!!mail-client/claws-mail-pdf-viewer"
|
||||
|
||||
COMMONDEPEND=">=sys-devel/gettext-0.18
|
||||
gdata? ( >=dev-libs/libgdata-0.17.1 )
|
||||
gtk3? ( x11-libs/gtk+:3 )
|
||||
!gtk3? ( >=x11-libs/gtk+-2.20:2 )
|
||||
pda? ( >=app-pda/jpilot-0.99 )
|
||||
gnutls? ( >=net-libs/gnutls-3.0 )
|
||||
ldap? ( >=net-nds/openldap-2.0.7 )
|
||||
pgp? ( >=app-crypt/gpgme-1.0.0 )
|
||||
valgrind? ( dev-util/valgrind )
|
||||
dbus? ( >=dev-libs/dbus-glib-0.60 )
|
||||
spell? ( >=app-text/enchant-1.0.0 )
|
||||
imap? ( >=net-libs/libetpan-0.57 )
|
||||
nntp? ( >=net-libs/libetpan-0.57 )
|
||||
startup-notification? ( x11-libs/startup-notification )
|
||||
session? ( x11-libs/libSM
|
||||
x11-libs/libICE )
|
||||
archive? ( app-arch/libarchive
|
||||
>=net-misc/curl-7.9.7 )
|
||||
bogofilter? ( mail-filter/bogofilter )
|
||||
notification? (
|
||||
libnotify? ( x11-libs/libnotify )
|
||||
libcanberra? ( media-libs/libcanberra[gtk] )
|
||||
libindicate? ( dev-libs/libindicate:3[gtk] )
|
||||
dev-libs/glib:2
|
||||
)
|
||||
smime? ( >=app-crypt/gpgme-1.0.0 )
|
||||
calendar? ( >=net-misc/curl-7.9.7 )
|
||||
pdf? ( app-text/poppler[cairo] )
|
||||
spam-report? ( >=net-misc/curl-7.9.7 )
|
||||
webkit? ( >=net-libs/webkit-gtk-1.1.14:2 )
|
||||
"
|
||||
|
||||
DEPEND="${PLUGINBLOCK}
|
||||
${COMMONDEPEND}
|
||||
app-arch/xz-utils
|
||||
xface? ( >=media-libs/compface-1.4 )
|
||||
virtual/pkgconfig"
|
||||
|
||||
RDEPEND="${COMMONDEPEND}
|
||||
pdf? ( app-text/ghostscript-gpl )
|
||||
clamav? ( app-antivirus/clamav )
|
||||
networkmanager? ( net-misc/networkmanager )
|
||||
perl? ( dev-lang/perl:= )
|
||||
python? ( ${PYTHON_DEPS}
|
||||
>=dev-python/pygtk-2.10.3 )
|
||||
rss? ( net-misc/curl
|
||||
dev-libs/libxml2 )
|
||||
app-misc/mime-types
|
||||
x11-misc/shared-mime-info"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Don't use libsoup-gnome (bug #565924)
|
||||
export HAVE_LIBSOUP_GNOME=no
|
||||
|
||||
local myeconfargs=(
|
||||
$(use_enable debug crash-dialog)
|
||||
$(use_enable valgrind valgrind)
|
||||
$(use_enable doc manual)
|
||||
$(use_enable gtk3)
|
||||
$(use_enable ipv6)
|
||||
$(use_enable ldap)
|
||||
$(use_enable dbus dbus)
|
||||
$(use_enable networkmanager)
|
||||
$(use_enable pda jpilot)
|
||||
$(use_enable session libsm)
|
||||
$(use_enable spell enchant)
|
||||
$(use_enable gnutls)
|
||||
$(use_enable startup-notification)
|
||||
$(use_enable xface compface)
|
||||
$(use_enable archive archive-plugin)
|
||||
$(use_enable bogofilter bogofilter-plugin)
|
||||
$(use_enable calendar vcalendar-plugin)
|
||||
$(use_enable clamav clamd-plugin)
|
||||
$(use_enable gdata gdata-plugin)
|
||||
$(use_enable notification notification-plugin)
|
||||
$(use_enable pdf pdf_viewer-plugin)
|
||||
$(use_enable perl perl-plugin)
|
||||
$(use_enable pgp pgpmime-plugin)
|
||||
$(use_enable pgp pgpinline-plugin)
|
||||
$(use_enable pgp pgpcore-plugin)
|
||||
$(use_enable python python-plugin)
|
||||
$(use_enable rss rssyl-plugin)
|
||||
$(use_enable spamassassin spamassassin-plugin)
|
||||
$(use_enable sieve managesieve-plugin)
|
||||
$(use_enable smime smime-plugin)
|
||||
$(use_enable spam-report spam_report-plugin)
|
||||
$(use_enable webkit fancy-plugin)
|
||||
--enable-alternate-addressbook
|
||||
--enable-nls
|
||||
--enable-acpi_notifier-plugin
|
||||
--enable-address_keeper-plugin
|
||||
--enable-att_remover-plugin
|
||||
--enable-attachwarner-plugin
|
||||
--enable-fetchinfo-plugin
|
||||
--enable-mailmbox-plugin
|
||||
--enable-newmail-plugin
|
||||
--enable-tnef_parse-plugin
|
||||
--disable-generic-umpc
|
||||
--disable-bsfilter-plugin
|
||||
--with-password-encryption=$(usex gnutls gnutls old)
|
||||
)
|
||||
|
||||
# libetpan is needed if user wants nntp or imap functionality
|
||||
if use imap || use nntp; then
|
||||
myeconfargs+=( --enable-libetpan )
|
||||
else
|
||||
myeconfargs+=( --disable-libetpan )
|
||||
fi
|
||||
|
||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local DOCS=( AUTHORS ChangeLog* INSTALL* NEWS README* TODO* )
|
||||
default
|
||||
|
||||
# Makefile install claws-mail.png in /usr/share/icons/hicolor/48x48/apps
|
||||
# => also install it in /usr/share/pixmaps for other desktop envs
|
||||
# => also install higher resolution icons in /usr/share/icons/hicolor/...
|
||||
insinto /usr/share/pixmaps
|
||||
doins ${PN}.png
|
||||
local res resdir
|
||||
for res in 64x64 128x128 ; do
|
||||
resdir="/usr/share/icons/hicolor/${res}/apps"
|
||||
insinto ${resdir}
|
||||
newins ${PN}-${res}.png ${PN}.png
|
||||
done
|
||||
|
||||
docinto tools
|
||||
dodoc tools/README*
|
||||
|
||||
domenu ${PN}.desktop
|
||||
|
||||
einfo "Installing extra tools"
|
||||
cd "${S}"/tools
|
||||
exeinto /usr/$(get_libdir)/${PN}/tools
|
||||
doexe *.pl *.py *.conf *.sh
|
||||
doexe tb2claws-mail update-po uudec uuooffice
|
||||
|
||||
# kill useless files
|
||||
rm -f "${D}"/usr/lib*/claws-mail/plugins/*.{a,la}
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "When upgrading from version 3.9.0 or below some changes have happened:"
|
||||
ewarn "- There are no individual plugins in mail-client/claws-mail-* anymore, but they are integrated mostly controlled through USE flags"
|
||||
ewarn "- Plugins with no special dependencies are just built and can be loaded through the interface"
|
||||
ewarn "- The gtkhtml2, dillo and trayicon plugins have been dropped entirely"
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1 +1,3 @@
|
||||
DIST cura-0.15.04.4.tar.gz 7265105 SHA256 9bce9cec7578792f7008a557930d16216ef97041a62071bb4e2b2a89638f1f54 SHA512 6d386c23731e2e02bc3b15d02aed1810622a57af2727325db29feb48eba8da0758925f3bc11fc6433a4b376706f66e6b00bfb3af2cac24cb184899848e11b1bd WHIRLPOOL cafd4bc3589214c3fc792c770eaa3f3590018f83ae82444c4f495245ab900748edabccb5a6518d9bd5b26295d7a953e3e60295b3baa90baf6abfe8a75012fbf2
|
||||
DIST cura-0.15.04.5_rc5.tar.gz 7266640 SHA256 12d72b1ece64bfc00909866e725f39867c9d82abdd793892df210afd35014c89 SHA512 cafb2b6883838e3e427e3da0388a6cd93d666052d9029eeb98bafad7970c805c271a7599fbdc493164d790f101b92bbd511479d2fc9f91c64f73677c6cee0a2f WHIRLPOOL b6ed8e0f9e17ee4d2c1eae3a8f8a0293529f6a4b362445d9296b47247aab91d521c64541ea9110c8b169eb01661f3cae30583f8f959d4d7bc0a8c255455db58b
|
||||
DIST cura-2.1.0_beta.tar.gz 19784684 SHA256 b81f09307968475e33b03199aaf968e25d2b37fc7db9777b95c03053b1836f83 SHA512 9e4b4f0a93098f9cadf7d8969725e17ac549b6caced602a3d088e65068ab7fcda5a18e7e6f293434e7042360f0e37d87074d82d8884370bfbfc10e07a4212ce2 WHIRLPOOL 19ae138fa4b7c840ffc2d61779a08d48624bc6078fa83a6bec280d1a725e93bad6682d9f21a0cbe3ee4a4343a47a7e6f58d3fd559804f278241c7a5bb7d3cf89
|
||||
|
@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit eutils fdo-mime gnome2-utils python-single-r1
|
||||
|
||||
MY_PV=${PV#0.}
|
||||
MY_PN=Cura
|
||||
SRC_URI="https://github.com/daid/${MY_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
DESCRIPTION="A mesh slicer written in python to produce gcode for 3D printers"
|
||||
HOMEPAGE="https://github.com/daid/Cura"
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-python/wxpython:3.0[opengl,${PYTHON_USEDEP}]
|
||||
>=dev-python/numpy-1.6.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopengl-3.0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyserial-2.6[${PYTHON_USEDEP}]
|
||||
>=media-gfx/curaengine-${PV}
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-python/setuptools-0.6.34[${PYTHON_USEDEP}]"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQ_USE}"
|
||||
PATCHES=( "${FILESDIR}/${P}-nopower.patch" )
|
||||
S="${WORKDIR}/${MY_PN}-${MY_PV}"
|
||||
|
||||
src_prepare() {
|
||||
cat > "${T}"/cura <<- CURAEOF || die
|
||||
#!/bin/sh
|
||||
PYTHONPATH="\$PYTHONPATH:${EPREFIX}/usr/share/cura/" "${PYTHON}" "${EPREFIX}/usr/share/cura/cura.py" "\$@"
|
||||
CURAEOF
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/cura
|
||||
doins -r Cura resources plugins scripts/linux/cura.py
|
||||
newicon "${S}/resources/images/c.png" "cura.png"
|
||||
echo ${PV} > "${ED}"usr/share/cura/version || die
|
||||
dobin "${T}"/cura
|
||||
|
||||
python_optimize $(find "${ED}" -name '*.py' -exec dirname \{\} + | sort -u)
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
|
||||
make_desktop_entry cura \
|
||||
Cura \
|
||||
"${EPREFIX}/usr/share/pixmaps/cura.png" \
|
||||
"Graphics;3DGraphics;Engineering;Development"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -0,0 +1,73 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit eutils fdo-mime gnome2-utils python-single-r1
|
||||
|
||||
MY_PV=${PV#0.}
|
||||
MY_PV=${MY_PV/_rc/-RC}
|
||||
MY_PN=Cura
|
||||
SRC_URI="https://github.com/daid/${MY_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
DESCRIPTION="A mesh slicer written in python to produce gcode for 3D printers"
|
||||
HOMEPAGE="https://github.com/daid/Cura"
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-python/wxpython:3.0[opengl,${PYTHON_USEDEP}]
|
||||
>=dev-python/numpy-1.6.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopengl-3.0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyserial-2.6[${PYTHON_USEDEP}]
|
||||
>=media-gfx/curaengine-${PV}
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-python/setuptools-0.6.34[${PYTHON_USEDEP}]"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQ_USE}"
|
||||
PATCHES=( "${FILESDIR}/${PN}-0.15.04.4-nopower.patch" )
|
||||
S="${WORKDIR}/${MY_PN}-${MY_PV}"
|
||||
|
||||
src_prepare() {
|
||||
cat > "${T}"/cura <<- CURAEOF || die
|
||||
#!/bin/sh
|
||||
PYTHONPATH="\$PYTHONPATH:${EPREFIX}/usr/share/cura/" "${PYTHON}" "${EPREFIX}/usr/share/cura/cura.py" "\$@"
|
||||
CURAEOF
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/cura
|
||||
doins -r Cura resources plugins scripts/linux/cura.py
|
||||
newicon "${S}/resources/images/c.png" "cura.png"
|
||||
echo ${PV} > "${ED}"usr/share/cura/version || die
|
||||
dobin "${T}"/cura
|
||||
|
||||
python_optimize $(find "${ED}" -name '*.py' -exec dirname \{\} + | sort -u)
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
|
||||
make_desktop_entry cura \
|
||||
Cura \
|
||||
"${EPREFIX}/usr/share/pixmaps/cura.png" \
|
||||
"Graphics;3DGraphics;Engineering;Development"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -0,0 +1,90 @@
|
||||
diff -Naur Cura-14.09/Cura/gui/printWindow.py Cura-14.09.new/Cura/gui/printWindow.py
|
||||
--- Cura-14.09/Cura/gui/printWindow.py 2014-09-19 05:44:21.000000000 -0400
|
||||
+++ Cura-14.09.new/Cura/gui/printWindow.py 2014-12-08 16:36:18.410389600 -0500
|
||||
@@ -1,7 +1,6 @@
|
||||
__copyright__ = "Copyright (C) 2013 David Braam - Released under terms of the AGPLv3 License"
|
||||
|
||||
import wx
|
||||
-import power
|
||||
import time
|
||||
import sys
|
||||
import os
|
||||
@@ -319,18 +318,6 @@
|
||||
self.sizer = wx.GridBagSizer(2, 2)
|
||||
self.panel.SetSizer(self.sizer)
|
||||
|
||||
- self.powerWarningText = wx.StaticText(parent=self.panel,
|
||||
- id=-1,
|
||||
- label=_("Your computer is running on battery power.\nConnect your computer to AC power or your print might not finish."),
|
||||
- style=wx.ALIGN_CENTER)
|
||||
- self.powerWarningText.SetBackgroundColour('red')
|
||||
- self.powerWarningText.SetForegroundColour('white')
|
||||
- self.powerManagement = power.PowerManagement()
|
||||
- self.powerWarningTimer = wx.Timer(self)
|
||||
- self.Bind(wx.EVT_TIMER, self.OnPowerWarningChange, self.powerWarningTimer)
|
||||
- self.OnPowerWarningChange(None)
|
||||
- self.powerWarningTimer.Start(10000)
|
||||
-
|
||||
self.statsText = wx.StaticText(self.panel, -1, _("InfoLine from printer connection\nInfoLine from dialog\nExtra line\nMore lines for layout\nMore lines for layout\nMore lines for layout"))
|
||||
|
||||
self.connectButton = wx.Button(self.panel, -1, _("Connect"))
|
||||
@@ -341,7 +328,6 @@
|
||||
self.errorLogButton = wx.Button(self.panel, -1, _("Error log"))
|
||||
self.progress = wx.Gauge(self.panel, -1, range=1000)
|
||||
|
||||
- self.sizer.Add(self.powerWarningText, pos=(0, 0), span=(1, 5), flag=wx.EXPAND|wx.BOTTOM, border=5)
|
||||
self.sizer.Add(self.statsText, pos=(1, 0), span=(1, 5), flag=wx.LEFT, border=5)
|
||||
self.sizer.Add(self.connectButton, pos=(2, 0))
|
||||
#self.sizer.Add(self.loadButton, pos=(2,1))
|
||||
@@ -373,21 +359,6 @@
|
||||
self._printerConnection.openActiveConnection()
|
||||
preventComputerFromSleeping(True)
|
||||
|
||||
- def OnPowerWarningChange(self, e):
|
||||
- type = self.powerManagement.get_providing_power_source_type()
|
||||
- if type == power.POWER_TYPE_AC and self.powerWarningText.IsShown():
|
||||
- self.powerWarningText.Hide()
|
||||
- self.panel.Layout()
|
||||
- self.Layout()
|
||||
- self.Fit()
|
||||
- self.Refresh()
|
||||
- elif type != power.POWER_TYPE_AC and not self.powerWarningText.IsShown():
|
||||
- self.powerWarningText.Show()
|
||||
- self.panel.Layout()
|
||||
- self.Layout()
|
||||
- self.Fit()
|
||||
- self.Refresh()
|
||||
-
|
||||
def OnClose(self, e):
|
||||
if self._printerConnection.hasActiveConnection():
|
||||
if self._printerConnection.isPrinting():
|
||||
diff -Naur Cura-14.09/scripts/linux/cura.py Cura-14.09.new/scripts/linux/cura.py
|
||||
--- Cura-14.09/scripts/linux/cura.py 2014-09-19 05:44:21.000000000 -0400
|
||||
+++ Cura-14.09.new/scripts/linux/cura.py 2014-12-08 16:37:44.840391177 -0500
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/python
|
||||
+#!/usr/bin/python2
|
||||
|
||||
import os, sys
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
import wx
|
||||
import serial
|
||||
import numpy
|
||||
- import power
|
||||
except ImportError as e:
|
||||
if e.message[0:16] == 'No module named ':
|
||||
module = e.message[16:]
|
||||
@@ -20,12 +19,6 @@
|
||||
module = 'pyserial'
|
||||
print 'Requires ' + module
|
||||
|
||||
- if module == 'power':
|
||||
- print "Install from: https://github.com/GreatFruitOmsk/Power"
|
||||
- else:
|
||||
- print "Try sudo easy_install " + module
|
||||
- print e.message
|
||||
-
|
||||
exit(1)
|
||||
|
||||
|
@ -1 +1,2 @@
|
||||
DIST curaengine-0.15.04.6.tar.gz 107970 SHA256 4f2e3c5e74001b39cf5894a1e3f436a7724be0ae9ee30cd02bd2e3fd676ca4b1 SHA512 150e93dca08c57bc37af4c3232c0d18aed93347657d7261f89d7d8352d2774ac7a2a944c3b1efce432b507674f5e99981844823b792ec3fbe47799d2487e899d WHIRLPOOL bb37368709d5399ccb5241ff6b8108d7faffc7e8e8b3b155b28f51b2c4cb00fbafc1ea5c3e2198d007036069bc3cf311755c932ae2f01c2cbaa9caba8dada637
|
||||
DIST curaengine-2.1.0_beta.tar.gz 33322580 SHA256 0db6ca118637972546b04f672bc0cbecbe29b772a3586c7ca5441dc4ae7a7c85 SHA512 23b1e1116fad8e75354a92b8320a228a0b7acb03bcdffa175b8b6f47af0b8af099efdc3c75f840d172fc157d432a05c741a5028f3b8da1e7fc1dd8cf158115fb WHIRLPOOL 45520cf601b5ee2e2845e69f85d051f426317bc38c69b7d1dfe2632bb211b39d7286a747d9d0963e4d20d13c0def8d50dd69fdaf0a027187ec2ad9fd717c13fe
|
||||
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
MY_PV=${PV#0.}
|
||||
MY_PN=CuraEngine
|
||||
|
||||
SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DESCRIPTION="A 3D model slicing engine for 3D printing"
|
||||
HOMEPAGE="https://github.com/Ultimaker/CuraEngine"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND=""
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${MY_PV}"
|
||||
PATCHES=( "${FILESDIR}"/${P}-cflags.patch )
|
||||
|
||||
src_prepare() {
|
||||
tc-export CXX
|
||||
default
|
||||
}
|
||||
|
||||
src_test() {
|
||||
pushd tests 2>&- || die
|
||||
einfo "Commencing test ..."
|
||||
local testbin=( "${S}/build/CuraEngine" "-c" "supportAngle=60" "-c" "supportEverywhere=1" )
|
||||
local testmdl="${S}/tests/testModel.stl"
|
||||
${testbin[*]} "${testmdl}"
|
||||
if [[ $? -eq 0 && -f "${testbin[0]}" && -f "${testmdl}" ]]; then
|
||||
einfo "Test completed successfully."
|
||||
else
|
||||
ewarn "Test failed."
|
||||
fi
|
||||
popd 2>&- || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin build/CuraEngine
|
||||
dodoc README.md
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 32fa704..c426ef8 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -18,9 +18,9 @@ endif
|
||||
ifeq ($(BUILD_TYPE),PROFILE)
|
||||
CFLAGS+= -pg
|
||||
endif
|
||||
-ifeq ($(BUILD_TYPE),RELEASE)
|
||||
- CFLAGS+= -O3 -fomit-frame-pointer
|
||||
-endif
|
||||
+#ifeq ($(BUILD_TYPE),RELEASE)
|
||||
+# CFLAGS+= -O3 -fomit-frame-pointer
|
||||
+#endif
|
||||
|
||||
LDFLAGS += -Lbuild/ -lclipper
|
||||
|
||||
# By courtesy of Whissi: this enforces use of our CXXFLAGS
|
||||
@@ -70,7 +70,7 @@ $(BUILD_DIR)/libclipper.a: $(LIBS_DIR)/clipper/clipper.cpp
|
||||
$(CXX) $(CFLAGS) -o $(BUILD_DIR)/libclipper.a $(LIBS_DIR)/clipper/clipper.cpp
|
||||
|
||||
$(EXECUTABLE): $(OBJECTS) $(BUILD_DIR)/libclipper.a
|
||||
- $(CXX) $(OBJECTS) -o $@ $(LDFLAGS)
|
||||
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) $(OBJECTS) -o $@
|
||||
|
||||
$(DIRS):
|
||||
-@$(MKDIR_PREFIX) $(DIRS)
|
@ -1,3 +1,4 @@
|
||||
DIST ImageMagick-6.9.4-6.tar.xz 8785300 SHA256 c028642af5f4cbae864b4afd6ea96878191be64103ca9c7cc67612ec3cbb9dec SHA512 2984533e6b5c3e09d2e270c27ce9c3316499e622ed0b657e17baede5e380778d496626e3f47a32572a8c9a3a4b5257004ecf51b66ada762375516fbdffd0707d WHIRLPOOL 2ecb83b7f6790db17632eae822de64bd05b7bcb6839eb686e34f95c31ebeddc2023960005cf6d956d2692d79733b7f15e7a6355a0af2d98546f7c3e04c16b626
|
||||
DIST ImageMagick-6.9.4-7.tar.xz 8792244 SHA256 f54fc8dcdb328404d1f89ddebe75d603e22894d3786ca2f2a9677478135b4c86 SHA512 63f6baa85da88510c6afff85569f55fe0e543f9f46e2e90f7c8f78dc83907656ed689781856d0e6a9c959deffe601a654cda1057fec62d03d2c5f54ed3f2f84e WHIRLPOOL 1c5c95527d10219f4e82ea8645c571b6005c764ed286c11e6b3eebb1944c9ff880b5f9030bd6bf7c5bc4917ada50878b343a0a4c8930f7b59b8007f3119d46a3
|
||||
DIST ImageMagick-7.0.1-9.tar.xz 8288780 SHA256 876cf76ce84657af5b1e28414d0c75911029ed3dd47c791e8a10d5c3f6014894 SHA512 1be64919f5ac2bfbfbdc97c91301339f1d66fb13c08a62ac6a362a6243d8d1ecfbc4353ec430b5accbeca3f4defb5b9e51c1a4fbfb6764e5ab2b9c1bf7dc21ae WHIRLPOOL 190065a757694d2dfab861184b5eab0a769049afdebffc9e58403321d9ff01bf6cc51a5fbbd5f942eb52667093786df33c79b1436646835b25259ec3d1b8a2fd
|
||||
DIST ImageMagick-6.9.5-5.tar.xz 8784240 SHA256 b3b5cc1989a53b8847ffdc3b5ed740ba0c9c4e9b103cbbac7d0a78e5b7d2936f SHA512 b7ac42dbbcc243a685781ab83611d78e7535a63df6c230e9281b11d67232675197c9ed505e5dd15ff89acc8dd0dd4488728cc24dc93accbad914effe0772324c WHIRLPOOL 85be996dad1f3d38bfc426b810d15b8d47d2c353b9028f2d2be2c82732fdd82b602aa7ff36b95733f3e5758893edd0f6f257fde41dc9d8b6bfa1d8d02f4dbd23
|
||||
DIST ImageMagick-7.0.2-7.tar.xz 8289992 SHA256 1168f44cfcd1243acda6bb9663f5d9b3a4bca2acd372e979b97b58ecf5c713e2 SHA512 83a95fa1b03642d53f15d209e05c1fd7b55b24fe726d67d3689d0103592bc685d50598b0ee3720e90dc23c861afc501f3ce5645df027936dfd7de84897d6bd25 WHIRLPOOL 3af96106141a9cfea24106d27027cc86d721d696b7a996925eb6ef08625a1a8ed6d0531d1c991297ef8b5716cb6260c565fb6f81aa3007c931991399f9d61efc
|
||||
|
@ -0,0 +1,178 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils flag-o-matic libtool multilib toolchain-funcs versionator
|
||||
|
||||
MY_P=ImageMagick-$(replace_version_separator 3 '-')
|
||||
|
||||
DESCRIPTION="A collection of tools and libraries for many image formats"
|
||||
HOMEPAGE="http://www.imagemagick.org/"
|
||||
SRC_URI="mirror://${PN}/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="imagemagick"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="autotrace bzip2 corefonts cxx djvu fftw fontconfig fpx graphviz hdri jbig jpeg jpeg2k lcms lqr lzma opencl openexr openmp pango perl png postscript q32 q64 q8 raw static-libs svg test tiff truetype webp wmf X xml zlib"
|
||||
|
||||
RESTRICT="perl? ( userpriv )"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libltdl:0
|
||||
autotrace? ( >=media-gfx/autotrace-0.31.1 )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
corefonts? ( media-fonts/corefonts )
|
||||
djvu? ( app-text/djvu )
|
||||
fftw? ( sci-libs/fftw:3.0 )
|
||||
fontconfig? ( media-libs/fontconfig )
|
||||
fpx? ( >=media-libs/libfpx-1.3.0-r1 )
|
||||
graphviz? ( media-gfx/graphviz )
|
||||
jbig? ( >=media-libs/jbigkit-2:= )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
jpeg2k? ( >=media-libs/openjpeg-2.1.0:2 )
|
||||
lcms? ( media-libs/lcms:2= )
|
||||
lqr? ( media-libs/liblqr )
|
||||
opencl? ( virtual/opencl )
|
||||
openexr? ( media-libs/openexr:0= )
|
||||
pango? ( x11-libs/pango )
|
||||
perl? ( >=dev-lang/perl-5.8.8:0= )
|
||||
png? ( media-libs/libpng:0= )
|
||||
postscript? ( app-text/ghostscript-gpl )
|
||||
raw? ( media-gfx/ufraw )
|
||||
svg? ( gnome-base/librsvg )
|
||||
tiff? ( media-libs/tiff:0= )
|
||||
truetype? (
|
||||
media-fonts/urw-fonts
|
||||
>=media-libs/freetype-2
|
||||
)
|
||||
webp? ( media-libs/libwebp:0= )
|
||||
wmf? ( media-libs/libwmf )
|
||||
X? (
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libXext
|
||||
x11-libs/libXt
|
||||
)
|
||||
xml? ( dev-libs/libxml2:= )
|
||||
lzma? ( app-arch/xz-utils )
|
||||
zlib? ( sys-libs/zlib:= )"
|
||||
DEPEND="${RDEPEND}
|
||||
!media-gfx/graphicsmagick[imagemagick]
|
||||
virtual/pkgconfig
|
||||
X? ( x11-proto/xextproto )"
|
||||
|
||||
REQUIRED_USE="corefonts? ( truetype )
|
||||
test? ( corefonts )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
elibtoolize # for Darwin modules
|
||||
|
||||
# For testsuite, see https://bugs.gentoo.org/show_bug.cgi?id=500580#c3
|
||||
shopt -s nullglob
|
||||
mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
|
||||
if test -n "${mesa_cards}"; then
|
||||
addpredict "${mesa_cards}"
|
||||
fi
|
||||
ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g')
|
||||
if test -n "${ati_cards}"; then
|
||||
addpredict "${ati_cards}"
|
||||
fi
|
||||
shopt -u nullglob
|
||||
addpredict /dev/nvidiactl
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local depth=16
|
||||
use q8 && depth=8
|
||||
use q32 && depth=32
|
||||
use q64 && depth=64
|
||||
|
||||
local openmp=disable
|
||||
use openmp && { tc-has-openmp && openmp=enable; }
|
||||
|
||||
[[ ${CHOST} == *-solaris* ]] && append-ldflags -lnsl -lsocket
|
||||
|
||||
CONFIG_SHELL=$(type -P bash) \
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable hdri) \
|
||||
$(use_enable opencl) \
|
||||
--with-threads \
|
||||
--with-modules \
|
||||
--with-quantum-depth=${depth} \
|
||||
$(use_with cxx magick-plus-plus) \
|
||||
$(use_with perl) \
|
||||
--with-perl-options='INSTALLDIRS=vendor' \
|
||||
--with-gs-font-dir="${EPREFIX}"/usr/share/fonts/urw-fonts \
|
||||
$(use_with bzip2 bzlib) \
|
||||
$(use_with X x) \
|
||||
$(use_with zlib) \
|
||||
$(use_with autotrace) \
|
||||
$(use_with postscript dps) \
|
||||
$(use_with djvu) \
|
||||
--with-dejavu-font-dir="${EPREFIX}"/usr/share/fonts/dejavu \
|
||||
$(use_with fftw) \
|
||||
$(use_with fpx) \
|
||||
$(use_with fontconfig) \
|
||||
$(use_with truetype freetype) \
|
||||
$(use_with postscript gslib) \
|
||||
$(use_with graphviz gvc) \
|
||||
$(use_with jbig) \
|
||||
$(use_with jpeg) \
|
||||
$(use_with jpeg2k openjp2) \
|
||||
$(use_with lcms) \
|
||||
$(use_with lqr) \
|
||||
$(use_with lzma) \
|
||||
$(use_with openexr) \
|
||||
$(use_with pango) \
|
||||
$(use_with png) \
|
||||
$(use_with svg rsvg) \
|
||||
$(use_with tiff) \
|
||||
$(use_with webp) \
|
||||
$(use_with corefonts windows-font-dir "${EPREFIX}"/usr/share/fonts/corefonts) \
|
||||
$(use_with wmf) \
|
||||
$(use_with xml) \
|
||||
--${openmp}-openmp \
|
||||
--with-gcc-arch=no-automagic
|
||||
}
|
||||
|
||||
src_test() {
|
||||
LD_LIBRARY_PATH="${S}/coders/.libs:${S}/filters/.libs:${S}/Magick++/lib/.libs:${S}/magick/.libs:${S}/wand/.libs" \
|
||||
emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Ensure documentation installation files and paths with each release!
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
DOCUMENTATION_PATH="${EPREFIX}"/usr/share/doc/${PF}/html \
|
||||
install
|
||||
|
||||
rm -f "${ED}"/usr/share/doc/${PF}/html/{ChangeLog,LICENSE,NEWS.txt}
|
||||
dodoc {AUTHORS,README}.txt ChangeLog
|
||||
|
||||
if use perl; then
|
||||
find "${ED}" -type f -name perllocal.pod -exec rm -f {} +
|
||||
find "${ED}" -depth -mindepth 1 -type d -empty -exec rm -rf {} +
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} +
|
||||
|
||||
if use opencl; then
|
||||
cat <<-EOF > "${T}"/99${PN}
|
||||
SANDBOX_PREDICT="/dev/nvidiactl:/dev/ati/card:/dev/dri/card"
|
||||
EOF
|
||||
|
||||
insinto /etc/sandbox.d
|
||||
doins "${T}"/99${PN} #472766
|
||||
fi
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins config/*icm
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Audio metadata tag reader and writer implemented in pure Python"
|
||||
HOMEPAGE="https://bitbucket.org/lazka/mutagen https://pypi.python.org/pypi/mutagen"
|
||||
SRC_URI="https://bitbucket.org/lazka/${PN}/downloads/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux"
|
||||
IUSE="doc test"
|
||||
|
||||
# TODO: Missing support for >=dev-python/eyeD3-0.7 API
|
||||
# test? ( >=dev-python/eyeD3-0.7 )
|
||||
DEPEND="
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# tests/test_flac.py uses temp files with a constant path.
|
||||
# If we had multiple python implementations, we would hit a race.
|
||||
distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local DOCS=( NEWS README.rst )
|
||||
use doc && local HTML_DOCS=( docs/_build/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST rtaudio-4.0.12.tar.gz 330048 SHA256 5179056c796b9582e375d352efa0598e674b9719cf78a85a426517b375ff1cab SHA512 43068cafaf460425334588775bbeee115d1651142d8fa62808880296763952159bff297c482e6d58200cfb6d382205778405993dbbb3a769e4b1228ff0aee3b6 WHIRLPOOL 252fc02dbebdc1777314a97e4acc18ce615f78a82a12cdf6bcf2759867a3da6c755977dec832351c5b86aec7825d07882024179703c746e654a5f7bc2d32b9ce
|
||||
DIST rtaudio-4.1.2.tar.gz 682382 SHA256 294d044da313a430c44d311175a4f51c15d56d87ecf72ad9c236f57772ecffb8 SHA512 1e7f7f0f4dc451d023a7c8ab287fe63034cf6b4e18fe138bab253c307d6dd0cddb669b031f6c21325aaac0ce53002acd2a17dd1e47bd8ac2cb14e058cfce1a21 WHIRLPOOL c1e76424c02c43b7328ea4eb7ff632477d2eace02c9d4b9b4ba029cce4f939263a2f4035288503f65efe9a7bf93ddc797e341d7a64d0864c49f19526125860d3
|
||||
|
@ -0,0 +1,12 @@
|
||||
--- rtaudio-4.1.2/configure.ac
|
||||
+++ rtaudio-4.1.2/configure.ac
|
||||
@@ -62,8 +62,7 @@
|
||||
AC_MSG_CHECKING(whether to compile debug version)
|
||||
AC_ARG_ENABLE(debug,
|
||||
[AS_HELP_STRING([--enable-debug],[enable various debug output])],
|
||||
- [: ${CXXFLAGS="-g -O0"};] [AC_DEFINE([__RTAUDIO_DEBUG__])],
|
||||
- [: ${CXXFLAGS="-O3"}])
|
||||
+ [AC_DEFINE([__RTAUDIO_DEBUG__])], )
|
||||
|
||||
# Checks for programs.
|
||||
AC_PROG_CXX(g++ CC c++ cxx)
|
@ -0,0 +1,68 @@
|
||||
--- rtaudio-4.1.2/configure.ac
|
||||
+++ rtaudio-4.1.2/configure.ac
|
||||
@@ -69,9 +69,9 @@
|
||||
AC_PROG_CXX(g++ CC c++ cxx)
|
||||
AM_PROG_AR
|
||||
AC_PATH_PROG(AR, ar, no)
|
||||
-if [[ $AR = "no" ]] ; then
|
||||
- AC_MSG_ERROR("Could not find ar - needed to create a library");
|
||||
-fi
|
||||
+AS_IF([test "x$AR" == "x" ], [
|
||||
+ AC_MSG_ERROR("Could not find ar - needed to create a library")
|
||||
+])
|
||||
|
||||
# Initialize libtool
|
||||
LT_INIT([win32-dll])
|
||||
@@ -131,38 +130,41 @@
|
||||
;;
|
||||
|
||||
*-*-linux*)
|
||||
- AC_ARG_WITH(jack, [ --with-jack = choose JACK server support (mac and linux only)], [
|
||||
+ AC_ARG_WITH([jack], AS_HELP_STRING([--with-jack], [choose JACK server support (mac and linux only)]))
|
||||
+ AS_IF([test "x$with_jack" != "xno"], [
|
||||
api="$api -D__UNIX_JACK__"
|
||||
AC_MSG_RESULT(using JACK)
|
||||
AC_CHECK_LIB(jack, jack_client_open, , AC_MSG_ERROR(JACK support requires the jack library!))
|
||||
- AC_CHECK_LIB(asound, snd_pcm_open, , AC_MSG_ERROR(Jack support also requires the asound library!))], )
|
||||
+ AC_CHECK_LIB(asound, snd_pcm_open, , AC_MSG_ERROR(Jack support also requires the asound library!))])
|
||||
|
||||
# Look for ALSA flag
|
||||
- AC_ARG_WITH(alsa, [ --with-alsa = choose native ALSA API support (linux only)], [
|
||||
+ AC_ARG_WITH([alsa], AS_HELP_STRING([--with-alsa], [choose native ALSA API support (linux only)]))
|
||||
+ AS_IF([test "x$with_alsa" != "xno"], [
|
||||
api="$api -D__LINUX_ALSA__"
|
||||
req="$req alsa"
|
||||
AC_MSG_RESULT(using ALSA)
|
||||
- AC_CHECK_LIB(asound, snd_pcm_open, , AC_MSG_ERROR(ALSA support requires the asound library!))], )
|
||||
+ AC_CHECK_LIB(asound, snd_pcm_open, , AC_MSG_ERROR(ALSA support requires the asound library!))])
|
||||
|
||||
# Look for PULSE flag
|
||||
- AC_ARG_WITH(pulse, [ --with-pulse = choose PulseAudio API support (linux only)], [
|
||||
+ AC_ARG_WITH([pulse], AS_HELP_STRING([--with-pulse], [choose PulseAudio API support (linux only)]))
|
||||
+ AS_IF([test "x$with_pulse" != "xno"], [
|
||||
api="$api -D__LINUX_PULSE__"
|
||||
req="$req libpulse-simple"
|
||||
AC_MSG_RESULT(using PulseAudio)
|
||||
- AC_CHECK_LIB(pulse-simple, pa_simple_flush, , AC_MSG_ERROR(PulseAudio support requires the pulse-simple library!))], )
|
||||
+ AC_CHECK_LIB(pulse-simple, pa_simple_flush, , AC_MSG_ERROR(PulseAudio support requires the pulse-simple library!))])
|
||||
|
||||
# Look for OSS flag
|
||||
- AC_ARG_WITH(oss, [ --with-oss = choose OSS API support (linux only)], [
|
||||
+ AC_ARG_WITH([oss], AS_HELP_STRING([--with-oss], [choose OSS API support (linux only)]))
|
||||
+ AS_IF([test "x$with_oss" != "xno"], [
|
||||
api="$api -D__LINUX_OSS__"
|
||||
- AC_MSG_RESULT(using OSS)], )
|
||||
+ AC_MSG_RESULT(using OSS)])
|
||||
|
||||
# If no audio api flags specified, use ALSA
|
||||
- if [test "$api" == "";] then
|
||||
+ AS_IF([test "x$api" == "x"], [
|
||||
AC_MSG_RESULT(using ALSA)
|
||||
AC_SUBST( api, [-D__LINUX_ALSA__] )
|
||||
req="$req alsa"
|
||||
- AC_CHECK_LIB(asound, snd_pcm_open, , AC_MSG_ERROR(ALSA support requires the asound library!))
|
||||
- fi
|
||||
+ AC_CHECK_LIB(asound, snd_pcm_open, , AC_MSG_ERROR(ALSA support requires the asound library!))])
|
||||
|
||||
AC_CHECK_LIB(pthread, pthread_create, , AC_MSG_ERROR(RtAudio requires the pthread library!))
|
||||
;;
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue