Sync with portage [Wed Jan 25 08:30:58 MSK 2017].

mhiretskiy 740
root 7 years ago
parent 8071d77f32
commit 3cbc49aea6

@ -32,7 +32,8 @@ RDEPEND="${CDEPEND}
app-portage/eix
sys-apps/dmidecode
sys-libs/glibc
sys-libs/readline:0
>=sys-libs/readline-6.0
<sys-libs/readline-7.0
selinux? (
sys-libs/libselinux[ruby]
sec-policy/selinux-puppet

@ -2,3 +2,4 @@ DIST gnupg-1.4.21.tar.bz2 3689305 SHA256 6b47a3100c857dcab3c60e6152e56a997f2c786
DIST gnupg-2.0.28.tar.bz2 4435779 SHA256 ce092ee4ab58fd19b9fb34a460c07b06c348f4360dd5dd4886d041eb521a534c SHA512 7e786fe0648d5ea453f9c7524fec4bd7d5eec26d28f723acf3cb2f7ec9c400c339f0926a179411876c3f8e08b06942dcec643dc930caf58239bbd4932f4bd3c1 WHIRLPOOL ccf7427e54a545914e89677618055a114b4c9dc4db48669a2fc726fced98475df4ed27c93bd180f1250d147111ee663c736cdf4e1d8afdc40ed967cdffd0eb66
DIST gnupg-2.1.15.tar.bz2 5723689 SHA256 c28c1a208f1b8ad63bdb6b88d252f6734ff4d33de6b54e38494b11d49e00ffdd SHA512 69c943e853e1a37e8b17b3bc34e1503f14bc8f189fa9f3ac6644bcc98ccce6eaef64da20ff9dd1c8de3a7789ea577167984ccf3ac286cac50752e6f7c2f42ab1 WHIRLPOOL 4c5a8cd4e8b7196f4a355ce7739cf6e23c43817414e10bbba219117e4e51c4c618ffb5dbce27cb836a2171eda58e003d5ddf78d4af09a813c2a1729963413151
DIST gnupg-2.1.17.tar.bz2 5970042 SHA256 c5dc54db432209fa8f9bdb071c8fb60a765ff28e363150e30bdd4543160243cb SHA512 f826100be4f0480b9a2c68a51dd668e0fd551fd250a37dbe906fe5a89c658b4861a0567038bf687473de9901e268809c1b8d8c200008e082a3ace189d9829b9c WHIRLPOOL d70fa5ae0a90d5c9fa594d79cdb9bc1528b7db1a35d23ee7d3f047b4fb275d02bd8f5e6ccb0a798fedf539c8c384d3713295785183266de43fe3cb978c47916b
DIST gnupg-2.1.18.tar.bz2 6308666 SHA256 d04c6fab7e5562ce4b915b22020e34d4c1a256847690cf149842264fc7cef994 SHA512 b8357f0a883a33c2e4f6ab5a8f5ddb171c899b7a2899e8ce4cac232938fe1dffb789a54980dfc4b758c4cb47f11f1fc570fea905244735048dfc6f06b3353baf WHIRLPOOL c5f132beb3b454146747fe14cd12576fb4d9a9adb8cfd80fcae4482b111672fd38e412dba72caa75af717069d7182a99c7f30ea03dc9adf190f5aa1f01748247

@ -0,0 +1,34 @@
From c34486a64c223bcbfbb57d9abcf107d684b815b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= <flameeyes@gmail.com>
Date: Sun, 17 Apr 2011 01:34:39 +0200
Subject: [PATCH] gpgsm-gencert.sh: make sure not to abort after creating temp
file.
https://bugs.g10code.com/gnupg/issue1466
---
tools/gpgsm-gencert.sh | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/tools/gpgsm-gencert.sh b/tools/gpgsm-gencert.sh
index b209c8e..e7c812f 100755
--- a/tools/gpgsm-gencert.sh
+++ b/tools/gpgsm-gencert.sh
@@ -178,10 +178,10 @@ Key-Length: $KEY_LENGTH
Key-Usage: $KEY_USAGE
Name-DN: $NAME
EOF
-[ -n "$KEY_GRIP" ] && echo "Key-Grip: $KEY_GRIP"
-[ -n "$EMAIL_ADDRESSES" ] && echo "$EMAIL_ADDRESSES"
-[ -n "$DNS_ADDRESSES" ] && echo "$DNS_ADDRESSES"
-[ -n "$URI_ADDRESSES" ] && echo "$URI_ADDRESSES"
+[ -n "$KEY_GRIP" ] && echo "Key-Grip: $KEY_GRIP" || true
+[ -n "$EMAIL_ADDRESSES" ] && echo "$EMAIL_ADDRESSES" || true
+[ -n "$DNS_ADDRESSES" ] && echo "$DNS_ADDRESSES" || true
+[ -n "$URI_ADDRESSES" ] && echo "$URI_ADDRESSES" || true
) > "$file_parameter"
--
1.7.5.rc1

@ -0,0 +1,123 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="6"
inherit eutils flag-o-matic toolchain-funcs
DESCRIPTION="The GNU Privacy Guard, a GPL OpenPGP implementation"
HOMEPAGE="http://www.gnupg.org/"
LICENSE="GPL-3"
MY_P="${P/_/-}"
SRC_URI="mirror://gnupg/gnupg/${MY_P}.tar.bz2"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-fbsd ~x86-freebsd ~x86-macos"
SLOT="0"
IUSE="bzip2 doc +gnutls ldap nls readline selinux +smartcard tofu tools usb wks-server"
COMMON_DEPEND_LIBS="
>=dev-libs/npth-1.2
>=dev-libs/libassuan-2.4.3
>=dev-libs/libgcrypt-1.7.3
>=dev-libs/libgpg-error-1.24
>=dev-libs/libksba-1.3.4
>=net-misc/curl-7.10
gnutls? ( >=net-libs/gnutls-3.0:0= )
sys-libs/zlib
ldap? ( net-nds/openldap )
bzip2? ( app-arch/bzip2 )
readline? ( sys-libs/readline:0= )
smartcard? ( usb? ( virtual/libusb:0 ) )
tofu? ( >=dev-db/sqlite-3.7 )
"
COMMON_DEPEND_BINS="app-crypt/pinentry
!app-crypt/dirmngr"
# Existence of executables is checked during configuration.
DEPEND="${COMMON_DEPEND_LIBS}
${COMMON_DEPEND_BINS}
nls? ( sys-devel/gettext )
doc? ( sys-apps/texinfo )"
RDEPEND="${COMMON_DEPEND_LIBS}
${COMMON_DEPEND_BINS}
selinux? ( sec-policy/selinux-gpg )
nls? ( virtual/libintl )"
S="${WORKDIR}/${MY_P}"
DOCS=(
ChangeLog NEWS README THANKS TODO VERSION
doc/FAQ doc/DETAILS doc/HACKING doc/TRANSLATE doc/OpenPGP doc/KEYSERVER
)
PATCHES=(
"${FILESDIR}/${PN}-2.1.16-gpgscm-Use-shorter-socket-path-lengts-to-improve-tes.patch"
)
src_configure() {
local myconf=()
if use smartcard; then
myconf+=(
--enable-scdaemon
$(use_enable usb ccid-driver)
)
else
myconf+=( --disable-scdaemon )
fi
if use elibc_SunOS || use elibc_AIX; then
myconf+=( --disable-symcryptrun )
else
myconf+=( --enable-symcryptrun )
fi
# glib fails and picks up clang's internal stdint.h causing weird errors
[[ ${CC} == *clang ]] && \
export gl_cv_absolute_stdint_h=/usr/include/stdint.h
econf \
"${myconf[@]}" \
$(use_enable bzip2) \
$(use_enable gnutls) \
$(use_enable nls) \
$(use_enable tofu) \
$(use_enable wks-server wks-tools) \
$(use_with ldap) \
$(use_with readline) \
--enable-gpg \
--enable-gpgsm \
--enable-large-secmem \
--enable-tools \
CC_FOR_BUILD="$(tc-getBUILD_CC)"
}
src_compile() {
default
use doc && emake -C doc html
}
src_install() {
default
use tools &&
dobin \
tools/{convert-from-106,gpg-check-pattern} \
tools/{gpg-zip,gpgconf,gpgsplit,lspgpot,mail-signed-keys} \
tools/make-dns-cert
emake DESTDIR="${ED}" -f doc/Makefile uninstall-nobase_dist_docDATA
dosym gpg2 /usr/bin/gpg
dosym gpgv2 /usr/bin/gpgv
echo ".so man1/gpg2.1" > "${ED}"/usr/share/man/man1/gpg.1
echo ".so man1/gpgv2.1" > "${ED}"/usr/share/man/man1/gpgv.1
dodir /etc/env.d
echo "CONFIG_PROTECT=/usr/share/gnupg/qualified.txt" >> "${ED}"/etc/env.d/30gnupg
use doc && dodoc doc/gnupg.html/* doc/*.png
}

@ -0,0 +1 @@
DIST genymotion-2.8.1_x64.bin 47061574 SHA256 4f971beb117c578d07ca71a7a8d6cd3a574fdee2df48eb165a15a26b57625408 SHA512 8ca4f46e983ffa2a19c21e961b6638af859f7635bd3a976c0b5709622a536569c81ccf3b08f52f0016e37990d83b1fd38cc86c9dbb5599e727fd48558567dfa7 WHIRLPOOL 2ccd896f1f017d2399366d822b5615b607fe74d557d3c3b6c746bdd2814cd081835397608a08f1135367cb79a26e19917f0f4186d1e535b63f347647afbbc5ce

@ -0,0 +1,107 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit eutils bash-completion-r1
MY_PN="${PN/-bin}"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Complete set of tools that provide a virtual environment for Android"
HOMEPAGE="http://genymotion.com"
SRC_URI="${MY_P}_x64.bin"
DOWNLOAD_URL="https://www.genymotion.com/download/"
LICENSE="genymotion"
SLOT="0"
KEYWORDS="-* ~amd64"
DEPEND=""
RDEPEND="|| ( >=app-emulation/virtualbox-5.0.28 >=app-emulation/virtualbox-bin-5.0.28 )
virtual/opengl
media-libs/libpng:1.2
dev-libs/openssl
dev-qt/qtgui:5[libinput,xcb]
dev-qt/qtsql:5[sqlite]
dev-util/android-sdk-update-manager
media-libs/jpeg:8
dev-libs/protobuf:0/9
dev-libs/double-conversion
sys-apps/util-linux
media-libs/fontconfig:1.0
media-libs/harfbuzz[graphite]
>=dev-libs/libffi-3.0.13-r1
media-libs/gstreamer[orc]
"
RESTRICT="fetch"
pkg_nofetch() {
einfo
einfo "Please visit ${DOWNLOAD_URL} and download ${MY_P}_x64.bin"
einfo "which must be placed in ${DISTDIR}"
einfo
}
pkg_setup() {
# removed function _install_desktop_file because happens outside of sandbox
sed -i -e "s/_install_desktop_file\ ||\ abort//" "${DISTDIR}"/${A} || die "sed failed"
chmod +x "${DISTDIR}"/${A} || die "chmod failed"
}
src_unpack() {
yes | "${DISTDIR}"/${A} -d "${S}" > /dev/null || die "unpack failed"
}
src_prepare() {
default
# removed windows line for bashcompletion
sed -i -e "s/complete\ -F\ _gmtool\ gmtool.exe//" "${S}/${MY_PN}/completion/bash/gmtool.bash" || die "sed failed"
}
QA_PREBUILT="
opt/${MY_PN}/*.so*
opt/${MY_PN}/imageformats/*.so
opt/${MY_PN}/plugins/*.so*
opt/${MY_PN}/device-upgrade
opt/${MY_PN}/${MY_PN}
opt/${MY_PN}/genyshell
opt/${MY_PN}/player
opt/${MY_PN}/${MY_PN}adbtunneld
opt/${MY_PN}/gmtool
"
src_install() {
insinto /opt/"${MY_PN}"
doins -r "${MY_PN}"/{plugins,translations,icons}
doins "${MY_PN}"/{libcom,librendering}.so*
# library that differ from system version
doins "${MY_PN}"/{libicudata,libicui18n,libicuuc,libswscale,libavutil}.so*
# android library
doins "${MY_PN}"/{libEGL_translator,libGLES_CM_translator,libGLES_V2_translator,libOpenglRender}.so*
insopts -m0755
doins "${MY_PN}"/{device-upgrade,genymotion,genyshell,player,genymotionadbtunneld,gmtool}
dosym "${ED%/}"/opt/"${MY_PN}"/genyshell /opt/bin/genyshell
dosym "${ED%/}"/opt/"${MY_PN}"/"${MY_PN}" /opt/bin/"${MY_PN}"
dosym "${ED%/}"/opt/"${MY_PN}"/device-upgrade /opt/bin/"${MY_PN}"-device-upgrade
dosym "${ED%/}"/opt/"${MY_PN}"/player /opt/bin/"${MY_PN}"-player
dosym "${ED%/}"/opt/"${MY_PN}"/"${MY_PN}"adbtunneld /opt/bin/"${MY_PN}"adbtunneld
dosym "${ED%/}"/opt/"${MY_PN}"/gmtool /opt/bin/gmtool
# Workaround
dosym "${ED%/}/"usr/$(get_libdir)/qt5/plugins/imageformats/libqsvg.so /opt/"${MY_PN}"/imageformats/libqsvg.so
newbashcomp "${MY_PN}/completion/bash/gmtool.bash" gmtool
if has_version "app-shells/zsh" ; then
insinto /usr/share/zsh/site-functions
doins "${MY_PN}/completion/zsh/_gmtool"
fi
make_desktop_entry "/opt/${MY_PN}/${MY_PN}" "Genymotion ${PV}" "/opt/${MY_PN}/icons/icon.png" "Development;Emulator;"
mv "${ED%/}"/usr/share/applications/*.desktop "${ED%/}"/usr/share/applications/"${MY_PN}".desktop || die "mv failed"
}

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>fedeliallalinea@gmail.com</email>
<name>Marco Genasci</name>
<description>Please assign bugs</description>
</maintainer>
<maintainer type="person">
<email>mudler@gentoo.org</email>
<name>Ettore Di Giacinto</name>
<description>proxy-maintainer, please CC on bugs</description>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
</pkgmetadata>

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -12,7 +12,7 @@ SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
RDEPEND="

@ -1,3 +1,3 @@
DIST pax-utils-1.1.6.tar.xz 647308 SHA256 f5436c517bea40f7035ec29a6f34034c739b943f2e3a080d76df5dfd7fd41b12 SHA512 c5bdb3ee076c5f4d026f811a59329014c539e3bb3ab45aec92564dcc4abcedaebc50bec55c37aeccfe9e31c554ec7789426fcb3d6f67a8d805843f32c5993f94 WHIRLPOOL 6addfc63dd821a3a0f1ebb2f0545bf81b933bed7aa4950efc51c4af3c8a9dd2263fe09c469bb371a5cb7ae239db646876548a2c21b08c1ed87dd974228eb2679
DIST pax-utils-1.1.7.tar.xz 648376 SHA256 bb9bdbf0888de9444b53b78f7b8069af9832bac7cef0588030b8ce49e8ebad10 SHA512 cec176cf5863b15acc058cbd99639f5f456346136d0551ce5875cb66c28dd0f6e7f5077b0c06751a3a68984b5c4386c232d3db8b76aa4f4b326b0b692835fdeb WHIRLPOOL 07972470889ff3f4a85f1528bc6c49ae11c3161dfe0df4ab0c3ea83affdc36d0fce36f4db5a0811290958d51e477da99476a12bf35108c4a3b147004a0584541
DIST pax-utils-1.2.1.tar.xz 655848 SHA256 bccd31aec3266f49641b043055f08b4e38f3e5d5a3a80e9b270b2712dec1fef0 SHA512 844671a8da123ab7cdc119ff33b2613dfb17998e5f4ad7c50a7fd046362f52f008cb5916f6acc9ad96a8cbef8b65a2623e3cd9eeffcde235eeba61b76137fa38 WHIRLPOOL b1225826a6235df1b2a5df2b23a1456822a4880632cee3c50569097bc865755e2ea312ec1f591729b507568c2dbf0ed75d02effda8cddec376a0c3f0934fada0
DIST pax-utils-1.2.2.tar.xz 655964 SHA256 7f4a7f8db6b4743adde7582fa48992ad01776796fcde030683732f56221337d9 SHA512 6bafe93f3b84d4595b6adfa09b46a3dd249f309fe836d90115e9aa5fcc7da37b03f743e80719dfe6bcdb739ce6ec3843170a5513e196c348721f850e19d3e38c WHIRLPOOL c95ce5dc26d7e913d9e0963d47b5cedbc71cb1faf52ca7bb04898b2bcaa9f6c521f2236e2475d41954c93061267f0fcca5053d4dae3cf12bb59fdc986612dfdb

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -7,7 +7,7 @@ EAPI=5
inherit base bash-completion-r1
DESCRIPTION="A nice emerge.log parser"
HOMEPAGE="https://www.gentoo.org/proj/en/perl"
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Perl"
SRC_URI="https://dev.gentoo.org/~dilfridge/distfiles/${P}.tar.gz"
LICENSE="GPL-2"

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -7,7 +7,7 @@ EAPI=5
inherit bash-completion-r1
DESCRIPTION="A nice emerge.log parser"
HOMEPAGE="https://www.gentoo.org/proj/en/perl"
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Perl"
SRC_URI="https://dev.gentoo.org/~dilfridge/distfiles/${P}.tar.gz"
LICENSE="GPL-2"

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -7,7 +7,7 @@ EAPI="5"
inherit base bash-completion-r1
DESCRIPTION="A nice emerge.log parser"
HOMEPAGE="https://www.gentoo.org/proj/en/perl"
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Perl"
SRC_URI="mirror://gentoo//${P}.tar.gz"
LICENSE="GPL-2"

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -8,7 +8,7 @@ inherit git-2 bash-completion-r1
EGIT_REPO_URI="git://github.com/gentoo-perl/genlop.git"
DESCRIPTION="A nice emerge.log parser"
HOMEPAGE="https://www.gentoo.org/proj/en/perl"
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Perl"
SRC_URI=""
LICENSE="GPL-2"

@ -0,0 +1,24 @@
--- zathura-0.3.7/tests/Makefile
+++ zathura-0.3.7/tests/Makefile
@@ -7,7 +7,11 @@
include config.mk
PROJECT = tests
-SOURCE = tests.c $(wildcard test_*.c)
+ifneq (${WITH_SQLITE},0)
+ SOURCE = tests.c $(wildcard test_*.c)
+else
+ SOURCE = $(filter-out database-sqlite.c,tests.c $(wildcard test_*.c))
+endif
OBJECTS = $(addprefix ${BUILDDIR_RELEASE}/,${SOURCE:.c=.o})
OBJECTS_DEBUG = $(addprefix ${BUILDDIR_DEBUG}/,${SOURCE:.c=.o})
OBJECTS_GCOV = $(addprefix ${BUILDDIR_GCOV}/,${SOURCE:.c=.o})
@@ -23,8 +27,6 @@
INCS += $(SQLITE_INC)
LIBS += $(SQLITE_LIB)
CPPFLAGS += -DWITH_SQLITE
-else
-SOURCE = $(filter-out database-sqlite.c,$(OSOURCE))
endif
ifneq ($(WITH_MAGIC),0)

@ -36,6 +36,12 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
test? ( dev-libs/check )"
src_prepare() {
epatch "${FILESDIR}"/${P}-tests.patch
epatch_user
}
pkg_setup() {
myzathuraconf=(
WITH_MAGIC=$(usex magic 1 0)

@ -0,0 +1 @@
DIST libjaylink-0.1.0.tar.xz 53820 SHA256 df7d27b78a5c800c1a26f83d1d723f9d30e4c3122c760fe062e9b451606a1516 SHA512 9031da29adb703b771cb049d76bec5033b6885321d8ac411984ac800224677f9b201c92553d150450c4a6898826c06189ee4fdc1048430edaef89704e31ec21a WHIRLPOOL 1a7716f98bfb8772f24db746251155a4ba7f0072448ca9db44a07b0f07f31c1eb2c32d724a648f6f742980e40d1e2ccc5b5b2d808cd16800359e2a9112f4c0b2

@ -0,0 +1,34 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="6"
inherit autotools eutils
DESCRIPTION="Library to access J-Link devices"
HOMEPAGE="http://git.zapb.de/libjaylink.git"
SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="static-libs"
DEPEND="virtual/libusb:1"
RDEPEND="${DEPEND}"
src_prepare() {
eapply_user
eautoreconf || die
}
src_configure() {
econf $(use_enable static-libs static)
}
src_install() {
default
prune_libtool_files
}

@ -1,3 +1,4 @@
DIST openocd-0.10.0.tar.gz 6124274 SHA256 eda3b03919cc0ffb70e7de9c877092a0311aaaa4e1532937e9f86ac1863fe526 SHA512 44b303b0df1d7c13bc18b8995493de64fed7a853704455d484dfc4a74a1ba4b0d42b4679a7009ec015dc71c47152e5556a1a02665cfafe7af80c608b68d8310a WHIRLPOOL 535fd53cc2a6b9e2f8fe5705806cad39832d3b7911f97a705c968ddf27981d000bfa0f707110645739aa2d792b2fbb46e6adf12dcbff394a07f9fb7376b37259
DIST openocd-0.5.0.tar.bz2 2228655 SHA256 0bc122f98a6cd68c4392f6265d480b0e875ff54203ec05a5a52d23900903a78d SHA512 8e2e168a35bf3f753683115fd5f4d4c79e54cd0fe5d072921475d43880619e5b4ab60f28d97a4a595d4b77938b9218e689013f66a925ee8007e6499f5b42448c WHIRLPOOL 84b6a4a9089542904865400ede82be00c4417519f0c9fc42cbb25ae671f621651e9b27f57c2a1e7f37102d53095bcb8e37601e8ed47ddf1ea82b76676b35e7aa
DIST openocd-0.6.1.tar.bz2 3431071 SHA256 f4c4cc7445ad79cfba1bb24208e79c66edf9dc0c46b3c8fca391f4e41c942f2b SHA512 59f35750f761d3f2ce7a32ffdc5028d053fda2bd9424cc4497f528ec628ac1f022662d9f226dd2b04a8cd682a5cd056a09de14d50e1090426a816bb602f98250 WHIRLPOOL 81d43ce9866960edb7fdaefc5ec088852aaa79e86add67ea9682f26eb5f5d3e7c7523fde0729e15949af165470b44ded45b9d79662f651db56fd109db5074cad
DIST openocd-0.7.0.tar.bz2 3493924 SHA256 52237b786530c8460b221556c26fa4779f668b7dcb83ff14b8c5eb2050f38e63 SHA512 bfba267e5cda558b347f6fab1a286353b97d81093c0457ac044667baa369f5cd47a07b3ce6a1ceb66e7992c2e4224765458dd859d0a6fa748ad8e6f80ea541ad WHIRLPOOL eb83e201becb22a72ad954bdd5e66e61e587b42856244e4fdce59af5d263a2879cb8e0d89e10bcff515cff199580997c1c6635064601ad31a803b19dd9c99702

@ -14,6 +14,7 @@
<flag name="blaster">Enable support for Altera USE-Blaster</flag>
<flag name="cmsis-dap">Support for CMSIS-DAP compliant adapters</flag>
<flag name="dummy">Build the dummy port driver</flag>
<flag name="jlink"> Build the SEGGER J-Link driver</flag>
<flag name="minidriver">Build the dummy minidriver</flag>
<flag name="ftd2xx">Enable support for USB FTDI chips via <pkg>dev-embedded/libftd2xx</pkg></flag>
<flag name="ftdi">Enable support for USB FTDI chips via <pkg>dev-embedded/libftdi</pkg></flag>

@ -0,0 +1,147 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
inherit eutils multilib flag-o-matic toolchain-funcs udev user
# One ebuild to rule them all
if [[ ${PV} == "9999" ]] ; then
inherit autotools git-2
EGIT_REPO_URI="git://git.code.sf.net/p/${PN}/code"
EGIT_PROJECT="${PN}"
else
MY_PV="${PV/_/-}"
MY_P="${PN}-${MY_PV}"
S="${WORKDIR}"/${MY_P}
KEYWORDS="~amd64 ~arm ~x86"
SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${MY_PV}/${MY_P}.tar.gz"
fi
DESCRIPTION="OpenOCD - Open On-Chip Debugger"
HOMEPAGE="http://openocd.sourceforge.net"
LICENSE="GPL-2+"
SLOT="0"
IUSE="+cmsis-dap dummy +ftdi +jlink parport +usb verbose-io"
RESTRICT="strip" # includes non-native binaries
RDEPEND=">=dev-lang/jimtcl-0.76
cmsis-dap? ( dev-libs/hidapi )
jlink? ( dev-embedded/libjaylink )
usb? (
virtual/libusb:0
virtual/libusb:1
)
ftdi? ( dev-embedded/libftdi:= )"
DEPEND="${RDEPEND}
virtual/pkgconfig"
[[ ${PV} == "9999" ]] && DEPEND+=" >=sys-apps/texinfo-5" #549946
pkg_setup() {
enewgroup plugdev
}
src_prepare() {
epatch_user
if [[ ${PV} == "9999" ]] ; then
AT_NO_RECURSIVE=yes eautoreconf
fi
}
src_configure() {
# Here are some defaults
local myconf=(
--enable-buspirate
--disable-werror
--disable-internal-jimtcl
--disable-internal-libjaylink
--enable-amtjtagaccel
--enable-ep93xx
--enable-at91rm9200
--enable-gw16012
--enable-arm-jtag-ew
--enable-sysfsgpio
--enable-bcm2835gpio
)
# Adapters requiring usb/libusb-1.X support
if use usb; then
myconf+=(
--enable-aice
--enable-usb-blaster-2
--enable-ftdi
--enable-ti-icdi
--enable-ulink
--enable-osbdm
--enable-opendous
--enable-usbprog
--enable-rlink
--enable-stlink
--enable-vsllink
--enable-armjtagew
$(use_enable verbose-io verbose-usb-io)
$(use_enable verbose-io verbose_usb_comms)
)
else
myconf+=(
--disable-aice
--disable-usb-blaster-2
--disable-ftdi
--disable-ti-icdi
--disable-ulink
--disable-osbdm
--disable-opendous
--disable-usbprog
--disable-rlink
--disable-stlink
--disable-vsllink
--disable-armjtagew
)
fi
if use jlink; then
myconf+=(
--enable-jlink
)
else
myconf+=(
--disable-jlink
)
fi
if use ftdi; then
myconf+=(
--enable-usb-blaster
--enable-openjtag
--enable-presto
)
else
myconf+=(
--disable-openjtag
--disable-presto
--disable-usb-blaster
)
fi
econf \
$(use_enable dummy) \
$(use_enable cmsis-dap) \
$(use_enable parport) \
$(use_enable parport parport_ppdev) \
$(use_enable verbose-io verbose-jtag-io) \
"${myconf[@]}"
}
src_install() {
default
env -uRESTRICT prepstrip "${ED}"/usr/bin
udev_dorules "${D}"/usr/share/${PN}/contrib/*.rules
}
pkg_postinst() {
elog "To access openocd devices as user you must be in the plugdev group"
}

@ -1,10 +1,10 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
inherit eutils multilib flag-o-matic toolchain-funcs udev
inherit eutils multilib flag-o-matic toolchain-funcs udev user
# One ebuild to rule them all
if [[ ${PV} == "9999" ]] ; then
@ -38,6 +38,10 @@ RDEPEND=">=dev-lang/jimtcl-0.75
DEPEND="${RDEPEND}
virtual/pkgconfig"
pkg_setup() {
enewgroup plugdev
}
src_prepare() {
epatch_user
@ -131,3 +135,7 @@ src_install() {
env -uRESTRICT prepstrip "${ED}"/usr/bin "${ED}"/usr/$(get_libdir)
udev_dorules "${D}"/usr/share/${PN}/contrib/*.rules
}
pkg_postinst() {
elog "To access openocd devices as user you must be in the plugdev group"
}

@ -1,10 +1,10 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
inherit eutils multilib flag-o-matic toolchain-funcs udev
inherit eutils multilib flag-o-matic toolchain-funcs udev user
# One ebuild to rule them all
if [[ ${PV} == "9999" ]] ; then
@ -38,6 +38,10 @@ RDEPEND=">=dev-lang/jimtcl-0.76
DEPEND="${RDEPEND}
virtual/pkgconfig"
pkg_setup() {
enewgroup plugdev
}
src_prepare() {
epatch_user
@ -127,3 +131,7 @@ src_install() {
env -uRESTRICT prepstrip "${ED}"/usr/bin
udev_dorules "${D}"/usr/share/${PN}/contrib/*.rules
}
pkg_postinst() {
elog "To access openocd devices as user you must be in the plugdev group"
}

@ -1,10 +1,10 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
inherit eutils multilib flag-o-matic toolchain-funcs udev
inherit eutils multilib flag-o-matic toolchain-funcs udev user
# One ebuild to rule them all
if [[ ${PV} == "9999" ]] ; then
@ -24,12 +24,12 @@ HOMEPAGE="http://openocd.sourceforge.net"
LICENSE="GPL-2+"
SLOT="0"
IUSE="cmsis-dap dummy ftdi parport +usb verbose-io"
IUSE="+cmsis-dap dummy +ftdi +jlink parport +usb verbose-io"
RESTRICT="strip" # includes non-native binaries
RDEPEND=">=dev-lang/jimtcl-0.76
dev-embedded/libjaylink
cmsis-dap? ( dev-libs/hidapi )
jlink? ( dev-embedded/libjaylink )
usb? (
virtual/libusb:0
virtual/libusb:1
@ -40,6 +40,10 @@ DEPEND="${RDEPEND}
virtual/pkgconfig"
[[ ${PV} == "9999" ]] && DEPEND+=" >=sys-apps/texinfo-5" #549946
pkg_setup() {
enewgroup plugdev
}
src_prepare() {
epatch_user
@ -59,7 +63,6 @@ src_configure() {
--enable-ep93xx
--enable-at91rm9200
--enable-gw16012
--enable-oocd_trace
--enable-arm-jtag-ew
--enable-sysfsgpio
--enable-bcm2835gpio
@ -76,7 +79,6 @@ src_configure() {
--enable-osbdm
--enable-opendous
--enable-usbprog
--enable-jlink
--enable-rlink
--enable-stlink
--enable-vsllink
@ -94,7 +96,6 @@ src_configure() {
--disable-osbdm
--disable-opendous
--disable-usbprog
--disable-jlink
--disable-rlink
--disable-stlink
--disable-vsllink
@ -102,17 +103,27 @@ src_configure() {
)
fi
if use jlink; then
myconf+=(
--enable-jlink
)
else
myconf+=(
--disable-jlink
)
fi
if use ftdi; then
myconf+=(
--enable-usb_blaster_libftdi
--enable-openjtag_ftdi
--enable-presto_libftdi
--enable-usb-blaster
--enable-openjtag
--enable-presto
)
else
myconf+=(
--disable-openjtag_ftdi
--disable-presto_libftdi
--disable-usb_blaster_libftdi
--disable-openjtag
--disable-presto
--disable-usb-blaster
)
fi
@ -130,3 +141,7 @@ src_install() {
env -uRESTRICT prepstrip "${ED}"/usr/bin
udev_dorules "${D}"/usr/share/${PN}/contrib/*.rules
}
pkg_postinst() {
elog "To access openocd devices as user you must be in the plugdev group"
}

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -15,7 +15,7 @@ SRC_URI="https://dev.gentoo.org/~sera/distfiles/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="2"
KEYWORDS="amd64 ~arm ppc64 x86 ~amd64-fbsd ~x86-fbsd"
KEYWORDS="amd64 ~arm ~arm64 ppc64 x86 ~amd64-fbsd ~x86-fbsd"
IUSE="test"
DEPEND="test? ( sys-apps/portage[${PYTHON_USEDEP}] )"

@ -1,16 +1,8 @@
DIST perl-5.20.2-patches-1.tar.xz 14640 SHA256 c084291cdf3e78b8fa2901f79e92f1e93aece7b7b8cb4e931a5df9616b0f6ba5 SHA512 5be0314529e926efcad1e73aebef73a72b86587a31ae68a93b8446edd5cea293027c61d41727b993611d7fb1d694b7740b7ed948dc59cd29ea7ad2646e7be327 WHIRLPOOL ea554c09531778bd655e4208943393cdcdb72d980956c609a6cd0da18ee74c3204d51c8151094bad7e602b6bab5f2bb55f35d632beabfdde9ab35ef374e7494c
DIST perl-5.20.2-patches-2.tar.xz 15892 SHA256 5ca37bdd05c770d4d33e59116093d5083bdaffd9212541c7de08d5b8495e9bcd SHA512 6c892a5eb8f9fc1bf4a3c69ed751f22895e4d545e5e70f9c73d54d61121818b4ea220d80a31db4269aca9a7805688d2013c8128e27c013051d4d12d56922f6ed WHIRLPOOL 37c6b9f84a0d9b83220e21d323aea96f00487b37666a48b351fffc7a36c913c43532ab2bcbfd0ab8bca42f95d4bb78d210c20df164861f97e2ddc5e5ffc35a5c
DIST perl-5.20.2.tar.bz2 13717128 SHA256 e5a4713bc65e1da98ebd833dce425c000768bfe84d17ec5183ec5ca249db71ab SHA512 1da867f04137e84cc6f4148fd7c15933cdc675939bf20f524b659b3c3a6225a18efe9f4cd8c445b9536f3efc13f1c5b696fcf14584e1f20ad1f908a9b6ca509c WHIRLPOOL 5654f824c57b4c78a6b4cd250e2055ec541def9a04b976444bbc80ced82105b1e9a283b809535a9092fc21eb6613ab4464f59575bc42f961698bbe70aa5a81a7
DIST perl-5.22.0-patches-1.tar.xz 20892 SHA256 9abd87880c9c91e89e88eb467c124ba66fe3955b526802ad186b030a51a408f8 SHA512 53d5a49d12237aa39dc6ae2cffb9e22bc3776c3e78a3a5a37b4e0a0930eea0a33bf7ce4ab5f0e32d4dc68d0af8341b356de003558c88fb8686e826aee4055870 WHIRLPOOL fd1cc0ebf32664211cf263e2d8e9e1ddf29bad0835e6f377e20ba5dfdd80250f49ff663e2f449dd5e11e3d26a26a2fb51924dde3a5c490cce375c05d990a9e32
DIST perl-5.22.0.tar.bz2 13811518 SHA256 3689fdb519133d039f49e12834764ff4c1de8f8d925dea44a952ca110d0ac9f7 SHA512 97e770d9bc9acbb7fa6939207a46d9a2887a61971c1ae1c8d6b5071bfc0d68a0f539486fea81ba81966f716d7ae532273a27a6baaf323e73fbd5c5eb9bf01fa4 WHIRLPOOL 9416c17323edc9ee5affb8a6d857e9ecf1ac5d7d37ca7d8703bfd15541c97f1031a9c669c9a41d8deb974676e197c0c7be753ad988f050f5fbb5b01942eacb3a
DIST perl-5.22.1-patches-1.tar.xz 19920 SHA256 c128b4d1575f3bcf1952a1526b5725fabb6dcd779c7458a05a73aae51ecc1508 SHA512 2a0a74c935273ae3eafaebc6ed20c730a49f542433d899d51baaa3c3e7a291974fcef734d6320895811b4a6944c4e36b2a01400ed751a11c5d3edd6491bbf41b WHIRLPOOL 58888d5c3d35a217e9f61ee9f1406ea5383d192b0875dc736f124613056f71837d84346431127be3c56ae780394aa86cd18d9fad9740e7970e704beb5d2bf112
DIST perl-5.22.1.tar.bz2 13696599 SHA256 e98e4075a3167fa40524abe447c30bcca10c60e02a54ee1361eff278947a1221 SHA512 4da26b1d3d8525c58677abd2c5c354ccaa4b1b260ebe7dfe379d51a5da00ac7ae06cb668011faac2aaf56229fd22b275c13a74c8c9dbc59cc155a36c0e7e8355 WHIRLPOOL 03d8a050421f1f1899ad8b195d61d0cc55ce061b39ab4dab41b0fbb079a4871d76e968943b83e8165f2f4d1fa42bc87e1c6780aeae1ccc22a720115dfddf17cb
DIST perl-5.22.2-patches-1.tar.xz 19920 SHA256 c128b4d1575f3bcf1952a1526b5725fabb6dcd779c7458a05a73aae51ecc1508 SHA512 2a0a74c935273ae3eafaebc6ed20c730a49f542433d899d51baaa3c3e7a291974fcef734d6320895811b4a6944c4e36b2a01400ed751a11c5d3edd6491bbf41b WHIRLPOOL 58888d5c3d35a217e9f61ee9f1406ea5383d192b0875dc736f124613056f71837d84346431127be3c56ae780394aa86cd18d9fad9740e7970e704beb5d2bf112
DIST perl-5.22.2.tar.bz2 13717881 SHA256 f2322b9b04fe0cdbca9fe755360da04892cb6483d44959457cfebc0bcddc8058 SHA512 1acb77ead47955ef6e8d84903e86cb584ee9415742fb99eb2f1f30772087e8ed0def5f643ce4ee7693df5a1dfe154b108aa85df232d81107f98820bb84a0d71a WHIRLPOOL bdfd1035728619abafeb679cdd3181269a91fad5c30f4995e91d5ae16cb65210ce2c4c47afe85eb192ebde88c0bbc4cd0ed77939acdfd09760b11b57eeace2a6
DIST perl-5.22.3-RC4-patches-2.tar.xz 23180 SHA256 d5c6ead7322e5d38f9395589a24fd8eb29882a7c522a7659afa8876f878b1004 SHA512 2dcc8a3bae3a0bf7f79d74ff5651db471be259b8e2dee96c1338ff97345842dbe7ec1234c511233ece4f9ea3fc5979e826a4fcffb997c579740bf494d9581126 WHIRLPOOL 6b2eeb64b208acb71a9c3f9dd4f3e3730b5f37b82c99636215acd52c40179c662a52b25bb2ccbe491efac5fe3e1bf70a65c90fcb89964244e9f8dff60100f22b
DIST perl-5.22.3-RC4.tar.xz 11233496 SHA256 cd35050f1a45c48389133285870cf310d1fe5d342c52de10fd47b296e102e4ae SHA512 5c63edcfc319f7946bbee84943a0af78f58d376028c2952d0917fee32c390eae09d4456a82bfa4d0f21c69b7977c2e800c539c487e17a2d102fbceadddd75255 WHIRLPOOL b94e97d1545acc82c82cd1df400e374c2c8a9764ae1d050495eeb99c428bf12923ea36f937e17996e6f885d19bab8ca2a51eb4ad52b639d7b781460b8282777f
DIST perl-5.24.0-patches-2.tar.xz 17760 SHA256 8f9ce8895b85d6195cfa10690a28a9b8dbac683cb159ed3f3103e7b5f2bbf18d SHA512 1159dd53d40641f71c301e4be95c8964e6787cdc446578e66e8c97238fc99558c98b1fbc9e89b2d38206364e598ff1544ca1291c14a422d95089f0eea8926cc2 WHIRLPOOL e18ecf63532609dc36c7252f03a1a4d28529b9804dbb9c0d70cc1418a243ff9168a621cadeee52f69919a70312c83232c0857f907f991886cfae870ed4590286
DIST perl-5.24.0.tar.bz2 14155784 SHA256 62328a53d157e8153b33e137594155f6f8b64418f7f9238210feb809585290e0 SHA512 05ecc6774da475d14f426a850be7adf754fcb17a2fa85a67aeaf8ddb9c86ae8b1ee654e803ebae5ccdaa73ad3e35188e3254ac9452b47cd4f8ffe47e67d15f53 WHIRLPOOL 84c98ddb19a5c6d32f40b427ba1f82656f88cfe5b7d3f416fb92579436890af52299f05301a81692dfdae65594b1866081e1fee067623256d796855d87d532ad
DIST perl-5.24.1-RC4-patches-2.tar.xz 18464 SHA256 543318d735c2f1951d7c73d4415d1045021f19c69e953cf2d954eea9f84ffecb SHA512 9582a149404c2abc0f8b4329a65063d2022a2b212e68f83550303a5544825fb6b16dd1ee7a8d10bb216b70ded9a899eba931892c66989a78214d8d97c8cdb35f WHIRLPOOL 5c99c07198e7265177a5aa223b92791a744b4bb7990383ee361e1f7042bba146e54688def22e7b51b44f5a6db492f9311d3094937026203a91d2fe7be81edf08
DIST perl-5.24.1-RC4.tar.xz 11553836 SHA256 6da6333809eb2b35b17ee3c25b7f0327da32fad7214b296b662ccd9883b8bc59 SHA512 f7108210048c8253a693e32df4b2f2da2cda7d7215c8d104a831554e6b59c7a85c395b14cc33c8939c25cdccd1d441784508a7623e511b8737f74b93a6fcbfc2 WHIRLPOOL f19d3dac9810d284c1661c4aa84550a97ee6786fc210329858f1dead72ac53c7e295e2bc3e5c7c34b43e506fce2d682832eb540d61a0ca34824ff4629ffb77e8
DIST perl-cross-1.1.1.tar.gz 88283 SHA256 8ee72f39119b342f3b911266e5c965914a44a484fd18d9c444d106aca4dd7abc SHA512 8ad958d08d8e7ff2b80333959544aaf0e83a74f2e34c9e8aca543052d039c0f4b00cda694ee940874b192b0d83656a9f6854ebbf2c444b212ba9d4417c576591 WHIRLPOOL e6739ca8fc4dcafa14a20585d75931cf6b6a98fad9c732312d15507b29b926452668afc4f27f2b6c5bb6faa623fc506538a53ed9d303d21897f42d47c26e4924

@ -1,122 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils alternatives flag-o-matic toolchain-funcs multilib multiprocessing
PATCH_VER=1
PERL_OLDVERSEN=""
MODULE_AUTHOR=SHAY
SHORT_PV="${PV%.*}"
MY_P="perl-${PV/_rc/-RC}"
MY_PV="${PV%_rc*}"
DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
SRC_URI="
mirror://cpan/src/5.0/${MY_P}.tar.bz2
mirror://cpan/authors/id/${MODULE_AUTHOR:0:1}/${MODULE_AUTHOR:0:2}/${MODULE_AUTHOR}/${MY_P}.tar.bz2
mirror://gentoo/${MY_P}-patches-${PATCH_VER}.tar.xz
https://dev.gentoo.org/~civil/distfiles/${MY_P}-patches-${PATCH_VER}.tar.xz
"
HOMEPAGE="http://www.perl.org/"
LICENSE="|| ( Artistic GPL-1+ )"
SLOT="0/${SHORT_PV}"
KEYWORDS="~alpha ~amd64 ~amd64-fbsd ~amd64-linux ~arm ~arm64 ~hppa ~hppa-hpux ~ia64 ~ia64-hpux ~ia64-linux ~m68k ~m68k-mint ~mips ~ppc ~ppc64 ~ppc-aix ~ppc-macos ~s390 ~sh ~sparc ~sparc64-solaris ~sparc-solaris ~x64-freebsd ~x64-macos ~x64-solaris ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~x86-linux ~x86-macos ~x86-solaris"
IUSE="berkdb debug doc gdbm ithreads"
RDEPEND="
berkdb? ( sys-libs/db:= )
gdbm? ( >=sys-libs/gdbm-1.8.3 )
app-arch/bzip2
sys-libs/zlib
"
DEPEND="${RDEPEND}
!prefix? ( elibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs ) )
"
PDEPEND="
>=app-admin/perl-cleaner-2.5
>=virtual/perl-File-Temp-0.230.400-r2
>=virtual/perl-Data-Dumper-2.154.0
virtual/perl-Test-Harness
"
# bug 390719, bug 523624
# virtual/perl-Test-Harness is here for the bundled ExtUtils::MakeMaker
S="${WORKDIR}/${MY_P}"
dual_scripts() {
src_remove_dual perl-core/Archive-Tar 2.40.0 ptar ptardiff ptargrep
src_remove_dual perl-core/Digest-SHA 5.950.0 shasum
src_remove_dual perl-core/CPAN 2.110.0 cpan
src_remove_dual perl-core/Encode 2.720.0 enc2xs piconv
src_remove_dual perl-core/ExtUtils-MakeMaker 7.40.100 instmodsh
src_remove_dual perl-core/ExtUtils-ParseXS 3.280.0 xsubpp
src_remove_dual perl-core/IO-Compress 2.68.0 zipdetails
src_remove_dual perl-core/JSON-PP 2.273.0 json_pp
src_remove_dual perl-core/Module-CoreList 5.201.505.200 corelist
src_remove_dual perl-core/Pod-Parser 1.630.0 pod2usage podchecker podselect
src_remove_dual perl-core/Pod-Perldoc 3.250.0 perldoc
src_remove_dual perl-core/Test-Harness 3.350.0 prove
src_remove_dual perl-core/podlators 2.5.3 pod2man pod2text
src_remove_dual_man perl-core/podlators 2.5.3 /usr/share/man/man1/perlpodstyle.1
}
# eblit-include [--skip] <function> [version]
eblit-include() {
local skipable=false
[[ $1 == "--skip" ]] && skipable=true && shift
[[ $1 == pkg_* ]] && skipable=true
local e v func=$1 ver=$2
[[ -z ${func} ]] && die "Usage: eblit-include <function> [version]"
for v in ${ver:+-}${ver} -${PVR} -${PV} "" ; do
e="${FILESDIR}/eblits/${func}${v}.eblit"
if [[ -e ${e} ]] ; then
. "${e}"
return 0
fi
done
${skipable} && return 0
die "Could not locate requested eblit '${func}' in ${FILESDIR}/eblits/"
}
# eblit-run-maybe <function>
# run the specified function if it is defined
eblit-run-maybe() {
[[ $(type -t "$@") == "function" ]] && "$@"
}
# eblit-run <function> [version]
# aka: src_unpack() { eblit-run src_unpack ; }
eblit-run() {
eblit-include --skip common "${*:2}"
eblit-include "$@"
eblit-run-maybe eblit-$1-pre
eblit-${PN}-$1
eblit-run-maybe eblit-$1-post
}
src_prepare() { eblit-run src_prepare v50160001 ; }
src_configure() { eblit-run src_configure v50180002 ; }
#src_compile() { eblit-run src_compile v50160001 ; }
src_test() {
export NO_GENTOO_NETWORK_TESTS=1;
eblit-run src_test v50160001 ;
}
src_install() { eblit-run src_install v50200001 ; }
# FILESDIR might not be available during binpkg install
# FIXME: version passing
for x in setup {pre,post}{inst,rm} ; do
e="${FILESDIR}/eblits/pkg_${x}-v50220001.eblit"
if [[ -e ${e} ]] ; then
. "${e}"
eval "pkg_${x}() { eblit-run pkg_${x} v50160001 ; }"
fi
done

@ -1,122 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils alternatives flag-o-matic toolchain-funcs multilib multiprocessing
PATCH_VER=1
PERL_OLDVERSEN="5.22.0"
MODULE_AUTHOR=SHAY
SHORT_PV="${PV%.*}"
MY_P="perl-${PV/_rc/-RC}"
MY_PV="${PV%_rc*}"
DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
SRC_URI="
mirror://cpan/src/5.0/${MY_P}.tar.bz2
mirror://cpan/authors/id/${MODULE_AUTHOR:0:1}/${MODULE_AUTHOR:0:2}/${MODULE_AUTHOR}/${MY_P}.tar.bz2
mirror://gentoo/${MY_P}-patches-${PATCH_VER}.tar.xz
https://dev.gentoo.org/~dilfridge/distfiles/${MY_P}-patches-${PATCH_VER}.tar.xz
"
HOMEPAGE="http://www.perl.org/"
LICENSE="|| ( Artistic GPL-1+ )"
SLOT="0/${SHORT_PV}"
KEYWORDS="~alpha ~amd64 ~amd64-fbsd ~amd64-linux ~arm ~arm64 ~hppa ~hppa-hpux ~ia64 ~ia64-hpux ~ia64-linux ~m68k ~m68k-mint ~mips ~ppc ~ppc64 ~ppc-aix ~ppc-macos ~s390 ~sh ~sparc ~sparc64-solaris ~sparc-solaris ~x64-freebsd ~x64-macos ~x64-solaris ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~x86-linux ~x86-macos ~x86-solaris"
IUSE="berkdb debug doc gdbm ithreads"
RDEPEND="
berkdb? ( sys-libs/db:= )
gdbm? ( >=sys-libs/gdbm-1.8.3 )
app-arch/bzip2
sys-libs/zlib
"
DEPEND="${RDEPEND}
!prefix? ( elibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs ) )
"
PDEPEND="
>=app-admin/perl-cleaner-2.5
>=virtual/perl-File-Temp-0.230.400-r2
>=virtual/perl-Data-Dumper-2.154.0
virtual/perl-Test-Harness
"
# bug 390719, bug 523624
# virtual/perl-Test-Harness is here for the bundled ExtUtils::MakeMaker
S="${WORKDIR}/${MY_P}"
dual_scripts() {
src_remove_dual perl-core/Archive-Tar 2.40.0 ptar ptardiff ptargrep
src_remove_dual perl-core/Digest-SHA 5.950.0 shasum
src_remove_dual perl-core/CPAN 2.110.0 cpan
src_remove_dual perl-core/Encode 2.720.0 enc2xs piconv
src_remove_dual perl-core/ExtUtils-MakeMaker 7.40.100 instmodsh
src_remove_dual perl-core/ExtUtils-ParseXS 3.280.0 xsubpp
src_remove_dual perl-core/IO-Compress 2.68.0 zipdetails
src_remove_dual perl-core/JSON-PP 2.273.0 json_pp
src_remove_dual perl-core/Module-CoreList 5.201.512.130 corelist
src_remove_dual perl-core/Pod-Parser 1.630.0 pod2usage podchecker podselect
src_remove_dual perl-core/Pod-Perldoc 3.250.0 perldoc
src_remove_dual perl-core/Test-Harness 3.350.0 prove
src_remove_dual perl-core/podlators 2.5.3 pod2man pod2text
src_remove_dual_man perl-core/podlators 2.5.3 /usr/share/man/man1/perlpodstyle.1
}
# eblit-include [--skip] <function> [version]
eblit-include() {
local skipable=false
[[ $1 == "--skip" ]] && skipable=true && shift
[[ $1 == pkg_* ]] && skipable=true
local e v func=$1 ver=$2
[[ -z ${func} ]] && die "Usage: eblit-include <function> [version]"
for v in ${ver:+-}${ver} -${PVR} -${PV} "" ; do
e="${FILESDIR}/eblits/${func}${v}.eblit"
if [[ -e ${e} ]] ; then
. "${e}"
return 0
fi
done
${skipable} && return 0
die "Could not locate requested eblit '${func}' in ${FILESDIR}/eblits/"
}
# eblit-run-maybe <function>
# run the specified function if it is defined
eblit-run-maybe() {
[[ $(type -t "$@") == "function" ]] && "$@"
}
# eblit-run <function> [version]
# aka: src_unpack() { eblit-run src_unpack ; }
eblit-run() {
eblit-include --skip common "${*:2}"
eblit-include "$@"
eblit-run-maybe eblit-$1-pre
eblit-${PN}-$1
eblit-run-maybe eblit-$1-post
}
src_prepare() { eblit-run src_prepare v50160001 ; }
src_configure() { eblit-run src_configure v50180002 ; }
#src_compile() { eblit-run src_compile v50160001 ; }
src_test() {
export NO_GENTOO_NETWORK_TESTS=1;
eblit-run src_test v50160001 ;
}
src_install() { eblit-run src_install v50200001 ; }
# FILESDIR might not be available during binpkg install
# FIXME: version passing
for x in setup {pre,post}{inst,rm} ; do
e="${FILESDIR}/eblits/pkg_${x}-v50220001.eblit"
if [[ -e ${e} ]] ; then
. "${e}"
eval "pkg_${x}() { eblit-run pkg_${x} v50160001 ; }"
fi
done

@ -1,122 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils alternatives flag-o-matic toolchain-funcs multilib multiprocessing
PATCH_VER=1
PERL_OLDVERSEN="5.22.0 5.22.1"
MODULE_AUTHOR=SHAY
SHORT_PV="${PV%.*}"
MY_P="perl-${PV/_rc/-RC}"
MY_PV="${PV%_rc*}"
DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
SRC_URI="
mirror://cpan/src/5.0/${MY_P}.tar.bz2
mirror://cpan/authors/id/${MODULE_AUTHOR:0:1}/${MODULE_AUTHOR:0:2}/${MODULE_AUTHOR}/${MY_P}.tar.bz2
mirror://gentoo/${MY_P}-patches-${PATCH_VER}.tar.xz
https://dev.gentoo.org/~dilfridge/distfiles/${MY_P}-patches-${PATCH_VER}.tar.xz
"
HOMEPAGE="http://www.perl.org/"
LICENSE="|| ( Artistic GPL-1+ )"
SLOT="0/${SHORT_PV}"
KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="berkdb debug doc gdbm ithreads"
RDEPEND="
berkdb? ( sys-libs/db:= )
gdbm? ( >=sys-libs/gdbm-1.8.3 )
app-arch/bzip2
sys-libs/zlib
"
DEPEND="${RDEPEND}
!prefix? ( elibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs ) )
"
PDEPEND="
>=app-admin/perl-cleaner-2.5
>=virtual/perl-File-Temp-0.230.400-r2
>=virtual/perl-Data-Dumper-2.154.0
virtual/perl-Test-Harness
"
# bug 390719, bug 523624
# virtual/perl-Test-Harness is here for the bundled ExtUtils::MakeMaker
S="${WORKDIR}/${MY_P}"
dual_scripts() {
src_remove_dual perl-core/Archive-Tar 2.40.0 ptar ptardiff ptargrep
src_remove_dual perl-core/Digest-SHA 5.950.0 shasum
src_remove_dual perl-core/CPAN 2.110.0 cpan
src_remove_dual perl-core/Encode 2.720.0 enc2xs piconv
src_remove_dual perl-core/ExtUtils-MakeMaker 7.40.100 instmodsh
src_remove_dual perl-core/ExtUtils-ParseXS 3.280.0 xsubpp
src_remove_dual perl-core/IO-Compress 2.68.0 zipdetails
src_remove_dual perl-core/JSON-PP 2.273.0 json_pp
src_remove_dual perl-core/Module-CoreList 5.201.604.290 corelist
src_remove_dual perl-core/Pod-Parser 1.630.0 pod2usage podchecker podselect
src_remove_dual perl-core/Pod-Perldoc 3.250.0 perldoc
src_remove_dual perl-core/Test-Harness 3.350.0 prove
src_remove_dual perl-core/podlators 2.5.3 pod2man pod2text
src_remove_dual_man perl-core/podlators 2.5.3 /usr/share/man/man1/perlpodstyle.1
}
# eblit-include [--skip] <function> [version]
eblit-include() {
local skipable=false
[[ $1 == "--skip" ]] && skipable=true && shift
[[ $1 == pkg_* ]] && skipable=true
local e v func=$1 ver=$2
[[ -z ${func} ]] && die "Usage: eblit-include <function> [version]"
for v in ${ver:+-}${ver} -${PVR} -${PV} "" ; do
e="${FILESDIR}/eblits/${func}${v}.eblit"
if [[ -e ${e} ]] ; then
. "${e}"
return 0
fi
done
${skipable} && return 0
die "Could not locate requested eblit '${func}' in ${FILESDIR}/eblits/"
}
# eblit-run-maybe <function>
# run the specified function if it is defined
eblit-run-maybe() {
[[ $(type -t "$@") == "function" ]] && "$@"
}
# eblit-run <function> [version]
# aka: src_unpack() { eblit-run src_unpack ; }
eblit-run() {
eblit-include --skip common "${*:2}"
eblit-include "$@"
eblit-run-maybe eblit-$1-pre
eblit-${PN}-$1
eblit-run-maybe eblit-$1-post
}
src_prepare() { eblit-run src_prepare v50160001 ; }
src_configure() { eblit-run src_configure v50180002 ; }
#src_compile() { eblit-run src_compile v50160001 ; }
src_test() {
export NO_GENTOO_NETWORK_TESTS=1;
eblit-run src_test v50160001 ;
}
src_install() { eblit-run src_install v50200001 ; }
# FILESDIR might not be available during binpkg install
# FIXME: version passing
for x in setup {pre,post}{inst,rm} ; do
e="${FILESDIR}/eblits/pkg_${x}-v50220001.eblit"
if [[ -e ${e} ]] ; then
. "${e}"
eval "pkg_${x}() { eblit-run pkg_${x} v50160001 ; }"
fi
done

@ -1,517 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit eutils alternatives flag-o-matic toolchain-funcs multilib multiprocessing
PATCH_VER=2
PERL_OLDVERSEN=""
MODULE_AUTHOR=RJBS
SHORT_PV="${PV%.*}"
MY_P="perl-${PV/_rc/-RC}"
MY_PV="${PV%_rc*}"
DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
SRC_URI="
mirror://cpan/src/5.0/${MY_P}.tar.bz2
mirror://cpan/authors/id/${MODULE_AUTHOR:0:1}/${MODULE_AUTHOR:0:2}/${MODULE_AUTHOR}/${MY_P}.tar.bz2
mirror://gentoo/${MY_P}-patches-${PATCH_VER}.tar.xz
https://dev.gentoo.org/~dilfridge/distfiles/${MY_P}-patches-${PATCH_VER}.tar.xz
"
HOMEPAGE="http://www.perl.org/"
LICENSE="|| ( Artistic GPL-1+ )"
SLOT="0/${SHORT_PV}"
KEYWORDS="~alpha ~amd64 ~amd64-fbsd ~amd64-linux ~arm ~arm64 ~hppa ~hppa-hpux ~ia64 ~ia64-hpux ~ia64-linux ~m68k ~m68k-mint ~mips ~ppc ~ppc64 ~ppc-aix ~ppc-macos ~s390 ~sh ~sparc ~sparc64-solaris ~sparc-solaris ~x64-freebsd ~x64-macos ~x64-solaris ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~x86-linux ~x86-macos ~x86-solaris"
IUSE="berkdb debug doc gdbm ithreads"
RDEPEND="
berkdb? ( sys-libs/db:= )
gdbm? ( >=sys-libs/gdbm-1.8.3 )
app-arch/bzip2
sys-libs/zlib
"
DEPEND="${RDEPEND}
!prefix? ( elibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs ) )
"
PDEPEND="
>=app-admin/perl-cleaner-2.5
>=virtual/perl-File-Temp-0.230.400-r2
>=virtual/perl-Data-Dumper-2.154.0
virtual/perl-Test-Harness
"
# bug 390719, bug 523624
# virtual/perl-Test-Harness is here for the bundled ExtUtils::MakeMaker
S="${WORKDIR}/${MY_P}"
dual_scripts() {
src_remove_dual perl-core/Archive-Tar 2.40.0 ptar ptardiff ptargrep
src_remove_dual perl-core/Digest-SHA 5.950.0 shasum
src_remove_dual perl-core/CPAN 2.110.0 cpan
src_remove_dual perl-core/Encode 2.800.0 enc2xs piconv
src_remove_dual perl-core/ExtUtils-MakeMaker 7.100.100_rc instmodsh
src_remove_dual perl-core/ExtUtils-ParseXS 3.310.0 xsubpp
src_remove_dual perl-core/IO-Compress 2.69.0 zipdetails
src_remove_dual perl-core/JSON-PP 2.273.0 json_pp
src_remove_dual perl-core/Module-CoreList 5.201.605.60 corelist
src_remove_dual perl-core/Pod-Parser 1.630.0 pod2usage podchecker podselect
src_remove_dual perl-core/Pod-Perldoc 3.250.200_rc perldoc
src_remove_dual perl-core/Test-Harness 3.360.0 prove
src_remove_dual perl-core/podlators 4.70.0 pod2man pod2text
src_remove_dual_man perl-core/podlators 4.70.0 /usr/share/man/man1/perlpodstyle.1
}
check_rebuild() {
# Fresh install
if [[ -z "${REPLACING_VERSIONS}" ]]; then
return 0;
# Major Upgrade
# doesn't matter if there's multiple copies, it still needs a rebuild
# if the string is anything other than "5.CURRENTMAJOR"
elif [[ "${REPLACING_VERSIONS%.*}" != "${PV%.*}" ]]; then
echo ""
ewarn "UPDATE THE PERL MODULES:"
ewarn "After updating dev-lang/perl the installed Perl modules"
ewarn "have to be re-installed. In most cases, this is done automatically"
ewarn "by the package manager, but subsequent steps are still recommended"
ewarn "to ensure system consistency."
ewarn
ewarn "You should start with a depclean to remove any unused perl dependencies"
ewarn "that may confuse portage in future. Regular depcleans are also encouraged"
ewarn "as part of your regular update cycle, as that will keep perl upgrades working."
ewarn "Recommended: emerge --depclean -va"
ewarn
ewarn "You should then call perl-cleaner to clean up any old files and trigger any"
ewarn "remaining rebuilds portage may have missed."
ewarn "Use: perl-cleaner --all"
return 0;
# Reinstall w/ USE Change
elif ( use ithreads && ! has_version dev-lang/perl[ithreads] ) || \
( ! use ithreads && has_version dev-lang/perl[ithreads] ) || \
( use debug && ! has_version dev-lang/perl[debug] ) || \
( ! use debug && has_version dev-lang/perl[debug] ) ; then
echo ""
ewarn "TOGGLED USE-FLAGS WARNING:"
ewarn "You changed one of the use-flags ithreads or debug."
ewarn "You must rebuild all perl-modules installed."
ewarn "Use: perl-cleaner --modules ; perl-cleaner --force --libperl"
fi
}
pkg_setup() {
case ${CHOST} in
*-freebsd*) osname="freebsd" ;;
*-dragonfly*) osname="dragonfly" ;;
*-netbsd*) osname="netbsd" ;;
*-openbsd*) osname="openbsd" ;;
*-darwin*) osname="darwin" ;;
*-interix*) osname="interix" ;;
*-aix*) osname="aix" ;;
*-cygwin*) osname="cygwin" ;;
*) osname="linux" ;;
esac
myarch="${CHOST%%-*}-${osname}"
if use debug ; then
myarch+="-debug"
fi
if use ithreads ; then
mythreading="-multi"
myarch+="-thread"
fi
LIBPERL="libperl$(get_libname ${MY_PV} )"
PRIV_LIB="/usr/$(get_libdir)/perl5/${MY_PV}"
ARCH_LIB="/usr/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading}"
SITE_LIB="/usr/local/$(get_libdir)/perl5/${MY_PV}"
SITE_ARCH="/usr/local/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading}"
VENDOR_LIB="/usr/$(get_libdir)/perl5/vendor_perl/${MY_PV}"
VENDOR_ARCH="/usr/$(get_libdir)/perl5/vendor_perl/${MY_PV}/${myarch}${mythreading}"
dual_scripts
}
src_remove_dual_file() {
local i pkg ver
pkg="$1"
ver="$2"
shift 2
case "${EBUILD_PHASE:-none}" in
postinst|postrm)
for i in "$@" ; do
alternatives_auto_makesym "${i}" "${i}-[0-9]*"
done
;;
setup)
for i in "$@" ; do
if [[ -f ${EROOT}${i} && ! -h ${EROOT}${i} ]] ; then
has_version ${pkg} && ewarn "You must reinstall ${pkg} !"
break
fi
done
;;
install)
for i in "$@" ; do
if ! [[ -f "${ED}"${i} ]] ; then
ewarn "${i} does not exist!"
continue
fi
mv "${ED}"${i}{,-${ver}-${P}} || die
done
;;
esac
}
src_remove_dual_man() {
local i pkg ver ff
pkg="$1"
ver="$2"
shift 2
case "${EBUILD_PHASE:-none}" in
postinst|postrm)
for i in "$@" ; do
ff=`echo "${EROOT}${i%.[0-9]}-${ver}-${P}${i#${i%.[0-9]}}"*`
ff=${ff##*${i#${i%.[0-9]}}}
alternatives_auto_makesym "${i}${ff}" "${i%.[0-9]}-[0-9]*"
done
;;
install)
for i in "$@" ; do
if ! [[ -f "${ED}"${i} ]] ; then
ewarn "${i} does not exist!"
continue
fi
mv "${ED}"${i} "${ED}"${i%.[0-9]}-${ver}-${P}${i#${i%.[0-9]}} || die
done
;;
esac
}
src_remove_dual() {
local i pkg ver
pkg="$1"
ver="$2"
shift 2
for i in "$@" ; do
src_remove_dual_file "${pkg}" "${ver}" "/usr/bin/${i}"
src_remove_dual_man "${pkg}" "${ver}" "/usr/share/man/man1/${i}.1"
done
}
src_prepare_update_patchlevel_h() {
# Copied and modified from debian:
# Copyright 2011 Niko Tyni
# This program is free software; you can redistribute it and/or modify
# it under the same terms as Perl itself.
local patchdir="${WORKDIR}/patches"
local prefix
local patchoutput="patchlevel-gentoo.h"
[[ -f ${patchdir}/series ]] || return 0
while read patch
do
patchname=$(echo $patch | sed 's/\.diff$//')
< $patchdir/$patch sed -e '/^Subject:/ { N; s/\n / / }' | sed -n -e '
# massage the patch headers
s|^Bug: .*https\?://rt\.perl\.org/.*id=\(.*\).*|[perl #\1]|; tprepend;
s|^Bug: .*https\?://rt\.cpan\.org/.*id=\(.*\).*|[rt.cpan.org #\1]|; tprepend;
s|^Bug-Gentoo: ||; tprepend;
s/^\(Subject\|Description\): //; tappend;
s|^Origin: .*http://perl5\.git\.perl\.org/perl\.git/commit\(diff\)\?/\(.......\).*|[\2]|; tprepend;
# post-process at the end of input
$ { x;
# include the version number in the patchlevel.h description (if available)
s/List packaged patches/&'" for ${PF}(#${PATCH_VER})"'/;
# escape any backslashes and double quotes
s|\\|\\\\|g; s|"|\\"|g;
# add a prefix
s|^|\t,"'"$prefix$patchname"' - |;
# newlines away
s/\n/ /g; s/ */ /g;
# add a suffix
s/ *$/"/; p
};
# stop all processing
d;
# label: append to the hold space
:append H; d;
# label: prepend to the hold space
:prepend x; H; d;
'
done < "${WORKDIR}"/patches/series > "${S}/${patchoutput}"
echo "${patchoutput}" >> "${S}/MANIFEST"
}
src_prepare() {
local patch
EPATCH_OPTS+=" -p1"
einfo "Applying patches from ${MY_P}-${PATCH_VER} ..."
while read patch ; do
EPATCH_SINGLE_MSG=" ${patch} ..."
epatch "${WORKDIR}"/patches/${patch}
done < "${WORKDIR}"/patches/series
src_prepare_update_patchlevel_h
if ! tc-is-static-only ; then
ln -s ${LIBPERL} libperl$(get_libname ${SHORT_PV}) || die
ln -s ${LIBPERL} libperl$(get_libname ) || die
fi
default
}
myconf() {
# the myconf array is declared in src_configure
myconf=( "${myconf[@]}" "$@" )
}
src_configure() {
declare -a myconf
export LC_ALL="C"
[[ ${COLUMNS:-1} -ge 1 ]] || unset COLUMNS # bug #394091
# some arches and -O do not mix :)
use ppc && replace-flags -O? -O1
# Perl has problems compiling with -Os in your flags with glibc
use elibc_uclibc || replace-flags "-Os" "-O2"
# This flag makes compiling crash in interesting ways
filter-flags "-malign-double"
# Fixes bug #97645
use ppc && filter-flags "-mpowerpc-gpopt"
# Fixes bug #143895 on gcc-4.1.1
filter-flags "-fsched2-use-superblocks"
use sparc && myconf -Ud_longdbl
export BUILD_BZIP2=0
export BZIP2_INCLUDE=${EPREFIX}/usr/include
export BZIP2_LIB=${EPREFIX}/usr/$(get_libdir)
export BUILD_ZLIB=False
export ZLIB_INCLUDE=${EPREFIX}/usr/include
export ZLIB_LIB=${EPREFIX}/usr/$(get_libdir)
# allow either gdbm to provide ndbm (in <gdbm/ndbm.h>) or db1
myndbm='U'
mygdbm='U'
mydb='U'
if use gdbm ; then
mygdbm='D'
myndbm='D'
fi
if use berkdb ; then
mydb='D'
has_version '=sys-libs/db-1*' && myndbm='D'
fi
myconf "-${myndbm}i_ndbm" "-${mygdbm}i_gdbm" "-${mydb}i_db"
if use alpha && [[ "$(tc-getCC)" = "ccc" ]] ; then
ewarn "Perl will not be built with berkdb support, use gcc if you needed it..."
myconf -Ui_db -Ui_ndbm
fi
use ithreads && myconf -Dusethreads
if use debug ; then
append-cflags "-g"
myconf -DDEBUGGING
elif [[ ${CFLAGS} == *-g* ]] ; then
myconf -DDEBUGGING=-g
else
myconf -DDEBUGGING=none
fi
if [[ -n ${PERL_OLDVERSEN} ]] ; then
local inclist=$(for v in ${PERL_OLDVERSEN}; do echo -n "${v}/${myarch}${mythreading} ${v} "; done )
myconf -Dinc_version_list="${inclist}"
fi
[[ ${ELIBC} == "FreeBSD" ]] && myconf "-Dlibc=/usr/$(get_libdir)/libc.a"
# Make sure we can do the final link #523730, need to set deployment
# target to override hardcoded 10.3 which breaks on modern OSX
[[ ${CHOST} == *-darwin* ]] && \
myconf "-Dld=env MACOSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET} $(tc-getCC)"
# Prefix: the host system needs not to follow Gentoo multilib stuff, and in
# Prefix itself we don't do multilib either, so make sure perl can find
# something compatible.
if use prefix ; then
# Set a hook to check for each detected library whether it actually works.
export libscheck="
( echo 'main(){}' > '${T}'/conftest.c &&
$(tc-getCC) -o '${T}'/conftest '${T}'/conftest.c -l\$thislib >/dev/null 2>/dev/null
) || xxx=/dev/null"
# Use all host paths that might contain useful stuff, the hook above will filter out bad choices.
local paths="/lib/*-linux-gnu /usr/lib/*-linux-gnu /lib64 /lib/64 /usr/lib64 /usr/lib/64 /lib32 /usr/lib32 /lib /usr/lib"
myconf "-Dlibpth=${EPREFIX}/$(get_libdir) ${EPREFIX}/usr/$(get_libdir) ${paths}"
elif [[ $(get_libdir) != "lib" ]] ; then
# We need to use " and not ', as the written config.sh use ' ...
myconf "-Dlibpth=/usr/local/$(get_libdir) /$(get_libdir) /usr/$(get_libdir)"
fi
# don't try building ODBM, bug #354453
disabled_extensions="ODBM_File"
if ! use gdbm ; then
# workaround for bug #157774: don't try building GDBM related stuff with USE="-gdbm"
disabled_extensions="${disabled_extensions} GDBM_File NDBM_File"
fi
myconf -Dnoextensions="${disabled_extensions}"
[[ -n "${EXTRA_ECONF}" ]] && ewarn During Perl build, EXTRA_ECONF=${EXTRA_ECONF}
# allow fiddling via EXTRA_ECONF, bug 558070
eval "local -a EXTRA_ECONF=(${EXTRA_ECONF})"
sh Configure \
-des \
-Duseshrplib \
-Darchname="${myarch}" \
-Dcc="$(tc-getCC)" \
-Doptimize="${CFLAGS}" \
-Dldflags="${LDFLAGS}" \
-Dprefix="${EPREFIX}"'/usr' \
-Dinstallprefix="${EPREFIX}"'/usr' \
-Dsiteprefix="${EPREFIX}"'/usr/local' \
-Dvendorprefix="${EPREFIX}"'/usr' \
-Dscriptdir="${EPREFIX}"'/usr/bin' \
-Dprivlib="${EPREFIX}${PRIV_LIB}" \
-Darchlib="${EPREFIX}${ARCH_LIB}" \
-Dsitelib="${EPREFIX}${SITE_LIB}" \
-Dsitearch="${EPREFIX}${SITE_ARCH}" \
-Dvendorlib="${EPREFIX}${VENDOR_LIB}" \
-Dvendorarch="${EPREFIX}${VENDOR_ARCH}" \
-Dman1dir="${EPREFIX}"/usr/share/man/man1 \
-Dman3dir="${EPREFIX}"/usr/share/man/man3 \
-Dsiteman1dir="${EPREFIX}"/usr/local/man/man1 \
-Dsiteman3dir="${EPREFIX}"/usr/local/man/man3 \
-Dvendorman1dir="${EPREFIX}"/usr/share/man/man1 \
-Dvendorman3dir="${EPREFIX}"/usr/share/man/man3 \
-Dman1ext='1' \
-Dman3ext='3pm' \
-Dlibperl="${LIBPERL}" \
-Dlocincpth="${EPREFIX}"'/usr/include ' \
-Dglibpth="${EPREFIX}/$(get_libdir) ${EPREFIX}/usr/$(get_libdir)"' ' \
-Duselargefiles \
-Dd_semctl_semun \
-Dcf_by='Gentoo' \
-Dmyhostname='localhost' \
-Dperladmin='root@localhost' \
-Dinstallusrbinperl='n' \
-Ud_csh \
-Dsh="${EPREFIX}"/bin/sh \
-Dtargetsh="${EPREFIX}"/bin/sh \
-Uusenm \
"${myconf[@]}" \
"${EXTRA_ECONF[@]}" || die "Unable to configure"
}
src_test() {
export NO_GENTOO_NETWORK_TESTS=1;
if [[ ${EUID} == 0 ]] ; then
ewarn "Test fails with a sandbox error (#328793) if run as root. Skipping tests..."
return 0
fi
use elibc_uclibc && export MAKEOPTS+=" -j1"
TEST_JOBS="$(makeopts_jobs)" make test_harness || die "test failed"
}
src_install() {
local i
local coredir="${ARCH_LIB}/CORE"
emake DESTDIR="${D}" install
rm -f "${ED}/usr/bin/perl${MY_PV}"
ln -s perl "${ED}"/usr/bin/perl${MY_PV} || die
if ! tc-is-static-only ; then
dolib.so "${ED}"${coredir}/${LIBPERL}
rm -f "${ED}"${coredir}/${LIBPERL}
ln -sf ${LIBPERL} "${ED}"/usr/$(get_libdir)/libperl$(get_libname ${SHORT_PV}) || die
ln -sf ${LIBPERL} "${ED}"/usr/$(get_libdir)/libperl$(get_libname) || die
ln -sf ../../../../../$(get_libdir)/${LIBPERL} "${ED}"${coredir}/${LIBPERL} || die
ln -sf ../../../../../$(get_libdir)/${LIBPERL} "${ED}"${coredir}/libperl$(get_libname ${SHORT_PV}) || die
ln -sf ../../../../../$(get_libdir)/${LIBPERL} "${ED}"${coredir}/libperl$(get_libname) || die
fi
rm -rf "${ED}"/usr/share/man/man3 || die "Unable to remove module man pages"
# This removes ${D} from Config.pm
for i in $(find "${D}" -iname "Config.pm" ) ; do
einfo "Removing ${D} from ${i}..."
sed -i -e "s:${D}::" "${i}" || die "Sed failed"
done
dodoc Changes* README AUTHORS
if use doc ; then
# HTML Documentation
# We expect errors, warnings, and such with the following.
dodir /usr/share/doc/${PF}/html
LD_LIBRARY_PATH=. ./perl installhtml \
--podroot='.' \
--podpath='lib:ext:pod:vms' \
--recurse \
--htmldir="${ED}/usr/share/doc/${PF}/html"
fi
[[ -d ${ED}/usr/local ]] && rm -r "${ED}"/usr/local
dual_scripts
}
pkg_preinst() {
check_rebuild
}
pkg_postinst() {
dual_scripts
if [[ "${ROOT}" = "/" ]] ; then
local INC DIR file
INC=$(perl -e 'for $line (@INC) { next if $line eq "."; next if $line =~ m/'${SHORT_PV}'|etc|local|perl$/; print "$line\n" }')
einfo "Removing old .ph files"
for DIR in ${INC} ; do
if [[ -d "${DIR}" ]] ; then
for file in $(find "${DIR}" -name "*.ph" -type f ) ; do
rm -f "${file}"
einfo "<< ${file}"
done
fi
done
# Silently remove the now empty dirs
for DIR in ${INC} ; do
if [[ -d "${DIR}" ]] ; then
find "${DIR}" -depth -type d -print0 | xargs -0 -r rmdir &> /dev/null
fi
done
fi
}
pkg_postrm(){
dual_scripts
}

@ -1,554 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit eutils alternatives flag-o-matic toolchain-funcs multilib multiprocessing
PATCH_VER=2
CROSS_VER=1.1.1
PERL_OLDVERSEN=""
MODULE_AUTHOR=RJBS
SHORT_PV="${PV%.*}"
MY_P="perl-${PV/_rc/-RC}"
MY_PV="${PV%_rc*}"
DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
SRC_URI="
mirror://cpan/src/5.0/${MY_P}.tar.bz2
mirror://cpan/authors/id/${MODULE_AUTHOR:0:1}/${MODULE_AUTHOR:0:2}/${MODULE_AUTHOR}/${MY_P}.tar.bz2
mirror://gentoo/${MY_P}-patches-${PATCH_VER}.tar.xz
https://dev.gentoo.org/~dilfridge/distfiles/${MY_P}-patches-${PATCH_VER}.tar.xz
https://github.com/arsv/perl-cross/releases/download/${CROSS_VER}/perl-cross-${CROSS_VER}.tar.gz
"
HOMEPAGE="http://www.perl.org/"
LICENSE="|| ( Artistic GPL-1+ )"
SLOT="0/${SHORT_PV}"
KEYWORDS="~alpha ~amd64 ~amd64-fbsd ~amd64-linux ~arm ~arm64 ~hppa ~hppa-hpux ~ia64 ~ia64-hpux ~ia64-linux ~m68k ~m68k-mint ~mips ~ppc ~ppc64 ~ppc-aix ~ppc-macos ~s390 ~sh ~sparc ~sparc64-solaris ~sparc-solaris ~x64-freebsd ~x64-macos ~x64-solaris ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~x86-linux ~x86-macos ~x86-solaris"
IUSE="berkdb debug doc gdbm ithreads"
RDEPEND="
berkdb? ( sys-libs/db:= )
gdbm? ( >=sys-libs/gdbm-1.8.3 )
app-arch/bzip2
sys-libs/zlib
"
DEPEND="${RDEPEND}
!prefix? ( elibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs ) )
"
PDEPEND="
>=app-admin/perl-cleaner-2.5
>=virtual/perl-File-Temp-0.230.400-r2
>=virtual/perl-Data-Dumper-2.154.0
virtual/perl-Test-Harness
"
# bug 390719, bug 523624
# virtual/perl-Test-Harness is here for the bundled ExtUtils::MakeMaker
S="${WORKDIR}/${MY_P}"
dual_scripts() {
src_remove_dual perl-core/Archive-Tar 2.40.0 ptar ptardiff ptargrep
src_remove_dual perl-core/Digest-SHA 5.950.0 shasum
src_remove_dual perl-core/CPAN 2.110.0 cpan
src_remove_dual perl-core/Encode 2.800.0 enc2xs piconv
src_remove_dual perl-core/ExtUtils-MakeMaker 7.100.100_rc instmodsh
src_remove_dual perl-core/ExtUtils-ParseXS 3.310.0 xsubpp
src_remove_dual perl-core/IO-Compress 2.69.0 zipdetails
src_remove_dual perl-core/JSON-PP 2.273.0 json_pp
src_remove_dual perl-core/Module-CoreList 5.201.605.60 corelist
src_remove_dual perl-core/Pod-Parser 1.630.0 pod2usage podchecker podselect
src_remove_dual perl-core/Pod-Perldoc 3.250.200_rc perldoc
src_remove_dual perl-core/Test-Harness 3.360.0 prove
src_remove_dual perl-core/podlators 4.70.0 pod2man pod2text
src_remove_dual_man perl-core/podlators 4.70.0 /usr/share/man/man1/perlpodstyle.1
}
check_rebuild() {
# Fresh install
if [[ -z "${REPLACING_VERSIONS}" ]]; then
return 0;
# Major Upgrade
# doesn't matter if there's multiple copies, it still needs a rebuild
# if the string is anything other than "5.CURRENTMAJOR"
elif [[ "${REPLACING_VERSIONS%.*}" != "${PV%.*}" ]]; then
echo ""
ewarn "UPDATE THE PERL MODULES:"
ewarn "After updating dev-lang/perl the installed Perl modules"
ewarn "have to be re-installed. In most cases, this is done automatically"
ewarn "by the package manager, but subsequent steps are still recommended"
ewarn "to ensure system consistency."
ewarn
ewarn "You should start with a depclean to remove any unused perl dependencies"
ewarn "that may confuse portage in future. Regular depcleans are also encouraged"
ewarn "as part of your regular update cycle, as that will keep perl upgrades working."
ewarn "Recommended: emerge --depclean -va"
ewarn
ewarn "You should then call perl-cleaner to clean up any old files and trigger any"
ewarn "remaining rebuilds portage may have missed."
ewarn "Use: perl-cleaner --all"
return 0;
# Reinstall w/ USE Change
elif ( use ithreads && ! has_version dev-lang/perl[ithreads] ) || \
( ! use ithreads && has_version dev-lang/perl[ithreads] ) || \
( use debug && ! has_version dev-lang/perl[debug] ) || \
( ! use debug && has_version dev-lang/perl[debug] ) ; then
echo ""
ewarn "TOGGLED USE-FLAGS WARNING:"
ewarn "You changed one of the use-flags ithreads or debug."
ewarn "You must rebuild all perl-modules installed."
ewarn "Use: perl-cleaner --modules ; perl-cleaner --force --libperl"
fi
}
pkg_setup() {
case ${CHOST} in
*-freebsd*) osname="freebsd" ;;
*-dragonfly*) osname="dragonfly" ;;
*-netbsd*) osname="netbsd" ;;
*-openbsd*) osname="openbsd" ;;
*-darwin*) osname="darwin" ;;
*-interix*) osname="interix" ;;
*-aix*) osname="aix" ;;
*-cygwin*) osname="cygwin" ;;
*) osname="linux" ;;
esac
myarch="${CHOST%%-*}-${osname}"
if use debug ; then
myarch+="-debug"
fi
if use ithreads ; then
mythreading="-multi"
myarch+="-thread"
fi
LIBPERL="libperl$(get_libname ${MY_PV} )"
PRIV_LIB="/usr/$(get_libdir)/perl5/${MY_PV}"
ARCH_LIB="/usr/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading}"
SITE_LIB="/usr/local/$(get_libdir)/perl5/${MY_PV}"
SITE_ARCH="/usr/local/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading}"
VENDOR_LIB="/usr/$(get_libdir)/perl5/vendor_perl/${MY_PV}"
VENDOR_ARCH="/usr/$(get_libdir)/perl5/vendor_perl/${MY_PV}/${myarch}${mythreading}"
dual_scripts
}
src_remove_dual_file() {
local i pkg ver
pkg="$1"
ver="$2"
shift 2
case "${EBUILD_PHASE:-none}" in
postinst|postrm)
for i in "$@" ; do
alternatives_auto_makesym "${i}" "${i}-[0-9]*"
done
;;
setup)
for i in "$@" ; do
if [[ -f ${EROOT}${i} && ! -h ${EROOT}${i} ]] ; then
has_version ${pkg} && ewarn "You must reinstall ${pkg} !"
break
fi
done
;;
install)
for i in "$@" ; do
if ! [[ -f "${ED}"${i} ]] ; then
ewarn "${i} does not exist!"
continue
fi
mv "${ED}"${i}{,-${ver}-${P}} || die
done
;;
esac
}
src_remove_dual_man() {
local i pkg ver ff
pkg="$1"
ver="$2"
shift 2
case "${EBUILD_PHASE:-none}" in
postinst|postrm)
for i in "$@" ; do
ff=`echo "${EROOT}${i%.[0-9]}-${ver}-${P}${i#${i%.[0-9]}}"*`
ff=${ff##*${i#${i%.[0-9]}}}
alternatives_auto_makesym "${i}${ff}" "${i%.[0-9]}-[0-9]*"
done
;;
install)
for i in "$@" ; do
if ! [[ -f "${ED}"${i} ]] ; then
ewarn "${i} does not exist!"
continue
fi
mv "${ED}"${i} "${ED}"${i%.[0-9]}-${ver}-${P}${i#${i%.[0-9]}} || die
done
;;
esac
}
src_remove_dual() {
local i pkg ver
pkg="$1"
ver="$2"
shift 2
for i in "$@" ; do
src_remove_dual_file "${pkg}" "${ver}" "/usr/bin/${i}"
src_remove_dual_man "${pkg}" "${ver}" "/usr/share/man/man1/${i}.1"
done
}
src_prepare_update_patchlevel_h() {
# Copied and modified from debian:
# Copyright 2011 Niko Tyni
# This program is free software; you can redistribute it and/or modify
# it under the same terms as Perl itself.
local patchdir="${WORKDIR}/patches"
local prefix
local patchoutput="patchlevel-gentoo.h"
[[ -f ${patchdir}/series ]] || return 0
while read patch
do
patchname=$(echo $patch | sed 's/\.diff$//')
< $patchdir/$patch sed -e '/^Subject:/ { N; s/\n / / }' | sed -n -e '
# massage the patch headers
s|^Bug: .*https\?://rt\.perl\.org/.*id=\(.*\).*|[perl #\1]|; tprepend;
s|^Bug: .*https\?://rt\.cpan\.org/.*id=\(.*\).*|[rt.cpan.org #\1]|; tprepend;
s|^Bug-Gentoo: ||; tprepend;
s/^\(Subject\|Description\): //; tappend;
s|^Origin: .*http://perl5\.git\.perl\.org/perl\.git/commit\(diff\)\?/\(.......\).*|[\2]|; tprepend;
# post-process at the end of input
$ { x;
# include the version number in the patchlevel.h description (if available)
s/List packaged patches/&'" for ${PF}(#${PATCH_VER})"'/;
# escape any backslashes and double quotes
s|\\|\\\\|g; s|"|\\"|g;
# add a prefix
s|^|\t,"'"$prefix$patchname"' - |;
# newlines away
s/\n/ /g; s/ */ /g;
# add a suffix
s/ *$/"/; p
};
# stop all processing
d;
# label: append to the hold space
:append H; d;
# label: prepend to the hold space
:prepend x; H; d;
'
done < "${WORKDIR}"/patches/series > "${S}/${patchoutput}"
echo "${patchoutput}" >> "${S}/MANIFEST"
}
src_prepare() {
local patch
EPATCH_OPTS+=" -p1"
einfo "Applying patches from ${MY_P}-${PATCH_VER} ..."
while read patch ; do
EPATCH_SINGLE_MSG=" ${patch} ..."
epatch "${WORKDIR}"/patches/${patch}
done < "${WORKDIR}"/patches/series
src_prepare_update_patchlevel_h
if tc-is-cross-compiler; then
cp -a ../perl-cross-${CROSS_VER}/* . || die
touch cpan/CPANPLUS/lib/CPANPLUS.pm || die
sed -i \
-e 's/(15 + $CLEANUP)/(13 + $CLEANUP)/' \
cnf/diffs/perl5-${PV}/makemaker-test.patch || die
sed -i \
-e 's/MakeMaker\.pm .*/MakeMaker.pm effd272b3c9224af6fd0f6cae7183f33ec4b1106/' \
-e 's/MM_Unix\.pm .*/MM_Unix.pm 648f834524bcdef67c3b6bae28e8c1ef443d0fc1/' \
cnf/diffs/perl5-${PV}/customized.patch || die
fi
if ! tc-is-static-only ; then
ln -s ${LIBPERL} libperl$(get_libname ${SHORT_PV}) || die
ln -s ${LIBPERL} libperl$(get_libname ) || die
fi
if use gdbm; then
sed -i "s:INC => .*:INC => \"-I${EROOT}usr/include/gdbm\":g" \
ext/NDBM_File/Makefile.PL || die
fi
default
}
myconf() {
# the myconf array is declared in src_configure
myconf=( "${myconf[@]}" "$@" )
}
src_configure() {
declare -a myconf
export LC_ALL="C"
[[ ${COLUMNS:-1} -ge 1 ]] || unset COLUMNS # bug #394091
# some arches and -O do not mix :)
use ppc && replace-flags -O? -O1
# Perl has problems compiling with -Os in your flags with glibc
use elibc_uclibc || replace-flags "-Os" "-O2"
# This flag makes compiling crash in interesting ways
filter-flags "-malign-double"
# Fixes bug #97645
use ppc && filter-flags "-mpowerpc-gpopt"
# Fixes bug #143895 on gcc-4.1.1
filter-flags "-fsched2-use-superblocks"
use sparc && myconf -Ud_longdbl
export BUILD_BZIP2=0
export BZIP2_INCLUDE=${EROOT}/usr/include
export BZIP2_LIB=${EROOT}/usr/$(get_libdir)
export BUILD_ZLIB=False
export ZLIB_INCLUDE=${EROOT}/usr/include
export ZLIB_LIB=${EROOT}/usr/$(get_libdir)
# allow either gdbm to provide ndbm (in <gdbm/ndbm.h>) or db1
myndbm='U'
mygdbm='U'
mydb='U'
if use gdbm ; then
mygdbm='D'
if use berkdb ; then
myndbm='D'
fi
fi
if use berkdb ; then
mydb='D'
has_version '=sys-libs/db-1*' && myndbm='D'
fi
myconf "-${myndbm}i_ndbm" "-${mygdbm}i_gdbm" "-${mydb}i_db"
if use alpha && [[ "$(tc-getCC)" = "ccc" ]] ; then
ewarn "Perl will not be built with berkdb support, use gcc if you needed it..."
myconf -Ui_db -Ui_ndbm
fi
use ithreads && myconf -Dusethreads
if use debug ; then
append-cflags "-g"
myconf -DDEBUGGING
elif [[ ${CFLAGS} == *-g* ]] ; then
myconf -DDEBUGGING=-g
else
myconf -DDEBUGGING=none
fi
if [[ -n ${PERL_OLDVERSEN} ]] ; then
local inclist=$(for v in ${PERL_OLDVERSEN}; do echo -n "${v}/${myarch}${mythreading} ${v} "; done )
myconf -Dinc_version_list="${inclist}"
fi
[[ ${ELIBC} == "FreeBSD" ]] && myconf "-Dlibc=/usr/$(get_libdir)/libc.a"
# Make sure we can do the final link #523730, need to set deployment
# target to override hardcoded 10.3 which breaks on modern OSX
[[ ${CHOST} == *-darwin* ]] && \
myconf "-Dld=env MACOSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET} $(tc-getCC)"
# Prefix: the host system needs not to follow Gentoo multilib stuff, and in
# Prefix itself we don't do multilib either, so make sure perl can find
# something compatible.
if use prefix ; then
# Set a hook to check for each detected library whether it actually works.
export libscheck="
( echo 'main(){}' > '${T}'/conftest.c &&
$(tc-getCC) -o '${T}'/conftest '${T}'/conftest.c -l\$thislib >/dev/null 2>/dev/null
) || xxx=/dev/null"
# Use all host paths that might contain useful stuff, the hook above will filter out bad choices.
local paths="/lib/*-linux-gnu /usr/lib/*-linux-gnu /lib64 /lib/64 /usr/lib64 /usr/lib/64 /lib32 /usr/lib32 /lib /usr/lib"
myconf "-Dlibpth=${EPREFIX}/$(get_libdir) ${EPREFIX}/usr/$(get_libdir) ${paths}"
elif [[ $(get_libdir) != "lib" ]] ; then
# We need to use " and not ', as the written config.sh use ' ...
myconf "-Dlibpth=/usr/local/$(get_libdir) /$(get_libdir) /usr/$(get_libdir)"
fi
# don't try building ODBM, bug #354453
disabled_extensions="ODBM_File"
if ! use gdbm ; then
# workaround for bug #157774: don't try building GDBM related stuff with USE="-gdbm"
disabled_extensions="${disabled_extensions} GDBM_File NDBM_File"
fi
myconf -Dnoextensions="${disabled_extensions}"
[[ -n "${EXTRA_ECONF}" ]] && ewarn During Perl build, EXTRA_ECONF=${EXTRA_ECONF}
# allow fiddling via EXTRA_ECONF, bug 558070
eval "local -a EXTRA_ECONF=(${EXTRA_ECONF})"
myconf \
-Duseshrplib \
-Darchname="${myarch}" \
-Dcc="$(tc-getCC)" \
-Doptimize="${CFLAGS}" \
-Dldflags="${LDFLAGS}" \
-Dprefix="${EPREFIX}"'/usr' \
-Dsiteprefix="${EPREFIX}"'/usr/local' \
-Dvendorprefix="${EPREFIX}"'/usr' \
-Dscriptdir="${EPREFIX}"'/usr/bin' \
-Dprivlib="${EPREFIX}${PRIV_LIB}" \
-Darchlib="${EPREFIX}${ARCH_LIB}" \
-Dsitelib="${EPREFIX}${SITE_LIB}" \
-Dsitearch="${EPREFIX}${SITE_ARCH}" \
-Dvendorlib="${EPREFIX}${VENDOR_LIB}" \
-Dvendorarch="${EPREFIX}${VENDOR_ARCH}" \
-Dman1dir="${EPREFIX}"/usr/share/man/man1 \
-Dman3dir="${EPREFIX}"/usr/share/man/man3 \
-Dsiteman1dir="${EPREFIX}"/usr/local/man/man1 \
-Dsiteman3dir="${EPREFIX}"/usr/local/man/man3 \
-Dvendorman1dir="${EPREFIX}"/usr/share/man/man1 \
-Dvendorman3dir="${EPREFIX}"/usr/share/man/man3 \
-Dman1ext='1' \
-Dman3ext='3pm' \
-Dlibperl="${LIBPERL}" \
-Dlocincpth="${EPREFIX}"'/usr/include ' \
-Dglibpth="${EPREFIX}/$(get_libdir) ${EPREFIX}/usr/$(get_libdir)"' ' \
-Duselargefiles \
-Dd_semctl_semun \
-Dcf_by='Gentoo' \
-Dmyhostname='localhost' \
-Dperladmin='root@localhost' \
-Ud_csh \
-Dsh="${EPREFIX}"/bin/sh \
-Dtargetsh="${EPREFIX}"/bin/sh \
-Uusenm \
"${myconf[@]}" \
"${EXTRA_ECONF[@]}"
if tc-is-cross-compiler; then
./configure \
--target="${CHOST}" \
-Dinstallprefix='' \
-Dinstallusrbinperl='undef' \
-Dusevendorprefix='define' \
"${myconf[@]}" \
|| die "Unable to configure"
else
sh Configure \
-des \
-Dinstallprefix="${EPREFIX}"'/usr' \
-Dinstallusrbinperl='n' \
"${myconf[@]}" \
|| die "Unable to configure"
fi
}
src_test() {
export NO_GENTOO_NETWORK_TESTS=1;
if [[ ${EUID} == 0 ]] ; then
ewarn "Test fails with a sandbox error (#328793) if run as root. Skipping tests..."
return 0
fi
use elibc_uclibc && export MAKEOPTS+=" -j1"
TEST_JOBS="$(makeopts_jobs)" make test_harness || die "test failed"
}
src_install() {
local i
local coredir="${ARCH_LIB}/CORE"
emake DESTDIR="${D}" install
rm -f "${ED}/usr/bin/perl${MY_PV}"
ln -s perl "${ED}"/usr/bin/perl${MY_PV} || die
if ! tc-is-static-only ; then
dolib.so "${ED}"${coredir}/${LIBPERL}
rm -f "${ED}"${coredir}/${LIBPERL}
ln -sf ${LIBPERL} "${ED}"/usr/$(get_libdir)/libperl$(get_libname ${SHORT_PV}) || die
ln -sf ${LIBPERL} "${ED}"/usr/$(get_libdir)/libperl$(get_libname) || die
ln -sf ../../../../../$(get_libdir)/${LIBPERL} "${ED}"${coredir}/${LIBPERL} || die
ln -sf ../../../../../$(get_libdir)/${LIBPERL} "${ED}"${coredir}/libperl$(get_libname ${SHORT_PV}) || die
ln -sf ../../../../../$(get_libdir)/${LIBPERL} "${ED}"${coredir}/libperl$(get_libname) || die
fi
rm -rf "${ED}"/usr/share/man/man3 || die "Unable to remove module man pages"
# This removes ${D} from Config.pm
for i in $(find "${D}" -iname "Config.pm" ) ; do
einfo "Removing ${D} from ${i}..."
sed -i -e "s:${D}::" "${i}" || die "Sed failed"
done
dodoc Changes* README AUTHORS
if use doc ; then
# HTML Documentation
# We expect errors, warnings, and such with the following.
dodir /usr/share/doc/${PF}/html
LD_LIBRARY_PATH=. ./perl installhtml \
--podroot='.' \
--podpath='lib:ext:pod:vms' \
--recurse \
--htmldir="${ED}/usr/share/doc/${PF}/html"
fi
[[ -d ${ED}/usr/local ]] && rm -r "${ED}"/usr/local
dual_scripts
}
pkg_preinst() {
check_rebuild
}
pkg_postinst() {
dual_scripts
if [[ "${ROOT}" = "/" ]] ; then
local INC DIR file
INC=$(perl -e 'for $line (@INC) { next if $line eq "."; next if $line =~ m/'${SHORT_PV}'|etc|local|perl$/; print "$line\n" }')
einfo "Removing old .ph files"
for DIR in ${INC} ; do
if [[ -d "${DIR}" ]] ; then
for file in $(find "${DIR}" -name "*.ph" -type f ) ; do
rm -f "${file}"
einfo "<< ${file}"
done
fi
done
# Silently remove the now empty dirs
for DIR in ${INC} ; do
if [[ -d "${DIR}" ]] ; then
find "${DIR}" -depth -type d -print0 | xargs -0 -r rmdir &> /dev/null
fi
done
fi
}
pkg_postrm(){
dual_scripts
}

@ -0,0 +1,153 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="6"
PYTHON_COMPAT=( python{2_7,3_4} )
inherit eutils multilib python-r1 toolchain-funcs
MY_PN="Botan"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="A C++ crypto library"
HOMEPAGE="http://botan.randombit.net/"
SRC_URI="http://botan.randombit.net/releases/${MY_P}.tgz"
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos"
SLOT="0"
LICENSE="BSD"
IUSE="bindist doc python bzip2 gmp libressl ssl static-libs threads zlib"
S="${WORKDIR}/${MY_P}"
RDEPEND="bzip2? ( >=app-arch/bzip2-1.0.5 )
zlib? ( >=sys-libs/zlib-1.2.3 )
python? ( ${PYTHON_DEPS} >=dev-libs/boost-1.48[python,${PYTHON_USEDEP}] )
gmp? ( >=dev-libs/gmp-4.2.2:* )
ssl? (
!libressl? ( dev-libs/openssl:0=[bindist=] )
libressl? ( dev-libs/libressl:0= )
)"
DEPEND="${RDEPEND}
doc? ( dev-python/sphinx )"
src_prepare() {
default
sed -e "s/-Wl,-soname,\$@ //" -i src/build-data/makefile/python.in || die "sed failed"
sed \
-e "/DOCDIR/d" \
-e "/^install:/s/ docs//" \
-i src/build-data/makefile/unix_shr.in || die "sed failed"
# Fix ImportError with Python 3.
sed -e "s/_botan/.&/" -i src/wrap/python/__init__.py || die "sed failed"
use python && python_copy_sources
}
src_configure() {
local disable_modules="proc_walk,unix_procs"
use threads || disable_modules+=",pthreads"
use bindist && disable_modules+=",ecdsa"
elog "Disabling modules: ${disable_modules}"
# Enable v9 instructions for sparc64
if [[ "${PROFILE_ARCH}" = "sparc64" ]]; then
CHOSTARCH="sparc32-v9"
else
CHOSTARCH="${CHOST%%-*}"
fi
local myos=
case ${CHOST} in
*-darwin*) myos=darwin ;;
*) myos=linux ;;
esac
# foobared buildsystem, --prefix translates into DESTDIR, see also make
# install in src_install, we need the correct live-system prefix here on
# Darwin for a shared lib with correct install_name
./configure.py \
--prefix="${EPREFIX}/usr" \
--libdir=$(get_libdir) \
--docdir=share/doc \
--cc=gcc \
--os=${myos} \
--cpu=${CHOSTARCH} \
--with-endian="$(tc-endian)" \
--without-sphinx \
--with-tr1=system \
$(use_with bzip2) \
$(use_with gmp gnump) \
$(use_with python boost-python) \
$(use_with ssl openssl) \
$(use_with zlib) \
--disable-modules=${disable_modules} \
|| die "configure.py failed"
}
src_compile() {
emake CXX="$(tc-getCXX)" AR="$(tc-getAR) crs" LIB_OPT="${CXXFLAGS}" MACH_OPT=""
if use python; then
building() {
rm -fr build/python
ln -s "${BUILD_DIR}" build/python
cp Makefile.python build/python
sed -i \
-e "s/-lboost_python/-lboost_python-$(echo ${EPYTHON} | sed 's/python//')/" \
build/python/Makefile.python
emake -f build/python/Makefile.python \
CXX="$(tc-getCXX)" \
CFLAGS="${CXXFLAGS}" \
LDFLAGS="${LDFLAGS}" \
PYTHON_ROOT="/usr/$(get_libdir)" \
PYTHON_INC="-I$(python_get_includedir)"
}
python_foreach_impl building
fi
if use doc; then
einfo "Generation of documentation"
sphinx-build doc doc_output
fi
}
src_test() {
chmod -R ugo+rX "${S}"
emake CXX="$(tc-getCXX)" CHECK_OPT="${CXXFLAGS}" check
LD_LIBRARY_PATH="${S}" ./check --validate || die "Validation tests failed"
}
src_install() {
emake DESTDIR="${ED}usr" install
if ! use static-libs; then
rm "${ED}usr/$(get_libdir)/libbotan"*.a || die 'remove of static libs failed'
fi
# Add compatibility symlinks.
[[ -e "${ED}usr/bin/botan-config" ]] && die "Compatibility code no longer needed"
[[ -e "${ED}usr/$(get_libdir)/pkgconfig/botan.pc" ]] && die "Compatibility code no longer needed"
dosym botan-config-1.10 /usr/bin/botan-config
dosym botan-1.10.pc /usr/$(get_libdir)/pkgconfig/botan.pc
if use python; then
installation() {
rm -fr build/python
ln -s "${BUILD_DIR}" build/python
emake -f Makefile.python \
PYTHON_SITE_PACKAGE_DIR="${ED}$(python_get_sitedir)" \
install
}
python_foreach_impl installation
fi
if use doc; then
pushd doc_output > /dev/null
insinto /usr/share/doc/${PF}/html
doins -r [a-z]* _static
popd > /dev/null
fi
}

@ -28,8 +28,8 @@ RDEPEND="bzip2? ( >=app-arch/bzip2-1.0.5 )
lzma? ( app-arch/xz-utils )
sqlite? ( dev-db/sqlite:3 )
ssl? (
!libressl? ( >=dev-libs/openssl-0.9.8g:0[bindist=] )
libressl? ( dev-libs/libressl )
!libressl? ( dev-libs/openssl:0=[bindist=] )
libressl? ( dev-libs/libressl:0= )
)"
DEPEND="${RDEPEND}
dev-lang/python:*

@ -0,0 +1 @@
DIST llvm-4.0.0rc1.src.tar.xz 20996760 SHA256 ccbff3a7af78efc12b5b7f749d184b4c8caf75621af4e05f640cbfa9f80f8604 SHA512 10b6fee561b9307490d5f20ce70b7e0099bd405e56c8330be9aa04673f39dbd712833e357a577a5106819336a1957dd73d288bbdd35286d56305d14d237dfd3d WHIRLPOOL 8559852df5d036a4d86a4555bcbeaab6bbb3b5e9cad9daa8c0f5e934e4fb7235bc05df55e09d38eb4d90832036d8b9f5b1ff8108e7d5ea01c86b00eecc0a3d13

@ -9,15 +9,12 @@ EAPI=6
CMAKE_MIN_VERSION=3.7.0-r1
PYTHON_COMPAT=( python2_7 )
inherit cmake-utils git-r3 python-any-r1
inherit cmake-utils python-any-r1
MY_P=llvm-${PV/_/}
DESCRIPTION="OCaml bindings for LLVM"
HOMEPAGE="http://llvm.org/"
SRC_URI=""
EGIT_REPO_URI="http://llvm.org/git/llvm.git
https://github.com/llvm-mirror/llvm.git"
EGIT_BRANCH="release_40"
EGIT_COMMIT="c329efbc3c94928fb826ed146897aada0459c983"
SRC_URI="http://www.llvm.org/pre-releases/${PV/_//}/${MY_P/_/}.src.tar.xz"
# Keep in sync with sys-devel/llvm
ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430
@ -27,7 +24,7 @@ LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?}
LICENSE="UoI-NCSA"
SLOT="0/${PV}"
KEYWORDS=""
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="test ${ALL_LLVM_TARGETS[*]}"
RDEPEND="
@ -47,6 +44,8 @@ DEPEND="${RDEPEND}
REQUIRED_USE="${PYTHON_REQUIRED_USE}
|| ( ${ALL_LLVM_TARGETS[*]} )"
S=${WORKDIR}/${MY_P/_/}.src
# least intrusive of all
CMAKE_BUILD_TYPE=RelWithDebInfo

@ -8,8 +8,7 @@ PYTHON_COMPAT=( python2_7 python3_{4,5} )
inherit eutils multibuild python-r1 qmake-utils toolchain-funcs
DESCRIPTION="Python bindings for the Qt framework"
HOMEPAGE="http://www.riverbankcomputing.com/software/pyqt/intro
https://pypi.python.org/pypi/PyQt4"
HOMEPAGE="https://www.riverbankcomputing.com/software/pyqt/intro"
MY_P=PyQt-x11-gpl-${PV/_pre/.dev}
if [[ ${PV} == *_pre* ]]; then

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -8,8 +8,7 @@ PYTHON_COMPAT=( python2_7 python3_{4,5} )
inherit multibuild python-r1 qmake-utils toolchain-funcs
DESCRIPTION="Python bindings for the Qt framework"
HOMEPAGE="http://www.riverbankcomputing.com/software/pyqt/intro
https://pypi.python.org/pypi/PyQt4"
HOMEPAGE="https://www.riverbankcomputing.com/software/pyqt/intro"
MY_P=${PN}_gpl_x11-${PV/_pre/.dev}
if [[ ${PV} == *_pre* ]]; then

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -9,8 +9,7 @@ PYTHON_COMPAT=( python2_7 python3_{4,5} )
inherit eutils multibuild multilib python-r1 qmake-utils
DESCRIPTION="Python bindings for the Qt framework"
HOMEPAGE="http://www.riverbankcomputing.com/software/pyqt/intro
https://pypi.python.org/pypi/PyQt5"
HOMEPAGE="https://www.riverbankcomputing.com/software/pyqt/intro"
MY_PN="PyQt-gpl"
if [[ ${PV} == *_pre* ]]; then

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -8,8 +8,7 @@ PYTHON_COMPAT=( python2_7 python3_{4,5} )
inherit multibuild python-r1 qmake-utils
DESCRIPTION="Python bindings for the Qt framework"
HOMEPAGE="http://www.riverbankcomputing.com/software/pyqt/intro
https://pypi.python.org/pypi/PyQt5"
HOMEPAGE="https://www.riverbankcomputing.com/software/pyqt/intro"
MY_P=${PN}_gpl-${PV/_pre/.dev}
if [[ ${PV} == *_pre* ]]; then

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -8,8 +8,7 @@ PYTHON_COMPAT=( python2_7 python3_{4,5} )
inherit multibuild python-r1 qmake-utils
DESCRIPTION="Python bindings for the Qt framework"
HOMEPAGE="http://www.riverbankcomputing.com/software/pyqt/intro
https://pypi.python.org/pypi/PyQt5"
HOMEPAGE="https://www.riverbankcomputing.com/software/pyqt/intro"
MY_P=${PN}_gpl-${PV/_pre/.dev}
if [[ ${PV} == *_pre* ]]; then

@ -15,7 +15,7 @@ SRC_URI="https://github.com/behdad/fonttools/archive/${PV}.tar.gz -> ${P}.tar.gz
LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~ppc ppc64 ~x86"
KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~ppc ppc64 sparc ~x86"
IUSE=""
DEPEND=">=dev-python/numpy-1.0.2[${PYTHON_USEDEP}]"

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -14,13 +14,10 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
IUSE="test"
RDEPEND=""
DEPEND="${RDEPEND}
doc? (
dev-python/sphinx[${PYTHON_USEDEP}]
)
test? (
>=dev-python/pytest-2.9.2[${PYTHON_USEDEP}]
>=dev-python/pytest-cov-2.3.0[${PYTHON_USEDEP}]
@ -36,17 +33,8 @@ python_prepare_all() {
distutils-r1_python_prepare_all
}
python_compile_all(){
use doc && emake -C docs html
}
python_test() {
PYTHONPATH="${S}/test:${BUILD_DIR}/lib" \
py.test -v hpack test/|| die
cd test
}
python_install_all() {
use doc && HTML_DOCS=( docs/_build/html/. )
distutils-r1_python_install_all
}

@ -1,2 +1,3 @@
DIST keyrings.alt-1.1.1.tar.gz 23100 SHA256 2f1a55849504644795076291bcc66a7266e0388dea13fe23a89d25c99e355d22 SHA512 de42347cb60f8b860fdfd6f8abecd90277dc958b8e1562f650b88a2e061c8fa0d297d55f389061efee61e4974b2b4f1d1c4672be0b602e43b16d03bdca302f8e WHIRLPOOL bb27862a2d53481c016837b311293357538deaa22474f84a25fe15329db9ad2fcbc7ad760d13b393e251f85737657e2fa7277c72cd6c89ca2722107dfa48fb53
DIST keyrings.alt-1.1.tar.gz 21520 SHA256 dc3b3ad7d34f22744de75bfcbeb608445aaf059ff4bb28bf2247de8372be207b SHA512 a14a901196bf647babcb060155cfb0307cbbbc6c86297be3174bb192f485ea510ab417b46562de8e8067cd121e40c60c64d6d33a0f147a965821bf55e1245d90 WHIRLPOOL 6e09ad17a9115f42a7b2249151c847f964ba7f67da307ecaf6de2d15233cb97fcb14692c122b1c053cd621de3b5242663eb17a29af5cfff68b90b07fd79c305c
DIST keyrings.alt-2.0.tar.gz 23822 SHA256 12a01731963810ab647f7cc3ea3070c7924f9a28a88d8dc0c53e119ba9a83122 SHA512 bdce34074b1202eb41f1d2dc8146fbce3f17f5af6b42f4c77fba9c9826fcd549f285c6025471c0bab3ef091ecd19d7549f05413662420a9fe77f3fdd735f0335 WHIRLPOOL cf3143559797a1dcbfa3b3f1107a5878794ab385895665099ea1417d87f9f6bdac6868b13c31d35efaecc447873659b4fd919c8fd578fced62c2d8507eaa4b30

@ -0,0 +1,48 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python{2_7,3_{4,5}} pypy )
inherit distutils-r1
MY_PN="${PN/_/.}"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Alternate keyring implementations"
HOMEPAGE="https://github.com/jaraco/keyrings.alt http://pypi.python.org/pypi/keyrings.alt"
SRC_URI="mirror://pypi/${P:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
>=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}]
test? (
>=dev-python/fs-0.5[${PYTHON_USEDEP}]
<dev-python/fs-2[${PYTHON_USEDEP}]
dev-python/gdata[$(python_gen_usedep 'python2*')]
dev-python/keyczar[$(python_gen_usedep 'python2*')]
dev-python/pycrypto[$(python_gen_usedep 'python*')]
>=dev-python/pytest-2.8[${PYTHON_USEDEP}]
)"
S=${WORKDIR}/${MY_P}
# Multiple failures
RESTRICT=test
python_prepare_all() {
sed \
-e "s:find_packages():find_packages(exclude=['tests']):g" \
-i setup.py || die
distutils-r1_python_prepare_all
}
python_test() {
py.test -v -v || die
}

@ -1 +1,2 @@
DIST llvm-3.9.0.src.tar.xz 18235716 SHA256 66c73179da42cee1386371641241f79ded250e117a79f571bbd69e56daa48948 SHA512 f18ae32531218ab156c3e56c11826be0fd05f0799c82eaf2e6a043b38e1277560b4d921987513b88b11d97ea2619feaf277eec72181dd2ae4f4108c2836bf7b2 WHIRLPOOL a36c1bcee6e7995067a9a7a51e3fdb0f10d51d0239250eefab92ed2e46b024a203fa10a17a25a5aca69046bcb413628e288427f1a6690d0862e07cd95694c8a8
DIST llvm-4.0.0rc1.src.tar.xz 20996760 SHA256 ccbff3a7af78efc12b5b7f749d184b4c8caf75621af4e05f640cbfa9f80f8604 SHA512 10b6fee561b9307490d5f20ce70b7e0099bd405e56c8330be9aa04673f39dbd712833e357a577a5106819336a1957dd73d288bbdd35286d56305d14d237dfd3d WHIRLPOOL 8559852df5d036a4d86a4555bcbeaab6bbb3b5e9cad9daa8c0f5e934e4fb7235bc05df55e09d38eb4d90832036d8b9f5b1ff8108e7d5ea01c86b00eecc0a3d13

@ -1,26 +1,23 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1 git-r3
inherit distutils-r1
MY_P=llvm-${PV/_/}
DESCRIPTION="A stand-alone install of the LLVM suite testing tool"
HOMEPAGE="http://llvm.org/"
SRC_URI=""
EGIT_REPO_URI="http://llvm.org/git/llvm.git
https://github.com/llvm-mirror/llvm.git"
EGIT_BRANCH="release_40"
EGIT_COMMIT="c329efbc3c94928fb826ed146897aada0459c983"
SRC_URI="http://www.llvm.org/pre-releases/${PV/_//}/${MY_P}.src.tar.xz"
LICENSE="UoI-NCSA"
SLOT="0"
KEYWORDS=""
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="test"
S=${WORKDIR}/${P}/utils/lit
S=${WORKDIR}/${MY_P}.src/utils/lit
# Tests require 'FileCheck' and 'not' utilities (from llvm)
DEPEND="

@ -15,8 +15,8 @@ SRC_URI="ftp://ftp.logilab.org/pub/common/${P}.tar.gz mirror://pypi/${PN:0:1}/${
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ia64 ppc ppc64 ~s390 sparc x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc test"
KEYWORDS="alpha amd64 arm ia64 ppc ppc64 ~s390 sparc x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="test"
RDEPEND=">=dev-python/six-1.4.0[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]"
@ -25,34 +25,14 @@ DEPEND="${RDEPEND}
$(python_gen_cond_dep 'dev-python/egenix-mx-base[${PYTHON_USEDEP}]' python2_7)
dev-python/pytz[${PYTHON_USEDEP}]
)
doc? ( $(python_gen_cond_dep 'dev-python/epydoc[${PYTHON_USEDEP}]' python2_7) )"
"
PATCHES=( "${FILESDIR}/${P}-test-namespace-fix.patch" )
python_prepare_all() {
sed -i \
-e 's:(CURDIR):{S}/${P}:' \
doc/makefile || die
distutils-r1_python_prepare_all
}
python_compile_all() {
if use doc; then
# Based on the doc build in Arfrever's ebuild. It works
pushd doc > /dev/null
mkdir -p apidoc || die
epydoc --parse-only -o apidoc --html -v --no-private --exclude=__pkginfo__ --exclude=setup --exclude=test \
-n "Logilab's common library" "$(ls -d ../build/lib/logilab/common/)" build \
|| die "Generation of documentation failed"
fi
}
python_install_all() {
distutils-r1_python_install_all
doman doc/pytest.1
use doc && HTML_DOCS=( doc/apidoc/. )
}
python_test() {

@ -1 +1,2 @@
DIST pygit2-0.24.2.tar.gz 470732 SHA256 2aae85836c3a8da686220db7db05f91f8797e37edf91cc2a1f88b09fb653166a SHA512 95593944fc290d310d66295cf9a8e7723edd668d85377f6bec05a5237e6ae72402d73595d146950231b9f30ee3e3c123fbfdc25cc36d0bd71c5fcb1dff53527e WHIRLPOOL 41155e89deda3d0dfbad6ce94122ad08e01e9c7abc0fd4c07ff366c761835b3bd92ef9e4fcee09cc25f07bcbb829f36e1c353acf30c6ff76c42c938e16335885
DIST pygit2-0.25.0.tar.gz 472116 SHA256 de0ed85fd840dfeb32bcaa94c643307551dc0d967c3714e49087e7edc0cdc571 SHA512 44f94869718111acbd4ad41bc4c37ac66557e979241dd5a7bb080cf091fec3fc3d5aa53a8a84eb37b2e6f89518b2ac69d058e1970b7cf98c35b8375807fd8f86 WHIRLPOOL 71d8eb87ef9cd2a1d77ecc1258d5d02f2d0075144fc81556e8a2c0b599202cf17b06c548767b956748feaa13d3ece0d3a664cfe95ab93004e345890805c58175

@ -0,0 +1,27 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
inherit distutils-r1 versionator
DESCRIPTION="Python bindings for libgit2"
HOMEPAGE="https://github.com/libgit2/pygit2 https://pypi.python.org/pypi/pygit2"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL-2-with-linking-exception"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
=dev-libs/libgit2-$(get_version_component_range 1-2)*
>=dev-python/cffi-1.0:=[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
python_test() {
esetup.py test
}

@ -10,7 +10,7 @@ inherit python-r1 qmake-utils
MY_P=QScintilla_gpl-${PV}
DESCRIPTION="Python bindings for Qscintilla"
HOMEPAGE="http://www.riverbankcomputing.com/software/qscintilla/intro"
HOMEPAGE="https://www.riverbankcomputing.com/software/qscintilla/intro"
SRC_URI="mirror://sourceforge/pyqt/${MY_P}.tar.gz"
LICENSE="GPL-3"

@ -10,7 +10,7 @@ inherit python-r1 qmake-utils
MY_P=QScintilla_gpl-${PV}
DESCRIPTION="Python bindings for Qscintilla"
HOMEPAGE="http://www.riverbankcomputing.com/software/qscintilla/intro"
HOMEPAGE="https://www.riverbankcomputing.com/software/qscintilla/intro"
SRC_URI="mirror://sourceforge/pyqt/${MY_P}.tar.gz"
LICENSE="GPL-3"

@ -10,7 +10,7 @@ inherit python-r1 qmake-utils
MY_P=QScintilla_gpl-${PV}
DESCRIPTION="Python bindings for Qscintilla"
HOMEPAGE="http://www.riverbankcomputing.com/software/qscintilla/intro"
HOMEPAGE="https://www.riverbankcomputing.com/software/qscintilla/intro"
SRC_URI="mirror://sourceforge/pyqt/${MY_P}.tar.gz"
LICENSE="GPL-3"

@ -12,7 +12,7 @@ if [[ ${PV} == "9999" ]]; then
inherit git-r3
else
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
fi
DESCRIPTION="Collection of extensions to Distutils"

@ -1,2 +1,2 @@
DIST simpleeval-0.8.7.tar.gz 11654 SHA256 ea13bcbe38178eebb4d374cdcb6591e0cc281a63669c29c99a6aa4fec7640117 SHA512 7fef73e3b4d62e24048be164f156f19cfd844116fb9603ac88753b216b984f873babb351216ec6f96e29009fadcebd9c81f7e49f6577197c098e4f10ba2116a1 WHIRLPOOL f85124a0caf211b45b675de523ef3e32fae960a354f039f66bfb38f9356fbf70378e10ca20ec74701f6a0db3dc9a6e8689270d71f241507003158cb25ad076b4
DIST simpleeval-0.9.1.tar.gz 12915 SHA256 c6887a4bfc1d3a99888cad01604f4f63d5b9ba47320711b27a8f624c1aa86f53 SHA512 117357a96a36b9f2906fc08b984c88bf6ccda7434632871b436e81f8c88d07c9821e3e4f220478eb9c21fc0f86749465667eb8f20cf248650efab31bf8f0a203 WHIRLPOOL 1a45e63dac4021a535eb7d573575cbd3897a080a378e964954172bcbf7567f3db5ff68410063ddca00f9ecf8fb9481fc384cb77e6feaa61e5045597b6941d8f4
DIST simpleeval-0.9.3.tar.gz 14582 SHA256 6dafe47d4ccc062fa4fed50ce1b991d169aebafb68182e1a6fd7a048bd4892c1 SHA512 8f9dc5076da57e40388e3e247028cea7db7328c10d88047d68b36e86383209abd7c63e64fa0d64901f82dc4274825700ca7caeb0546e56a1a3a584237d7f8f1d WHIRLPOOL 579718dcc255f067d882c565e905c1948bd1bcd5c17f8803b1b7eaf0c35c4ba1e4178a387d9578ba83e10ab5e9c80748e0a084bbb98a3bf4789d39b7557163b8

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -9,7 +9,7 @@ PYTHON_COMPAT=( python2_7 python3_{4,5} )
inherit python-r1 toolchain-funcs
DESCRIPTION="Python extension module generator for C and C++ libraries"
HOMEPAGE="http://www.riverbankcomputing.com/software/sip/intro https://pypi.python.org/pypi/SIP"
HOMEPAGE="https://www.riverbankcomputing.com/software/sip/intro"
SRC_URI="mirror://sourceforge/pyqt/${P}.tar.gz"
# Sub-slot based on SIP_API_MAJOR_NR from siplib/sip.h.in

@ -9,7 +9,7 @@ PYTHON_COMPAT=( python2_7 python3_{4,5} )
inherit python-r1 toolchain-funcs
DESCRIPTION="Python extension module generator for C and C++ libraries"
HOMEPAGE="http://www.riverbankcomputing.com/software/sip/intro https://pypi.python.org/pypi/SIP"
HOMEPAGE="https://www.riverbankcomputing.com/software/sip/intro"
SRC_URI="mirror://sourceforge/pyqt/${P}.tar.gz"
# Sub-slot based on SIP_API_MAJOR_NR from siplib/sip.h.in

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -9,7 +9,7 @@ PYTHON_COMPAT=( python2_7 python3_{4,5} )
inherit python-r1 toolchain-funcs
DESCRIPTION="Python extension module generator for C and C++ libraries"
HOMEPAGE="http://www.riverbankcomputing.com/software/sip/intro https://pypi.python.org/pypi/SIP"
HOMEPAGE="https://www.riverbankcomputing.com/software/sip/intro"
SRC_URI="mirror://sourceforge/pyqt/${P}.tar.gz"
# Sub-slot based on SIP_API_MAJOR_NR from siplib/sip.h.in

@ -9,8 +9,8 @@ PYTHON_COMPAT=( python2_7 python3_{4,5} )
inherit python-r1 toolchain-funcs mercurial
DESCRIPTION="Python extension module generator for C and C++ libraries"
HOMEPAGE="http://www.riverbankcomputing.com/software/sip/intro https://pypi.python.org/pypi/SIP"
EHG_REPO_URI="http://www.riverbankcomputing.com/hg/sip"
HOMEPAGE="https://www.riverbankcomputing.com/software/sip/intro"
EHG_REPO_URI="https://www.riverbankcomputing.com/hg/sip"
# Sub-slot based on SIP_API_MAJOR_NR from siplib/sip.h.in
SLOT="0/12"

@ -1,5 +1,2 @@
DIST ideaIU-141.3058.30.tar.gz 317771607 SHA256 a2259249f6e7bf14ba17b0af90a18d24d9b4670af60d24f0bb51af2f62500fc2 SHA512 ae90f0f1841fabd918a09f54fcaf99894948423889c78db10cdba88d4b89e59cce13ac27d91e0ef33e37a3f622c8ce0c7f65b4ca56a0d8f52219b2b427036c09 WHIRLPOOL a61e8176d72a7ee33efcb020ff634d833387d0d4efa6317ed0af0c4295fdb809f9de0abd32e16a9732b7799e113d9234bde87342f87ce7808985a3a010208bc4
DIST ideaIU-143.2370.31.tar.gz 398109068 SHA256 941a9e0d250c1e21ef2e2beb818cdbdba0acf38e69b74546275d028bc5554a04 SHA512 4435280d514482e173dcc2afb9eb759a36086fe6b0cd49ac3373853167385b9f5117a9ff0bcc3cff5dfda6392aaa3bf835dd5a247f372655209a0cab332adfdf WHIRLPOOL 6f90eb23848cc230b295caf6eaed4e7037291007bd97280c217a1b694ddeb839b2d2c5402c1d3b5c8d2fcaf16717b29dab0dfa378c7e3a0b9ccc8b2dc49cd59d
DIST ideaIU-145.1616.11.tar.gz 477640214 SHA256 bf481e0d7141be09f16c51ed152023dc78c38f8ccfadbde1d4c2c131eda03c4d SHA512 c12011eb9bfb0db489bde536be7a35ca927ca9ad2d72d6b25fba3d91483b74fd9047e5124b4ca6e09482ab7603fe55d6172b944aff65b1531f4ceac243f0fa6d WHIRLPOOL 8c9b63af312468c9b421cbdff5a86ac46269e2e56af87c17b4f29feee4195271093398ba3890e11fee46f56130b90f8c3e90664344149ef1b17adc6e9371a38b
DIST ideaIU-145.972.3.tar.gz 478361668 SHA256 033b6f2c13ca954024808a84c8a33ebb15a5548720dedf1dbaebaa97ea93f1e9 SHA512 e6445c00aa019b1b026b88aa7c3d9d7e16a1d02e32e453f34ea58149473cd8968dc08a027f628504ca723fc570da2b04feb302496743892a6775c96abddf1f01 WHIRLPOOL 8fa7d32086fd70e0fef4857d3d94a8970c835b3997a4c4f2bf803bf9e59d29f189501f0119d08ef595bf2b346c14723f2cc5469f6c3a7daa4d0077446d0a3972
DIST ideaIU-163.11103.6.tar.gz 602157018 SHA256 95871c9a8aed1bd8992ff493fbc5fc31674b18ef3cd509eb8f2e5650b3419eaf SHA512 0e0fc4fbf6b7f9fc099f0debbf99bc2ff3f6e08dcb2fa614564199e68b9ba1ad394555d4305ac7079eab274ed9f127765a01e8d452f8c7c38fc6de52887886a7 WHIRLPOOL 75f1e65779cb476c3b70a2a6672126fbf8a11fe93323f7c540f58aae42d99b2d9cc6cc1026f46601adf232de239e5346f48a8cbade217d68f9fee1287ac5d8d2
DIST ideaIU-163.9166.29.tar.gz 601076158 SHA256 1c52ea32f13f186ed532c16a084e8360d7d4a58e93a05ce25bde9c88ab7b2699 SHA512 d0e8e80129b0650bcdd2c630d7ab6b584c47bb9f361cf02622ba4e40d777cf2563e4bacdd397a203f91894144eedb17d7aee3cd3ba42c31e97d7da29720a34dd WHIRLPOOL 254f64cdc3c3b2fe165ed1796fc763449eb691ee99807d25cf4b286ac0b784d34fee477241988ef46fe49c1eb4ca7f386e50159b926fa5569f2e11e20b9f2e2c

@ -1,53 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils versionator
SLOT="0"
PV_STRING="$(get_version_component_range 4-6)"
MY_PV="$(get_version_component_range 1-3)"
MY_PN="idea"
# distinguish settings for official stable releases and EAP-version releases
if [[ "$(get_version_component_range 7)x" = "prex" ]]
then
# upstream EAP
KEYWORDS=""
else
# upstream stable
KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="A complete toolset for web, mobile and enterprise development"
HOMEPAGE="https://www.jetbrains.com/idea"
SRC_URI="https://download.jetbrains.com/idea/${MY_PN}IU-${MY_PV}.tar.gz -> ${MY_PN}IU-${PV_STRING}.tar.gz"
LICENSE="IDEA
|| ( IDEA_Academic IDEA_Classroom IDEA_OpenSource IDEA_Personal )"
IUSE=""
DEPEND="!dev-util/${PN}:14
!dev-util/${PN}:15"
RDEPEND="${DEPEND}
>=virtual/jdk-1.7:*"
S="${WORKDIR}/${MY_PN}-IU-${PV_STRING}"
QA_PREBUILT="opt/${PN}-${MY_PV}/*"
src_install() {
local dir="/opt/${PN}-${MY_PV}"
insinto "${dir}"
doins -r *
fperms 755 "${dir}"/bin/{idea.sh,fsnotifier{,64}}
make_wrapper "${PN}" "${dir}/bin/${MY_PN}.sh"
newicon "bin/${MY_PN}.png" "${PN}.png"
make_desktop_entry "${PN}" "IntelliJ Idea Ultimate" "${PN}" "Development;IDE;"
# recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
mkdir -p "${D}/etc/sysctl.d/" || die
echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-idea-inotify-watches.conf" || die
}

@ -1,71 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils versionator
SLOT="0"
PV_STRING="$(get_version_component_range 4-6)"
MY_PV="$(get_version_component_range 1-3)"
MY_PN="idea"
# distinguish settings for official stable releases and EAP-version releases
if [[ "$(get_version_component_range 7)x" = "prex" ]]
then
# upstream EAP
KEYWORDS=""
else
# upstream stable
KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="A complete toolset for web, mobile and enterprise development"
HOMEPAGE="https://www.jetbrains.com/idea"
SRC_URI="https://download.jetbrains.com/idea/${MY_PN}IU-${MY_PV}.tar.gz -> ${MY_PN}IU-${PV_STRING}.tar.gz"
LICENSE="IDEA
|| ( IDEA_Academic IDEA_Classroom IDEA_OpenSource IDEA_Personal )"
IUSE=""
DEPEND="!dev-util/${PN}:14
!dev-util/${PN}:15"
RDEPEND="${DEPEND}
>=virtual/jdk-1.7:*"
S="${WORKDIR}/${MY_PN}-IU-${PV_STRING}"
QA_PREBUILT="opt/${PN}-${MY_PV}/*"
src_prepare() {
if ! use amd64; then
rm -r plugins/tfsIntegration/lib/native/linux/x86_64 || die
fi
if ! use arm; then
rm bin/fsnotifier-arm || die
rm -r plugins/tfsIntegration/lib/native/linux/arm || die
fi
if ! use ppc; then
rm -r plugins/tfsIntegration/lib/native/linux/ppc || die
fi
if ! use x86; then
rm -r plugins/tfsIntegration/lib/native/linux/x86 || die
fi
rm -r plugins/tfsIntegration/lib/native/solaris || die
rm -r plugins/tfsIntegration/lib/native/hpux || die
}
src_install() {
local dir="/opt/${PN}-${MY_PV}"
insinto "${dir}"
doins -r *
fperms 755 "${dir}"/bin/{idea.sh,fsnotifier{,64}}
make_wrapper "${PN}" "${dir}/bin/${MY_PN}.sh"
newicon "bin/${MY_PN}.png" "${PN}.png"
make_desktop_entry "${PN}" "IntelliJ Idea Ultimate" "${PN}" "Development;IDE;"
# recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
mkdir -p "${D}/etc/sysctl.d/" || die
echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-idea-inotify-watches.conf" || die
}

@ -1,77 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils versionator
SLOT="0"
PV_STRING="$(get_version_component_range 4-6)"
MY_PV="$(get_version_component_range 1-3)"
MY_PN="idea"
# distinguish settings for official stable releases and EAP-version releases
if [[ "$(get_version_component_range 7)x" = "prex" ]]
then
# upstream EAP
KEYWORDS=""
SRC_URI="https://download.jetbrains.com/idea/${MY_PN}IU-${PV_STRING}.tar.gz"
else
# upstream stable
KEYWORDS="~amd64 ~x86"
SRC_URI="https://download.jetbrains.com/idea/${MY_PN}IU-${MY_PV}b.tar.gz -> ${MY_PN}IU-${PV_STRING}.tar.gz"
fi
DESCRIPTION="A complete toolset for web, mobile and enterprise development"
HOMEPAGE="https://www.jetbrains.com/idea"
LICENSE="IDEA
|| ( IDEA_Academic IDEA_Classroom IDEA_OpenSource IDEA_Personal )"
IUSE="-custom-jdk"
DEPEND="!dev-util/${PN}:14
!dev-util/${PN}:15"
RDEPEND="${DEPEND}
>=virtual/jdk-1.7:*"
S="${WORKDIR}/${MY_PN}-IU-${PV_STRING}"
QA_PREBUILT="opt/${PN}-${MY_PV}/*"
src_prepare() {
if ! use amd64; then
rm -r plugins/tfsIntegration/lib/native/linux/x86_64 || die
fi
if ! use arm; then
rm bin/fsnotifier-arm || die
rm -r plugins/tfsIntegration/lib/native/linux/arm || die
fi
if ! use ppc; then
rm -r plugins/tfsIntegration/lib/native/linux/ppc || die
fi
if ! use x86; then
rm -r plugins/tfsIntegration/lib/native/linux/x86 || die
fi
if ! use custom-jdk; then
if [[ -d jre ]]; then
rm -r jre || die
fi
fi
rm -r plugins/tfsIntegration/lib/native/solaris || die
rm -r plugins/tfsIntegration/lib/native/hpux || die
}
src_install() {
local dir="/opt/${PN}-${MY_PV}"
insinto "${dir}"
doins -r *
fperms 755 "${dir}"/bin/{idea.sh,fsnotifier{,64}}
make_wrapper "${PN}" "${dir}/bin/${MY_PN}.sh"
newicon "bin/${MY_PN}.png" "${PN}.png"
make_desktop_entry "${PN}" "IntelliJ Idea Ultimate" "${PN}" "Development;IDE;"
# recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
mkdir -p "${D}/etc/sysctl.d/" || die
echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-idea-inotify-watches.conf" || die
}

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -67,6 +67,12 @@ src_install() {
doins -r *
fperms 755 "${dir}"/bin/{idea.sh,fsnotifier{,64}}
if use custom-jdk; then
if [[ -d jre ]]; then
fperms 755 "${dir}"/jre/jre/bin/{java,jjs,keytool,orbd,pack200,policytool,rmid,rmiregistry,servertool,tnameserv,unpack200}
fi
fi
make_wrapper "${PN}" "${dir}/bin/${MY_PN}.sh"
newicon "bin/${MY_PN}.png" "${PN}.png"
make_desktop_entry "${PN}" "IntelliJ Idea Ultimate" "${PN}" "Development;IDE;"

@ -0,0 +1,2 @@
DIST lldb-4.0.0rc1.src.tar.xz 19123176 SHA256 f56f5add372a5ea2bd1d21155ab5985479b9db50443f26223310084392127324 SHA512 03f39fee90fbaef1faa1360e5c9ce4229178e6b8108c643165723fd613f93fb5349c62f580c708ef42be6de0111827ec476b3c7cd65d883cedbef821c3deed0a WHIRLPOOL 7a684ec94009df38c6a2055a8a63e4faa1809a8ec00a97a0c877a9a9d6a50c10cbfb57bdd476972d8485e2446ea41947b27d909860745e9d79e981abe06d4131
DIST llvm-4.0.0rc1.src.tar.xz 20996760 SHA256 ccbff3a7af78efc12b5b7f749d184b4c8caf75621af4e05f640cbfa9f80f8604 SHA512 10b6fee561b9307490d5f20ce70b7e0099bd405e56c8330be9aa04673f39dbd712833e357a577a5106819336a1957dd73d288bbdd35286d56305d14d237dfd3d WHIRLPOOL 8559852df5d036a4d86a4555bcbeaab6bbb3b5e9cad9daa8c0f5e934e4fb7235bc05df55e09d38eb4d90832036d8b9f5b1ff8108e7d5ea01c86b00eecc0a3d13

@ -9,19 +9,16 @@ EAPI=6
CMAKE_MIN_VERSION=3.7.0-r1
PYTHON_COMPAT=( python2_7 )
inherit cmake-utils git-r3 python-single-r1 toolchain-funcs
inherit cmake-utils python-single-r1 toolchain-funcs
DESCRIPTION="The LLVM debugger"
HOMEPAGE="http://llvm.org/"
SRC_URI=""
EGIT_REPO_URI="http://llvm.org/git/lldb.git
https://github.com/llvm-mirror/lldb.git"
EGIT_BRANCH="release_40"
EGIT_COMMIT="fcd2aac9f179b968a20cf0231c3386dcef8a6659"
SRC_URI="http://www.llvm.org/pre-releases/${PV/_//}/${P/_/}.src.tar.xz
test? ( http://www.llvm.org/pre-releases/${PV/_//}/llvm-${PV/_/}.src.tar.xz )"
LICENSE="UoI-NCSA"
SLOT="0"
KEYWORDS=""
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="libedit ncurses python test"
RDEPEND="
@ -41,23 +38,17 @@ DEPEND="${RDEPEND}
REQUIRED_USE=${PYTHON_REQUIRED_USE}
S=${WORKDIR}/${P/_/}.src
# least intrusive of all
CMAKE_BUILD_TYPE=RelWithDebInfo
src_unpack() {
if use test; then
# needed for patched gtest
git-r3_fetch "http://llvm.org/git/llvm.git
https://github.com/llvm-mirror/llvm.git" \
c329efbc3c94928fb826ed146897aada0459c983
fi
git-r3_fetch
default
if use test; then
git-r3_checkout http://llvm.org/git/llvm.git \
"${WORKDIR}"/llvm
mv llvm-* llvm || die
fi
git-r3_checkout
}
src_configure() {

@ -11,7 +11,7 @@
# <so many, many others, please add yourself>
# @BLURB: Eclass for kernel packages
# @DESCRIPTION:
# This ia the kernel.eclass rewrite for a clean base regarding the 2.6
# This is the kernel.eclass rewrite for a clean base regarding the 2.6
# series of kernel with back-compatibility for 2.4
# Please direct your bugs to the current eclass maintainer :)
# added functionality:
@ -22,7 +22,7 @@
# @DESCRIPTION:
# When setting the EXTRAVERSION variable, it should
# add PV to the end.
# this is useful for thigns like wolk. IE:
# this is useful for things like wolk. IE:
# EXTRAVERSION would be something like : -wolk-4.19-r1
# @ECLASS-VARIABLE: K_NOSETEXTRAVERSION
@ -682,7 +682,7 @@ kernel_header_destdir() {
# @FUNCTION: cross_pre_c_headers
# @USAGE:
# @DESCRIPTION:
# set use if neccesary for cross compile support
# set use if necessary for cross compile support
cross_pre_c_headers() {
use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]]
}

@ -0,0 +1,71 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit eutils gnome2-utils
DESCRIPTION="Chromium B.S.U. - an arcade game"
HOMEPAGE="http://chromium-bsu.sourceforge.net/"
SRC_URI="mirror://sourceforge/chromium-bsu/${P}.tar.gz"
LICENSE="Clarified-Artistic"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="mixer nls +sdl"
RDEPEND="media-fonts/dejavu
media-libs/quesoglc
media-libs/glpng
virtual/opengl
virtual/glu
x11-libs/libXmu
mixer? ( media-libs/sdl-mixer )
!mixer? (
media-libs/freealut
media-libs/openal
)
nls? ( virtual/libintl )
sdl? (
media-libs/libsdl[X]
media-libs/sdl-image[png]
)
!sdl? ( media-libs/freeglut )"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"
src_configure() {
econf \
--disable-ftgl \
--enable-glc \
$(use_enable mixer sdlmixer) \
$(use_enable !mixer openal) \
$(use_enable nls) \
$(use_enable sdl) \
$(use_enable sdl sdlimage) \
$(use_enable !sdl glut)
}
src_install() {
emake DESTDIR="${D}" install
newicon -s 64 misc/${PN}.png ${PN}.png
domenu misc/chromium-bsu.desktop
# install documentation
dodoc AUTHORS README NEWS
dodoc "${S}"/data/doc/*.htm
dodoc -r "${S}"/data/doc/images
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
gnome2_icon_cache_update
}
pkg_postrm() {
gnome2_icon_cache_update
}

@ -0,0 +1,48 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit autotools eutils
DESCRIPTION="Bomberman-like multiplayer game"
HOMEPAGE="https://savannah.nongnu.org/projects/clanbomber/"
SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.lzma"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
RDEPEND="
dev-libs/boost
media-fonts/dejavu
media-libs/libsdl[sound,joystick,video]
media-libs/sdl-gfx
media-libs/sdl-image[png]
media-libs/sdl-mixer
media-libs/sdl-ttf"
DEPEND="${RDEPEND}
virtual/pkgconfig"
DOCS=( AUTHORS ChangeLog ChangeLog.hg IDEAS NEWS QUOTES README TODO )
PATCHES=(
"${FILESDIR}"/${P}-automake112.patch
"${FILESDIR}"/${P}-boost150.patch
)
src_prepare() {
default
sed -i -e 's/menuentry//' src/Makefile.am || die
eautoreconf
}
src_install() {
default
newicon src/pics/cup2.png ${PN}.png
make_desktop_entry ${PN}2 ClanBomber2
rm -f "${D}/usr/share/${PN}/fonts/DejaVuSans-Bold.ttf" || die
dosym /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf \
/usr/share/${PN}/fonts/DejaVuSans-Bold.ttf
}

@ -1,5 +1,5 @@
--- configure.ac.old 2012-11-15 09:35:24.682199511 +0100
+++ configure.ac 2012-11-15 09:36:02.367839076 +0100
--- a/configure.ac 2012-11-15 09:35:24.682199511 +0100
+++ b/configure.ac 2012-11-15 09:36:02.367839076 +0100
@@ -2,7 +2,7 @@
AC_PREREQ([2.63])
AC_INIT([ClanBomber], [2.1.1], [rsl@members.fsf.org])

@ -1,5 +1,5 @@
--- src/MapEntry.cpp.old 2012-11-15 10:55:40.123259605 +0100
+++ src/MapEntry.cpp 2012-11-15 10:57:35.217379211 +0100
--- a/src/MapEntry.cpp 2012-11-15 10:55:40.123259605 +0100
+++ b/src/MapEntry.cpp 2012-11-15 10:57:35.217379211 +0100
@@ -50,7 +50,7 @@
enabled = true;
@ -9,8 +9,8 @@
// is the file writable?
if (access(path / filename, W_OK) == 0) {
--- src/Map.cpp.old 2012-11-15 10:52:56.884424228 +0100
+++ src/Map.cpp 2012-11-15 10:54:16.334992079 +0100
--- a/src/Map.cpp 2012-11-15 10:52:56.884424228 +0100
+++ b/src/Map.cpp 2012-11-15 10:54:16.334992079 +0100
@@ -116,7 +116,7 @@
for (boost::filesystem::directory_iterator dir_iter(path);
dir_iter != end_iter; dir_iter++) {

@ -0,0 +1,70 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit eutils
DESCRIPTION="A freeware clone of Counter-Strike with some added features in gameplay"
HOMEPAGE="http://www.cs2d.com/"
SRC_URI="https://dev.gentoo.org/~maksbotan/cs2d/cs2d_${PV}_linux.zip
https://dev.gentoo.org/~maksbotan/cs2d/cs2d_${PV}_win.zip
https://dev.gentoo.org/~maksbotan/cs2d/cs2d.png"
LICENSE="freedist"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE=""
DEPEND="app-arch/unzip"
RDEPEND="
x86? (
media-libs/freetype:2
media-libs/openal
x11-libs/libX11
x11-libs/libXxf86vm
virtual/opengl
)
amd64? (
>=media-libs/freetype-2.5.0.1:2[abi_x86_32(-)]
>=media-libs/openal-1.15.1[abi_x86_32(-)]
>=virtual/opengl-7.0-r1[abi_x86_32(-)]
>=x11-libs/libX11-1.6.2[abi_x86_32(-)]
>=x11-libs/libXxf86vm-1.1.3[abi_x86_32(-)]
)"
QA_PREBUILT="opt/cs2d/CounterStrike2D"
S=${WORKDIR}
src_prepare() {
default
# removing windows files
rm -f *.exe *.bat || die
# OpenAL is default sound driver
sed -i \
-e 's:^sounddriver.*$:sounddriver OpenAL Default:' \
sys/config.cfg || die
}
src_install() {
insinto /opt/${PN}
doins -r .
# avoid file collision with untracked file
rm -f "${ED%/}/opt/${PN}/sys/core/started.cfg"
make_desktop_entry CounterStrike2D "Counter Strike 2D"
make_desktop_entry "CounterStrike2D -fullscreen -24bit" "Counter Strike 2D - FULLSCREEN"
make_wrapper CounterStrike2D ./CounterStrike2D /opt/${PN} /opt/${PN}
doicon "${DISTDIR}"/${PN}.png
# fixing permissions
fperms -R g+w /opt/${PN}/maps
fperms -R g+w /opt/${PN}/screens
fperms -R g+w /opt/${PN}/sys
fperms o+x /opt/${PN}/CounterStrike2D
}

@ -0,0 +1,27 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit eutils
DESCRIPTION="A remake of the Sinclair Spectrum game of the same name"
HOMEPAGE="http://www.autismuk.freeserve.co.uk/"
SRC_URI="http://www.autismuk.freeserve.co.uk/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
DEPEND="media-libs/libsdl[video]"
RDEPEND=${DEPEND}
PATCHES=(
"${FILESDIR}/${P}-underlink.patch"
)
src_install() {
dobin "${PN}/${PN}"
dodoc README ${PN}/docs/en/index.html
}

@ -1,5 +1,5 @@
--- deathchase3d/Makefile.in.old 2011-06-13 09:22:44.140587725 +0200
+++ deathchase3d/Makefile.in 2011-06-13 09:22:49.932942379 +0200
--- a/deathchase3d/Makefile.in 2011-06-13 09:22:44.140587725 +0200
+++ b/deathchase3d/Makefile.in 2011-06-13 09:22:49.932942379 +0200
@@ -248,7 +248,7 @@
bin_PROGRAMS = deathchase3d

@ -0,0 +1,51 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit eutils autotools gnome2-utils
DESCRIPTION="High speed arctic racing game based on Tux Racer"
HOMEPAGE="http://extremetuxracer.sourceforge.net/"
SRC_URI="mirror://sourceforge/extremetuxracer/etr-${PV/_/}.tar.xz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="
>=media-libs/libsfml-2.2
virtual/glu
virtual/opengl"
DEPEND="${RDEPEND}
virtual/pkgconfig"
S=${WORKDIR}/etr-${PV/_/}
src_prepare() {
default
# kind of ugly in there so we'll do it ourselves
sed -i -e '/SUBDIRS/s/resources doc//' Makefile.am || die
eautoreconf
}
src_install() {
default
dodoc doc/{code,courses_events,guide,score_algorithm}
doicon -s 48 resources/etr.png
doicon -s scalable resources/etr.svg
domenu resources/etr.desktop
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
gnome2_icon_cache_update
}
pkg_postrm() {
gnome2_icon_cache_update
}

@ -0,0 +1,65 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit eutils cdrom
DESCRIPTION="Heavy Metal: FAKK2 - 3D third-person action shooter based on the Heavy Metal comics/movies"
HOMEPAGE="http://www.lokigames.com/products/fakk2/"
SRC_URI=""
LICENSE="LOKI-EULA"
SLOT="0"
KEYWORDS="~x86"
IUSE="nocd"
RESTRICT="strip"
RDEPEND="virtual/opengl"
S=${WORKDIR}
dir=/opt/${PN}
Ddir=${D}/${dir}
pkg_setup() {
if use nocd ; then
ewarn "The installed game takes about 378MB of space!"
fi
}
src_install() {
cdrom_get_cds fakk
einfo "Copying files... this may take a while..."
exeinto "${dir}"
doexe ${CDROM_ROOT}/bin/x86/glibc-2.1/${PN}
insinto "${dir}"
doins ${CDROM_ROOT}/{README,icon.{bmp,xpm}}
exeinto "${dir}"/fakk
doexe ${CDROM_ROOT}/bin/x86/glibc-2.1/fakk/{c,f}game.so
if use nocd ; then
insinto "${dir}"/fakk
doins ${CDROM_ROOT}/fakk/pak{0,1,2,3}.pk3
doins ${CDROM_ROOT}/fakk/default.cfg
fi
# Now, since these files are coming off a cd, the times/sizes/md5sums won't
# be different ... that means portage will try to unmerge some files (!)
# So, we run touch on ${D} to make sure portage doesn't do any such thing
find "${Ddir}" -exec touch '{}' \;
make_wrapper ${PN} ./${PN} "${dir}" "${dir}"
newicon ${CDROM_ROOT}/icon.xpm ${PN}.xpm
make_desktop_entry ${PN} "FAKK2" ${PN}
}
pkg_postinst() {
echo
ewarn "There are two possible security bugs in this package, both causing a denial of"
ewarn "service. One affects the game when running a server, the other when running as"
ewarn "a client. For more information, see bug #82149."
echo
elog "To play the game run:"
elog " fakk2"
}

@ -0,0 +1,48 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit eutils toolchain-funcs
DESCRIPTION="A shooting game in the spirit of Phobia games"
HOMEPAGE="http://www.mhgames.org/oldies/formido/"
SRC_URI="http://noe.falzon.free.fr/prog/${P}.tar.gz
http://koti.mbnet.fi/lsoft/formido/formido-music.tar.bz2"
LICENSE="GPL-2"
SLOT=0
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
DEPEND="media-libs/libsdl[sound,video]
media-libs/sdl-image
media-libs/sdl-mixer"
RDEPEND=${DEPEND}
src_unpack() {
unpack ${P}.tar.gz
cd "${S}"/data || die
unpack ${PN}-music.tar.bz2
}
src_prepare() {
default
sed -i \
-e "s:g++:$(tc-getCXX):" \
-e "/^FLAGS=/s:$: ${CXXFLAGS}:" \
-e "/^LINKFLAGS=/s:=.*:=${LDFLAGS}:" \
-e "s:\${DATDIR}:/usr/share/${PN}/data:" \
-e "s:\${DEFCONFIGDIR}:/usr/share/${PN}:" \
Makefile || die
}
src_install() {
dobin ${PN}
insinto /usr/share/${PN}
doins -r ${PN}.cfg data
newicon data/icon.dat ${PN}.bmp
make_desktop_entry ${PN} Formido /usr/share/pixmaps/${PN}.bmp
dodoc README README-1.0.1
}

@ -1,5 +1,5 @@
--- configure.ac.orig 2015-05-04 14:48:03.467935640 -0400
+++ configure.ac 2015-05-04 14:48:24.729199607 -0400
--- a/configure.ac 2015-05-04 14:48:03.467935640 -0400
+++ b/configure.ac 2015-05-04 14:48:24.729199607 -0400
@@ -80,7 +80,7 @@
[have_allegro="no"])
AC_MSG_RESULT([$have_allegro])

@ -1,5 +1,5 @@
--- bin/Makefile.am.old 2011-06-22 18:16:30.654661047 +0200
+++ bin/Makefile.am 2011-06-22 18:16:55.662251326 +0200
--- a/bin/Makefile.am 2011-06-22 18:16:30.654661047 +0200
+++ b/bin/Makefile.am 2011-06-22 18:16:55.662251326 +0200
@@ -9,6 +9,7 @@
garden_LDFLAGS = -static
else #unix version :-)
@ -8,8 +8,8 @@
endif
#how to build resources?
--- Makefile.am.old 2011-06-22 18:19:37.787560851 +0200
+++ Makefile.am 2011-06-22 18:19:44.078960907 +0200
--- a/Makefile.am 2011-06-22 18:19:37.787560851 +0200
+++ b/Makefile.am 2011-06-22 18:19:44.078960907 +0200
@@ -1,5 +1,5 @@
ACLOCAL_AMFLAGS= -I m4
-SUBDIRS = bin resources

@ -1,5 +1,5 @@
--- configure.ac.orig 2015-05-04 14:48:03.467935640 -0400
+++ configure.ac 2015-05-04 14:48:24.729199607 -0400
--- a/configure.ac 2015-05-04 14:48:03.467935640 -0400
+++ b/configure.ac 2015-05-04 14:48:24.729199607 -0400
@@ -80,7 +80,7 @@
[have_allegro="no"])
AC_MSG_RESULT([$have_allegro])

@ -1,5 +1,5 @@
--- Makefile.am.orig 2015-05-04 16:57:07.510191036 -0400
+++ Makefile.am 2015-05-04 16:57:14.581946228 -0400
--- a/Makefile.am 2015-05-04 16:57:07.510191036 -0400
+++ b/Makefile.am 2015-05-04 16:57:14.581946228 -0400
@@ -1,3 +1,3 @@
ACLOCAL_AMFLAGS= -I m4

@ -0,0 +1,52 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit eutils gnome2-utils autotools flag-o-matic
DESCRIPTION="Multiplatform vertical shoot-em-up with non-traditional elements"
HOMEPAGE="http://garden.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
DEPEND="<media-libs/allegro-5"
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}/${P}-dash.patch"
"${FILESDIR}/${P}-resources.patch"
)
src_prepare() {
default
# build with gcc52
sed -i \
-e 's/inline/extern inline/' \
src/stuff.h || die
eautoreconf
append-cflags -std=gnu89 # build with gcc5 (bug #572672)
}
src_install() {
DOCS="AUTHORS ChangeLog NEWS README" \
default
doicon -s scalable resources/garden.svg
make_desktop_entry garden "Garden of coloured lights"
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
gnome2_icon_cache_update
}
pkg_postrm() {
gnome2_icon_cache_update
}

@ -1 +1 @@
DIST lgogdownloader-3.0.tar.gz 60859 SHA256 4aeb7535a3e68da19ebdf6e5fa8e6553bb8087099bde660b2c883b9d28693835 SHA512 e99960c7bec55c37b230890911585eb68f133988a76bc00715fc715781b2e41c28879dc92563f3a6564a699dd5abe5c350f10b2d7e1d213e744ef0f768abe434 WHIRLPOOL c835d5872d87a70d875d17e5e76765535b054357c68afb566cf011301b67d80d2105cb72e41ceddd57d5f282b1125ab612ef2387cba184ec13616c61ccca8e2e
DIST lgogdownloader-3.1.tar.gz 60834 SHA256 010d98e23108f605a553efd42ae68abd9ec78db1b2cd18cab89f8fb7e20484c9 SHA512 e15f6d359298bee0922439703ca256ad9f5f07052a12b241fe03031663dce44bd61427dbe9739115d529736b261a51068c5b2c7669fe4a4b4c0553c2ed77a793 WHIRLPOOL 061d9ffad072dae03f509e637b081d48b293d2324ed9ef32f0341b32bc00d441db79227cc4c206bee11b426a0c5960c1a78e9471d2ce9f489070f4173c21c84f

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -14,13 +14,13 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+debug"
RDEPEND=">=app-crypt/rhash-1.3.3-r2:=
dev-cpp/htmlcxx:=
dev-libs/boost:=
>=dev-libs/jsoncpp-1.7:=
dev-libs/tinyxml2:=
net-libs/liboauth:=
>=net-misc/curl-7.32:=[ssl]"
RDEPEND=">=app-crypt/rhash-1.3.3-r2:0=
dev-cpp/htmlcxx:0=
dev-libs/boost:0=
>=dev-libs/jsoncpp-1.7:0=
dev-libs/tinyxml2:0=
net-libs/liboauth:0=
>=net-misc/curl-7.32:0=[ssl]"
DEPEND="${RDEPEND}
sys-apps/help2man

@ -0,0 +1,329 @@
Terms and conditions of use GENYMOTION
Definition of “end user”
The end user shall be a single person represented by a unique username with the software installed on a single workstation. No other person may use the username crated by such person or the software granted under this license at any time for any purpose.
Free VERSION AGREEMENT : Personal and private use only, exclusion of all other uses
Binding agreement
By acceptance of this end user license agreement, a legally binding contract and agreement, which sets forth the license and use rights for the software/application developed by GENYMOBILE, is created between the end user/licensee and GENYMOBILE, a corporation with an establishment in Paris (75004), 36, boulevard de Sébastopol.
The end user or the licensee agrees that any time when he accesses, uses the software developed by GENYMOBILE or logs into the software/application of GENYMOBILE, it reaffirms its acceptance and express agreement under these conditions. If the licensee or the end user does not agree to all the terms, he is not authorized to access or use the software/application. By accepting these terms, the licensee or the end user has specifically taken note of all GENYMOBILEs rights and intellectual property rights, as well as exclusions of responsibilities and guarantees.
Warning: warranties and representations of the licensee
Licensee and the end user are solely responsible for the use, application, and implementation, and all decisions related to the use, application, and implementation of the software/application developed by GENYMOBILE.
License granted: Limited
GENYMOBILE grants the end user or the licensee a non-transferable, non-sublicenseable, non-assignable, terminable, limited, and non-exclusive license to access and use the software application developed by GENYMOBILE.
This license is granted to the end user only and exclusively in connection with personal use, the end user is an individual, and not a professional, who downloads the application for personal and private needs, excluding commercial and professional environment.
The end user and the licensee do not have any right or license to, and will not, directly or indirectly, in any manner whatsoever:
assign, transfer, sell, encumber or modify the software/application developed by GENYMOBILE or include this applicationin a product whatsoever,
use or utilize this software/application for any purpose or in any manner that is illegal or in violation of any applicable law or rights of any third party,
Generally speaking, all access, performance or use of the application except as expressly permitted by these terms and any use in accordance to GENYMOBILEs purpose shall be deemed to be an infringement of GENYMOBILEs intellectual property rights on its software/application and open all rights and remedies in connection with such infringement.
No support and no guarantee
GENYMOBILE is not required to provide or make available any support, maintenance, or other services to the end user or to the licensee.
GENYMOBILE may, at any time, take down or shut down access the software/application developed for maintenance, repair, or for any reason whatsoever.
GENYMOBILE makes no warranty with respect to the application developed including, without limitation, regarding the modifications and improvements.
The applicationis provided « as is » and « where is ».
GENYMOBILE provides no commitment, no warranty to the end user or licensee.
GENYMOBILE disclaims:
Any liability of any nature whatsoever,
Any warranty and any support, maintenance or other service,
Any warranty of merchantability, non-infringement, ownership, accuracy, reliability, interoperability with other software or applications,
Any collateral security or quiet enjoyment or the use is not interrupted by virus or error-free, or that the end user will not meet errors,
Any use that is consistent with security needs and specific requirements by the end user or licensee,
Any warranty arising as a result of custom, usage or trade and those arising under Law.
GENYMOBILE shall in no event be liable to the end user or licensee or any third party for any damages.
Downtime
GENYMOBILE may, from time to time, take down or shut down access to the software/application for maintenance, repair, or service as GENYMOBILEmay deem necessary in its sole discretion (« downtime »). The end user or licensee acknowledges that, during any downtime, he may not be able to access and use some or all parts of the software/application. GENYMOBILE may, but shall have no obligation to, make commercially reasonable efforts to notify to the end user or licensee in advance of such downtime, for example by displaying a notice during access of the software/application.
GENYMOBILE will make commercially reasonable efforts to keep the downtime to a minimum, but in no event GENYMOBILE shall be liable for such downtime.
Ownership
GENYMOBILE owns and retains all rights to:
the software/application she has developed and all modifications and improvements,
any trademarks, domain names, patents, software, copyrights, trade name and trade secret rights belonging to her, and other intellectual property rights, industrial property rights, and other proprietary rights of any kind, existing anywhere or under any law,
any other technology, invention, concept, system, method, process, and other element of the software/application developed by her,
Any derivative works made from modifications and improvements to the application.
Nothing in this agreement constitutes, or shall be interpreted or construed to constitute, any assignment, transfer or conveyance of any right, title or interest, or (except solely for the license expressly granted to the end user or the licensee under the article « license granted: Limited ») any license or use right, or any right to grant any license or right of use any GENYMOBILEs property.
The end user or the licensee acknowledges that he can not acquire, by use or by any other means, and will not claim, any ownership, license, or other rights (except solely for the license expressly granted to the end user or the licensee underthe article « license granted: Limited »).
He also agrees to take no action, which may impair or jeopardize the GENYMOBILEs property and rights.
The end user or the licensee can not make use of any trademarks or any signs owned by GENYMOBILE.
Basis of bargain
GENYMOBILE grants, free of charge, this license to the end user or licensee who accepts it.
Infringement
If use of the software/application may be enjoined due to a claim of infringement by a third party then, at its sole discretion, GENYMOBILE may do one of the following:
negotiate a license or other agreement so that the software/application is no longer subject to such a potential claim,
modify the software/application so that it becomes non-infringing, provided such modification can be accomplished without materially affecting the performance and functionality of the software/application,
replace the software/application with non-infringing software/application or,
terminate this license and the end user or the licensee shall stop using the software/application.
Modifications
GENYMOBILE may modify, amend, change, and cancel the license agreement. The end user or the licensee agrees that the acceptance of each such modification, amendment, change, and alteration shall be a condition precedent for the license, the access and use of the software/application. The license shall automatically terminate, without need for any notice, if the end user or the licensee fails to accept such modification, amendment, change when requested.
GENYMOBILE may, when she decides to do, install or make available any update to the software/application including, without limitation, modification, error correction, update, upgrade, enhancement, or change of the software/application.
GENYMOBILE has the right to make any modification at any time, without the obligation to provide any notice or obtain any consent or agreement from the end user or the licensee, and without any right for him to receive any notice or provide any consent or agreement thereto.
Statistics
GENYMOBILE may, without the prior consent of the end user or the licensee, perform all statistics.
Termination
GENYMOBILE may terminate this agreement at any time without cause and without need for any notice to the end user or to the licensee.
Upon the termination of this agreement, the end user or the licensee shall immediately cease using the software/application developed by GENYMOBILE. Any use of the software/application after termination of this agreement shall be deemed to be an infringement of GENYMOBILEs intellectual property rights.
Forum for disputes and applicable Law
The parties hereto agree that the Paris Court will have exclusive jurisdiction to resolve any dispute between the end user or the licensee and GENYMOBILE. The parties hereby irrevocably consent and submit to, and waive any objection to, personal jurisdiction of such courts. Notwithstanding the foregoing, GENYMOBILE may apply to any court of competent jurisdiction for injunctive relief.
This agreement shall be governed by French Law, exclusive of any of its conflicts of law or international private law rules or principles that would result in the application of the law of any other jurisdiction.
*******
Terms of the paid Agreement version INDIE : Professional use limited to companies with fewer than three employees
Binding agreement
By acceptance of this end user license agreement, a legally binding contract and agreement, which sets forth the license and use rights for the software/application developed by GENYMOBILE, is created between the end user/licensee and GENYMOBILE, a corporation with an establishment in Paris (75004), 36, boulevard de Sébastopol.
The end user or the licensee agrees that any time when he accesses, uses the software developed by GENYMOBILE or logs into the software/application of GENYMOBILE, it reaffirms its acceptance and express agreement under these conditions. If the licensee or the end user does not agree to all the terms, he is not authorized to access or use the software/application. By accepting these terms, the licensee or the end user has specifically taken note of all GENYMOBILEs rights and intellectual property rights, as well as exclusions of responsibilities and guarantees.
Warning: warranties and representations of the licensee
Licensee and the end user are solely responsible for the use, application, and implementation, and all decisions related to the use, application, and implementation of the software/application developed by GENYMOBILE.
License granted: Limited
GENYMOBILE grants the end user or the licensee a non-transferable, non-sublicenseable, non-assignable, terminable, limited, and non-exclusive license to access and use the software application developed by GENYMOBILE.
The user downloads the application says to do so in a professional and for the purposes of its business which is necessarily a business with fewer than three employees. This so-called INDIE license is limited to the use made in the company, prohibiting the user to subscribe several INDIE licenses. Therefore the licensee warrants, represents and undertakes to use the application solely for this approved use.
The end user and the licensee do not have any right or license to, and will not, directly or indirectly, in any manner whatsoever:
assign, transfer, sell, encumber or modify the software/application developed by GENYMOBILE or includethis applicationin a productwhatsoever,
use or utilize this software/application for any purpose or in any manner that is illegal or in violation of any applicable law or rights of any third party,
Generally speaking, all access, performance or use of the application except as expressly permitted by these terms and any use in accordance to GENYMOBILEs purpose shall be deemed to be an infringement of GENYMOBILEs intellectual property rights on its software/application and open all rights and remedies in connection with such infringement.
No support and no guarantee
GENYMOBILE is not required to provide or make available any support, maintenance, or other services to the end user or to the licensee.
If GENYMOBILE decided to offer support, it would be without warranty of any kind with respect to the response time, this possible response would occur in any event by email.
GENYMOBILE may, at any time, take down or shut down access the software/application developed for maintenance, repair, or for any reason whatsoever.
GENYMOBILE makes no warranty with respect to the application developed including, without limitation, regarding the modifications and improvements.
The application is provided « as is » and « where is ».
GENYMOBILE provides no commitment, no warranty to the end user or licensee.
GENYMOBILE disclaims:
Any liability of any nature whatsoever,
Any warranty and any support, maintenance or other service,
Any warranty of merchantability, non-infringement, ownership, accuracy, reliability, interoperability with other software or applications,
Any collateral security or quiet enjoyment or the use is not interrupted by virus or error-free, or that the end user will not meet errors,
Any use that is consistent with security needs and specific requirements by the end user or licensee,
Any warranty arising as a result of custom, usage or trade and those arising under Law.
GENYMOBILE shall in no event be liable to the end user orlicensee or any third party for any damages.
Downtime
GENYMOBILE may, from time to time, take down or shut down access to the software/application for maintenance, repair, or service as GENYMOBILE may deem necessary in its sole discretion (« downtime »). The end user or licensee acknowledges that, during any downtime, he may not be able to access and use some or all parts of the software/application. GENYMOBILE may, but shall have no obligation to, make commercially reasonable efforts to notify to the end user or licensee in advance of such downtime, for example by displaying a notice during access of the software/application.
GENYMOBILE will make commercially reasonable efforts to keep the downtime to a minimum, but in no event GENYMOBILE shall be liable for such downtime.
Ownership
GENYMOBILE owns and retains all rights to:
the software/application she has developed and all modifications and improvements,
any trademarks, domain names, patents, software, copyrights, trade name and trade secret rights belonging to her, and other intellectual property rights, industrial property rights, and other proprietary rights of any kind, existing anywhere or under any law,
any other technology, invention, concept, system, method, process, and other element of the software/application developed by her,
Any derivative works made from modifications and improvements to the application.
Nothing in this agreement constitutes, or shall be interpreted or construed to constitute, any assignment, transfer or conveyance of any right, title or interest, or (except solely for the license expressly granted to the end user or the licensee underthe article « license granted: Limited ») any license or use right, or any right to grant any license or right of use any GENYMOBILEs property.
The end user or the licensee acknowledges that he can not acquire, by use or by any other means, and will not claim, any ownership, license, or other rights (except solely for the license expressly granted to the end user or the licensee underthe article « license granted: Limited »).
He also agrees to take no action, which may impair or jeopardize the GENYMOBILEs property and rights.
The end user or the licensee can not make use of any trademarks or any signs owned by GENYMOBILE.
Basis of bargain
GENYMOBILE grants this license to the end user or licensee who accepts it.
In consideration of the rights granted (professional use limited to companies with fewer than three employees), the licensee shall pay online GENYMOBILE before downloading the application, a fixed annual license fee.
Infringement
If use of the software/application may be enjoined due to a claim of infringement by a third party then, at its sole discretion, GENYMOBILE may do one of the following:
negotiate a license or other agreement so that the software/application is no longer subject to such a potential claim,
modify the software/application so that it becomes non-infringing, provided such modification can be accomplished without materially affecting the performance and functionality of the software/application,
replace the software/application with non-infringing software/application or,
terminate this license and the end user or the licensee shall stop using the software/application.
Modifications
GENYMOBILE may modify, amend, change, and cancel the license agreement. The end user or the licensee agrees that the acceptance of each such modification, amendment, change, and alteration shall be a condition precedent for the license, the access and use of the software/application. The license shall automatically terminate, without need for any notice, if the end user or the licensee fails to accept such modification, amendment, change when requested.
GENYMOBILE may, when she decides to do, install or make available any update to the software/application including, without limitation, modification, error correction, update, upgrade, enhancement, or change of the software/application.
GENYMOBILE has the right to make any modification at any time, without the obligation to provide any notice or obtain any consent or agreement from the end user or the licensee, and without any right for him to receive any notice or provide any consent or agreement thereto.
Statistics
GENYMOBILE may, without the prior consent of the end user or the licensee, perform all statistics.
Duration and Termination
This license is granted for a period of one year, renewable by tacit agreement. GENYMOBILE will remember the deadline to the end user or to the licensee one month before the deadline, with a possible return within 15 days if necessary, with the need to pay the fixed annual license fee fixed. Without payment in this period and one month after the expiry of one year, the license is automatically terminated.
GENYMOBILE may terminate this license if the end user or to the licensee does not comply with the terms of this license for any reason whatsoever.
Upon the termination of this agreement or in the event of non-payment of the license fee, the end user or the licensee shall immediately cease using the software/application developed by GENYMOBILE. Any use of the software/application after termination of this agreement shall be deemed to be an infringement of GENYMOBILEs intellectual property rights.
Forum for disputes and applicable Law
The parties hereto agree that the Paris Court will have exclusive jurisdiction to resolve any dispute between the end user or the licensee and GENYMOBILE. The parties hereby irrevocably consent and submit to, and waive any objection to, personal jurisdiction of such courts. Notwithstanding the foregoing, GENYMOBILE may apply to any court of competent jurisdiction for injunctive relief.
This agreement shall be governed by French Law, exclusive of any of its conflicts of law or international private law rules or principles that would result in the application of the law of any other jurisdiction.
*******
Terms of the paid AGREEMENT: Business use
Binding agreement
By acceptance of this end user license agreement, a legally binding contract and agreement, which sets forth the license and use rights for the software/application developed by GENYMOBILE, is created between the end user/licensee and GENYMOBILE, a corporation with an establishment in Paris (75004), 36, boulevard de Sébastopol.
The end user or the licensee agrees that any time when he accesses, uses the software developed by GENYMOBILE or logs into the software/application of GENYMOBILE, it reaffirms its acceptance and express agreement under these conditions. If the licensee or the end user does not agree to all the terms, he is not authorized to access or use the software/application. By accepting these terms, the licensee or the end user has specifically taken note of all GENYMOBILEs rights and intellectual property rights, as well as exclusions of responsibilities and guarantees.
Warning: warranties and representations of the licensee
Licensee and the end user are solely responsible for the use, application, and implementation, and all decisions related to the use, application, and implementation of the software/application developed by GENYMOBILE.
License granted: Limited
GENYMOBILE grants the end user or the licensee a non-transferable, non-sublicenseable, non-assignable, terminable, limited, and non-exclusive license to access and use the software application developed by GENYMOBILE.
The end user or licensee who downloads the software/application developed by GENYMOBILE says to do so in a professional environment and/or in relation of the activities of the company. Nevertheless, the pecuniary license is limited to one year per user. Therefore, the end user or the licensee warrants, represents and undertakes to use the application/software only under the above conditions.
The end user and the licensee do not have any right or license to, and will not, directly or indirectly, in any manner whatsoever:
assign, transfer, sell, encumber or modify the software/application developed by GENYMOBILE or includethis applicationin a productwhatsoever,
use or utilize this software/application for any purpose or in any manner that is illegal or in violation of any applicable law or rights of any third party,
Generally speaking, all access, performance or use of the application except as expressly permitted by these terms and any use in accordance to GENYMOBILEs purpose shall be deemed to be an infringement of GENYMOBILEs intellectual property rights on its software/application and open all rights and remedies in connection with such infringement.
Support
GENYMOBILE may, in its sole discretion, directly or indirectly make available, but is not obligated, to provide a support by email regarding this application. Regarding this support, GENYMOBILE will try to give an answer to the questions that would be asked in a reasonable period of about 3 working days, working days agreeing Monday to Friday.
No guarantee and downtime
GENYMOBILE may, at any time, take down or shut down access the software/application developed for maintenance, repair, or for any reason whatsoever.
GENYMOBILE makes no warranty with respect to the application developed including, without limitation, regarding the modifications and improvements.
The applicationis provided « as is » and « where is ».
GENYMOBILE provides no commitment, no warranty to the end user or licensee.
GENYMOBILE disclaims:
Any liability of any nature whatsoever,
Any warranty and any support, except response within 3 working days, any maintenance or other service,
Any warranty of merchantability, non-infringement, ownership, accuracy, reliability, interoperability with other software or applications,
Any collateral security or quiet enjoyment or the use is not interrupted by virus or error-free, or that the end user will not meet errors,
Any use that is consistent with security needs and specific requirements by the end user or licensee,
Any warranty arising as a result of custom, usage or trade and those arising under Law.
GENYMOBILE shall in noevent be liableto the end user orlicensee orany third partyfor any damages.
GENYMOBILE may, from time to time, take down or shut down access to the software/application for maintenance, repair, or service as GENYMOBILE may deem necessary in its sole discretion (« downtime »). The end user or licensee acknowledges that, during any downtime, he may not be able to access and use some or all parts of the software/application. GENYMOBILE may, but shall have no obligation to, make commercially reasonable efforts to notify to the end user or licensee in advance of such downtime, for example by displaying a notice during access of the software/application.
GENYMOBILE will make commercially reasonable efforts to keep the downtime to a minimum, but in no event GENYMOBILE shall be liable for such downtime.
Ownership
GENYMOBILE owns and retains all rights to:
the software/application she has developed and all modifications and improvements,
any trademarks, domain names, patents, software, copyrights, trade name and trade secret rights belonging to her, and other intellectual property rights, industrial property rights, and other proprietary rights of any kind, existing anywhere or under any law,
any other technology, invention, concept, system, method, process, and other element of the software/application developed by her,
Any derivative works made from modifications and improvements to the application.
Nothing in this agreement constitutes, or shall be interpreted or construed to constitute, any assignment, transfer or conveyance of any right, title or interest, or (except solely for the license expressly granted to the end user or the licensee under the article « license granted: Limited ») any license or use right, or any right to grant any license or right of use any GENYMOBILEs property.
The end user or the licensee acknowledges that he can not acquire, by use or by any other means, and will not claim, any ownership, license, or other rights (except solely for the license expressly granted to the end user or the licensee under the article « license granted: Limited »).
He also agrees to take no action, which may impair or jeopardize the GENYMOBILEs property and rights.
The end user or the licensee can not make use of any trademarks or any signs owned by GENYMOBILE.
Basis of bargain
GENYMOBILE grants this license to the end user or licensee who accepts it.
In consideration of the rights granted (business use, one license by user for one year), the licensee shall pay online GENYMOBILE before downloading the application, a fixed annual license fee.
Infringement
If use of the software/application may be enjoined due to a claim of infringement by a third party then, at its sole discretion, GENYMOBILE may do one of the following:
negotiate a license or other agreement so that the software/application is no longer subject to such a potential claim,
modify the software/application so that it becomes non-infringing, provided such modification can be accomplished without materially affecting the performance and functionality of the software/application,
replace the software/application with non-infringing software/application or,
terminate this license and the end user or the licensee shall stop using the software/application.
Modifications
GENYMOBILE may modify, amend, change, and cancel the license agreement. The end user or the licensee agrees that the acceptance of each such modification, amendment, change, and alteration shall be a condition precedent for the license, the access and use of the software/application. The license shall automatically terminate, without need for any notice, if the end user or the licensee fails to accept such modification, amendment, change when requested.
GENYMOBILE may, when she decides to do, install or make available any update to the software/application including, without limitation, modification, error correction, update, upgrade, enhancement, or change of the software/application.
GENYMOBILE has the right to make any modification at any time, without the obligation to provide any notice or obtain any consent or agreement from the end user or the licensee, and without any right for him to receive any notice or provide any consent or agreement thereto.
Duration and Termination
This license is granted for a period of one year, renewable by tacit agreement. GENYMOBILE will remember the deadline to the end user or to the licensee one month before the deadline, with a possible return within 15 days if necessary, with the need to pay the fixed annual license fee fixed. Without payment in this period and one month after the expiry of one year, the license is automatically terminated.
GENYMOBILE may terminate this license if the end user or to the licensee does not comply with the terms of this license for any reason whatsoever.
Upon the termination of this agreement or in the event of non-payment of the license fee, the end user or the licensee shall immediately cease using the software/application developed by GENYMOBILE. Any use of the software/application after termination of this agreement shall be deemed to be an infringement of GENYMOBILEs intellectual property rights.
Forum for disputes and applicable Law
The parties hereto agree that the Paris Court will have exclusive jurisdiction to resolve any dispute between the end user or the licensee and GENYMOBILE. The parties hereby irrevocably consent and submit to, and waive any objection to, personal jurisdiction of such courts. Notwithstanding the foregoing, GENYMOBILE may apply to any court of competent jurisdiction for injunctive relief.
This agreement shall be governed by French Law, exclusive of any of its conflicts of law or international private law rules or principles that would result in the application of the law of any other jurisdiction.

@ -12,6 +12,7 @@ ExecReload=/usr/sbin/postfix reload
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=full
ReadWritePaths=-/etc/mail/aliases.db
CapabilityBoundingSet=~ CAP_NET_ADMIN CAP_SYS_ADMIN CAP_SYS_BOOT CAP_SYS_MODULE
MemoryDenyWriteExecute=true

@ -15,7 +15,7 @@ SRC_URI="mirror://sourceforge/silgraphite/${PN}/${P}.tgz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
IUSE="perl test"
RDEPEND="

@ -394,11 +394,6 @@ multilib_src_install_all() {
# Install config file for eselect mesa
insinto /usr/share/mesa
newins "${FILESDIR}/eselect-mesa.conf.9.2" eselect-mesa.conf
# Mesa should not install these
if use vulkan; then
rm "${ED}"/usr/include/vulkan/{vulkan.h,vk_platform.h} || die
fi
}
multilib_src_test() {

@ -1 +1,2 @@
DIST phonon-4.9.0.tar.xz 321860 SHA256 bb74b40f18ade1d9ab89ffcd7aeb7555be797ca395f1224c488b394da6deb0e0 SHA512 6201b0fa8620cf2640f1488d2ea9605ddd9894af077be247bdcc1ee20f4f7352f6b42fa834bcc074ec3ede1281fdbc3bf137961591f8d954d02a29186ff17a5c WHIRLPOOL ac89bc5a01222662b28d48a8a8ce6db86dae76d200981761ec3de004c96c853944c40409716e4e9bcefb389e60c32981d6b5e2e7dee8fafd0662c1ae91e56ac3
DIST phonon-4.9.1.tar.xz 321872 SHA256 67bee986f85ca8b575186c8ba58a85886cb3b1c3567c86a118d56129f221e69c SHA512 a1741765071a625d9b9073d9ad1571b91cf5bfce2223bd1b034828d02dc52624587a6ec5352f3702df79f6e4201007596843fbcb9f15c9b489a858200787d728 WHIRLPOOL bcc7c372c8f9c51c33cc4fa4ae9b33c8d1aaf5750f51f7fbfcc491781629b449ae0ce38adba48af45c58fefa5da359b4d7d121ba7ba1fa08c6777aad4a179173

@ -0,0 +1,133 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
if [[ ${PV} != *9999* ]]; then
SRC_URI="mirror://kde/stable/phonon/${PV}/${P}.tar.xz"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
else
EGIT_REPO_URI=( "git://anongit.kde.org/${PN}" )
inherit git-r3
fi
inherit cmake-multilib multibuild qmake-utils
DESCRIPTION="KDE multimedia API"
HOMEPAGE="https://phonon.kde.org/"
LICENSE="|| ( LGPL-2.1 LGPL-3 )"
SLOT="0"
IUSE="aqua debug designer gstreamer pulseaudio +qt4 qt5 +vlc zeitgeist"
REQUIRED_USE="
|| ( qt4 qt5 )
zeitgeist? ( qt4 )
"
RDEPEND="
!!dev-qt/qtphonon:4
qt4? (
dev-qt/qtcore:4[${MULTILIB_USEDEP}]
dev-qt/qtdbus:4[${MULTILIB_USEDEP}]
dev-qt/qtgui:4[${MULTILIB_USEDEP}]
designer? ( dev-qt/designer:4[${MULTILIB_USEDEP}] )
)
qt5? (
dev-qt/qtcore:5
dev-qt/qtdbus:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
designer? ( dev-qt/designer:5 )
)
pulseaudio? (
dev-libs/glib:2[${MULTILIB_USEDEP}]
>=media-sound/pulseaudio-0.9.21[glib,${MULTILIB_USEDEP}]
)
zeitgeist? ( dev-libs/libqzeitgeist )
"
DEPEND="${RDEPEND}
virtual/pkgconfig[${MULTILIB_USEDEP}]
qt5? ( kde-frameworks/extra-cmake-modules:5 )
"
PDEPEND="
aqua? ( media-libs/phonon-qt7 )
gstreamer? ( >=media-libs/phonon-gstreamer-4.9.0[qt4?,qt5?] )
vlc? ( >=media-libs/phonon-vlc-0.9.0[qt4?,qt5?] )
"
PATCHES=( "${FILESDIR}/${PN}-4.7.0-plugin-install.patch" )
pkg_setup() {
MULTIBUILD_VARIANTS=( $(usev qt4) $(usev qt5) )
}
multilib_src_configure() {
local mycmakeargs=(
-DPHONON_BUILD_DESIGNER_PLUGIN=$(usex designer)
-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=TRUE
-DWITH_GLIB2=$(usex pulseaudio)
-DWITH_PulseAudio=$(usex pulseaudio)
$(multilib_is_native_abi && echo -DWITH_QZeitgeist=$(usex zeitgeist) || echo -DWITH_QZeitgeist=OFF)
-DQT_QMAKE_EXECUTABLE="$(${QT_MULTIBUILD_VARIANT}_get_bindir)"/qmake
)
if [[ ${QT_MULTIBUILD_VARIANT} = qt4 ]]; then
mycmakeargs+=( -DPHONON_BUILD_PHONON4QT5=OFF )
fi
if [[ ${QT_MULTIBUILD_VARIANT} = qt5 ]]; then
mycmakeargs+=( -DPHONON_BUILD_PHONON4QT5=ON )
fi
cmake-utils_src_configure
}
src_configure() {
myconfigure() {
local QT_MULTIBUILD_VARIANT=${MULTIBUILD_VARIANT}
if [[ ${QT_MULTIBUILD_VARIANT} = qt4 ]]; then
cmake-multilib_src_configure
elif [[ ${QT_MULTIBUILD_VARIANT} = qt5 ]]; then
multilib_src_configure
fi
}
multibuild_foreach_variant myconfigure
}
src_compile() {
mycompile() {
if [[ ${MULTIBUILD_VARIANT} = qt4 ]]; then
cmake-multilib_src_compile
elif [[ ${MULTIBUILD_VARIANT} = qt5 ]]; then
cmake-utils_src_compile
fi
}
multibuild_foreach_variant mycompile
}
src_test() {
mytest() {
if [[ ${MULTIBUILD_VARIANT} = qt4 ]]; then
cmake-multilib_src_test
elif [[ ${MULTIBUILD_VARIANT} = qt5 ]]; then
cmake-utils_src_test
fi
}
multibuild_foreach_variant mytest
}
src_install() {
myinstall() {
if [[ ${MULTIBUILD_VARIANT} = qt4 ]]; then
cmake-multilib_src_install
elif [[ ${MULTIBUILD_VARIANT} = qt5 ]]; then
cmake-utils_src_install
fi
}
multibuild_foreach_variant myinstall
}

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

@ -1 +1 @@
DIST vulkan-loader-1.0.33.0.tar.gz 2570738 SHA256 b8aba6c614e4e95024384f7b239c39683fd36e1dc37f65f86793b8e2738d4445 SHA512 96ad3d3c82a4d0cbbc3c039ee8eb551ed939e56f8ed9470b37fd9429339cdbaa100f976d56dc3ab017c92c80283b24309a0b483f5435fb5394816a490cd7c8e8 WHIRLPOOL 11051fcd4fc092ecde0ad0dafeb7d38583e368ffc880253e658a34ace3ead890e0af4f859af31519fd396767a075ec7467f315eda3376074b0c4e5d5f757e0ba
DIST vulkan-loader-1.0.39.0.tar.gz 3614236 SHA256 146efb378dc143f9dc15843b29aec8e5a0ad74161628931f0057d9517457a846 SHA512 23d7ced204f76952d8b15b192c325d80264b75a7128d45a5d5dd7e9c033157ef18c9002138d89857f376b38b55974070ffacc60169ada19329f8ccd8122294fc WHIRLPOOL fb2565abc33f21fd02ff583768c0c23613c9d978e681e017639edefea276c4ff2153b10d042a9e35ee95c41b5276178210e9ee92e4c380e1d67419e464379f3d

@ -36,6 +36,7 @@ multilib_src_configure() {
-DBUILD_DEMOS=False
-DBUILD_VKJSON=False
-DBUILD_LOADER=True
-DBUILD_WSI_MIR_SUPPORT=False
)
cmake-utils_src_configure
}

@ -0,0 +1 @@
DIST kodi-inputstream-adaptive-1.0.6.tar.gz 556505 SHA256 7e3fbb9bac11777b2f553fce0f36f2dd463adbb956a957e6c000c7013202b9ad SHA512 10accc94d3cb68b0cf89d4703ed05b4c0b1fbd02415b6721c372933ba629eb13c034d4336a9c8e5ffb4c8150a798b29c184f0d475069cad82adbd6e63d63b712 WHIRLPOOL 2aa754704dc4f579a07a30286ded1fbeb7a5808716c97c19a172c6dd6456e4b4fd1eb7664ae37f1feb3cdfaffa3fc6b6601688b50d8a10d70b68b2b69f24dacf

@ -0,0 +1,37 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit cmake-utils kodi-addon
DESCRIPTION="Kodi's Adaptive inputstream addon"
HOMEPAGE="https://github.com/peak3d/inputstream.adaptive.git"
SRC_URI=""
case ${PV} in
9999)
SRC_URI=""
EGIT_REPO_URI="git://github.com/peak3d/inputstream.adaptive.git"
inherit git-r3
;;
*)
KEYWORDS="~amd64 ~x86"
SRC_URI="https://github.com/peak3d/inputstream.adaptive/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/inputstream.adaptive-${PV}"
;;
esac
LICENSE="GPL-2"
SLOT="0"
IUSE=""
DEPEND="
media-tv/kodi
media-libs/kodi-platform
=dev-libs/libplatform-2*
"
RDEPEND="
${DEPEND}
"

@ -1 +1 @@
Tue, 24 Jan 2017 13:13:19 +0000
Wed, 25 Jan 2017 04:43:30 +0000

@ -0,0 +1,69 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201701-63">
<title>Graphite: Multiple vulnerabilities</title>
<synopsis>Multiple vulnerabilities have been found in Graphite, the worst of
which could lead to the remote execution of arbitrary code.
</synopsis>
<product type="ebuild">graphite</product>
<announced>2017-01-24</announced>
<revised>2017-01-24: 1</revised>
<bug>574276</bug>
<bug>576864</bug>
<access>remote</access>
<affected>
<package name="media-gfx/graphite2" auto="yes" arch="*">
<unaffected range="ge">1.3.7</unaffected>
<vulnerable range="lt">1.3.7</vulnerable>
</package>
</affected>
<background>
<p>Graphite is a “smart font” system developed specifically to handle
the complexities of lesser-known languages of the world.
</p>
</background>
<description>
<p>Multiple vulnerabilities have been discovered in Graphite. Please review
the CVE identifiers referenced below for details.
</p>
</description>
<impact type="normal">
<p>A remote attacker could possibly execute arbitrary code with the
privileges of the process, cause a Denial of Service condition, or obtain
sensitive information.
</p>
</impact>
<workaround>
<p>There is no known workaround at this time.</p>
</workaround>
<resolution>
<p>All Graphite users should upgrade to the latest version:</p>
<code>
# emerge --sync
# emerge --ask --oneshot --verbose "&gt;=media-gfx/graphite2-1.3.7"
</code>
</resolution>
<references>
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2016-1521">CVE-2016-1521</uri>
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2016-1522">CVE-2016-1522</uri>
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2016-1523">CVE-2016-1523</uri>
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2016-1526">CVE-2016-1526</uri>
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2016-1977">CVE-2016-1977</uri>
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2016-2790">CVE-2016-2790</uri>
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2016-2791">CVE-2016-2791</uri>
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2016-2792">CVE-2016-2792</uri>
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2016-2793">CVE-2016-2793</uri>
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2016-2794">CVE-2016-2794</uri>
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2016-2795">CVE-2016-2795</uri>
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2016-2796">CVE-2016-2796</uri>
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2016-2797">CVE-2016-2797</uri>
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2016-2798">CVE-2016-2798</uri>
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2016-2799">CVE-2016-2799</uri>
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2016-2800">CVE-2016-2800</uri>
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2016-2801">CVE-2016-2801</uri>
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2016-2802">CVE-2016-2802</uri>
</references>
<metadata tag="requester" timestamp="2016-06-30T12:16:41Z">b-man</metadata>
<metadata tag="submitter" timestamp="2017-01-24T16:36:53Z">b-man</metadata>
</glsa>

@ -1 +1 @@
Tue, 24 Jan 2017 13:13:20 +0000
Wed, 25 Jan 2017 04:43:30 +0000

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save