parent
b4134d1a3a
commit
ef62e11e58
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST borgbackup-1.1.10.tar.gz 3610011 BLAKE2B 9c13d89a0441b5403019ed24b2f36fd55f4d133219b68802b79c76f5086324f4a249124a89c67049fecbadb78d5dae64b007ed6c53a579c115ce248db3e83054 SHA512 9315335208f10427e3105e10819817d15fd05171479252903bd51eaacb016bc3ff792d505b9203ce0b9b41ec350472bdb9a23b0128e7fe156aaa47c1608451c0
|
||||
DIST borgbackup-1.1.8.tar.gz 3456058 BLAKE2B cad55216f92025418e1a427f4b578d6b7eafa03f6b3e9c4fccb148dd3856c4f6649928fb4227249c534add125f9b3a2a0b6ed808ae12c5e60a28f9df4fb0031a SHA512 1455e68bcedab8f35f9426dc73958c6a6565ad1f1cc274ce59d34a12e3a7bfa1d12fa2b8e8dd3e71824e1cd0927babf79f4e99d4e516454ed12dbd3970d0e921
|
||||
DIST borgbackup-1.1.9.tar.gz 3468259 BLAKE2B 91c89304cf22328a0bd74583c22370343915209a204f52c65290dbec0cb688392c2e80b946a55317f8c58ef23099e710c16a34c6bfbbfb547a3e4b38c3c81c37 SHA512 466288258700fb0b3dae936c79fd423d26bea2d721dd70112b3cfd0f8e2bb335144a00de76743c31d336f6c19793775260d154326ec70d6d6d0a4e5ad6a59e59
|
||||
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{5,6} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/${PN}/borg.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Deduplicating backup program with compression and authenticated encryption"
|
||||
HOMEPAGE="https://borgbackup.readthedocs.io/"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="libressl"
|
||||
|
||||
# Unfortunately we have a file conflict with app-office/borg, bug #580402
|
||||
RDEPEND="
|
||||
!!app-office/borg
|
||||
app-arch/lz4
|
||||
virtual/acl
|
||||
dev-python/llfuse[${PYTHON_USEDEP}]
|
||||
~dev-python/msgpack-0.5.6[${PYTHON_USEDEP}]
|
||||
dev-python/pyzmq[${PYTHON_USEDEP}]
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
${RDEPEND}
|
||||
"
|
||||
|
||||
python_prepare_all() {
|
||||
# allow use of new (renamed) msgpack
|
||||
sed -i "s|'msgpack-python.*',||g" setup.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
DIST dar-2.5.11.tar.gz 1891928 BLAKE2B 536cccca2533f7ddbc8b95972fe00e9c87a404481e6afbd7aa3634c00598403c18950eb876aefe71a818c3bf4df75bff5f3904dc69bd1d75880f6c8a349911a5 SHA512 36b90218a34ac7f41ce9ca0a2167cfb2fd243b23b8e84350153e8804f0faabf87291b4e4b061533bcb0ca079f087c074eeaa12a54ee8084dd386a072ac503847
|
||||
DIST dar-2.5.18.tar.gz 1931746 BLAKE2B 3d47665a1ab955ab9467d8f10a686565c549e1be57e77a9bcf65f1ea25c9b70d6d148d4b9dc35112b3ca74f9df05505c74e3a7eaa211b6a8b466308121206a2f SHA512 cde787bb4c3a3a1014efdb5e437b963d762eb87c512e1de1d60471035c535965e03adb5f75abc2bc95633bb6fb61226027d836a87fc903995e3a27a540632e69
|
||||
DIST dar-2.6.1.tar.gz 2098547 BLAKE2B 6c1fe1670cf46faefe04544f3d7fce0dc819e24a493c6bc903465a11e4b25a9642faf68a0bb66a2c6a92bba2782f24c5694b14571ff2c205f7954941f14aca63 SHA512 492c9ce6d7928271e5b7f263773b2129c7a237ca192cd40698848d3bcf212224c76d29c3e33ff5a8642594697f5bba660f5e97d1c7529a5794e078f2de0716e9
|
||||
DIST dar-2.6.2.tar.gz 2100192 BLAKE2B 1eb2f92e5162070a75182741f850e79932593f68fd1f31a4a1d19af77c6f86df0c8e5b995b5ccd265f051891827bfa89bf71832cb7ce6f97d9ab70e768c867b4 SHA512 88f128f99a3fe22866056e2fc881276c13731004e40437f9e2c363c4e24f603ab5b9fe7126e4f950526ccfc1b6f86fe1a4494036e83e1faf9a647ce239293ea4
|
||||
DIST dar-2.6.3.tar.gz 2110304 BLAKE2B 638bf949066c7c59e139f7a4d54d427dd86eb7d254f0cfff3cc977d75abb17d1c69d37018c46a9fab9be38193e758fd70d1598c32a98bb6f0006f97c356a4ff6 SHA512 3e3e1fa92a6954ac745dce9ecd4e82589bde562760f6cd5402fae9250f84e2df4784672ae9b0c4fa0e0baf5b2b642a025fa694a5975a5346e890655b65d93783
|
||||
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST bonnie++-1.97.2.tgz 102533 BLAKE2B 019182c08b9ff7ba60e421f94039c09d27855f9e5b313f451721afdaedc9dc694b468bb30e78a04b655ec9a358ace3d68b13fc8f4d80ca3c48e0ff9387525b57 SHA512 e8303720be9a4ebcc454dbc8906a6843d63909c5101d66524a126ce0db3db7113d01edb7ed2f292bf9d08a6799579c4960f0ee4595019fbacda1601eba52a170
|
||||
DIST bonnie++-1.97.3.tgz 100166 BLAKE2B 30feca43a2ec37b795168d37bb941241777718222d7e0681dc85a34f8691e76b4306850e41dc6bbfb3f0ad34123ecd1c12396efea99e2ade12206aa6e78708e8 SHA512 44de20b5e46aeaf7f7214766b3c555b8799138f6fd92f87fe9b7dfa6f19815c629d6122c2ef4e4d98a5528dbfcd4c70b3b850eeba05739f6dd20251bf8d7c893
|
||||
DIST bonnie++-1.98.tgz 100339 BLAKE2B 2a75cbeb881fd12727b5edf4e67789e64bd624b1885cdaf83fe3fc920fb2346e98faea2d9ce5da6fac8a84318a9cbda013afa2c9809892b23d3cf85c5a70982b SHA512 3cf70be4a20c58c80e29a140ec6d3c3884f1b4101e0fb63da0ea831fe4a5eb4e275bda2ce4eaf7d9c2bfb65742e985249b491cda8bdad85984a62f2fc19756c0
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Hard drive bottleneck testing benchmark suite"
|
||||
HOMEPAGE="https://www.coker.com.au/bonnie++/"
|
||||
SRC_URI="https://www.coker.com.au/${PN}/${P}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
S="${WORKDIR}/${P}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.96-compile-flags.patch" #426788
|
||||
"${FILESDIR}"/${PN}-1.97-zcav-array-indexing-fix.patch #309319
|
||||
)
|
||||
|
||||
DOCS=( README.txt README-2.00 debian/changelog credits.txt )
|
||||
HTML_DOCS=( readme.html )
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(usex debug "--enable-debug" "") \
|
||||
--disable-stripping
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bonnie++ zcav bon_csv2html bon_csv2txt
|
||||
sed -i -e \
|
||||
"s:/usr/share/doc/bonnie++:${EPREFIX}/usr/share/doc/${PF}/html:g" \
|
||||
bonnie++.8 || die #431684
|
||||
doman bon_csv2html.1 bon_csv2txt.1 bonnie++.8 zcav.8
|
||||
einstalldocs
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,12 @@
|
||||
diff --git a/hw/rdma/rdma_backend.c b/hw/rdma/rdma_backend.c
|
||||
index d1660b64..86715bfd 100644
|
||||
--- a/hw/rdma/rdma_backend.c
|
||||
+++ b/hw/rdma/rdma_backend.c
|
||||
@@ -21,7 +21,6 @@
|
||||
#include "qapi/qapi-events-rdma.h"
|
||||
|
||||
#include <infiniband/verbs.h>
|
||||
-#include <infiniband/umad_types.h>
|
||||
#include <infiniband/umad.h>
|
||||
#include <rdma/rdma_user_cm.h>
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST goobook-1.9.tar.gz 29274 BLAKE2B 1c2b0b04a7bd21135395d9c3965095973d6a67a9ecb1a6bbe948864eb8bd0e4ed86197de6f5545ce112cc8538abb5ab9fb773b72b569bc9f16c67dcbcd432d5e SHA512 66d017bfa0fcad39d24b80e454d4d2e97f92a95f6dbf545739b89721b8c44702177a7f656d9cf1f38ac8278f235935afe666047cbfb64733f8deae6838f91d81
|
||||
DIST goobook-3.3.tar.gz 34964 BLAKE2B f57a0252467220e734b95714c4086bdf233902dbd93fe9259504a2aee5d8f6c51775d0aa94574defd37dd80673e1483c46eef52154f4f99f20fa6abd1f7545ac SHA512 3921d25b55b35dc18944f8ed700e0f23ab1ad51131a4b98469b0b6a1688ddd79d31c16b36600b4f7b003be64964b3c2c78a257b28805b26ae697bf405d77c409
|
||||
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit distutils-r1 readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="Access your Google contacts from the command line"
|
||||
HOMEPAGE="https://gitlab.com/goobook/goobook"
|
||||
SRC_URI="mirror://pypi/g/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
>=dev-python/google-api-python-client-1.6.4[${PYTHON_USEDEP}]"
|
||||
# dev-python/{simplejson,oauth2client} are deps for the above
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
DISABLE_AUTOFORMATTING=1
|
||||
DOC_CONTENTS="
|
||||
To setup initial authentication, execute:
|
||||
|
||||
~ $ goobook authenticate
|
||||
|
||||
If you want to use goobook from mutt, add this in your .muttrc file:
|
||||
set query_command=\"goobook query '%s'\"
|
||||
to query address book.
|
||||
|
||||
You may find more information and advanced configuration tips at
|
||||
https://pypi.org/project/${PN}/${PV} in \"Configure/Mutt\" section"
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
}
|
@ -1,8 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="pypi">goobook</remote-id>
|
||||
</upstream>
|
||||
<maintainer type="person">
|
||||
<name>Kalin KOZHUHAROV</name>
|
||||
<email>kalin@thinrope.net</email>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">goobook</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
Binary file not shown.
@ -1,4 +1,3 @@
|
||||
DIST homebank-5.1.3.tar.gz 2686661 BLAKE2B bd43e3bc2d5d2c42e80cfc32b2beaa923b7c9110a71a703e52d45f302d16c5d8582cbb1c8463d4457b578844c357a20e7aed67c71a11d1baabf6dfec54960d3f SHA512 c95ac2871c3219d734aeb35d11e1e678efc50e166e2f8c1f05971fd341ac1598d6d672bd4b7cd7bcc206443af5305c9e1eb0557c3fcaab1ea35f4950acdef103
|
||||
DIST homebank-5.1.8.tar.gz 2745061 BLAKE2B b2e95a65f0d352fe167aa589683f3053d6b623f0240c348ea8c08f02f66b308b84873494eb7c307bbde15be28d7feb71ef966d0ae1bbb4d2cc5d22e53a68de08 SHA512 24c02b30878b920fdf8ee190fd8cfcdead1ecb971495880db8a49ca771f4cd140a2c1ff4eb09f3e6770be694480b84c5ff3b0d49568ce81c86e83b95797dbed4
|
||||
DIST homebank-5.2.2.tar.gz 2601784 BLAKE2B e0a66cebbdc9247aeba9946c4adf5b6677abb49cd93d212fc8008c44c53a21966ee4fa1291f887196fe3168de992a892d54fe82aec228a88f613b45358076dd2 SHA512 83ccf7f96b1eb9f2e5c134b151dce53790092e2ecb06f5e6a5e50057d6a32cde6cf45b9e98c07a81e7f224d33dae5d98e4693e57c413df675f63d21b418525b0
|
||||
DIST homebank-5.2.3.tar.gz 2665397 BLAKE2B d197a113b1387c414ba8d11ebe012d0887dbfb1d9eb20c61197e0ddcf87da64e09b2bff108c07b350a1326f8b935fb4c8d56f14240e9815df5b021ab75a3f7dc SHA512 7b6530aa609ea047a19aadb65e459406226cc94d07a5a44e7ba06535cafcfe52e8b2471644b2bffbeb20cd699167858d2787ebdbc45166e4c7720fbff717b3de
|
||||
|
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit xdg-utils gnome2-utils
|
||||
|
||||
DESCRIPTION="Free, easy, personal accounting for everyone"
|
||||
HOMEPAGE="http://homebank.free.fr/index.php"
|
||||
SRC_URI="http://homebank.free.fr/public/${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="+ofx"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.39
|
||||
>=net-libs/libsoup-2.26
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf
|
||||
>=x11-libs/gtk+-3.22:3
|
||||
x11-libs/pango
|
||||
ofx? ( >=dev-libs/libofx-0.8.3 )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-lang/perl-5.8.1
|
||||
dev-perl/XML-Parser
|
||||
>=dev-util/intltool-0.40.5
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog README )
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with ofx)
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
Binary file not shown.
@ -0,0 +1 @@
|
||||
DIST elicense-1.0.1.tar.gz 9260 BLAKE2B b5782412de613bce009ff1d685de6af9a129afadd131a91328cfd02d55c416e5c7549aacf676c4596a4512de4e3a42d2b89c24d2367404177e9675a7fdc35d94 SHA512 3b7b412742a9b67b5c4dda10838d6380c1f18199bcaa87458f30b06bff068228f64364d336d1daf4b95df6c1889ae9de7f277dea3defd18dbf74d50fc9381500
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
|
||||
inherit distutils-r1
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/Whissi/elicense.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/Whissi/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-fbsd"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Tool to find installed packages in Gentoo with non-accepted license(s)"
|
||||
HOMEPAGE="https://github.com/Whissi/elicense"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=sys-apps/portage-2.3.62[${PYTHON_USEDEP}]"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
local MY_PV=${PV}
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
local last_commit=$(git rev-parse HEAD)
|
||||
MY_PV="${last_commit:0:7}-git"
|
||||
fi
|
||||
|
||||
sed -i -e "s/^MY_PV =.*$/MY_PV = \"${MY_PV}\"/" \
|
||||
elicense || die "Failed to sed in version."
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
|
||||
inherit distutils-r1
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/Whissi/elicense.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/Whissi/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-fbsd"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Tool to find installed packages in Gentoo with non-accepted license(s)"
|
||||
HOMEPAGE="https://github.com/Whissi/elicense"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=sys-apps/portage-2.3.62[${PYTHON_USEDEP}]"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
local MY_PV=${PV}
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
local last_commit=$(git rev-parse HEAD)
|
||||
MY_PV="${last_commit:0:7}-git"
|
||||
fi
|
||||
|
||||
sed -i -e "s/^MY_PV =.*$/MY_PV = \"${MY_PV}\"/" \
|
||||
elicense || die "Failed to sed in version."
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>whissi@gentoo.org</email>
|
||||
<name>Thomas Deutschmann</name>
|
||||
</maintainer>
|
||||
<stabilize-allarches/>
|
||||
<upstream>
|
||||
<remote-id type="github">Whissi/elicense</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,567 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Utilities for users of Gentoo Prefix"
|
||||
HOMEPAGE="https://prefix.gentoo.org/"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
||||
[[ ${PV} == 9999 ]] ||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||||
|
||||
BDEPEND="
|
||||
>sys-apps/portage-2.3.62
|
||||
"
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
!app-portage/prefix-chain-setup
|
||||
!sys-apps/prefix-chain-utils
|
||||
prefix-stack? (
|
||||
>=sys-apps/baselayout-prefix-2.6
|
||||
)
|
||||
"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
my_unpack() {
|
||||
local infile=$1
|
||||
local outfile=${2:-${infile}}
|
||||
ebegin "extracting ${outfile}"
|
||||
sed -ne "/^: ${infile} /,/EOIN/{/EOIN/d;p}" "${EBUILD}" \
|
||||
> "${outfile}" || die "Failed to unpack ${outfile}"
|
||||
eend $?
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if use prefix-stack ; then
|
||||
my_unpack prefix-stack.bash_login
|
||||
my_unpack prefix-stack.bashrc
|
||||
my_unpack prefix-stack.envd.99stack
|
||||
my_unpack prefix-stack-ccwrap
|
||||
local editor pager
|
||||
for editor in "${EDITOR}" {"${EPREFIX}","${BROOT}"}/bin/nano
|
||||
do
|
||||
[[ -x ${editor} ]] || continue
|
||||
done
|
||||
for pager in "${PAGER}" {"${EPREFIX}","${BROOT}"}/usr/bin/less
|
||||
do
|
||||
[[ -x ${pager} ]] || continue
|
||||
done
|
||||
printf '%s\n' "EDITOR=\"${editor}\"" "PAGER=\"${pager}\"" > 000fallback
|
||||
else
|
||||
my_unpack prefix-stack-setup
|
||||
fi
|
||||
my_unpack startprefix
|
||||
}
|
||||
|
||||
my_prefixify() {
|
||||
local ebash eenv
|
||||
if use prefix-stack ; then
|
||||
ebash="${BROOT}/bin/bash"
|
||||
eenv="${BROOT}/usr/bin/env"
|
||||
else
|
||||
ebash="${EPREFIX}/bin/bash"
|
||||
eenv="${EPREFIX}/usr/bin/env"
|
||||
fi
|
||||
|
||||
# the @=@ prevents repoman from believing we set readonly vars
|
||||
sed -e "s,@GENTOO_PORTAGE_BPREFIX@,${BROOT},g" \
|
||||
-e "s,@GENTOO_PORTAGE_EPREFIX@,${EPREFIX},g" \
|
||||
-e "s,@GENTOO_PORTAGE_CHOST@,${CHOST},g" \
|
||||
-e "s,@GENTOO_PORTAGE_EBASH@,${ebash},g" \
|
||||
-e "s,@GENTOO_PORTAGE_EENV@,${eenv},g" \
|
||||
-e "s,@=@,=,g" \
|
||||
-i "$@" || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# do not eprefixify during unpack, to allow userpatches to apply
|
||||
my_prefixify *
|
||||
}
|
||||
|
||||
src_install-prefix-stack-ccwrap() {
|
||||
# install toolchain wrapper.
|
||||
local wrapperdir=/usr/${CHOST}/gcc-bin/${CHOST}-${PN}/${PV}
|
||||
local wrappercfg=${CHOST}-${P}
|
||||
|
||||
exeinto $wrapperdir
|
||||
doexe prefix-stack-ccwrap
|
||||
|
||||
local cc
|
||||
for cc in \
|
||||
gcc \
|
||||
g++ \
|
||||
cpp \
|
||||
c++ \
|
||||
windres \
|
||||
; do
|
||||
dosym prefix-stack-ccwrap $wrapperdir/${CHOST}-${cc}
|
||||
dosym ${CHOST}-${cc} $wrapperdir/${cc}
|
||||
done
|
||||
|
||||
# LDPATH is required to keep gcc-config happy :(
|
||||
cat > ./${wrappercfg} <<-EOF
|
||||
GCC_PATH="${EPREFIX}$wrapperdir"
|
||||
LDPATH="${EPREFIX}$wrapperdir"
|
||||
EOF
|
||||
|
||||
insinto /etc/env.d/gcc
|
||||
doins ./${wrappercfg}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use prefix-stack; then
|
||||
src_install-prefix-stack-ccwrap
|
||||
insinto /etc
|
||||
doins prefix-stack.bash_login
|
||||
insinto /etc/bash
|
||||
newins prefix-stack.bashrc bashrc
|
||||
newenvd prefix-stack.envd.99stack 99stack
|
||||
doenvd 000fallback
|
||||
else
|
||||
dobin prefix-stack-setup
|
||||
fi
|
||||
exeinto /
|
||||
doexe startprefix
|
||||
}
|
||||
|
||||
return 0
|
||||
|
||||
: startprefix <<'EOIN'
|
||||
#!@GENTOO_PORTAGE_EBASH@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Fabian Groffen <grobian@gentoo.org> -- 2007-03-10
|
||||
# Enters the prefix environment by starting a login shell from the
|
||||
# prefix. The SHELL environment variable is elevated in order to make
|
||||
# applications that start login shells to work, such as `screen`.
|
||||
|
||||
# if you come from a substantially polluted environment (another
|
||||
# Prefix), a cleanup as follows resolves most oddities I've ever seen:
|
||||
# env -i HOME=$HOME TERM=$TERM USER=$USER $SHELL -l
|
||||
# hence this script starts the Prefix shell like this
|
||||
|
||||
if [[ ${SHELL#@GENTOO_PORTAGE_EPREFIX@} != ${SHELL} ]]
|
||||
then
|
||||
echo "You appear to be in prefix already (SHELL=${SHELL})" > /dev/stderr
|
||||
exit -1
|
||||
elif [[ ${SHELL#@GENTOO_PORTAGE_BPREFIX@} != ${SHELL} ]] &&
|
||||
[[ ${EPREFIX-unset} == '@GENTOO_PORTAGE_EPREFIX@' ]]
|
||||
then
|
||||
echo "You appear to be in stacked prefix already (EPREFIX=${EPREFIX})" > /dev/stderr
|
||||
exit -1
|
||||
fi
|
||||
|
||||
# What is our prefix?
|
||||
EPREFIX@=@'@GENTOO_PORTAGE_EPREFIX@'
|
||||
BPREFIX@=@'@GENTOO_PORTAGE_BPREFIX@'
|
||||
|
||||
# not all systems have the same location for shells, however what it
|
||||
# boils down to, is that we need to know what the shell is, and then we
|
||||
# can find it in the bin dir of our prefix
|
||||
for SHELL in \
|
||||
"${EPREFIX}/bin/${SHELL##*/}" \
|
||||
"${BPREFIX}/bin/${SHELL##*/}" \
|
||||
${SHELL##*/}
|
||||
do
|
||||
[[ ${SHELL} == */* && -x ${SHELL} ]] && break
|
||||
done
|
||||
|
||||
# check if the shell exists
|
||||
if [[ ${SHELL} != */* ]]
|
||||
then
|
||||
echo "Failed to find the Prefix shell, this is probably" > /dev/stderr
|
||||
echo "because you didn't emerge the shell ${SHELL}" > /dev/stderr
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# set the prefix shell in the environment
|
||||
export SHELL
|
||||
|
||||
# give a small notice
|
||||
echo "Entering Gentoo Prefix ${EPREFIX}"
|
||||
# start the login shell, clean the entire environment but what's needed
|
||||
RETAIN="HOME=$HOME TERM=$TERM USER=$USER SHELL=$SHELL"
|
||||
# PROFILEREAD is necessary on SUSE not to wipe the env on shell start
|
||||
[[ -n ${PROFILEREAD} ]] && RETAIN+=" PROFILEREAD=$PROFILEREAD"
|
||||
# ssh-agent is handy to keep, of if set, inherit it
|
||||
[[ -n ${SSH_AUTH_SOCK} ]] && RETAIN+=" SSH_AUTH_SOCK=$SSH_AUTH_SOCK"
|
||||
# if we're on some X terminal, makes sense to inherit that too
|
||||
[[ -n ${DISPLAY} ]] && RETAIN+=" DISPLAY=$DISPLAY"
|
||||
# do it!
|
||||
if [[ ${SHELL#${EPREFIX}} != ${SHELL} ]] ; then
|
||||
'@GENTOO_PORTAGE_EENV@' -i $RETAIN $SHELL -l
|
||||
elif [[ ' bash ' == *" ${SHELL##*/} "* ]] ; then
|
||||
# shell coming from different prefix would load it's own
|
||||
# etc/profile upon -l, so we have to override
|
||||
'@GENTOO_PORTAGE_EENV@' -i ${RETAIN} "${SHELL}" --rcfile "${EPREFIX}"/etc/prefix-stack.bash_login -i
|
||||
else
|
||||
echo "Only bash is supported with stacked Prefix (you have ${SHELL##*/}), sorry!" > /dev/stderr
|
||||
exit 1
|
||||
fi
|
||||
# and leave a message when we exit... the shell might return non-zero
|
||||
# without having real problems, so don't send alarming messages about
|
||||
# that
|
||||
echo "Leaving Gentoo Prefix with exit status $?"
|
||||
EOIN
|
||||
|
||||
: prefix-stack.bashrc <<'EOIN'
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
#
|
||||
# In stacked Prefix there is no bash installed, yet
|
||||
# etc/bash/bashrc from base Prefix still is useful.
|
||||
#
|
||||
|
||||
if [[ $- != *i* ]] ; then
|
||||
# Shell is non-interactive, bashrc does not apply
|
||||
return
|
||||
fi
|
||||
|
||||
if [[ -r @GENTOO_PORTAGE_BPREFIX@/etc/bash/bashrc ]] ; then
|
||||
source '@GENTOO_PORTAGE_BPREFIX@/etc/bash/bashrc'
|
||||
# only if base Prefix does have an etc/bash/bashrc, we also
|
||||
# run bashrc snippets provided by packages in stacked Prefix
|
||||
for sh in '@GENTOO_PORTAGE_EPREFIX@'/etc/bash/bashrc.d/* ; do
|
||||
[[ -r ${sh} ]] && source "${sh}"
|
||||
done
|
||||
unset sh
|
||||
else
|
||||
# etc/profile does expect etc/bash/bashrc to set PS1
|
||||
PS1='\u@\h \w \$ '
|
||||
fi
|
||||
EOIN
|
||||
|
||||
: prefix-stack.bash_login <<'EOIN'
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
#
|
||||
# In stacked Prefix there is no bash installed, so there is
|
||||
# no bash able to load this Prefix' profile as login shell.
|
||||
# Instead, you can specify this one as bash rcfile to mimic
|
||||
# a bash login shell using this stacked Prefix profile.
|
||||
#
|
||||
|
||||
if [[ -s '@GENTOO_PORTAGE_EPREFIX@/etc/profile' ]] ; then
|
||||
. '@GENTOO_PORTAGE_EPREFIX@/etc/profile'
|
||||
fi
|
||||
if [[ -s ~/.bash_profile ]] ; then
|
||||
. ~/.bash_profile
|
||||
elif [[ -s ~/.bash_login ]] ; then
|
||||
. ~/.bash_login
|
||||
elif [[ -s ~/.profile ]] ; then
|
||||
. ~/.profile
|
||||
fi
|
||||
EOIN
|
||||
|
||||
: prefix-stack.envd.99stack <<'EOIN'
|
||||
PKG_CONFIG_PATH@=@"@GENTOO_PORTAGE_EPREFIX@/usr/lib/pkgconfig:@GENTOO_PORTAGE_EPREFIX@/usr/share/pkgconfig"
|
||||
PORTAGE_CONFIGROOT@=@"@GENTOO_PORTAGE_EPREFIX@"
|
||||
EPREFIX@=@"@GENTOO_PORTAGE_EPREFIX@"
|
||||
EOIN
|
||||
|
||||
: prefix-stack-setup <<'EOIN'
|
||||
#!@GENTOO_PORTAGE_EPREFIX@/bin/bash
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
PARENT_EPREFIX="@GENTOO_PORTAGE_EPREFIX@"
|
||||
PARENT_CHOST="@GENTOO_PORTAGE_CHOST@"
|
||||
CHILD_EPREFIX=
|
||||
CHILD_PROFILE=
|
||||
|
||||
#
|
||||
# get ourselfs the functions.sh script for ebegin/eend/etc.
|
||||
#
|
||||
for f in \
|
||||
/lib/gentoo/functions.sh \
|
||||
/etc/init.d/functions.sh \
|
||||
/sbin/functions.sh \
|
||||
; do
|
||||
if [[ -r ${PARENT_EPREFIX}${f} ]] ; then
|
||||
. "${PARENT_EPREFIX}${f}"
|
||||
f=found
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ ${f} != found ]] ; then
|
||||
echo "Cannot find Gentoo functions, aborting." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
for arg in "$@"; do
|
||||
case "${arg}" in
|
||||
--eprefix=*) CHILD_EPREFIX="${arg#--eprefix=}" ;;
|
||||
--profile=*) CHILD_PROFILE="${arg#--profile=}" ;;
|
||||
|
||||
--help)
|
||||
einfo "$0 usage:"
|
||||
einfo " --eprefix=[PATH] Path to new EPREFIX to create stacked to the prefix"
|
||||
einfo " where this script is installed (${PARENT_EPREFIX})"
|
||||
einfo " --profile=[PATH] The absolute path to the profile to use. This path"
|
||||
einfo " must point to a directory within ${PARENT_EPREFIX}"
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
#
|
||||
# sanity check of given values
|
||||
#
|
||||
|
||||
test -n "${CHILD_EPREFIX}" || { eerror "no eprefix argument given"; exit 1; }
|
||||
test -d "${CHILD_EPREFIX}" && { eerror "${CHILD_EPREFIX} already exists"; exit 1; }
|
||||
test -n "${CHILD_PROFILE}" || { eerror "no profile argument given"; exit 1; }
|
||||
test -d "${CHILD_PROFILE}" || { eerror "${CHILD_PROFILE} does not exist"; exit 1; }
|
||||
|
||||
einfo "creating stacked prefix ${CHILD_EPREFIX}"
|
||||
|
||||
#
|
||||
# functions needed below.
|
||||
#
|
||||
eend_exit() {
|
||||
eend $1
|
||||
[[ $1 != 0 ]] && exit 1
|
||||
}
|
||||
|
||||
#
|
||||
# create the directories required to bootstrap the least.
|
||||
#
|
||||
ebegin "creating directory structure"
|
||||
(
|
||||
set -e
|
||||
mkdir -p "${CHILD_EPREFIX}"/etc/portage/profile/use.mask
|
||||
mkdir -p "${CHILD_EPREFIX}"/etc/portage/profile/use.force
|
||||
mkdir -p "${CHILD_EPREFIX}"/etc/portage/env
|
||||
mkdir -p "${CHILD_EPREFIX}"/etc/portage/package.env
|
||||
ln -s "${PARENT_EPREFIX}"/etc/portage/repos.conf "${CHILD_EPREFIX}"/etc/portage/repos.conf
|
||||
)
|
||||
eend_exit $?
|
||||
|
||||
#
|
||||
# create a make.conf and set PORTDIR and PORTAGE_TMPDIR
|
||||
#
|
||||
ebegin "creating make.conf"
|
||||
(
|
||||
set -e
|
||||
echo "#"
|
||||
echo "# The following values where taken from the parent prefix's"
|
||||
echo "# environment. Feel free to adopt them as you like."
|
||||
echo "#"
|
||||
echo "CFLAGS=\"$(portageq envvar CFLAGS)\""
|
||||
echo "CXXFLAGS=\"$(portageq envvar CXXFLAGS)\""
|
||||
echo "MAKEOPTS=\"$(portageq envvar MAKEOPTS)\""
|
||||
niceness=$(portageq envvar PORTAGE_NICENESS || true)
|
||||
[[ -n ${niceness} ]] &&
|
||||
echo "PORTAGE_NICENESS=\"${niceness}\""
|
||||
echo
|
||||
echo "# Mirrors from parent prefix."
|
||||
echo "GENTOO_MIRRORS=\"$(portageq envvar GENTOO_MIRRORS || true)\""
|
||||
echo
|
||||
echo "# Below comes the prefix-stack setup. Only change things"
|
||||
echo "# if you know exactly what you are doing!"
|
||||
echo "EPREFIX=\"${CHILD_EPREFIX}\""
|
||||
echo "PORTAGE_OVERRIDE_EPREFIX=\"${PARENT_EPREFIX}\""
|
||||
echo "BROOT=\"${PARENT_EPREFIX}\""
|
||||
) > "${CHILD_EPREFIX}"/etc/portage/make.conf
|
||||
eend_exit $?
|
||||
|
||||
ebegin "creating use.mask/prefix-stack"
|
||||
printf -- '-%s\n' prefix{,-guest,-stack} > "${CHILD_EPREFIX}"/etc/portage/profile/use.mask/prefix-stack
|
||||
eend_exit $?
|
||||
|
||||
ebegin "creating use.force/prefix-stack"
|
||||
printf -- '%s\n' prefix{,-guest,-stack} > "${CHILD_EPREFIX}"/etc/portage/profile/use.force/prefix-stack
|
||||
eend_exit $?
|
||||
|
||||
ebegin "creating env/host-cc.conf"
|
||||
cat > "${CHILD_EPREFIX}"/etc/portage/env/host-cc.conf <<-EOM
|
||||
CC=${PARENT_CHOST}-gcc
|
||||
CXX=${PARENT_CHOST}-g++
|
||||
EOM
|
||||
eend_exit $?
|
||||
|
||||
ebegin "creating package.env/prefix-stack"
|
||||
cat > "${CHILD_EPREFIX}"/etc/portage/package.env/prefix-stack <<-'EOM'
|
||||
# merge with the parent's chost. this forces the use of the parent
|
||||
# compiler, which generally would be illegal - this is an exception.
|
||||
# This is required for example on winnt, because the wrapper has to
|
||||
# be able to use/resolve symlinks, etc. native winnt binaries miss
|
||||
# that ability, but cygwin binaries don't.
|
||||
sys-devel/gcc-config host-cc.conf
|
||||
sys-apps/gentoo-functions host-cc.conf
|
||||
EOM
|
||||
eend_exit $?
|
||||
|
||||
#
|
||||
# create the make.profile symlinks.
|
||||
#
|
||||
ebegin "creating make.profile"
|
||||
(
|
||||
ln -s "${CHILD_PROFILE}" "${CHILD_EPREFIX}/etc/portage/make.profile"
|
||||
)
|
||||
eend_exit $?
|
||||
|
||||
#
|
||||
# adjust permissions of generated files.
|
||||
#
|
||||
ebegin "adjusting permissions"
|
||||
(
|
||||
set -e
|
||||
chmod 644 "${CHILD_EPREFIX}"/etc/portage/make.conf
|
||||
chmod 644 "${CHILD_EPREFIX}"/etc/portage/env/host-cc.conf
|
||||
chmod 644 "${CHILD_EPREFIX}"/etc/portage/package.env/prefix-stack
|
||||
)
|
||||
eend_exit $?
|
||||
|
||||
#
|
||||
# now merge some basics.
|
||||
#
|
||||
ebegin "installing required basic packages"
|
||||
(
|
||||
set -e
|
||||
export PORTAGE_CONFIGROOT@=@"${CHILD_EPREFIX}"
|
||||
export EPREFIX@=@"${CHILD_EPREFIX}"
|
||||
export PORTAGE_OVERRIDE_EPREFIX@=@"${PARENT_EPREFIX}"
|
||||
|
||||
# # this -pv is there to avoid the global update output, which is
|
||||
# # there on the first emerge run. (thus, just cosmetics).
|
||||
# emerge --pretend --oneshot --nodeps baselayout-prefix
|
||||
|
||||
# let baselayout create the directories
|
||||
USE@=@"${USE} build" \
|
||||
emerge --verbose --nodeps --oneshot \
|
||||
'>=baselayout-prefix-2.6'
|
||||
|
||||
# Record the prefix-toolkit into @world file, as it provides the
|
||||
# env.d telling the PM to manage this stacked Prefix, but may not
|
||||
# (unlike baselayout) be part of @system set per the profile.
|
||||
emerge --verbose --nodeps \
|
||||
prefix-toolkit
|
||||
|
||||
emerge --verbose --nodeps --oneshot \
|
||||
gentoo-functions \
|
||||
elt-patches \
|
||||
gnuconfig \
|
||||
gcc-config
|
||||
|
||||
# select the stack wrapper profile from gcc-config
|
||||
env -i PORTAGE_CONFIGROOT="${CHILD_EPREFIX}" "$(type -P bash)" "${CHILD_EPREFIX}"/usr/bin/gcc-config 1
|
||||
|
||||
# do this _after_ selecting the correct compiler!
|
||||
emerge --verbose --nodeps --oneshot \
|
||||
libtool
|
||||
)
|
||||
eend_exit $?
|
||||
|
||||
#
|
||||
# wow, all ok :)
|
||||
#
|
||||
ewarn
|
||||
ewarn "all done. don't forget to tune ${CHILD_EPREFIX}/etc/portage/make.conf."
|
||||
ewarn "to enter the new prefix, run \"${CHILD_EPREFIX}/startprefix\"."
|
||||
ewarn
|
||||
EOIN
|
||||
|
||||
: prefix-stack-ccwrap <<'EOIN'
|
||||
#!@GENTOO_PORTAGE_BPREFIX@/bin/bash
|
||||
|
||||
if [ -r /cygdrive/. ]; then
|
||||
winpath2unix() { cygpath -u "$1"; }
|
||||
unixpath2win() { cygpath -w "$1"; }
|
||||
fi
|
||||
|
||||
myself=${0##*/} # basename $0
|
||||
link_dirs=()
|
||||
opts=()
|
||||
chost="@GENTOO_PORTAGE_CHOST@"
|
||||
prefix="@GENTOO_PORTAGE_EPREFIX@"
|
||||
absprefix=${prefix}
|
||||
if [[ ${chost} == *"-winnt"* ]]; then
|
||||
# we may get called from windows binary, like pkgdata in dev-libs/icu
|
||||
# in this case, PATH elements get the "/dev/fs/C/WINDOWS/SUA" prefix
|
||||
absprefix=$(winpath2unix "$(unixpath2win "${absprefix}")")
|
||||
fi
|
||||
[[ ${myself} == *windres* ]] && mode=compile || mode=link
|
||||
orig_args=("$@")
|
||||
|
||||
for opt in "$@"
|
||||
do
|
||||
case "$opt" in
|
||||
-L)
|
||||
link_dirs=("${link_dirs[@]}" "-L$1")
|
||||
shift
|
||||
;;
|
||||
-L*)
|
||||
link_dirs=("${link_dirs[@]}" "${opt}")
|
||||
;;
|
||||
*)
|
||||
case "${opt}" in
|
||||
-v)
|
||||
# -v done right: only use mode version if -v is the _only_
|
||||
# argument on the command line.
|
||||
[[ ${#orig_args[@]} -gt 1 ]] || mode=version
|
||||
;;
|
||||
--version) mode=version ;;
|
||||
-c|-E|-S) mode=compile ;;
|
||||
-print-search-dirs) mode=dirs ;;
|
||||
esac
|
||||
opts=("${opts[@]}" "${opt}")
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
# remove any path to current prefix, need base prefix only
|
||||
new_path=
|
||||
save_ifs=$IFS
|
||||
IFS=':'
|
||||
for p in $PATH
|
||||
do
|
||||
IFS=$save_ifs
|
||||
[[ ${p#${absprefix}} != "${p}" ]] && continue
|
||||
if [[ -z "${new_path}" ]]; then
|
||||
new_path="${p}"
|
||||
else
|
||||
new_path="${new_path}:${p}"
|
||||
fi
|
||||
done
|
||||
IFS=$save_ifs
|
||||
|
||||
PATH=${new_path}
|
||||
|
||||
# binutils-config's ldwrapper understands '-R' for aix and hpux too.
|
||||
# parity (winnt) understands -rpath only ...
|
||||
case "${chost}" in
|
||||
*-winnt*) rpath_opt="-Wl,-rpath," ;;
|
||||
*) rpath_opt="-Wl,-R," ;;
|
||||
esac
|
||||
|
||||
pfx_link=("-L${prefix}/usr/lib" "-L${prefix}/lib")
|
||||
pfx_link_r=("${rpath_opt}${prefix}/lib" "${rpath_opt}${prefix}/usr/lib")
|
||||
pfx_comp=("-I${prefix}/include" "-I${prefix}/usr/include")
|
||||
|
||||
# ensure we run the right chost program in base prefix
|
||||
[[ ${myself} == *-*-*-* ]] || myself=${chost}-${myself#${chost}-}
|
||||
|
||||
case "$mode" in
|
||||
link) exec "${myself}" "${link_dirs[@]}" "${pfx_link[@]}" "${opts[@]}" "${pfx_comp[@]}" "${pfx_link_r[@]}" ;;
|
||||
compile) exec "${myself}" "${link_dirs[@]}" "${opts[@]}" "${pfx_comp[@]}" ;;
|
||||
version) exec "${myself}" "${orig_args[@]}" ;;
|
||||
dirs)
|
||||
"${myself}" "${orig_args[@]}" | while read line; do
|
||||
if [[ "${line}" == "libraries: ="* ]]; then
|
||||
echo "libraries: =${prefix}/usr/lib:${prefix}/lib:${line#"libraries: ="}"
|
||||
else
|
||||
echo "${line}"
|
||||
fi
|
||||
done
|
||||
;;
|
||||
*) echo "cannot infer ${myself}'s mode from comamnd line arguments"; exit 1 ;;
|
||||
esac
|
||||
EOIN
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST vim-go-1.13.tar.gz 870173 BLAKE2B a2f67cef249191cf91caf45c120e471301a89ee365ba9add839edea17990ff3aba7238965dac1c71a89d2004dfcfd486319fc4f1474c7ee94d3845724cd9b289 SHA512 c2aa31104168f3a8e1f96b0ad2c51dc1c2e5a1de3db76f0009edfb38bf60ebfcd9bd8a86fedb6ff6d6d789973a557d6ed03e38e67159bc43c5231449b0253c25
|
||||
DIST vim-go-1.19.tar.gz 218988 BLAKE2B 3bbafde28342b8febc8763fe9858575abc8f3e9735f3886de508cb7986bd97d1d2eeb36bdd4eb9b2f514e74f47b08355549e32c101519dac41427f302f57e29f SHA512 fc2cdcbc58878ab435c6b253a226e46ca60083bfd4e6df683e1dbeb368bb25b10fc531630a6b1f6cbfc32306a255eb6eae6bcc3f7a7b770758d4beb71c539f77
|
||||
DIST vim-go-1.20.tar.gz 232322 BLAKE2B f72664c79d781152748b6d5e48e9363a924e257eb0054931127d83fe4dc56d5b3e3592800ae3be3812609ec92c9b66fbcba8a1b1ca76891573408db14a0b2865 SHA512 1f5499dd33b72466127c1fbbd7a10dca41d9e8c3add6a0b2b3efa8dc0caf2aaa26311357a5b5eaecf2461a3465aabbf608a9ca35203139ead083bbcc806ea552
|
||||
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: Go development plugin for Vim"
|
||||
HOMEPAGE="https://github.com/fatih/vim-go"
|
||||
SRC_URI="https://github.com/fatih/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_compile() {
|
||||
# safely skip `make test` triggered by `make` as it runs `go get` commands
|
||||
# TODO: see :GoInstallBinaries (https://github.com/fatih/vim-go/blob/master/doc/vim-go.txt)
|
||||
:;
|
||||
}
|
Binary file not shown.
@ -1,5 +1 @@
|
||||
DIST LMDB_0.9.18.tar.gz 139156 BLAKE2B 6a8d32c6f203272a212d5e298f7d1af290c12a87680c3177521d1b10d0c42691dbdfdb3b49d467c97cf4c621ddef8e00bca0bbaa352203eeca66e8e294c0fa8b SHA512 394e88d99d446eb30771d7cf7a661584683a0d6d8e976cc561b5eecbb2a5d0817bbd59994002afa4eae6c86a39f05f50ebc2eff77cd70dd8c67225df4611f5e6
|
||||
DIST LMDB_0.9.19.tar.gz 143141 BLAKE2B 69f39e2194638989d8a17b79edd7918966d5608f4e611a7446b45e7321adf3b7d4bd69107fe00a1476d32cbd43b83f512c8498cefa3fca7eea8ba615821341fe SHA512 1d9825f09592ad92a540a1dec232cf6649f41cc67b0d59dc8958a71f4090f347c84995f32a166e2c2efecb862981f455814dd07af99bc3489e42fe3fd8bc6191
|
||||
DIST LMDB_0.9.21.tar.gz 143352 BLAKE2B de206eb03ebd0ed329127380a2aeac693280d9c1d7b61a4a36c42889169b28adab30ecfeff37487b9e36f4e953bc6587e54b7a49dfd0969f2dec99e45bd09654 SHA512 e0f998507da654ccac02aa199367e8363c37f47e06ee0984085aae60fb086e49087824915bf8896f90187f1cc96e5c9caf5e5f72fa3911415151ca1e56f0309f
|
||||
DIST LMDB_0.9.22.tar.gz 143468 BLAKE2B 125b447344cc601ad8af1c3cf0ba4d05474c8e7a4cafbca71446681a615884e82ae7fcdd4d8d6fdfa8e409a646115c3577972cdfcee8d792af0a1d82a8efbbd1 SHA512 49afca13b9683ed571c274380bb5e111236903b12d19bcb8781d6bbc00f711766b0d62de0b36536c85309cc9ff9e9d0aaa708e27bae9be6cfcaed8ba91e5545d
|
||||
DIST LMDB_0.9.23.tar.gz 143813 BLAKE2B 252acad974a7ed528fe0e52b8332845bc0b6076599bbc79ef2c3f41459acb6ccbe5f6030c6a258fe30633c4c0568fa05fa6d46dc05bab3f93ee3aab16e6faa89 SHA512 47466a96ce288d18d489acf1abf811aa973649848a4cac31f71e1f25ea781a055ebd6616d2d630214b2df2f146f12609c82d65be0196f49d6b46a6c96464e120
|
||||
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="An ultra-fast, ultra-compact key-value embedded data store"
|
||||
HOMEPAGE="http://symas.com/mdb/"
|
||||
SRC_URI="https://github.com/LMDB/lmdb/archive/LMDB_${PV}.tar.gz"
|
||||
|
||||
LICENSE="OPENLDAP"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ppc ppc64 s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE="static-libs"
|
||||
|
||||
DEPEND=""
|
||||
# =net-nds/openldap-2.4.40 installs lmdb files.
|
||||
RDEPEND="!=net-nds/openldap-2.4.40"
|
||||
|
||||
S="${WORKDIR}/${PN}-LMDB_${PV}/libraries/liblmdb"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "s!^CC.*!CC = $(tc-getCC)!" \
|
||||
-e "s!^CFLAGS.*!CFLAGS = ${CFLAGS}!" \
|
||||
-e "s!^AR.*!AR = $(tc-getAR)!" \
|
||||
-e "/^prefix/s!/usr/local!${EPREFIX}/usr!" \
|
||||
-e "/^libdir/s!lib\$!$(get_libdir)!" \
|
||||
-e "s!shared!shared -Wl,-soname,liblmdb.so.0!" \
|
||||
"${S}/Makefile" || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake LDLIBS+=" -pthread"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
mv "${ED}"usr/$(get_libdir)/liblmdb.so{,.0} || die
|
||||
dosym liblmdb.so.0 /usr/$(get_libdir)/liblmdb.so
|
||||
|
||||
use static-libs || rm "${ED}"usr/$(get_libdir)/liblmdb.a || die
|
||||
}
|
@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit toolchain-funcs flag-o-matic multilib
|
||||
|
||||
DESCRIPTION="An ultra-fast, ultra-compact key-value embedded data store"
|
||||
HOMEPAGE="http://symas.com/mdb/"
|
||||
SRC_URI="https://github.com/LMDB/lmdb/archive/LMDB_${PV}.tar.gz"
|
||||
|
||||
LICENSE="OPENLDAP"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE="static-libs"
|
||||
|
||||
DEPEND=""
|
||||
# =net-nds/openldap-2.4.40 installs lmdb files.
|
||||
RDEPEND="!=net-nds/openldap-2.4.40"
|
||||
|
||||
S="${WORKDIR}/${PN}-LMDB_${PV}/libraries/liblmdb"
|
||||
|
||||
src_prepare() {
|
||||
local soname="-Wl,-soname,liblmdb$(get_libname 0)"
|
||||
[[ ${CHOST} == *-darwin* ]] && \
|
||||
soname="-dynamiclib -install_name ${EPREFIX}/usr/$(get_libdir)/liblmdb$(get_libname 0)"
|
||||
sed -i -e "s!^CC.*!CC = $(tc-getCC)!" \
|
||||
-e "s!^CFLAGS.*!CFLAGS = ${CFLAGS}!" \
|
||||
-e "s!^AR.*!AR = $(tc-getAR)!" \
|
||||
-e "s!^SOEXT.*!SOEXT = $(get_libname)!" \
|
||||
-e "/^prefix/s!/usr/local!${EPREFIX}/usr!" \
|
||||
-e "/^libdir/s!lib\$!$(get_libdir)!" \
|
||||
-e "s!shared!shared ${soname}!" \
|
||||
"${S}/Makefile" || die
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if [[ ${CHOST} == *-solaris* ]] ; then
|
||||
# ensure sigwait has a second sig argument
|
||||
append-cppflags -D_POSIX_PTHREAD_SEMANTICS
|
||||
# fdatasync lives in -lrt on Solaris 10
|
||||
[[ ${CHOST#*-solaris2.} -le 10 ]] && append-ldflags -lrt
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake LDLIBS+=" -pthread"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
mv "${ED}"usr/$(get_libdir)/liblmdb$(get_libname) \
|
||||
"${ED}"usr/$(get_libdir)/liblmdb$(get_libname 0) || die
|
||||
dosym liblmdb$(get_libname 0) /usr/$(get_libdir)/liblmdb$(get_libname)
|
||||
|
||||
use static-libs || rm "${ED}"usr/$(get_libdir)/liblmdb.a || die
|
||||
}
|
@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit toolchain-funcs flag-o-matic multilib-minimal
|
||||
|
||||
DESCRIPTION="An ultra-fast, ultra-compact key-value embedded data store"
|
||||
HOMEPAGE="http://symas.com/mdb/"
|
||||
SRC_URI="https://github.com/LMDB/lmdb/archive/LMDB_${PV}.tar.gz"
|
||||
|
||||
LICENSE="OPENLDAP"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE="static-libs"
|
||||
|
||||
DEPEND=""
|
||||
# =net-nds/openldap-2.4.40 installs lmdb files.
|
||||
RDEPEND="!=net-nds/openldap-2.4.40"
|
||||
|
||||
S="${WORKDIR}/${PN}-LMDB_${PV}/libraries/liblmdb"
|
||||
|
||||
src_prepare() {
|
||||
eapply_user
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local soname="-Wl,-soname,liblmdb$(get_libname 0)"
|
||||
[[ ${CHOST} == *-darwin* ]] && \
|
||||
soname="-dynamiclib -install_name ${EPREFIX}/usr/$(get_libdir)/liblmdb$(get_libname 0)"
|
||||
sed -i -e "s!^CC.*!CC = $(tc-getCC)!" \
|
||||
-e "s!^CFLAGS.*!CFLAGS = ${CFLAGS}!" \
|
||||
-e "s!^AR.*!AR = $(tc-getAR)!" \
|
||||
-e "s!^SOEXT.*!SOEXT = $(get_libname)!" \
|
||||
-e "/^prefix/s!/usr/local!${EPREFIX}/usr!" \
|
||||
-e "/^libdir/s!lib\$!$(get_libdir)!" \
|
||||
-e "s!shared!shared ${soname}!" \
|
||||
"Makefile" || die
|
||||
|
||||
if [[ ${CHOST} == *-solaris* ]] ; then
|
||||
# ensure sigwait has a second sig argument
|
||||
append-cppflags -D_POSIX_PTHREAD_SEMANTICS
|
||||
# fdatasync lives in -lrt on Solaris 10
|
||||
[[ ${CHOST#*-solaris2.} -le 10 ]] && append-ldflags -lrt
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake LDLIBS+=" -pthread"
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
mv "${ED}"usr/$(get_libdir)/liblmdb$(get_libname) \
|
||||
"${ED}"usr/$(get_libdir)/liblmdb$(get_libname 0) || die
|
||||
dosym liblmdb$(get_libname 0) /usr/$(get_libdir)/liblmdb$(get_libname)
|
||||
|
||||
use static-libs || rm "${ED}"usr/$(get_libdir)/liblmdb.a || die
|
||||
}
|
@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit toolchain-funcs flag-o-matic multilib-minimal
|
||||
|
||||
DESCRIPTION="An ultra-fast, ultra-compact key-value embedded data store"
|
||||
HOMEPAGE="http://symas.com/mdb/"
|
||||
SRC_URI="https://github.com/LMDB/lmdb/archive/LMDB_${PV}.tar.gz"
|
||||
|
||||
LICENSE="OPENLDAP"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sh ~sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE="static-libs"
|
||||
|
||||
DEPEND=""
|
||||
# =net-nds/openldap-2.4.40 installs lmdb files.
|
||||
RDEPEND="!=net-nds/openldap-2.4.40-r0"
|
||||
|
||||
S="${WORKDIR}/${PN}-LMDB_${PV}/libraries/liblmdb"
|
||||
|
||||
src_prepare() {
|
||||
eapply_user
|
||||
if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -lt 10 ]] ; then
|
||||
# posix_memalign isn't available before 10.6, but on OSX
|
||||
# malloc is always aligned for any addressable type
|
||||
sed -i -e '/(__APPLE__)/a#define HAVE_MEMALIGN 1\n#define memalign(X,Y) malloc(X)' mdb.c || die
|
||||
fi
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local soname="-Wl,-soname,liblmdb$(get_libname 0)"
|
||||
[[ ${CHOST} == *-darwin* ]] && \
|
||||
soname="-dynamiclib -install_name ${EPREFIX}/usr/$(get_libdir)/liblmdb$(get_libname 0)"
|
||||
sed -i -e "s!^CC.*!CC = $(tc-getCC)!" \
|
||||
-e "s!^CFLAGS.*!CFLAGS = ${CFLAGS}!" \
|
||||
-e "s!^AR.*!AR = $(tc-getAR)!" \
|
||||
-e "s!^SOEXT.*!SOEXT = $(get_libname)!" \
|
||||
-e "/^prefix/s!/usr/local!${EPREFIX}/usr!" \
|
||||
-e "/^libdir/s!lib\$!$(get_libdir)!" \
|
||||
-e "s!shared!shared ${soname}!" \
|
||||
"Makefile" || die
|
||||
|
||||
if [[ ${CHOST} == *-solaris* ]] ; then
|
||||
# fdatasync lives in -lrt on Solaris 10
|
||||
[[ ${CHOST#*-solaris2.} -le 10 ]] && append-ldflags -lrt
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake LDLIBS+=" -pthread"
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
mv "${ED}"/usr/$(get_libdir)/liblmdb$(get_libname) \
|
||||
"${ED}"/usr/$(get_libdir)/liblmdb$(get_libname 0) || die
|
||||
dosym liblmdb$(get_libname 0) /usr/$(get_libdir)/liblmdb$(get_libname)
|
||||
|
||||
insinto /usr/$(get_libdir)/pkgconfig
|
||||
doins "${FILESDIR}/lmdb.pc"
|
||||
sed -i -e "s!@PACKAGE_VERSION@!${PV}!" \
|
||||
-e "s!@prefix@!${EPREFIX}/usr!g" \
|
||||
-e "s!@libdir@!$(get_libdir)!" \
|
||||
"${ED}"/usr/$(get_libdir)/pkgconfig/lmdb.pc
|
||||
|
||||
use static-libs || rm "${ED}"/usr/$(get_libdir)/liblmdb.a || die
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit java-pkg-2
|
||||
|
||||
MY_PN=apache-${PN%%-bin}
|
||||
MY_PV=${PV/_alpha/-alpha-}
|
||||
MY_P="${MY_PN}-${MY_PV}"
|
||||
MY_MV="${PV%%.*}"
|
||||
|
||||
DESCRIPTION="Project Management and Comprehension Tool for Java"
|
||||
SRC_URI="mirror://apache/maven/maven-${MY_MV}/${PV}/binaries/${MY_P}-bin.tar.gz"
|
||||
HOMEPAGE="https://maven.apache.org/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3.1"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.8
|
||||
app-eselect/eselect-java"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.8"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
MAVEN=${PN}-${SLOT}
|
||||
MAVEN_SHARE="/usr/share/${MAVEN}"
|
||||
|
||||
# TODO:
|
||||
# We should use jars from packages, instead of what is bundled.
|
||||
src_install() {
|
||||
dodir "${MAVEN_SHARE}"
|
||||
|
||||
cp -Rp bin boot conf lib "${ED}/${MAVEN_SHARE}" || die "failed to copy"
|
||||
|
||||
java-pkg_regjar "${ED}/${MAVEN_SHARE}"/boot/*.jar
|
||||
java-pkg_regjar "${ED}/${MAVEN_SHARE}"/lib/*.jar
|
||||
|
||||
dodoc NOTICE README.txt
|
||||
|
||||
dodir /usr/bin
|
||||
dosym "${MAVEN_SHARE}/bin/mvn" /usr/bin/mvn-${SLOT}
|
||||
|
||||
# See bug #342901.
|
||||
echo "CONFIG_PROTECT=\"${MAVEN_SHARE}/conf\"" > "${T}/25${MAVEN}" || die
|
||||
doenvd "${T}/25${MAVEN}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect maven update mvn-${SLOT}
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect maven update
|
||||
}
|
@ -1,86 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit java-pkg-2
|
||||
|
||||
MY_PN=apache-${PN%%-bin}
|
||||
MY_PV=${PV/_alpha/-alpha-}
|
||||
MY_P="${MY_PN}-${MY_PV}"
|
||||
MY_MV="${PV%%.*}"
|
||||
|
||||
DESCRIPTION="Project Management and Comprehension Tool for Java"
|
||||
SRC_URI="mirror://apache/maven/maven-${MY_MV}/${PV}/binaries/${MY_P}-bin.tar.gz"
|
||||
HOMEPAGE="https://maven.apache.org/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3.1"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
# TODO: Needs further resolution:
|
||||
#
|
||||
# - https://bugs.gentoo.org/show_bug.cgi?id=472850
|
||||
# - https://bugs.gentoo.org/show_bug.cgi?id=477436
|
||||
#
|
||||
DEPEND="app-eselect/eselect-java
|
||||
|| ( dev-java/commons-logging:0 dev-java/log4j:0 dev-java/avalon-logkit:2.0 )
|
||||
dev-java/aopalliance:1
|
||||
dev-java/avalon-framework:4.1
|
||||
dev-java/commons-cli:1
|
||||
dev-java/commons-io:1
|
||||
dev-java/javax-inject:0
|
||||
dev-java/jsoup:0
|
||||
dev-java/jsr250:0
|
||||
dev-java/juel:0
|
||||
dev-java/osgi-core-api:0
|
||||
java-virtuals/interceptor-api:0
|
||||
java-virtuals/servlet-api:2.4"
|
||||
|
||||
RDEPEND=">=virtual/jdk-1.5
|
||||
${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
MAVEN=${PN}-${SLOT}
|
||||
MAVEN_SHARE="/usr/share/${MAVEN}"
|
||||
|
||||
java_prepare() {
|
||||
rm -v bin/*.bat lib/{aopalliance,commons-cli,javax.inject,jsr250}-*.jar || die
|
||||
|
||||
chmod 644 boot/*.jar lib/*.jar conf/settings.xml || die
|
||||
|
||||
# Symlink jars.
|
||||
cd lib || die
|
||||
java-pkg_jar-from aopalliance-1,avalon-framework-4.1,commons-cli-1,commons-io-1,interceptor-api,javax-inject,jsoup,jsr250,juel,osgi-core-api,servlet-api-2.4
|
||||
has_version dev-java/commons-logging:0 && java-pkg_jar-from commons-logging
|
||||
has_version dev-java/avalon-logkit:2.0 && java-pkg_jar-from avalon-logkit-2.0
|
||||
has_version dev-java/log4j:0 && java-pkg_jar-from log4j
|
||||
}
|
||||
|
||||
# TODO: We should use jars from packages, instead of what is bundled.
|
||||
src_install() {
|
||||
dodir "${MAVEN_SHARE}"
|
||||
|
||||
cp -Rp bin boot conf lib "${ED}/${MAVEN_SHARE}" || die "failed to copy"
|
||||
|
||||
java-pkg_regjar "${ED}/${MAVEN_SHARE}"/boot/*.jar
|
||||
java-pkg_regjar "${ED}/${MAVEN_SHARE}"/lib/*.jar
|
||||
|
||||
dodoc NOTICE README.txt
|
||||
|
||||
dodir /usr/bin
|
||||
dosym "${MAVEN_SHARE}/bin/mvn" /usr/bin/mvn-${SLOT}
|
||||
|
||||
# See bug #342901.
|
||||
echo "CONFIG_PROTECT=\"${MAVEN_SHARE}/conf\"" > "${T}/25${MAVEN}" || die
|
||||
doenvd "${T}/25${MAVEN}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect maven update mvn-${SLOT}
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect maven update
|
||||
}
|
@ -1,87 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit java-pkg-2
|
||||
|
||||
MY_PN=apache-${PN%%-bin}
|
||||
MY_PV=${PV/_alpha/-alpha-}
|
||||
MY_P="${MY_PN}-${MY_PV}"
|
||||
MY_MV="${PV%%.*}"
|
||||
|
||||
DESCRIPTION="Project Management and Comprehension Tool for Java"
|
||||
SRC_URI="mirror://apache/maven/maven-${MY_MV}/${PV}/binaries/${MY_P}-bin.tar.gz"
|
||||
HOMEPAGE="https://maven.apache.org/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3.2"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
# TODO: Needs further resolution:
|
||||
#
|
||||
# - https://bugs.gentoo.org/show_bug.cgi?id=472850
|
||||
# - https://bugs.gentoo.org/show_bug.cgi?id=477436
|
||||
#
|
||||
DEPEND="app-eselect/eselect-java
|
||||
|| ( dev-java/commons-logging:0 dev-java/log4j:0 dev-java/avalon-logkit:2.0 )
|
||||
dev-java/aopalliance:1
|
||||
dev-java/avalon-framework:4.1
|
||||
dev-java/commons-cli:1
|
||||
dev-java/commons-io:1
|
||||
dev-java/javax-inject:0
|
||||
dev-java/jsoup:0
|
||||
dev-java/jsr250:0
|
||||
dev-java/juel:0
|
||||
dev-java/osgi-core-api:0
|
||||
java-virtuals/interceptor-api:0
|
||||
java-virtuals/servlet-api:2.4"
|
||||
|
||||
RDEPEND=">=virtual/jdk-1.6
|
||||
>=virtual/jre-1.6
|
||||
${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
MAVEN=${PN}-${SLOT}
|
||||
MAVEN_SHARE="/usr/share/${MAVEN}"
|
||||
|
||||
java_prepare() {
|
||||
rm -v bin/*.bat lib/{aopalliance,commons-cli,javax.inject,jsr250}-*.jar || die
|
||||
|
||||
chmod 644 boot/*.jar lib/*.jar conf/settings.xml || die
|
||||
|
||||
# Symlink jars.
|
||||
cd lib || die
|
||||
java-pkg_jar-from aopalliance-1,avalon-framework-4.1,commons-cli-1,commons-io-1,interceptor-api,javax-inject,jsoup,jsr250,juel,osgi-core-api,servlet-api-2.4
|
||||
has_version dev-java/commons-logging:0 && java-pkg_jar-from commons-logging
|
||||
has_version dev-java/avalon-logkit:2.0 && java-pkg_jar-from avalon-logkit-2.0
|
||||
has_version dev-java/log4j:0 && java-pkg_jar-from log4j
|
||||
}
|
||||
|
||||
# TODO: We should use jars from packages, instead of what is bundled.
|
||||
src_install() {
|
||||
dodir "${MAVEN_SHARE}"
|
||||
|
||||
cp -Rp bin boot conf lib "${ED}/${MAVEN_SHARE}" || die "failed to copy"
|
||||
|
||||
java-pkg_regjar "${ED}/${MAVEN_SHARE}"/boot/*.jar
|
||||
java-pkg_regjar "${ED}/${MAVEN_SHARE}"/lib/*.jar
|
||||
|
||||
dodoc NOTICE README.txt
|
||||
|
||||
dodir /usr/bin
|
||||
dosym "${MAVEN_SHARE}/bin/mvn" /usr/bin/mvn-${SLOT}
|
||||
|
||||
# See bug #342901.
|
||||
echo "CONFIG_PROTECT=\"${MAVEN_SHARE}/conf\"" > "${T}/25${MAVEN}" || die
|
||||
doenvd "${T}/25${MAVEN}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect maven update mvn-${SLOT}
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect maven update
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit java-pkg-2
|
||||
|
||||
MY_PN=apache-${PN%%-bin}
|
||||
MY_PV=${PV/_alpha/-alpha-}
|
||||
MY_P="${MY_PN}-${MY_PV}"
|
||||
MY_MV="${PV%%.*}"
|
||||
|
||||
DESCRIPTION="Project Management and Comprehension Tool for Java"
|
||||
SRC_URI="mirror://apache/maven/maven-${MY_MV}/${PV}/binaries/${MY_P}-bin.tar.gz"
|
||||
HOMEPAGE="https://maven.apache.org/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3.3"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.8
|
||||
app-eselect/eselect-java"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.8"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
MAVEN="${PN}-${SLOT}"
|
||||
MAVEN_SHARE="/usr/share/${MAVEN}"
|
||||
|
||||
# TODO:
|
||||
# We should use jars from packages, instead of what is bundled.
|
||||
src_install() {
|
||||
dodir "${MAVEN_SHARE}"
|
||||
|
||||
cp -Rp bin boot conf lib "${ED}/${MAVEN_SHARE}" || die "failed to copy"
|
||||
|
||||
java-pkg_regjar "${ED}/${MAVEN_SHARE}"/boot/*.jar
|
||||
java-pkg_regjar "${ED}/${MAVEN_SHARE}"/lib/*.jar
|
||||
|
||||
dodoc NOTICE README.txt
|
||||
|
||||
dodir /usr/bin
|
||||
dosym "${MAVEN_SHARE}/bin/mvn" /usr/bin/mvn-${SLOT}
|
||||
|
||||
# See bug #342901.
|
||||
echo "CONFIG_PROTECT=\"${MAVEN_SHARE}/conf\"" > "${T}/25${MAVEN}" || die
|
||||
doenvd "${T}/25${MAVEN}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect maven update mvn-${SLOT}
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect maven update
|
||||
}
|
@ -1,109 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit java-pkg-2
|
||||
|
||||
MY_PN=apache-${PN%%-bin}
|
||||
MY_PV=${PV/_alpha/-alpha-}
|
||||
MY_P="${MY_PN}-${MY_PV}"
|
||||
MY_MV="${PV%%.*}"
|
||||
|
||||
DESCRIPTION="Project Management and Comprehension Tool for Java"
|
||||
SRC_URI="mirror://apache/maven/maven-${MY_MV}/${PV}/binaries/${MY_P}-bin.tar.gz"
|
||||
HOMEPAGE="https://maven.apache.org/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3.6"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
# TODO: Needs further resolution:
|
||||
#
|
||||
# - https://bugs.gentoo.org/show_bug.cgi?id=472850
|
||||
# - https://bugs.gentoo.org/show_bug.cgi?id=477436
|
||||
#
|
||||
CDEPEND="
|
||||
dev-java/juel:0
|
||||
dev-java/log4j:0
|
||||
dev-java/jsoup:0
|
||||
dev-java/jsr250:0
|
||||
dev-java/commons-io:1
|
||||
dev-java/aopalliance:1
|
||||
dev-java/commons-cli:1
|
||||
dev-java/javax-inject:0
|
||||
dev-java/osgi-core-api:0
|
||||
dev-java/commons-logging:0
|
||||
java-virtuals/interceptor-api:0
|
||||
java-virtuals/servlet-api:3.0"
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
app-eselect/eselect-java
|
||||
|| ( dev-java/commons-logging:0 dev-java/log4j:0 )
|
||||
>=virtual/jdk-1.7"
|
||||
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jre-1.7"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
MAVEN="${PN}-${SLOT}"
|
||||
MAVEN_SHARE="/usr/share/${MAVEN}"
|
||||
|
||||
MAVEN_DEPENDENCIES=(
|
||||
juel
|
||||
jsoup
|
||||
log4j
|
||||
jsr250
|
||||
javax-inject
|
||||
commons-io-1
|
||||
osgi-core-api
|
||||
aopalliance-1
|
||||
commons-cli-1
|
||||
commons-logging
|
||||
interceptor-api
|
||||
servlet-api-3.0
|
||||
)
|
||||
|
||||
java_prepare() {
|
||||
rm -v bin/*.cmd lib/{aopalliance,commons-cli,javax.inject,jsr250}-*.jar || die
|
||||
|
||||
chmod 644 boot/*.jar lib/*.jar conf/settings.xml || die
|
||||
|
||||
# Symlink jars.
|
||||
cd lib || die
|
||||
|
||||
# Link deps.
|
||||
for mvn_dep in "${MAVEN_DEPENDENCIES[@]}"; do
|
||||
java-pkg_jar-from "${mvn_dep}"
|
||||
done
|
||||
}
|
||||
|
||||
# TODO: We should use jars from packages, instead of what is bundled.
|
||||
src_install() {
|
||||
dodir "${MAVEN_SHARE}"
|
||||
|
||||
cp -Rp bin boot conf lib "${ED}/${MAVEN_SHARE}" || die "failed to copy"
|
||||
|
||||
java-pkg_regjar "${ED}/${MAVEN_SHARE}"/boot/*.jar
|
||||
java-pkg_regjar "${ED}/${MAVEN_SHARE}"/lib/*.jar
|
||||
|
||||
dodoc NOTICE README.txt
|
||||
|
||||
dodir /usr/bin
|
||||
dosym "${MAVEN_SHARE}/bin/mvn" /usr/bin/mvn-${SLOT}
|
||||
|
||||
# See bug #342901.
|
||||
echo "CONFIG_PROTECT=\"${MAVEN_SHARE}/conf\"" > "${T}/25${MAVEN}" || die
|
||||
doenvd "${T}/25${MAVEN}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect maven update mvn-${SLOT}
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect maven update
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit java-pkg-2
|
||||
|
||||
MY_PN=apache-${PN%%-bin}
|
||||
MY_PV=${PV/_alpha/-alpha-}
|
||||
MY_P="${MY_PN}-${MY_PV}"
|
||||
MY_MV="${PV%%.*}"
|
||||
|
||||
DESCRIPTION="Project Management and Comprehension Tool for Java"
|
||||
SRC_URI="mirror://apache/maven/maven-${MY_MV}/${PV}/binaries/${MY_P}-bin.tar.gz"
|
||||
HOMEPAGE="https://maven.apache.org/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3.6"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.8
|
||||
app-eselect/eselect-java"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.8"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
MAVEN="${PN}-${SLOT}"
|
||||
MAVEN_SHARE="/usr/share/${MAVEN}"
|
||||
|
||||
# TODO:
|
||||
# We should use jars from packages, instead of what is bundled.
|
||||
src_install() {
|
||||
dodir "${MAVEN_SHARE}"
|
||||
|
||||
cp -Rp bin boot conf lib "${ED}/${MAVEN_SHARE}" || die "failed to copy"
|
||||
|
||||
java-pkg_regjar "${ED}/${MAVEN_SHARE}"/boot/*.jar
|
||||
java-pkg_regjar "${ED}/${MAVEN_SHARE}"/lib/*.jar
|
||||
|
||||
dodoc NOTICE README.txt
|
||||
|
||||
dodir /usr/bin
|
||||
dosym "${MAVEN_SHARE}/bin/mvn" /usr/bin/mvn-${SLOT}
|
||||
|
||||
# See bug #342901.
|
||||
echo "CONFIG_PROTECT=\"${MAVEN_SHARE}/conf\"" > "${T}/25${MAVEN}" || die
|
||||
doenvd "${T}/25${MAVEN}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect maven update mvn-${SLOT}
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect maven update
|
||||
}
|
@ -1,109 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit java-pkg-2
|
||||
|
||||
MY_PN=apache-${PN%%-bin}
|
||||
MY_PV=${PV/_alpha/-alpha-}
|
||||
MY_P="${MY_PN}-${MY_PV}"
|
||||
MY_MV="${PV%%.*}"
|
||||
|
||||
DESCRIPTION="Project Management and Comprehension Tool for Java"
|
||||
SRC_URI="mirror://apache/maven/maven-${MY_MV}/${PV}/binaries/${MY_P}-bin.tar.gz"
|
||||
HOMEPAGE="https://maven.apache.org/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3.6"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
# TODO: Needs further resolution:
|
||||
#
|
||||
# - https://bugs.gentoo.org/show_bug.cgi?id=472850
|
||||
# - https://bugs.gentoo.org/show_bug.cgi?id=477436
|
||||
#
|
||||
CDEPEND="
|
||||
dev-java/juel:0
|
||||
dev-java/log4j:0
|
||||
dev-java/jsoup:0
|
||||
dev-java/jsr250:0
|
||||
dev-java/commons-io:1
|
||||
dev-java/aopalliance:1
|
||||
dev-java/commons-cli:1
|
||||
dev-java/javax-inject:0
|
||||
dev-java/osgi-core-api:0
|
||||
dev-java/commons-logging:0
|
||||
java-virtuals/interceptor-api:0
|
||||
java-virtuals/servlet-api:3.0"
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
app-eselect/eselect-java
|
||||
|| ( dev-java/commons-logging:0 dev-java/log4j:0 )
|
||||
>=virtual/jdk-1.7"
|
||||
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jre-1.7"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
MAVEN="${PN}-${SLOT}"
|
||||
MAVEN_SHARE="/usr/share/${MAVEN}"
|
||||
|
||||
MAVEN_DEPENDENCIES=(
|
||||
juel
|
||||
jsoup
|
||||
log4j
|
||||
jsr250
|
||||
javax-inject
|
||||
commons-io-1
|
||||
osgi-core-api
|
||||
aopalliance-1
|
||||
commons-cli-1
|
||||
commons-logging
|
||||
interceptor-api
|
||||
servlet-api-3.0
|
||||
)
|
||||
|
||||
java_prepare() {
|
||||
rm -v bin/*.cmd lib/{aopalliance,commons-cli,javax.inject,jsr250}-*.jar || die
|
||||
|
||||
chmod 644 boot/*.jar lib/*.jar conf/settings.xml || die
|
||||
|
||||
# Symlink jars.
|
||||
cd lib || die
|
||||
|
||||
# Link deps.
|
||||
for mvn_dep in "${MAVEN_DEPENDENCIES[@]}"; do
|
||||
java-pkg_jar-from "${mvn_dep}"
|
||||
done
|
||||
}
|
||||
|
||||
# TODO: We should use jars from packages, instead of what is bundled.
|
||||
src_install() {
|
||||
dodir "${MAVEN_SHARE}"
|
||||
|
||||
cp -Rp bin boot conf lib "${ED}/${MAVEN_SHARE}" || die "failed to copy"
|
||||
|
||||
java-pkg_regjar "${ED}/${MAVEN_SHARE}"/boot/*.jar
|
||||
java-pkg_regjar "${ED}/${MAVEN_SHARE}"/lib/*.jar
|
||||
|
||||
dodoc NOTICE README.txt
|
||||
|
||||
dodir /usr/bin
|
||||
dosym "${MAVEN_SHARE}/bin/mvn" /usr/bin/mvn-${SLOT}
|
||||
|
||||
# See bug #342901.
|
||||
echo "CONFIG_PROTECT=\"${MAVEN_SHARE}/conf\"" > "${T}/25${MAVEN}" || die
|
||||
doenvd "${T}/25${MAVEN}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect maven update mvn-${SLOT}
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect maven update
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST sassc-3.5.0.tar.gz 25834 BLAKE2B 69bb085f537ca2fba70aa96326e49f756cab52a8cac631dbe0dc88459a488c65dd856deebea335d4b3539b30658b327c3d32d1e79dae1021893a0627508ceadd SHA512 9c94056f66688016dd8eaae9cc791be4b397406b89f1289946c4481b5e1904486878d22fd65e695ed89f9b41a9f902932eb4074e7b0923ce3d4823ea3140334f
|
||||
DIST sassc-3.6.0.tar.gz 26111 BLAKE2B 91d634bd652607407c48f141aa39260739357f6eeb4bade1fff1bfdd4e4e6e0757712501395c913ef1a8944ec9174649fa5ce657af4afec6f9f0eb7f804e1ff2 SHA512 0d8de651b1587f4994a5da85ad09ec2ce6e240213dbaa567c6b9baa612fe82e337061d9a5a8a3a5588e4c366c1178b6fd04e9d699a0be3d83c68f98bac774527
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools
|
||||
|
||||
SRC_URI="https://github.com/sass/sassc/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux"
|
||||
|
||||
DESCRIPTION="A libsass command line driver"
|
||||
HOMEPAGE="https://github.com/sass/sassc"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-libs/libsass:="
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( Readme.md )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools
|
||||
|
||||
if [[ ${PV} = *9999 ]]; then
|
||||
EGIT_REPO_URI="https://github.com/sass/sassc.git"
|
||||
inherit git-r3
|
||||
KEYWORDS=
|
||||
else
|
||||
SRC_URI="https://github.com/sass/sassc/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A libsass command line driver"
|
||||
HOMEPAGE="https://github.com/sass/sassc"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-libs/libsass-3.5:="
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( Readme.md )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if [[ ${PV} != *9999 ]]; then
|
||||
[[ -f VERSION ]] || echo "${PV}" > VERSION
|
||||
fi
|
||||
|
||||
eautoreconf
|
||||
}
|
Binary file not shown.
@ -1,3 +1,2 @@
|
||||
DIST efl-1.20.7.tar.xz 65509444 BLAKE2B f58f7daf850ef9983fe4b3a10a3ceb137be7f7ae32c71f476498f677de690bfcc7c16aea5032168a42aa6b5f97d1fb5ca51dafc69d80e2a9262f4d78220a8562 SHA512 c1bf18b74316cf9bd0bc16635c216ca0d8005b2ded1c014b22590388e37368343e5e5318f526dcb042cfce8ab2c7a82655e4718cbcac5dd1ed0d2522a7a2d7de
|
||||
DIST efl-1.21.1.tar.xz 71168368 BLAKE2B 4653e97f7b9a824d8e84dd1463dd6c95c0228bb3a03df1915f604136380343ad52e86e6b485f0aa14f1caef5a36451425b79cf2a5123c83d8e8a6d430ff213bf SHA512 1e26a57fca84ec85e45d707ee57abc50bd18edfa82e478e586300b6ad5ab8b9103a54a656902d29d80425988a6116a40aa01758fb8dd581dd48334ca0f4d5a63
|
||||
DIST efl-1.22.2.tar.xz 71320272 BLAKE2B b1eb66228ec5a92f5d89bf38d95439f9bfb0b09a074e418094474d7c7d0de6a4ae998321a02273a5c9bbcfcba260a7ff3d8cef0af445293869c82c57dec2cca0 SHA512 7385b1fdeee0a4565a0765fedbe5cecca81b86b306ee95a703b3064a88427ab0b4967f6f075a92f5c1d5911cefc56a9c2d45c7347572480169e3f53348321734
|
||||
|
@ -1,302 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit gnome2-utils pax-utils xdg-utils
|
||||
|
||||
DESCRIPTION="Enlightenment Foundation Libraries all-in-one package"
|
||||
HOMEPAGE="https://www.enlightenment.org/"
|
||||
SRC_URI="https://download.enlightenment.org/rel/libs/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="BSD-2 GPL-2 LGPL-2.1 ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE="avahi +bmp dds connman debug doc drm +eet examples fbcon +fontconfig fribidi gif gles2 glib gnutls gstreamer harfbuzz hyphen +ico ibus ivi jpeg2k libressl libuv luajit neon nls opengl ssl pdf physics pixman postscript +ppm +psd pulseaudio raw scim sdl sound static-libs svg systemd tga tiff tslib unwind v4l valgrind vlc vnc wayland webp X xcf xim xine xpm xpresent"
|
||||
|
||||
REQUIRED_USE="
|
||||
?? ( gles2 opengl )
|
||||
fbcon? ( !tslib )
|
||||
gles2? (
|
||||
|| ( wayland X )
|
||||
!sdl
|
||||
)
|
||||
ibus? ( glib )
|
||||
opengl? ( X )
|
||||
pulseaudio? ( sound )
|
||||
sdl? ( opengl )
|
||||
vnc? ( fbcon X )
|
||||
wayland? ( gles2 !opengl )
|
||||
xim? ( X )
|
||||
"
|
||||
|
||||
COMMON_DEPEND="
|
||||
media-libs/libpng:0=
|
||||
sys-apps/dbus
|
||||
sys-apps/util-linux
|
||||
sys-libs/zlib:=
|
||||
virtual/jpeg:0=
|
||||
avahi? ( net-dns/avahi )
|
||||
connman? ( net-misc/connman )
|
||||
drm? (
|
||||
dev-libs/libinput
|
||||
media-libs/mesa[gbm]
|
||||
x11-libs/libdrm
|
||||
x11-libs/libxkbcommon
|
||||
)
|
||||
fontconfig? ( media-libs/fontconfig )
|
||||
fribidi? ( dev-libs/fribidi )
|
||||
gif? ( media-libs/giflib:= )
|
||||
glib? ( dev-libs/glib:2 )
|
||||
gles2? ( media-libs/mesa[egl,gles2] )
|
||||
gstreamer? (
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
)
|
||||
harfbuzz? ( media-libs/harfbuzz )
|
||||
hyphen? ( dev-libs/hyphen )
|
||||
ibus? ( app-i18n/ibus )
|
||||
jpeg2k? ( media-libs/openjpeg:0= )
|
||||
libuv? ( dev-libs/libuv )
|
||||
luajit? ( dev-lang/luajit:= )
|
||||
!luajit? ( dev-lang/lua:* )
|
||||
nls? ( sys-devel/gettext )
|
||||
pdf? ( app-text/poppler:=[cxx] )
|
||||
physics? ( sci-physics/bullet:= )
|
||||
pixman? ( x11-libs/pixman )
|
||||
postscript? ( app-text/libspectre )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
raw? ( media-libs/libraw:= )
|
||||
scim? ( app-i18n/scim )
|
||||
sdl? (
|
||||
media-libs/libsdl2
|
||||
virtual/opengl
|
||||
)
|
||||
sound? ( media-libs/libsndfile )
|
||||
ssl? (
|
||||
gnutls? ( net-libs/gnutls:= )
|
||||
!gnutls? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
)
|
||||
)
|
||||
svg? (
|
||||
gnome-base/librsvg
|
||||
x11-libs/cairo
|
||||
)
|
||||
systemd? ( sys-apps/systemd )
|
||||
tiff? ( media-libs/tiff:0= )
|
||||
tslib? ( x11-libs/tslib:= )
|
||||
unwind? ( sys-libs/libunwind )
|
||||
valgrind? ( dev-util/valgrind )
|
||||
vlc? ( >=media-video/vlc-3.0.0 )
|
||||
vnc? ( net-libs/libvncserver )
|
||||
wayland? (
|
||||
dev-libs/wayland
|
||||
media-libs/mesa[gles2,wayland]
|
||||
x11-libs/libxkbcommon
|
||||
)
|
||||
webp? ( media-libs/libwebp:= )
|
||||
X? (
|
||||
media-libs/freetype
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libX11
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXtst
|
||||
x11-libs/libXScrnSaver
|
||||
opengl? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXrender
|
||||
virtual/opengl
|
||||
)
|
||||
gles2? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXrender
|
||||
virtual/opengl
|
||||
xpresent? ( x11-libs/libXpresent )
|
||||
)
|
||||
)
|
||||
xine? ( media-libs/xine-lib )
|
||||
xpm? ( x11-libs/libXpm )
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
!media-libs/elementary
|
||||
!media-plugins/emotion_generic_players
|
||||
!media-plugins/evas_generic_loaders
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Remove sleep command that forces user to read warnings about their configuration.
|
||||
# Back out gnu make hack that causes regen of Makefiles.
|
||||
# Delete var setting that causes the build to abort.
|
||||
sed -i \
|
||||
-e '/sleep 10/d' \
|
||||
-e '/^#### Work around bug in automake check macro$/,/^#### Info$/d' \
|
||||
-e '/BARF_OK=/s:=.*:=:' \
|
||||
configure || die "Sedding configure file failed in src_prepare."
|
||||
|
||||
# Upstream still doesnt offer a configure flag. #611108
|
||||
if ! use unwind ; then
|
||||
sed -i -e 's:libunwind libunwind-generic:xxxxxxxxxxxxxxxx:' \
|
||||
configure || die "Sedding configure file with unwind fix failed."
|
||||
fi
|
||||
|
||||
xdg_environment_reset
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
--enable-i-really-know-what-i-am-doing-and-that-this-will-probably-break-things-and-i-will-fix-them-myself-and-send-patches-abb
|
||||
--enable-cserve
|
||||
--enable-image-loader-generic
|
||||
--enable-image-loader-jpeg
|
||||
--enable-image-loader-png
|
||||
--enable-libmount
|
||||
--enable-xinput2
|
||||
|
||||
--disable-eglfs
|
||||
--disable-gesture
|
||||
--disable-gstreamer
|
||||
--disable-image-loader-tgv
|
||||
--disable-tizen
|
||||
--disable-xinput22
|
||||
|
||||
$(use_enable avahi)
|
||||
$(use_enable bmp image-loader-bmp)
|
||||
$(use_enable bmp image-loader-wbmp)
|
||||
$(use_enable dds image-loader-dds)
|
||||
$(use_enable drm)
|
||||
$(use_enable drm elput)
|
||||
$(use_enable doc)
|
||||
$(use_enable eet image-loader-eet)
|
||||
$(use_enable examples always-build-examples)
|
||||
$(use_enable fbcon fb)
|
||||
$(use_enable fontconfig)
|
||||
$(use_enable fribidi)
|
||||
$(use_enable gif image-loader-gif)
|
||||
$(use_enable gles2 egl)
|
||||
$(use_enable gstreamer gstreamer1)
|
||||
$(use_enable harfbuzz)
|
||||
$(use_enable hyphen)
|
||||
$(use_enable ico image-loader-ico)
|
||||
$(use_enable ibus)
|
||||
$(use_enable ivi wayland-ivi-shell)
|
||||
$(use_enable jpeg2k image-loader-jp2k)
|
||||
$(use_enable libuv)
|
||||
$(use_enable !luajit lua-old)
|
||||
$(use_enable neon)
|
||||
$(use_enable nls)
|
||||
$(use_enable pdf poppler)
|
||||
$(use_enable physics)
|
||||
$(use_enable pixman)
|
||||
$(use_enable pixman pixman-font)
|
||||
$(use_enable pixman pixman-rect)
|
||||
$(use_enable pixman pixman-line)
|
||||
$(use_enable pixman pixman-poly)
|
||||
$(use_enable pixman pixman-image)
|
||||
$(use_enable pixman pixman-image-scale-sample)
|
||||
$(use_enable postscript spectre)
|
||||
$(use_enable ppm image-loader-pmaps)
|
||||
$(use_enable psd image-loader-psd)
|
||||
$(use_enable pulseaudio)
|
||||
$(use_enable raw libraw)
|
||||
$(use_enable scim)
|
||||
$(use_enable sdl)
|
||||
$(use_enable sound audio)
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable svg librsvg)
|
||||
$(use_enable systemd)
|
||||
$(use_enable tga image-loader-tga)
|
||||
$(use_enable tiff image-loader-tiff)
|
||||
$(use_enable tslib)
|
||||
$(use_enable v4l v4l2)
|
||||
$(use_enable valgrind)
|
||||
$(use_enable vlc libvlc)
|
||||
$(use_enable vnc vnc-server)
|
||||
$(use_enable wayland)
|
||||
$(use_enable webp image-loader-webp)
|
||||
$(use_enable xcf)
|
||||
$(use_enable xim)
|
||||
$(use_enable xine)
|
||||
$(use_enable xpm image-loader-xpm)
|
||||
|
||||
--with-crypto=$(usex gnutls gnutls $(usex ssl openssl none))
|
||||
--with-glib=$(usex glib)
|
||||
--with-js=none
|
||||
--with-net-control=$(usex connman connman none)
|
||||
--with-profile=$(usex debug debug release)
|
||||
--with-x11=$(usex X xlib none)
|
||||
|
||||
$(use_with X x)
|
||||
)
|
||||
|
||||
use drm && use wayland && myconf+=( --enable-gl-drm )
|
||||
use X && use xpresent && myconf+=( --enable-xpresent )
|
||||
|
||||
if use opengl ; then
|
||||
myconf+=( --with-opengl=full )
|
||||
elif use gles2 ; then
|
||||
myconf+=( --with-opengl=es )
|
||||
elif use drm && use wayland ; then
|
||||
myconf+=( --with-opengl=es )
|
||||
else
|
||||
myconf+=( --with-opengl=none )
|
||||
fi
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if host-is-pax && use luajit ; then
|
||||
# We need to build the lua code first so we can pax-mark it. #547076
|
||||
local target='_e_built_sources_target_gogogo_'
|
||||
printf '%s: $(BUILT_SOURCES)\n' "${target}" >> src/Makefile || die
|
||||
emake -C src "${target}"
|
||||
emake -C src bin/elua/elua
|
||||
pax-mark m src/bin/elua/.libs/elua
|
||||
fi
|
||||
|
||||
V=1 emake || die "Compiling EFL failed."
|
||||
|
||||
if use doc ; then
|
||||
V=1 emake -j1 doc || die "Compiling docs for EFL failed."
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use doc ; then
|
||||
local HTML_DOCS=( doc/. )
|
||||
fi
|
||||
|
||||
einstalldocs
|
||||
|
||||
V=1 emake install DESTDIR="${D}" || die "Installing EFL files failed."
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST ivykis-0.42.2.tar.gz 653885 BLAKE2B e4a5310ce6fd15aea79091edd56221f77c64a68472fa9bd44715da8c21b4b54f55c2e8c886491afcb8c206107b78b20cd7ad727a96690e8c718f2a2aaeb32aac SHA512 0a166869b434668219c379a8acf7b2da17cb1e29aef74f9dde869a322d3b34e36c84bd67800f7fb234a29bf9372061329189f02ab6d7f85bb2622b4c43185270
|
||||
DIST ivykis-0.42.3.tar.gz 654302 BLAKE2B 75a143b71bf69371b0b58c8ce342f404c8b67604480523e91b37541c74305950996696dae1c8b03277c240c7ff259560ce26a2899c52fb804f0114b8575918ed SHA512 d67560775d236dd205ef0f5de42bb7fedf52855ff0624f8abcb4ac80a75d4695650fcfbdf88b0e7339bf5c250df741428941881c3d7a2551ffe987cc31dff514
|
||||
DIST ivykis-0.42.4.tar.gz 656775 BLAKE2B 9b85dacb74eae99907999d5181029a824c5f0d6aabb41d892353723318f9ff6fc1a2a6296224c7ee407510f7354f2ee934d40b9627a0fd13489bf53b8ff7f115 SHA512 26f4fa28582555004cbe1d80cb042f93deb42b195c7d563ce4048ace25c74bb558455d98d2d8e0e59534fabb2dff6503aff16d0feb7a05fd835b63432f080286
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Library for asynchronous I/O readiness notification"
|
||||
HOMEPAGE="https://github.com/buytenh/ivykis"
|
||||
SRC_URI="https://github.com/buytenh/ivykis/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="static-libs"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
find "${ED}" -name "*.la" -delete || die
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue