Sync with portage [Mon Dec 14 19:49:23 MSK 2015].

mhiretskiy
root 9 years ago
parent 0b16c496df
commit a4516ce952

@ -1,2 +1 @@
DIST pbzip2-1.1.12.tar.gz 47826 SHA256 573bb358a5a7d3bf5f42f881af324cedf960c786e8d66dd03d448ddd8a0166ee SHA512 bb68e87867295b89ee6fb76a8b72834daebf0ca6c16b2f10bce67fe7386716a728acd28bf46a9732087202ca0cc774f02c741b0b58801184bb7550f6fd119cd6 WHIRLPOOL e7e9cd45b51aaf227e5bcb6e8df37b2fc05b2e3b8b666fcf213e05dc21d6df7392918e97d95379d25231832a9cfae938fdf5590ae7a7d3e6ad1968a9b2c25393
DIST pbzip2-1.1.8.tar.gz 54429 SHA256 d2da7e65d2a2ba5426d6d9bcd15d86cc5f90038efabd5dbc1ef9bded21371f53 SHA512 a3314d1f465e6016bf79ca8bd734fc1485515e9688319ee5a6a837058599546848018f28e2e2cef2afde68ee8f3c26d16e4e6da4c74c75d1cb12068f1d1e1a83 WHIRLPOOL bd24e6102db6425978c5ac8e762b37f4df4bcdcc84f44e06e6b4c652b1f9e3128382af1558a1ebc9f68dba3a89be08d42bf92577eab73b3d748f6ff941b415bf

@ -0,0 +1,142 @@
https://bugs.launchpad.net/pbzip2/+bug/1524909
https://bugs.gentoo.org/567952
=== modified file 'pbzip2.cpp'
--- pbzip2.cpp 2014-12-21 10:20:27 +0000
+++ pbzip2.cpp 2015-12-11 00:14:31 +0000
@@ -2083,6 +2083,17 @@
return 0;
}
+void close_streams(FILE *stream, FILE *zStream)
+{
+ if (stream != NULL)
+ fflush(stream);
+
+ if (zStream != NULL && zStream != stdin)
+ fclose(zStream);
+ if (stream != NULL && stream != stdout)
+ fclose(stream);
+}
+
/*
*********************************************************
*/
@@ -2125,9 +2136,7 @@
// check file stream for errors
if (ferror(zStream))
{
- if (zStream != stdin)
- fclose(zStream);
-
+ close_streams(stream, zStream);
handle_error(EF_EXIT, -1,
"pbzip2: *ERROR: Problem with input stream of file [%s]! Aborting...\n", InFilename);
return -1;
@@ -2155,9 +2164,7 @@
// check file stream for errors
if (ferror(stream))
{
- if (stream != stdout)
- fclose(stream);
-
+ close_streams(stream, zStream);
handle_error(EF_EXIT, -1,
"pbzip2: *ERROR: Problem with output stream of file [%s]! Aborting...\n", InFilename);
return -1;
@@ -2169,10 +2176,7 @@
if (syncGetTerminateFlag() != 0)
{
fprintf (stderr, "directdecompress: terminating1 - terminateFlag set\n");
- if (zStream != stdin)
- fclose(zStream);
- if (stream != stdout)
- fclose(stream);
+ close_streams(stream, zStream);
return -1;
}
@@ -2180,11 +2184,8 @@
if (bzf == NULL || bzerr != BZ_OK)
{
ret = testBZ2ErrorHandling(bzerr, bzf, streamNo);
- if (zStream != stdin)
- fclose(zStream);
- if (stream != stdout)
- fclose(stream);
-
+ close_streams(stream, zStream);
+
if (ret != 0)
{
syncSetTerminateFlag(1);
@@ -2200,10 +2201,7 @@
if (syncGetTerminateFlag() != 0)
{
fprintf (stderr, "directdecompress: terminating2 - terminateFlag set\n");
- if (zStream != stdin)
- fclose(zStream);
- if (stream != stdout)
- fclose(stream);
+ close_streams(stream, zStream);
return -1;
}
@@ -2225,11 +2223,8 @@
if (ferror(zStream))
{
ret = testBZ2ErrorHandling(bzerr, bzf, streamNo);
- if (zStream != stdin)
- fclose(zStream);
- if (stream != stdout)
- fclose(stream);
-
+ close_streams(stream, zStream);
+
if (ret != 0)
{
syncSetTerminateFlag(1);
@@ -2242,11 +2237,8 @@
if (ferror(stream))
{
ret = testBZ2ErrorHandling(bzerr, bzf, streamNo);
- if (zStream != stdin)
- fclose(zStream);
- if (stream != stdout)
- fclose(stream);
-
+ close_streams(stream, zStream);
+
if (ret != 0)
{
syncSetTerminateFlag(1);
@@ -2263,11 +2255,8 @@
if (ferror(stream))
{
ret = testBZ2ErrorHandling(bzerr, bzf, streamNo);
- if (zStream != stdin)
- fclose(zStream);
- if (stream != stdout)
- fclose(stream);
-
+ close_streams(stream, zStream);
+
if (ret != 0)
{
syncSetTerminateFlag(1);
@@ -2278,11 +2267,8 @@
if (bzerr != BZ_STREAM_END)
{
ret = testBZ2ErrorHandling(bzerr, bzf, streamNo);
- if (zStream != stdin)
- fclose(zStream);
- if (stream != stdout)
- fclose(stream);
-
+ close_streams(stream, zStream);
+
if (ret != 0)
{
syncSetTerminateFlag(1);

@ -1,18 +1,18 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=4
EAPI=5
inherit flag-o-matic eutils
DESCRIPTION="Parallel bzip2 (de)compressor using libbz2"
HOMEPAGE="http://compression.ca/pbzip2/"
HOMEPAGE="http://compression.ca/pbzip2/ https://launchpad.net/pbzip2"
SRC_URI="https://launchpad.net/pbzip2/${PV:0:3}/${PV}/+download/${P}.tar.gz"
LICENSE="BZIP2"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="static symlink"
LIB_DEPEND="app-arch/bzip2[static-libs(+)]"
@ -23,7 +23,8 @@ DEPEND="${RDEPEND}
static? ( ${LIB_DEPEND} )"
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.1.6-makefile.patch
epatch "${FILESDIR}"/${PN}-1.1.10-makefile.patch \
"${FILESDIR}"/${P}-data_truncation_fix.patch
tc-export CXX
use static && append-ldflags -static
}

@ -0,0 +1,612 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="ncurses,readline"
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python-r1 \
user udev fcaps readme.gentoo pax-utils
BACKPORTS=
if [[ ${PV} = *9999* ]]; then
EGIT_REPO_URI="git://git.qemu.org/qemu.git"
inherit git-2
SRC_URI=""
else
SRC_URI="http://wiki.qemu-project.org/download/${P}.tar.bz2
${BACKPORTS:+
https://dev.gentoo.org/~cardoe/distfiles/${P}-${BACKPORTS}.tar.xz}"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
fi
DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
HOMEPAGE="http://www.qemu.org http://www.linux-kvm.org"
LICENSE="GPL-2 LGPL-2 BSD-2"
SLOT="0"
IUSE="accessibility +aio alsa bluetooth +caps +curl debug +fdt glusterfs \
gtk gtk2 infiniband iscsi +jpeg \
kernel_linux kernel_FreeBSD lzo ncurses nfs nls numa opengl +pin-upstream-blobs
+png pulseaudio python \
rbd sasl +seccomp sdl selinux smartcard snappy spice ssh static static-softmmu \
static-user systemtap tci test +threads tls usb usbredir +uuid vde +vhost-net \
virtfs +vnc xattr xen xfs"
COMMON_TARGETS="aarch64 alpha arm cris i386 m68k microblaze microblazeel mips
mips64 mips64el mipsel or32 ppc ppc64 s390x sh4 sh4eb sparc sparc64 unicore32
x86_64"
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} lm32 moxie ppcemb xtensa xtensaeb"
IUSE_USER_TARGETS="${COMMON_TARGETS} armeb mipsn32 mipsn32el ppc64abi32 sparc32plus"
use_softmmu_targets=$(printf ' qemu_softmmu_targets_%s' ${IUSE_SOFTMMU_TARGETS})
use_user_targets=$(printf ' qemu_user_targets_%s' ${IUSE_USER_TARGETS})
IUSE+=" ${use_softmmu_targets} ${use_user_targets}"
# Require at least one softmmu or user target.
# Block USE flag configurations known to not work.
REQUIRED_USE="|| ( ${use_softmmu_targets} ${use_user_targets} )
${PYTHON_REQUIRED_USE}
gtk2? ( gtk )
qemu_softmmu_targets_arm? ( fdt )
qemu_softmmu_targets_microblaze? ( fdt )
qemu_softmmu_targets_ppc? ( fdt )
qemu_softmmu_targets_ppc64? ( fdt )
static? ( static-softmmu static-user )
static-softmmu? ( !alsa !pulseaudio !bluetooth !opengl !gtk !gtk2 )
virtfs? ( xattr )"
# Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
#
# The attr lib isn't always linked in (although the USE flag is always
# respected). This is because qemu supports using the C library's API
# when available rather than always using the extranl library.
COMMON_LIB_DEPEND=">=dev-libs/glib-2.0[static-libs(+)]
sys-libs/zlib[static-libs(+)]
xattr? ( sys-apps/attr[static-libs(+)] )"
SOFTMMU_LIB_DEPEND="${COMMON_LIB_DEPEND}
>=x11-libs/pixman-0.28.0[static-libs(+)]
aio? ( dev-libs/libaio[static-libs(+)] )
caps? ( sys-libs/libcap-ng[static-libs(+)] )
curl? ( >=net-misc/curl-7.15.4[static-libs(+)] )
fdt? ( >=sys-apps/dtc-1.4.0[static-libs(+)] )
glusterfs? ( >=sys-cluster/glusterfs-3.4.0[static-libs(+)] )
infiniband? ( sys-infiniband/librdmacm:=[static-libs(+)] )
jpeg? ( virtual/jpeg:=[static-libs(+)] )
lzo? ( dev-libs/lzo:2[static-libs(+)] )
ncurses? ( sys-libs/ncurses:0=[static-libs(+)] )
nfs? ( >=net-fs/libnfs-1.9.3[static-libs(+)] )
numa? ( sys-process/numactl[static-libs(+)] )
png? ( media-libs/libpng:0=[static-libs(+)] )
rbd? ( sys-cluster/ceph[static-libs(+)] )
sasl? ( dev-libs/cyrus-sasl[static-libs(+)] )
sdl? ( >=media-libs/libsdl-1.2.11[static-libs(+)] )
seccomp? ( >=sys-libs/libseccomp-2.1.0[static-libs(+)] )
snappy? ( app-arch/snappy[static-libs(+)] )
spice? ( >=app-emulation/spice-0.12.0[static-libs(+)] )
ssh? ( >=net-libs/libssh2-1.2.8[static-libs(+)] )
tls? ( net-libs/gnutls[static-libs(+)] )
usb? ( >=virtual/libusb-1-r1[static-libs(+)] )
uuid? ( >=sys-apps/util-linux-2.16.0[static-libs(+)] )
vde? ( net-misc/vde[static-libs(+)] )
xfs? ( sys-fs/xfsprogs[static-libs(+)] )"
USER_LIB_DEPEND="${COMMON_LIB_DEPEND}"
X86_FIRMWARE_DEPEND="
>=sys-firmware/ipxe-1.0.0_p20130624
pin-upstream-blobs? (
~sys-firmware/seabios-1.7.5
~sys-firmware/sgabios-0.1_pre8
~sys-firmware/vgabios-0.7a
)
!pin-upstream-blobs? (
sys-firmware/seabios
sys-firmware/sgabios
sys-firmware/vgabios
)"
CDEPEND="
!static-softmmu? ( $(printf "%s? ( ${SOFTMMU_LIB_DEPEND//\[static-libs(+)]} ) " ${use_softmmu_targets}) )
!static-user? ( $(printf "%s? ( ${USER_LIB_DEPEND//\[static-libs(+)]} ) " ${use_user_targets}) )
qemu_softmmu_targets_i386? ( ${X86_FIRMWARE_DEPEND} )
qemu_softmmu_targets_x86_64? ( ${X86_FIRMWARE_DEPEND} )
accessibility? ( app-accessibility/brltty )
alsa? ( >=media-libs/alsa-lib-1.0.13 )
bluetooth? ( net-wireless/bluez )
gtk? (
gtk2? ( x11-libs/gtk+:2 )
!gtk2? ( x11-libs/gtk+:3 )
x11-libs/vte:2.90
)
iscsi? ( net-libs/libiscsi )
opengl? ( virtual/opengl )
pulseaudio? ( media-sound/pulseaudio )
python? ( ${PYTHON_DEPS} )
sdl? ( media-libs/libsdl[X] )
smartcard? ( dev-libs/nss !app-emulation/libcacard )
spice? ( >=app-emulation/spice-protocol-0.12.3 )
systemtap? ( dev-util/systemtap )
usbredir? ( >=sys-apps/usbredir-0.6 )
virtfs? ( sys-libs/libcap )
xen? ( app-emulation/xen-tools:= )"
DEPEND="${CDEPEND}
dev-lang/perl
=dev-lang/python-2*
sys-apps/texinfo
virtual/pkgconfig
kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 )
gtk? ( nls? ( sys-devel/gettext ) )
static-softmmu? ( $(printf "%s? ( ${SOFTMMU_LIB_DEPEND} ) " ${use_softmmu_targets}) )
static-user? ( $(printf "%s? ( ${USER_LIB_DEPEND} ) " ${use_user_targets}) )
test? (
dev-libs/glib[utils]
sys-devel/bc
)"
RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-qemu )
"
STRIP_MASK="/usr/share/qemu/palcode-clipper"
QA_PREBUILT="
usr/share/qemu/openbios-ppc
usr/share/qemu/openbios-sparc64
usr/share/qemu/openbios-sparc32
usr/share/qemu/palcode-clipper
usr/share/qemu/s390-ccw.img
usr/share/qemu/u-boot.e500
"
QA_WX_LOAD="usr/bin/qemu-i386
usr/bin/qemu-x86_64
usr/bin/qemu-alpha
usr/bin/qemu-arm
usr/bin/qemu-cris
usr/bin/qemu-m68k
usr/bin/qemu-microblaze
usr/bin/qemu-microblazeel
usr/bin/qemu-mips
usr/bin/qemu-mipsel
usr/bin/qemu-or32
usr/bin/qemu-ppc
usr/bin/qemu-ppc64
usr/bin/qemu-ppc64abi32
usr/bin/qemu-sh4
usr/bin/qemu-sh4eb
usr/bin/qemu-sparc
usr/bin/qemu-sparc64
usr/bin/qemu-armeb
usr/bin/qemu-sparc32plus
usr/bin/qemu-s390x
usr/bin/qemu-unicore32"
DOC_CONTENTS="If you don't have kvm compiled into the kernel, make sure
you have the kernel module loaded before running kvm. The easiest way to
ensure that the kernel module is loaded is to load it on boot.\n
For AMD CPUs the module is called 'kvm-amd'\n
For Intel CPUs the module is called 'kvm-intel'\n
Please review /etc/conf.d/modules for how to load these\n\n
Make sure your user is in the 'kvm' group\n
Just run 'gpasswd -a <USER> kvm', then have <USER> re-login."
qemu_support_kvm() {
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386 \
use qemu_softmmu_targets_ppc || use qemu_softmmu_targets_ppc64 \
use qemu_softmmu_targets_s390x; then
return 0
fi
return 1
}
pkg_pretend() {
if use kernel_linux && kernel_is lt 2 6 25; then
eerror "This version of KVM requres a host kernel of 2.6.25 or higher."
elif use kernel_linux; then
if ! linux_config_exists; then
eerror "Unable to check your kernel for KVM support"
else
CONFIG_CHECK="~KVM ~TUN ~BRIDGE"
ERROR_KVM="You must enable KVM in your kernel to continue"
ERROR_KVM_AMD="If you have an AMD CPU, you must enable KVM_AMD in"
ERROR_KVM_AMD+=" your kernel configuration."
ERROR_KVM_INTEL="If you have an Intel CPU, you must enable"
ERROR_KVM_INTEL+=" KVM_INTEL in your kernel configuration."
ERROR_TUN="You will need the Universal TUN/TAP driver compiled"
ERROR_TUN+=" into your kernel or loaded as a module to use the"
ERROR_TUN+=" virtual network device if using -net tap."
ERROR_BRIDGE="You will also need support for 802.1d"
ERROR_BRIDGE+=" Ethernet Bridging for some network configurations."
use vhost-net && CONFIG_CHECK+=" ~VHOST_NET"
ERROR_VHOST_NET="You must enable VHOST_NET to have vhost-net"
ERROR_VHOST_NET+=" support"
if use amd64 || use x86 || use amd64-linux || use x86-linux; then
CONFIG_CHECK+=" ~KVM_AMD ~KVM_INTEL"
fi
use python && CONFIG_CHECK+=" ~DEBUG_FS"
ERROR_DEBUG_FS="debugFS support required for kvm_stat"
# Now do the actual checks setup above
check_extra_config
fi
fi
if grep -qs '/usr/bin/qemu-kvm' "${EROOT}"/etc/libvirt/qemu/*.xml; then
eerror "The kvm/qemu-kvm wrappers no longer exist, but your libvirt"
eerror "instances are still pointing to it. Please update your"
eerror "configs in /etc/libvirt/qemu/ to use the -enable-kvm flag"
eerror "and the right system binary (e.g. qemu-system-x86_64)."
die "update your virt configs to not use qemu-kvm"
fi
}
pkg_setup() {
enewgroup kvm 78
}
src_prepare() {
# Alter target makefiles to accept CFLAGS set via flag-o
sed -i -r \
-e 's/^(C|OP_C|HELPER_C)FLAGS=/\1FLAGS+=/' \
Makefile Makefile.target || die
# Cheap hack to disable gettext .mo generation.
use nls || rm -f po/*.po
epatch "${FILESDIR}"/qemu-1.7.0-cflags.patch
epatch "${FILESDIR}"/${P}-CVE-2015-3456.patch #549404
epatch "${FILESDIR}"/${P}-CVE-2015-3209.patch #551752
epatch "${FILESDIR}"/${P}-CVE-2015-5158.patch #555680
epatch "${FILESDIR}"/${P}-CVE-2015-3214.patch #556052
epatch "${FILESDIR}"/${P}-CVE-2015-5154-1.patch #556050 / #555532
epatch "${FILESDIR}"/${P}-CVE-2015-5154-2.patch #556050 / #555532
epatch "${FILESDIR}"/${P}-CVE-2015-5154-3.patch #556050 / #555532
epatch "${FILESDIR}"/${P}-CVE-2015-5165-1.patch #556304
epatch "${FILESDIR}"/${P}-CVE-2015-5165-2.patch #556304
epatch "${FILESDIR}"/${P}-CVE-2015-5165-3.patch #556304
epatch "${FILESDIR}"/${P}-CVE-2015-5165-4.patch #556304
epatch "${FILESDIR}"/${P}-CVE-2015-5165-5.patch #556304
epatch "${FILESDIR}"/${P}-CVE-2015-5165-6.patch #556304
epatch "${FILESDIR}"/${P}-CVE-2015-5165-7.patch #556304
epatch "${FILESDIR}"/${P}-CVE-2015-5166.patch #556304
epatch "${FILESDIR}"/${P}-virtio-serial.patch #557206
[[ -n ${BACKPORTS} ]] && \
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
epatch
# Fix ld and objcopy being called directly
tc-export AR LD OBJCOPY
# Verbose builds
MAKEOPTS+=" V=1"
epatch_user
}
##
# configures qemu based on the build directory and the build type
# we are using.
#
qemu_src_configure() {
debug-print-function ${FUNCNAME} "$@"
local buildtype=$1
local builddir=$2
local static_flag="static-${buildtype}"
# audio options
local audio_opts="oss"
use alsa && audio_opts="alsa,${audio_opts}"
use sdl && audio_opts="sdl,${audio_opts}"
use pulseaudio && audio_opts="pa,${audio_opts}"
local conf_opts=(
--prefix=/usr
--sysconfdir=/etc
--libdir=/usr/$(get_libdir)
--docdir=/usr/share/doc/${PF}/html
--disable-bsd-user
--disable-guest-agent
--disable-strip
--disable-werror
--python="${PYTHON}"
--cc="$(tc-getCC)"
--cxx="$(tc-getCXX)"
--host-cc="$(tc-getBUILD_CC)"
$(use_enable debug debug-info)
$(use_enable debug debug-tcg)
--enable-docs
$(use_enable tci tcg-interpreter)
$(use_enable xattr attr)
)
# Disable options not used by user targets as the default configure
# options will autoprobe and try to link in a bunch of unused junk.
conf_softmmu() {
if [[ ${buildtype} == "user" ]] ; then
echo "--disable-${2:-$1}"
else
use_enable "$@"
fi
}
conf_opts+=(
$(conf_softmmu accessibility brlapi)
$(conf_softmmu aio linux-aio)
$(conf_softmmu bluetooth bluez)
$(conf_softmmu caps cap-ng)
$(conf_softmmu curl)
$(conf_softmmu fdt)
$(conf_softmmu glusterfs)
$(conf_softmmu gtk)
$(conf_softmmu infiniband rdma)
$(conf_softmmu iscsi libiscsi)
$(conf_softmmu jpeg vnc-jpeg)
$(conf_softmmu kernel_linux kvm)
$(conf_softmmu lzo)
$(conf_softmmu ncurses curses)
$(conf_softmmu nfs libnfs)
$(conf_softmmu numa)
$(conf_softmmu opengl)
$(conf_softmmu png vnc-png)
$(conf_softmmu rbd)
$(conf_softmmu sasl vnc-sasl)
$(conf_softmmu sdl)
$(conf_softmmu seccomp)
$(conf_softmmu smartcard smartcard-nss)
$(conf_softmmu snappy)
$(conf_softmmu spice)
$(conf_softmmu ssh libssh2)
$(conf_softmmu tls quorum)
$(conf_softmmu tls vnc-tls)
$(conf_softmmu tls vnc-ws)
$(conf_softmmu usb libusb)
$(conf_softmmu usbredir usb-redir)
$(conf_softmmu uuid)
$(conf_softmmu vde)
$(conf_softmmu vhost-net)
$(conf_softmmu virtfs)
$(conf_softmmu vnc)
$(conf_softmmu xen)
$(conf_softmmu xen xen-pci-passthrough)
$(conf_softmmu xfs xfsctl)
)
case ${buildtype} in
user)
conf_opts+=(
--enable-linux-user
--disable-system
--target-list="${user_targets}"
--disable-blobs
--disable-tools
)
;;
softmmu)
conf_opts+=(
--disable-linux-user
--enable-system
--target-list="${softmmu_targets}"
--with-system-pixman
--audio-drv-list="${audio_opts}"
)
use gtk && conf_opts+=( --with-gtkabi=$(usex gtk2 2.0 3.0) )
;;
esac
# Add support for SystemTAP
use systemtap && conf_opts+=( --enable-trace-backend=dtrace )
# We always want to attempt to build with PIE support as it results
# in a more secure binary. But it doesn't work with static or if
# the current GCC doesn't have PIE support.
if use ${static_flag}; then
conf_opts+=( --static --disable-pie )
else
gcc-specs-pie && conf_opts+=( --enable-pie )
fi
einfo "../configure ${conf_opts[*]}"
cd "${builddir}"
../configure "${conf_opts[@]}" || die "configure failed"
# FreeBSD's kernel does not support QEMU assigning/grabbing
# host USB devices yet
use kernel_FreeBSD && \
sed -i -E -e "s|^(HOST_USB=)bsd|\1stub|" "${S}"/config-host.mak
}
src_configure() {
local target
python_setup
softmmu_targets= softmmu_bins=()
user_targets= user_bins=()
for target in ${IUSE_SOFTMMU_TARGETS} ; do
if use "qemu_softmmu_targets_${target}"; then
softmmu_targets+=",${target}-softmmu"
softmmu_bins+=( "qemu-system-${target}" )
fi
done
for target in ${IUSE_USER_TARGETS} ; do
if use "qemu_user_targets_${target}"; then
user_targets+=",${target}-linux-user"
user_bins+=( "qemu-${target}" )
fi
done
[[ -n ${softmmu_targets} ]] && \
einfo "Building the following softmmu targets: ${softmmu_targets}"
[[ -n ${user_targets} ]] && \
einfo "Building the following user targets: ${user_targets}"
if [[ -n ${softmmu_targets} ]]; then
mkdir "${S}/softmmu-build"
qemu_src_configure "softmmu" "${S}/softmmu-build"
fi
if [[ -n ${user_targets} ]]; then
mkdir "${S}/user-build"
qemu_src_configure "user" "${S}/user-build"
fi
}
src_compile() {
if [[ -n ${user_targets} ]]; then
cd "${S}/user-build"
default
fi
if [[ -n ${softmmu_targets} ]]; then
cd "${S}/softmmu-build"
default
fi
}
src_test() {
if [[ -n ${softmmu_targets} ]]; then
cd "${S}/softmmu-build"
pax-mark m */qemu-system-* #515550
emake -j1 check
emake -j1 check-report.html
fi
}
qemu_python_install() {
python_domodule "${S}/scripts/qmp/qmp.py"
python_doscript "${S}/scripts/kvm/kvm_stat"
python_doscript "${S}/scripts/kvm/vmxcap"
python_doscript "${S}/scripts/qmp/qmp-shell"
python_doscript "${S}/scripts/qmp/qemu-ga-client"
}
src_install() {
if [[ -n ${user_targets} ]]; then
cd "${S}/user-build"
emake DESTDIR="${ED}" install
# Install binfmt handler init script for user targets
newinitd "${FILESDIR}/qemu-binfmt.initd-r1" qemu-binfmt
fi
if [[ -n ${softmmu_targets} ]]; then
cd "${S}/softmmu-build"
emake DESTDIR="${ED}" install
# This might not exist if the test failed. #512010
[[ -e check-report.html ]] && dohtml check-report.html
if use kernel_linux; then
udev_dorules "${FILESDIR}"/65-kvm.rules
fi
if use python; then
python_foreach_impl qemu_python_install
fi
fi
# Disable mprotect on the qemu binaries as they use JITs to be fast #459348
pushd "${ED}"/usr/bin >/dev/null
pax-mark m "${softmmu_bins[@]}" "${user_bins[@]}"
popd >/dev/null
# Install config file example for qemu-bridge-helper
insinto "/etc/qemu"
doins "${FILESDIR}/bridge.conf"
# Remove the docdir placed qmp-commands.txt
mv "${ED}/usr/share/doc/${PF}/html/qmp-commands.txt" "${S}/docs/qmp/"
cd "${S}"
dodoc Changelog MAINTAINERS docs/specs/pci-ids.txt
newdoc pc-bios/README README.pc-bios
dodoc docs/qmp/*.txt
if [[ -n ${softmmu_targets} ]]; then
# Remove SeaBIOS since we're using the SeaBIOS packaged one
rm "${ED}/usr/share/qemu/bios.bin"
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
dosym ../seabios/bios.bin /usr/share/qemu/bios.bin
fi
# Remove vgabios since we're using the vgabios packaged one
rm "${ED}/usr/share/qemu/vgabios.bin"
rm "${ED}/usr/share/qemu/vgabios-cirrus.bin"
rm "${ED}/usr/share/qemu/vgabios-qxl.bin"
rm "${ED}/usr/share/qemu/vgabios-stdvga.bin"
rm "${ED}/usr/share/qemu/vgabios-vmware.bin"
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
dosym ../vgabios/vgabios.bin /usr/share/qemu/vgabios.bin
dosym ../vgabios/vgabios-cirrus.bin /usr/share/qemu/vgabios-cirrus.bin
dosym ../vgabios/vgabios-qxl.bin /usr/share/qemu/vgabios-qxl.bin
dosym ../vgabios/vgabios-stdvga.bin /usr/share/qemu/vgabios-stdvga.bin
dosym ../vgabios/vgabios-vmware.bin /usr/share/qemu/vgabios-vmware.bin
fi
# Remove sgabios since we're using the sgabios packaged one
rm "${ED}/usr/share/qemu/sgabios.bin"
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
dosym ../sgabios/sgabios.bin /usr/share/qemu/sgabios.bin
fi
# Remove iPXE since we're using the iPXE packaged one
rm "${ED}"/usr/share/qemu/pxe-*.rom
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
dosym ../ipxe/8086100e.rom /usr/share/qemu/pxe-e1000.rom
dosym ../ipxe/80861209.rom /usr/share/qemu/pxe-eepro100.rom
dosym ../ipxe/10500940.rom /usr/share/qemu/pxe-ne2k_pci.rom
dosym ../ipxe/10222000.rom /usr/share/qemu/pxe-pcnet.rom
dosym ../ipxe/10ec8139.rom /usr/share/qemu/pxe-rtl8139.rom
dosym ../ipxe/1af41000.rom /usr/share/qemu/pxe-virtio.rom
fi
fi
qemu_support_kvm && readme.gentoo_create_doc
}
pkg_postinst() {
if qemu_support_kvm; then
readme.gentoo_print_elog
ewarn "Migration from qemu-kvm instances and loading qemu-kvm created"
ewarn "save states has been removed starting with the 1.6.2 release"
ewarn
ewarn "It is recommended that you migrate any VMs that may be running"
ewarn "on qemu-kvm to a host with a newer qemu and regenerate"
ewarn "any saved states with a newer qemu."
ewarn
ewarn "qemu-kvm was the primary qemu provider in Gentoo through 1.2.x"
if use x86 || use amd64; then
ewarn
ewarn "The /usr/bin/kvm and /usr/bin/qemu-kvm wrappers are no longer"
ewarn "installed. In order to use kvm acceleration, pass the flag"
ewarn "-enable-kvm when running your system target."
fi
fi
if [[ -n ${softmmu_targets} ]] && use kernel_linux; then
udev_reload
fi
fcaps cap_net_admin /usr/libexec/qemu-bridge-helper
}
pkg_info() {
echo "Using:"
echo " $(best_version app-emulation/spice-protocol)"
echo " $(best_version sys-firmware/ipxe)"
echo " $(best_version sys-firmware/seabios)"
if has_version sys-firmware/seabios[binary]; then
echo " USE=binary"
else
echo " USE=''"
fi
echo " $(best_version sys-firmware/vgabios)"
}

@ -0,0 +1,598 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="ncurses,readline"
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python-r1 \
user udev fcaps readme.gentoo pax-utils
BACKPORTS=
if [[ ${PV} = *9999* ]]; then
EGIT_REPO_URI="git://git.qemu.org/qemu.git"
inherit git-2
SRC_URI=""
else
SRC_URI="http://wiki.qemu-project.org/download/${P}.tar.bz2
${BACKPORTS:+
https://dev.gentoo.org/~cardoe/distfiles/${P}-${BACKPORTS}.tar.xz}"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
fi
DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
HOMEPAGE="http://www.qemu.org http://www.linux-kvm.org"
LICENSE="GPL-2 LGPL-2 BSD-2"
SLOT="0"
IUSE="accessibility +aio alsa bluetooth +caps +curl debug +fdt glusterfs \
gtk gtk2 infiniband iscsi +jpeg \
kernel_linux kernel_FreeBSD lzo ncurses nfs nls numa opengl +pin-upstream-blobs
+png pulseaudio python \
rbd sasl +seccomp sdl selinux smartcard snappy spice ssh static static-softmmu \
static-user systemtap tci test +threads tls usb usbredir +uuid vde +vhost-net \
virtfs +vnc xattr xen xfs"
COMMON_TARGETS="aarch64 alpha arm cris i386 m68k microblaze microblazeel mips
mips64 mips64el mipsel or32 ppc ppc64 s390x sh4 sh4eb sparc sparc64 unicore32
x86_64"
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} lm32 moxie ppcemb xtensa xtensaeb"
IUSE_USER_TARGETS="${COMMON_TARGETS} armeb mipsn32 mipsn32el ppc64abi32 sparc32plus"
use_softmmu_targets=$(printf ' qemu_softmmu_targets_%s' ${IUSE_SOFTMMU_TARGETS})
use_user_targets=$(printf ' qemu_user_targets_%s' ${IUSE_USER_TARGETS})
IUSE+=" ${use_softmmu_targets} ${use_user_targets}"
# Require at least one softmmu or user target.
# Block USE flag configurations known to not work.
REQUIRED_USE="|| ( ${use_softmmu_targets} ${use_user_targets} )
${PYTHON_REQUIRED_USE}
gtk2? ( gtk )
qemu_softmmu_targets_arm? ( fdt )
qemu_softmmu_targets_microblaze? ( fdt )
qemu_softmmu_targets_ppc? ( fdt )
qemu_softmmu_targets_ppc64? ( fdt )
static? ( static-softmmu static-user )
static-softmmu? ( !alsa !pulseaudio !bluetooth !opengl !gtk !gtk2 )
virtfs? ( xattr )"
# Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
#
# The attr lib isn't always linked in (although the USE flag is always
# respected). This is because qemu supports using the C library's API
# when available rather than always using the extranl library.
COMMON_LIB_DEPEND=">=dev-libs/glib-2.0[static-libs(+)]
sys-libs/zlib[static-libs(+)]
xattr? ( sys-apps/attr[static-libs(+)] )"
SOFTMMU_LIB_DEPEND="${COMMON_LIB_DEPEND}
>=x11-libs/pixman-0.28.0[static-libs(+)]
aio? ( dev-libs/libaio[static-libs(+)] )
caps? ( sys-libs/libcap-ng[static-libs(+)] )
curl? ( >=net-misc/curl-7.15.4[static-libs(+)] )
fdt? ( >=sys-apps/dtc-1.4.0[static-libs(+)] )
glusterfs? ( >=sys-cluster/glusterfs-3.4.0[static-libs(+)] )
infiniband? ( sys-infiniband/librdmacm:=[static-libs(+)] )
jpeg? ( virtual/jpeg:=[static-libs(+)] )
lzo? ( dev-libs/lzo:2[static-libs(+)] )
ncurses? ( sys-libs/ncurses:0=[static-libs(+)] )
nfs? ( >=net-fs/libnfs-1.9.3[static-libs(+)] )
numa? ( sys-process/numactl[static-libs(+)] )
png? ( media-libs/libpng:0=[static-libs(+)] )
rbd? ( sys-cluster/ceph[static-libs(+)] )
sasl? ( dev-libs/cyrus-sasl[static-libs(+)] )
sdl? ( >=media-libs/libsdl-1.2.11[static-libs(+)] )
seccomp? ( >=sys-libs/libseccomp-2.1.0[static-libs(+)] )
snappy? ( app-arch/snappy[static-libs(+)] )
spice? ( >=app-emulation/spice-0.12.0[static-libs(+)] )
ssh? ( >=net-libs/libssh2-1.2.8[static-libs(+)] )
tls? ( net-libs/gnutls[static-libs(+)] )
usb? ( >=virtual/libusb-1-r1[static-libs(+)] )
uuid? ( >=sys-apps/util-linux-2.16.0[static-libs(+)] )
vde? ( net-misc/vde[static-libs(+)] )
xfs? ( sys-fs/xfsprogs[static-libs(+)] )"
USER_LIB_DEPEND="${COMMON_LIB_DEPEND}"
X86_FIRMWARE_DEPEND="
>=sys-firmware/ipxe-1.0.0_p20130624
pin-upstream-blobs? (
~sys-firmware/seabios-1.7.5
~sys-firmware/sgabios-0.1_pre8
~sys-firmware/vgabios-0.7a
)
!pin-upstream-blobs? (
sys-firmware/seabios
sys-firmware/sgabios
sys-firmware/vgabios
)"
CDEPEND="
!static-softmmu? ( $(printf "%s? ( ${SOFTMMU_LIB_DEPEND//\[static-libs(+)]} ) " ${use_softmmu_targets}) )
!static-user? ( $(printf "%s? ( ${USER_LIB_DEPEND//\[static-libs(+)]} ) " ${use_user_targets}) )
qemu_softmmu_targets_i386? ( ${X86_FIRMWARE_DEPEND} )
qemu_softmmu_targets_x86_64? ( ${X86_FIRMWARE_DEPEND} )
accessibility? ( app-accessibility/brltty )
alsa? ( >=media-libs/alsa-lib-1.0.13 )
bluetooth? ( net-wireless/bluez )
gtk? (
gtk2? ( x11-libs/gtk+:2 )
!gtk2? ( x11-libs/gtk+:3 )
x11-libs/vte:2.90
)
iscsi? ( net-libs/libiscsi )
opengl? ( virtual/opengl )
pulseaudio? ( media-sound/pulseaudio )
python? ( ${PYTHON_DEPS} )
sdl? ( media-libs/libsdl[X] )
smartcard? ( dev-libs/nss !app-emulation/libcacard )
spice? ( >=app-emulation/spice-protocol-0.12.3 )
systemtap? ( dev-util/systemtap )
usbredir? ( >=sys-apps/usbredir-0.6 )
virtfs? ( sys-libs/libcap )
xen? ( app-emulation/xen-tools:= )"
DEPEND="${CDEPEND}
dev-lang/perl
=dev-lang/python-2*
sys-apps/texinfo
virtual/pkgconfig
kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 )
gtk? ( nls? ( sys-devel/gettext ) )
static-softmmu? ( $(printf "%s? ( ${SOFTMMU_LIB_DEPEND} ) " ${use_softmmu_targets}) )
static-user? ( $(printf "%s? ( ${USER_LIB_DEPEND} ) " ${use_user_targets}) )
test? (
dev-libs/glib[utils]
sys-devel/bc
)"
RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-qemu )
"
STRIP_MASK="/usr/share/qemu/palcode-clipper"
QA_PREBUILT="
usr/share/qemu/openbios-ppc
usr/share/qemu/openbios-sparc64
usr/share/qemu/openbios-sparc32
usr/share/qemu/palcode-clipper
usr/share/qemu/s390-ccw.img
usr/share/qemu/u-boot.e500
"
QA_WX_LOAD="usr/bin/qemu-i386
usr/bin/qemu-x86_64
usr/bin/qemu-alpha
usr/bin/qemu-arm
usr/bin/qemu-cris
usr/bin/qemu-m68k
usr/bin/qemu-microblaze
usr/bin/qemu-microblazeel
usr/bin/qemu-mips
usr/bin/qemu-mipsel
usr/bin/qemu-or32
usr/bin/qemu-ppc
usr/bin/qemu-ppc64
usr/bin/qemu-ppc64abi32
usr/bin/qemu-sh4
usr/bin/qemu-sh4eb
usr/bin/qemu-sparc
usr/bin/qemu-sparc64
usr/bin/qemu-armeb
usr/bin/qemu-sparc32plus
usr/bin/qemu-s390x
usr/bin/qemu-unicore32"
DOC_CONTENTS="If you don't have kvm compiled into the kernel, make sure
you have the kernel module loaded before running kvm. The easiest way to
ensure that the kernel module is loaded is to load it on boot.\n
For AMD CPUs the module is called 'kvm-amd'\n
For Intel CPUs the module is called 'kvm-intel'\n
Please review /etc/conf.d/modules for how to load these\n\n
Make sure your user is in the 'kvm' group\n
Just run 'gpasswd -a <USER> kvm', then have <USER> re-login."
qemu_support_kvm() {
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386 \
use qemu_softmmu_targets_ppc || use qemu_softmmu_targets_ppc64 \
use qemu_softmmu_targets_s390x; then
return 0
fi
return 1
}
pkg_pretend() {
if use kernel_linux && kernel_is lt 2 6 25; then
eerror "This version of KVM requres a host kernel of 2.6.25 or higher."
elif use kernel_linux; then
if ! linux_config_exists; then
eerror "Unable to check your kernel for KVM support"
else
CONFIG_CHECK="~KVM ~TUN ~BRIDGE"
ERROR_KVM="You must enable KVM in your kernel to continue"
ERROR_KVM_AMD="If you have an AMD CPU, you must enable KVM_AMD in"
ERROR_KVM_AMD+=" your kernel configuration."
ERROR_KVM_INTEL="If you have an Intel CPU, you must enable"
ERROR_KVM_INTEL+=" KVM_INTEL in your kernel configuration."
ERROR_TUN="You will need the Universal TUN/TAP driver compiled"
ERROR_TUN+=" into your kernel or loaded as a module to use the"
ERROR_TUN+=" virtual network device if using -net tap."
ERROR_BRIDGE="You will also need support for 802.1d"
ERROR_BRIDGE+=" Ethernet Bridging for some network configurations."
use vhost-net && CONFIG_CHECK+=" ~VHOST_NET"
ERROR_VHOST_NET="You must enable VHOST_NET to have vhost-net"
ERROR_VHOST_NET+=" support"
if use amd64 || use x86 || use amd64-linux || use x86-linux; then
CONFIG_CHECK+=" ~KVM_AMD ~KVM_INTEL"
fi
use python && CONFIG_CHECK+=" ~DEBUG_FS"
ERROR_DEBUG_FS="debugFS support required for kvm_stat"
# Now do the actual checks setup above
check_extra_config
fi
fi
if grep -qs '/usr/bin/qemu-kvm' "${EROOT}"/etc/libvirt/qemu/*.xml; then
eerror "The kvm/qemu-kvm wrappers no longer exist, but your libvirt"
eerror "instances are still pointing to it. Please update your"
eerror "configs in /etc/libvirt/qemu/ to use the -enable-kvm flag"
eerror "and the right system binary (e.g. qemu-system-x86_64)."
die "update your virt configs to not use qemu-kvm"
fi
}
pkg_setup() {
enewgroup kvm 78
}
src_prepare() {
# Alter target makefiles to accept CFLAGS set via flag-o
sed -i -r \
-e 's/^(C|OP_C|HELPER_C)FLAGS=/\1FLAGS+=/' \
Makefile Makefile.target || die
# Cheap hack to disable gettext .mo generation.
use nls || rm -f po/*.po
epatch "${FILESDIR}"/qemu-1.7.0-cflags.patch
epatch "${FILESDIR}"/${PN}-2.3.0-CVE-2015-3209.patch #551752
epatch "${FILESDIR}"/${PN}-2.3.0-virtio-serial.patch #557206
[[ -n ${BACKPORTS} ]] && \
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
epatch
# Fix ld and objcopy being called directly
tc-export AR LD OBJCOPY
# Verbose builds
MAKEOPTS+=" V=1"
epatch_user
}
##
# configures qemu based on the build directory and the build type
# we are using.
#
qemu_src_configure() {
debug-print-function ${FUNCNAME} "$@"
local buildtype=$1
local builddir=$2
local static_flag="static-${buildtype}"
# audio options
local audio_opts="oss"
use alsa && audio_opts="alsa,${audio_opts}"
use sdl && audio_opts="sdl,${audio_opts}"
use pulseaudio && audio_opts="pa,${audio_opts}"
local conf_opts=(
--prefix=/usr
--sysconfdir=/etc
--libdir=/usr/$(get_libdir)
--docdir=/usr/share/doc/${PF}/html
--disable-bsd-user
--disable-guest-agent
--disable-strip
--disable-werror
--python="${PYTHON}"
--cc="$(tc-getCC)"
--cxx="$(tc-getCXX)"
--host-cc="$(tc-getBUILD_CC)"
$(use_enable debug debug-info)
$(use_enable debug debug-tcg)
--enable-docs
$(use_enable tci tcg-interpreter)
$(use_enable xattr attr)
)
# Disable options not used by user targets as the default configure
# options will autoprobe and try to link in a bunch of unused junk.
conf_softmmu() {
if [[ ${buildtype} == "user" ]] ; then
echo "--disable-${2:-$1}"
else
use_enable "$@"
fi
}
conf_opts+=(
$(conf_softmmu accessibility brlapi)
$(conf_softmmu aio linux-aio)
$(conf_softmmu bluetooth bluez)
$(conf_softmmu caps cap-ng)
$(conf_softmmu curl)
$(conf_softmmu fdt)
$(conf_softmmu glusterfs)
$(conf_softmmu gtk)
$(conf_softmmu infiniband rdma)
$(conf_softmmu iscsi libiscsi)
$(conf_softmmu jpeg vnc-jpeg)
$(conf_softmmu kernel_linux kvm)
$(conf_softmmu lzo)
$(conf_softmmu ncurses curses)
$(conf_softmmu nfs libnfs)
$(conf_softmmu numa)
$(conf_softmmu opengl)
$(conf_softmmu png vnc-png)
$(conf_softmmu rbd)
$(conf_softmmu sasl vnc-sasl)
$(conf_softmmu sdl)
$(conf_softmmu seccomp)
$(conf_softmmu smartcard smartcard-nss)
$(conf_softmmu snappy)
$(conf_softmmu spice)
$(conf_softmmu ssh libssh2)
$(conf_softmmu tls quorum)
$(conf_softmmu tls vnc-tls)
$(conf_softmmu tls vnc-ws)
$(conf_softmmu usb libusb)
$(conf_softmmu usbredir usb-redir)
$(conf_softmmu uuid)
$(conf_softmmu vde)
$(conf_softmmu vhost-net)
$(conf_softmmu virtfs)
$(conf_softmmu vnc)
$(conf_softmmu xen)
$(conf_softmmu xen xen-pci-passthrough)
$(conf_softmmu xfs xfsctl)
)
case ${buildtype} in
user)
conf_opts+=(
--enable-linux-user
--disable-system
--target-list="${user_targets}"
--disable-blobs
--disable-tools
)
;;
softmmu)
conf_opts+=(
--disable-linux-user
--enable-system
--target-list="${softmmu_targets}"
--with-system-pixman
--audio-drv-list="${audio_opts}"
)
use gtk && conf_opts+=( --with-gtkabi=$(usex gtk2 2.0 3.0) )
;;
esac
# Add support for SystemTAP
use systemtap && conf_opts+=( --enable-trace-backend=dtrace )
# We always want to attempt to build with PIE support as it results
# in a more secure binary. But it doesn't work with static or if
# the current GCC doesn't have PIE support.
if use ${static_flag}; then
conf_opts+=( --static --disable-pie )
else
gcc-specs-pie && conf_opts+=( --enable-pie )
fi
einfo "../configure ${conf_opts[*]}"
cd "${builddir}"
../configure "${conf_opts[@]}" || die "configure failed"
# FreeBSD's kernel does not support QEMU assigning/grabbing
# host USB devices yet
use kernel_FreeBSD && \
sed -i -E -e "s|^(HOST_USB=)bsd|\1stub|" "${S}"/config-host.mak
}
src_configure() {
local target
python_setup
softmmu_targets= softmmu_bins=()
user_targets= user_bins=()
for target in ${IUSE_SOFTMMU_TARGETS} ; do
if use "qemu_softmmu_targets_${target}"; then
softmmu_targets+=",${target}-softmmu"
softmmu_bins+=( "qemu-system-${target}" )
fi
done
for target in ${IUSE_USER_TARGETS} ; do
if use "qemu_user_targets_${target}"; then
user_targets+=",${target}-linux-user"
user_bins+=( "qemu-${target}" )
fi
done
[[ -n ${softmmu_targets} ]] && \
einfo "Building the following softmmu targets: ${softmmu_targets}"
[[ -n ${user_targets} ]] && \
einfo "Building the following user targets: ${user_targets}"
if [[ -n ${softmmu_targets} ]]; then
mkdir "${S}/softmmu-build"
qemu_src_configure "softmmu" "${S}/softmmu-build"
fi
if [[ -n ${user_targets} ]]; then
mkdir "${S}/user-build"
qemu_src_configure "user" "${S}/user-build"
fi
}
src_compile() {
if [[ -n ${user_targets} ]]; then
cd "${S}/user-build"
default
fi
if [[ -n ${softmmu_targets} ]]; then
cd "${S}/softmmu-build"
default
fi
}
src_test() {
if [[ -n ${softmmu_targets} ]]; then
cd "${S}/softmmu-build"
pax-mark m */qemu-system-* #515550
emake -j1 check
emake -j1 check-report.html
fi
}
qemu_python_install() {
python_domodule "${S}/scripts/qmp/qmp.py"
python_doscript "${S}/scripts/kvm/kvm_stat"
python_doscript "${S}/scripts/kvm/vmxcap"
python_doscript "${S}/scripts/qmp/qmp-shell"
python_doscript "${S}/scripts/qmp/qemu-ga-client"
}
src_install() {
if [[ -n ${user_targets} ]]; then
cd "${S}/user-build"
emake DESTDIR="${ED}" install
# Install binfmt handler init script for user targets
newinitd "${FILESDIR}/qemu-binfmt.initd-r1" qemu-binfmt
fi
if [[ -n ${softmmu_targets} ]]; then
cd "${S}/softmmu-build"
emake DESTDIR="${ED}" install
# This might not exist if the test failed. #512010
[[ -e check-report.html ]] && dohtml check-report.html
if use kernel_linux; then
udev_dorules "${FILESDIR}"/65-kvm.rules
fi
if use python; then
python_foreach_impl qemu_python_install
fi
fi
# Disable mprotect on the qemu binaries as they use JITs to be fast #459348
pushd "${ED}"/usr/bin >/dev/null
pax-mark m "${softmmu_bins[@]}" "${user_bins[@]}"
popd >/dev/null
# Install config file example for qemu-bridge-helper
insinto "/etc/qemu"
doins "${FILESDIR}/bridge.conf"
# Remove the docdir placed qmp-commands.txt
mv "${ED}/usr/share/doc/${PF}/html/qmp-commands.txt" "${S}/docs/qmp/"
cd "${S}"
dodoc Changelog MAINTAINERS docs/specs/pci-ids.txt
newdoc pc-bios/README README.pc-bios
dodoc docs/qmp/*.txt
if [[ -n ${softmmu_targets} ]]; then
# Remove SeaBIOS since we're using the SeaBIOS packaged one
rm "${ED}/usr/share/qemu/bios.bin"
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
dosym ../seabios/bios.bin /usr/share/qemu/bios.bin
fi
# Remove vgabios since we're using the vgabios packaged one
rm "${ED}/usr/share/qemu/vgabios.bin"
rm "${ED}/usr/share/qemu/vgabios-cirrus.bin"
rm "${ED}/usr/share/qemu/vgabios-qxl.bin"
rm "${ED}/usr/share/qemu/vgabios-stdvga.bin"
rm "${ED}/usr/share/qemu/vgabios-vmware.bin"
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
dosym ../vgabios/vgabios.bin /usr/share/qemu/vgabios.bin
dosym ../vgabios/vgabios-cirrus.bin /usr/share/qemu/vgabios-cirrus.bin
dosym ../vgabios/vgabios-qxl.bin /usr/share/qemu/vgabios-qxl.bin
dosym ../vgabios/vgabios-stdvga.bin /usr/share/qemu/vgabios-stdvga.bin
dosym ../vgabios/vgabios-vmware.bin /usr/share/qemu/vgabios-vmware.bin
fi
# Remove sgabios since we're using the sgabios packaged one
rm "${ED}/usr/share/qemu/sgabios.bin"
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
dosym ../sgabios/sgabios.bin /usr/share/qemu/sgabios.bin
fi
# Remove iPXE since we're using the iPXE packaged one
rm "${ED}"/usr/share/qemu/pxe-*.rom
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
dosym ../ipxe/8086100e.rom /usr/share/qemu/pxe-e1000.rom
dosym ../ipxe/80861209.rom /usr/share/qemu/pxe-eepro100.rom
dosym ../ipxe/10500940.rom /usr/share/qemu/pxe-ne2k_pci.rom
dosym ../ipxe/10222000.rom /usr/share/qemu/pxe-pcnet.rom
dosym ../ipxe/10ec8139.rom /usr/share/qemu/pxe-rtl8139.rom
dosym ../ipxe/1af41000.rom /usr/share/qemu/pxe-virtio.rom
fi
fi
qemu_support_kvm && readme.gentoo_create_doc
}
pkg_postinst() {
if qemu_support_kvm; then
readme.gentoo_print_elog
ewarn "Migration from qemu-kvm instances and loading qemu-kvm created"
ewarn "save states has been removed starting with the 1.6.2 release"
ewarn
ewarn "It is recommended that you migrate any VMs that may be running"
ewarn "on qemu-kvm to a host with a newer qemu and regenerate"
ewarn "any saved states with a newer qemu."
ewarn
ewarn "qemu-kvm was the primary qemu provider in Gentoo through 1.2.x"
if use x86 || use amd64; then
ewarn
ewarn "The /usr/bin/kvm and /usr/bin/qemu-kvm wrappers are no longer"
ewarn "installed. In order to use kvm acceleration, pass the flag"
ewarn "-enable-kvm when running your system target."
fi
fi
if [[ -n ${softmmu_targets} ]] && use kernel_linux; then
udev_reload
fi
fcaps cap_net_admin /usr/libexec/qemu-bridge-helper
}
pkg_info() {
echo "Using:"
echo " $(best_version app-emulation/spice-protocol)"
echo " $(best_version sys-firmware/ipxe)"
echo " $(best_version sys-firmware/seabios)"
if has_version sys-firmware/seabios[binary]; then
echo " USE=binary"
else
echo " USE=''"
fi
echo " $(best_version sys-firmware/vgabios)"
}

@ -0,0 +1,640 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="ncurses,readline"
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python-r1 \
user udev fcaps readme.gentoo pax-utils
BACKPORTS=
if [[ ${PV} = *9999* ]]; then
EGIT_REPO_URI="git://git.qemu.org/qemu.git"
inherit git-2
SRC_URI=""
else
SRC_URI="http://wiki.qemu-project.org/download/${P}.tar.bz2
${BACKPORTS:+
https://dev.gentoo.org/~cardoe/distfiles/${P}-${BACKPORTS}.tar.xz}"
KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd"
fi
DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
HOMEPAGE="http://www.qemu.org http://www.linux-kvm.org"
LICENSE="GPL-2 LGPL-2 BSD-2"
SLOT="0"
IUSE="accessibility +aio alsa bluetooth +caps +curl debug +fdt glusterfs \
gtk gtk2 infiniband iscsi +jpeg \
kernel_linux kernel_FreeBSD lzo ncurses nfs nls numa opengl +pin-upstream-blobs
+png pulseaudio python \
rbd sasl +seccomp sdl sdl2 selinux smartcard snappy spice ssh static static-softmmu
static-user systemtap tci test +threads tls usb usbredir +uuid vde +vhost-net \
virtfs +vnc vte xattr xen xfs"
COMMON_TARGETS="aarch64 alpha arm cris i386 m68k microblaze microblazeel mips
mips64 mips64el mipsel or32 ppc ppc64 s390x sh4 sh4eb sparc sparc64 unicore32
x86_64"
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} lm32 moxie ppcemb tricore xtensa xtensaeb"
IUSE_USER_TARGETS="${COMMON_TARGETS} armeb mipsn32 mipsn32el ppc64abi32 ppc64le sparc32plus"
use_softmmu_targets=$(printf ' qemu_softmmu_targets_%s' ${IUSE_SOFTMMU_TARGETS})
use_user_targets=$(printf ' qemu_user_targets_%s' ${IUSE_USER_TARGETS})
IUSE+=" ${use_softmmu_targets} ${use_user_targets}"
# Allow no targets to be built so that people can get a tools-only build.
# Block USE flag configurations known to not work.
REQUIRED_USE="${PYTHON_REQUIRED_USE}
gtk2? ( gtk )
qemu_softmmu_targets_arm? ( fdt )
qemu_softmmu_targets_microblaze? ( fdt )
qemu_softmmu_targets_ppc? ( fdt )
qemu_softmmu_targets_ppc64? ( fdt )
sdl2? ( sdl )
static? ( static-softmmu static-user )
static-softmmu? ( !alsa !pulseaudio !bluetooth !opengl !gtk !gtk2 )
virtfs? ( xattr )
vte? ( gtk )"
# Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
#
# The attr lib isn't always linked in (although the USE flag is always
# respected). This is because qemu supports using the C library's API
# when available rather than always using the extranl library.
COMMON_LIB_DEPEND=">=dev-libs/glib-2.0[static-libs(+)]
sys-libs/zlib[static-libs(+)]
xattr? ( sys-apps/attr[static-libs(+)] )"
SOFTMMU_LIB_DEPEND="${COMMON_LIB_DEPEND}
>=x11-libs/pixman-0.28.0[static-libs(+)]
accessibility? ( app-accessibility/brltty[static-libs(+)] )
aio? ( dev-libs/libaio[static-libs(+)] )
alsa? ( >=media-libs/alsa-lib-1.0.13 )
bluetooth? ( net-wireless/bluez )
caps? ( sys-libs/libcap-ng[static-libs(+)] )
curl? ( >=net-misc/curl-7.15.4[static-libs(+)] )
fdt? ( >=sys-apps/dtc-1.4.0[static-libs(+)] )
glusterfs? ( >=sys-cluster/glusterfs-3.4.0[static-libs(+)] )
gtk? (
gtk2? (
x11-libs/gtk+:2
vte? ( x11-libs/vte:0 )
)
!gtk2? (
x11-libs/gtk+:3
vte? ( x11-libs/vte:2.90 )
)
)
infiniband? ( sys-infiniband/librdmacm:=[static-libs(+)] )
iscsi? ( net-libs/libiscsi )
jpeg? ( virtual/jpeg:=[static-libs(+)] )
lzo? ( dev-libs/lzo:2[static-libs(+)] )
ncurses? ( sys-libs/ncurses:0=[static-libs(+)] )
nfs? ( >=net-fs/libnfs-1.9.3[static-libs(+)] )
numa? ( sys-process/numactl[static-libs(+)] )
opengl? (
virtual/opengl
media-libs/libepoxy[static-libs(+)]
media-libs/mesa[static-libs(+)]
media-libs/mesa[egl,gles2]
)
png? ( media-libs/libpng:0=[static-libs(+)] )
pulseaudio? ( media-sound/pulseaudio )
rbd? ( sys-cluster/ceph[static-libs(+)] )
sasl? ( dev-libs/cyrus-sasl[static-libs(+)] )
sdl? (
!sdl2? (
media-libs/libsdl[X]
>=media-libs/libsdl-1.2.11[static-libs(+)]
)
sdl2? (
media-libs/libsdl2[X]
media-libs/libsdl2[static-libs(+)]
)
)
seccomp? ( >=sys-libs/libseccomp-2.1.0[static-libs(+)] )
smartcard? ( dev-libs/nss !app-emulation/libcacard )
snappy? ( app-arch/snappy[static-libs(+)] )
spice? (
>=app-emulation/spice-protocol-0.12.3
>=app-emulation/spice-0.12.0[static-libs(+)]
)
ssh? ( >=net-libs/libssh2-1.2.8[static-libs(+)] )
tls? ( net-libs/gnutls[static-libs(+)] )
usb? ( >=virtual/libusb-1-r2[static-libs(+)] )
usbredir? ( >=sys-apps/usbredir-0.6[static-libs(+)] )
uuid? ( >=sys-apps/util-linux-2.16.0[static-libs(+)] )
vde? ( net-misc/vde[static-libs(+)] )
virtfs? ( sys-libs/libcap )
xfs? ( sys-fs/xfsprogs[static-libs(+)] )"
USER_LIB_DEPEND="${COMMON_LIB_DEPEND}"
X86_FIRMWARE_DEPEND="
>=sys-firmware/ipxe-1.0.0_p20130624
pin-upstream-blobs? (
~sys-firmware/seabios-1.8.2
~sys-firmware/sgabios-0.1_pre8
~sys-firmware/vgabios-0.7a
)
!pin-upstream-blobs? (
sys-firmware/seabios
sys-firmware/sgabios
sys-firmware/vgabios
)"
CDEPEND="
!static-softmmu? ( $(printf "%s? ( ${SOFTMMU_LIB_DEPEND//\[static-libs(+)]} ) " ${use_softmmu_targets}) )
!static-user? ( $(printf "%s? ( ${USER_LIB_DEPEND//\[static-libs(+)]} ) " ${use_user_targets}) )
qemu_softmmu_targets_i386? ( ${X86_FIRMWARE_DEPEND} )
qemu_softmmu_targets_x86_64? ( ${X86_FIRMWARE_DEPEND} )
python? ( ${PYTHON_DEPS} )
systemtap? ( dev-util/systemtap )
xen? ( app-emulation/xen-tools:= )"
DEPEND="${CDEPEND}
dev-lang/perl
=dev-lang/python-2*
sys-apps/texinfo
virtual/pkgconfig
kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 )
gtk? ( nls? ( sys-devel/gettext ) )
static-softmmu? ( $(printf "%s? ( ${SOFTMMU_LIB_DEPEND} ) " ${use_softmmu_targets}) )
static-user? ( $(printf "%s? ( ${USER_LIB_DEPEND} ) " ${use_user_targets}) )
test? (
dev-libs/glib[utils]
sys-devel/bc
)"
RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-qemu )
"
STRIP_MASK="/usr/share/qemu/palcode-clipper"
QA_PREBUILT="
usr/share/qemu/openbios-ppc
usr/share/qemu/openbios-sparc64
usr/share/qemu/openbios-sparc32
usr/share/qemu/palcode-clipper
usr/share/qemu/s390-ccw.img
usr/share/qemu/u-boot.e500
"
QA_WX_LOAD="usr/bin/qemu-i386
usr/bin/qemu-x86_64
usr/bin/qemu-alpha
usr/bin/qemu-arm
usr/bin/qemu-cris
usr/bin/qemu-m68k
usr/bin/qemu-microblaze
usr/bin/qemu-microblazeel
usr/bin/qemu-mips
usr/bin/qemu-mipsel
usr/bin/qemu-or32
usr/bin/qemu-ppc
usr/bin/qemu-ppc64
usr/bin/qemu-ppc64abi32
usr/bin/qemu-sh4
usr/bin/qemu-sh4eb
usr/bin/qemu-sparc
usr/bin/qemu-sparc64
usr/bin/qemu-armeb
usr/bin/qemu-sparc32plus
usr/bin/qemu-s390x
usr/bin/qemu-unicore32"
DOC_CONTENTS="If you don't have kvm compiled into the kernel, make sure
you have the kernel module loaded before running kvm. The easiest way to
ensure that the kernel module is loaded is to load it on boot.\n
For AMD CPUs the module is called 'kvm-amd'\n
For Intel CPUs the module is called 'kvm-intel'\n
Please review /etc/conf.d/modules for how to load these\n\n
Make sure your user is in the 'kvm' group\n
Just run 'gpasswd -a <USER> kvm', then have <USER> re-login."
qemu_support_kvm() {
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386 \
use qemu_softmmu_targets_ppc || use qemu_softmmu_targets_ppc64 \
use qemu_softmmu_targets_s390x; then
return 0
fi
return 1
}
pkg_pretend() {
if use kernel_linux && kernel_is lt 2 6 25; then
eerror "This version of KVM requres a host kernel of 2.6.25 or higher."
elif use kernel_linux; then
if ! linux_config_exists; then
eerror "Unable to check your kernel for KVM support"
else
CONFIG_CHECK="~KVM ~TUN ~BRIDGE"
ERROR_KVM="You must enable KVM in your kernel to continue"
ERROR_KVM_AMD="If you have an AMD CPU, you must enable KVM_AMD in"
ERROR_KVM_AMD+=" your kernel configuration."
ERROR_KVM_INTEL="If you have an Intel CPU, you must enable"
ERROR_KVM_INTEL+=" KVM_INTEL in your kernel configuration."
ERROR_TUN="You will need the Universal TUN/TAP driver compiled"
ERROR_TUN+=" into your kernel or loaded as a module to use the"
ERROR_TUN+=" virtual network device if using -net tap."
ERROR_BRIDGE="You will also need support for 802.1d"
ERROR_BRIDGE+=" Ethernet Bridging for some network configurations."
use vhost-net && CONFIG_CHECK+=" ~VHOST_NET"
ERROR_VHOST_NET="You must enable VHOST_NET to have vhost-net"
ERROR_VHOST_NET+=" support"
if use amd64 || use x86 || use amd64-linux || use x86-linux; then
CONFIG_CHECK+=" ~KVM_AMD ~KVM_INTEL"
fi
use python && CONFIG_CHECK+=" ~DEBUG_FS"
ERROR_DEBUG_FS="debugFS support required for kvm_stat"
# Now do the actual checks setup above
check_extra_config
fi
fi
if grep -qs '/usr/bin/qemu-kvm' "${EROOT}"/etc/libvirt/qemu/*.xml; then
eerror "The kvm/qemu-kvm wrappers no longer exist, but your libvirt"
eerror "instances are still pointing to it. Please update your"
eerror "configs in /etc/libvirt/qemu/ to use the -enable-kvm flag"
eerror "and the right system binary (e.g. qemu-system-x86_64)."
die "update your virt configs to not use qemu-kvm"
fi
}
pkg_setup() {
enewgroup kvm 78
}
# Sanity check to make sure target lists are kept up-to-date.
check_targets() {
local var=$1 mak=$2
local detected sorted
pushd "${S}"/default-configs >/dev/null || die
# Force C locale until glibc is updated. #564936
detected=$(echo $(printf '%s\n' *-${mak}.mak | sed "s:-${mak}.mak::" | LC_COLLATE=C sort -u))
sorted=$(echo $(printf '%s\n' ${!var} | LC_COLLATE=C sort -u))
if [[ ${sorted} != "${detected}" ]] ; then
eerror "The ebuild needs to be kept in sync."
eerror "${var}: ${sorted}"
eerror "$(printf '%-*s' ${#var} configure): ${detected}"
die "sync ${var} to the list of targets"
fi
popd >/dev/null
}
src_prepare() {
check_targets IUSE_SOFTMMU_TARGETS softmmu
check_targets IUSE_USER_TARGETS linux-user
# Alter target makefiles to accept CFLAGS set via flag-o
sed -i -r \
-e 's/^(C|OP_C|HELPER_C)FLAGS=/\1FLAGS+=/' \
Makefile Makefile.target || die
# Cheap hack to disable gettext .mo generation.
use nls || rm -f po/*.po
epatch "${FILESDIR}"/qemu-1.7.0-cflags.patch
epatch "${FILESDIR}"/${P}-block-mirror-crash.patch #558396
epatch "${FILESDIR}"/${P}-CVE-2015-5225.patch #558416
epatch "${FILESDIR}"/${PN}-2.4.0-e1000-loop.patch #559656
[[ -n ${BACKPORTS} ]] && \
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
epatch
# Fix ld and objcopy being called directly
tc-export AR LD OBJCOPY
# Verbose builds
MAKEOPTS+=" V=1"
epatch_user
}
##
# configures qemu based on the build directory and the build type
# we are using.
#
qemu_src_configure() {
debug-print-function ${FUNCNAME} "$@"
local buildtype=$1
local builddir="${S}/${buildtype}-build"
local static_flag="static-${buildtype}"
mkdir "${builddir}"
local conf_opts=(
--prefix=/usr
--sysconfdir=/etc
--libdir=/usr/$(get_libdir)
--docdir=/usr/share/doc/${PF}/html
--disable-bsd-user
--disable-guest-agent
--disable-strip
--disable-werror
--python="${PYTHON}"
--cc="$(tc-getCC)"
--cxx="$(tc-getCXX)"
--host-cc="$(tc-getBUILD_CC)"
$(use_enable debug debug-info)
$(use_enable debug debug-tcg)
--enable-docs
$(use_enable tci tcg-interpreter)
$(use_enable xattr attr)
)
# Disable options not used by user targets as the default configure
# options will autoprobe and try to link in a bunch of unused junk.
conf_softmmu() {
if [[ ${buildtype} == "user" ]] ; then
echo "--disable-${2:-$1}"
else
use_enable "$@"
fi
}
conf_opts+=(
$(conf_softmmu accessibility brlapi)
$(conf_softmmu aio linux-aio)
$(conf_softmmu bluetooth bluez)
$(conf_softmmu caps cap-ng)
$(conf_softmmu curl)
$(conf_softmmu fdt)
$(conf_softmmu glusterfs)
$(conf_softmmu gtk)
$(conf_softmmu infiniband rdma)
$(conf_softmmu iscsi libiscsi)
$(conf_softmmu jpeg vnc-jpeg)
$(conf_softmmu kernel_linux kvm)
$(conf_softmmu lzo)
$(conf_softmmu ncurses curses)
$(conf_softmmu nfs libnfs)
$(conf_softmmu numa)
$(conf_softmmu opengl)
$(conf_softmmu png vnc-png)
$(conf_softmmu rbd)
$(conf_softmmu sasl vnc-sasl)
$(conf_softmmu sdl)
$(conf_softmmu seccomp)
$(conf_softmmu smartcard smartcard-nss)
$(conf_softmmu snappy)
$(conf_softmmu spice)
$(conf_softmmu ssh libssh2)
$(conf_softmmu tls vnc-tls)
$(conf_softmmu usb libusb)
$(conf_softmmu usbredir usb-redir)
$(conf_softmmu uuid)
$(conf_softmmu vde)
$(conf_softmmu vhost-net)
$(conf_softmmu virtfs)
$(conf_softmmu vnc)
$(conf_softmmu vte)
$(conf_softmmu xen)
$(conf_softmmu xen xen-pci-passthrough)
$(conf_softmmu xfs xfsctl)
)
case ${buildtype} in
user)
conf_opts+=(
--enable-linux-user
--disable-system
--disable-blobs
--disable-tools
)
;;
softmmu)
# audio options
local audio_opts="oss"
use alsa && audio_opts="alsa,${audio_opts}"
use sdl && audio_opts="sdl,${audio_opts}"
use pulseaudio && audio_opts="pa,${audio_opts}"
conf_opts+=(
--disable-linux-user
--enable-system
--with-system-pixman
--audio-drv-list="${audio_opts}"
)
use gtk && conf_opts+=( --with-gtkabi=$(usex gtk2 2.0 3.0) )
use sdl && conf_opts+=( --with-sdlabi=$(usex sdl2 2.0 1.2) )
;;
tools)
conf_opts+=(
--disable-linux-user
--disable-system
--disable-blobs
)
static_flag="static"
;;
esac
local targets="${buildtype}_targets"
[[ -n ${targets} ]] && conf_opts+=( --target-list="${!targets}" )
# Add support for SystemTAP
use systemtap && conf_opts+=( --enable-trace-backend=dtrace )
# We always want to attempt to build with PIE support as it results
# in a more secure binary. But it doesn't work with static or if
# the current GCC doesn't have PIE support.
if use ${static_flag}; then
conf_opts+=( --static --disable-pie )
else
gcc-specs-pie && conf_opts+=( --enable-pie )
fi
echo "../configure ${conf_opts[*]}"
cd "${builddir}"
../configure "${conf_opts[@]}" || die "configure failed"
# FreeBSD's kernel does not support QEMU assigning/grabbing
# host USB devices yet
use kernel_FreeBSD && \
sed -i -E -e "s|^(HOST_USB=)bsd|\1stub|" "${S}"/config-host.mak
}
src_configure() {
local target
python_setup
softmmu_targets= softmmu_bins=()
user_targets= user_bins=()
for target in ${IUSE_SOFTMMU_TARGETS} ; do
if use "qemu_softmmu_targets_${target}"; then
softmmu_targets+=",${target}-softmmu"
softmmu_bins+=( "qemu-system-${target}" )
fi
done
for target in ${IUSE_USER_TARGETS} ; do
if use "qemu_user_targets_${target}"; then
user_targets+=",${target}-linux-user"
user_bins+=( "qemu-${target}" )
fi
done
softmmu_targets=${softmmu_targets#,}
user_targets=${user_targets#,}
[[ -n ${softmmu_targets} ]] && qemu_src_configure "softmmu"
[[ -n ${user_targets} ]] && qemu_src_configure "user"
[[ -z ${softmmu_targets}${user_targets} ]] && qemu_src_configure "tools"
}
src_compile() {
if [[ -n ${user_targets} ]]; then
cd "${S}/user-build"
default
fi
if [[ -n ${softmmu_targets} ]]; then
cd "${S}/softmmu-build"
default
fi
if [[ -z ${softmmu_targets}${user_targets} ]]; then
cd "${S}/tools-build"
default
fi
}
src_test() {
if [[ -n ${softmmu_targets} ]]; then
cd "${S}/softmmu-build"
pax-mark m */qemu-system-* #515550
emake -j1 check
emake -j1 check-report.html
fi
}
qemu_python_install() {
python_domodule "${S}/scripts/qmp/qmp.py"
python_doscript "${S}/scripts/kvm/kvm_stat"
python_doscript "${S}/scripts/kvm/vmxcap"
python_doscript "${S}/scripts/qmp/qmp-shell"
python_doscript "${S}/scripts/qmp/qemu-ga-client"
}
src_install() {
if [[ -n ${user_targets} ]]; then
cd "${S}/user-build"
emake DESTDIR="${ED}" install
# Install binfmt handler init script for user targets
newinitd "${FILESDIR}/qemu-binfmt.initd-r1" qemu-binfmt
fi
if [[ -n ${softmmu_targets} ]]; then
cd "${S}/softmmu-build"
emake DESTDIR="${ED}" install
# This might not exist if the test failed. #512010
[[ -e check-report.html ]] && dohtml check-report.html
if use kernel_linux; then
udev_dorules "${FILESDIR}"/65-kvm.rules
fi
if use python; then
python_foreach_impl qemu_python_install
fi
fi
if [[ -z ${softmmu_targets}${user_targets} ]]; then
cd "${S}/tools-build"
emake DESTDIR="${ED}" install
fi
# Disable mprotect on the qemu binaries as they use JITs to be fast #459348
pushd "${ED}"/usr/bin >/dev/null
pax-mark m "${softmmu_bins[@]}" "${user_bins[@]}"
popd >/dev/null
# Install config file example for qemu-bridge-helper
insinto "/etc/qemu"
doins "${FILESDIR}/bridge.conf"
# Remove the docdir placed qmp-commands.txt
mv "${ED}/usr/share/doc/${PF}/html/qmp-commands.txt" "${S}/docs/qmp/"
cd "${S}"
dodoc Changelog MAINTAINERS docs/specs/pci-ids.txt
newdoc pc-bios/README README.pc-bios
dodoc docs/qmp/*.txt
if [[ -n ${softmmu_targets} ]]; then
# Remove SeaBIOS since we're using the SeaBIOS packaged one
rm "${ED}/usr/share/qemu/bios.bin"
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
dosym ../seabios/bios.bin /usr/share/qemu/bios.bin
fi
# Remove vgabios since we're using the vgabios packaged one
rm "${ED}/usr/share/qemu/vgabios.bin"
rm "${ED}/usr/share/qemu/vgabios-cirrus.bin"
rm "${ED}/usr/share/qemu/vgabios-qxl.bin"
rm "${ED}/usr/share/qemu/vgabios-stdvga.bin"
rm "${ED}/usr/share/qemu/vgabios-vmware.bin"
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
dosym ../vgabios/vgabios.bin /usr/share/qemu/vgabios.bin
dosym ../vgabios/vgabios-cirrus.bin /usr/share/qemu/vgabios-cirrus.bin
dosym ../vgabios/vgabios-qxl.bin /usr/share/qemu/vgabios-qxl.bin
dosym ../vgabios/vgabios-stdvga.bin /usr/share/qemu/vgabios-stdvga.bin
dosym ../vgabios/vgabios-vmware.bin /usr/share/qemu/vgabios-vmware.bin
fi
# Remove sgabios since we're using the sgabios packaged one
rm "${ED}/usr/share/qemu/sgabios.bin"
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
dosym ../sgabios/sgabios.bin /usr/share/qemu/sgabios.bin
fi
# Remove iPXE since we're using the iPXE packaged one
rm "${ED}"/usr/share/qemu/pxe-*.rom
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
dosym ../ipxe/8086100e.rom /usr/share/qemu/pxe-e1000.rom
dosym ../ipxe/80861209.rom /usr/share/qemu/pxe-eepro100.rom
dosym ../ipxe/10500940.rom /usr/share/qemu/pxe-ne2k_pci.rom
dosym ../ipxe/10222000.rom /usr/share/qemu/pxe-pcnet.rom
dosym ../ipxe/10ec8139.rom /usr/share/qemu/pxe-rtl8139.rom
dosym ../ipxe/1af41000.rom /usr/share/qemu/pxe-virtio.rom
fi
fi
qemu_support_kvm && readme.gentoo_create_doc
}
pkg_postinst() {
if qemu_support_kvm; then
readme.gentoo_print_elog
fi
if [[ -n ${softmmu_targets} ]] && use kernel_linux; then
udev_reload
fi
fcaps cap_net_admin /usr/libexec/qemu-bridge-helper
}
pkg_info() {
echo "Using:"
echo " $(best_version app-emulation/spice-protocol)"
echo " $(best_version sys-firmware/ipxe)"
echo " $(best_version sys-firmware/seabios)"
if has_version 'sys-firmware/seabios[binary]'; then
echo " USE=binary"
else
echo " USE=''"
fi
echo " $(best_version sys-firmware/vgabios)"
}

@ -0,0 +1,645 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE="ncurses,readline"
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python-r1 \
user udev fcaps readme.gentoo pax-utils
BACKPORTS=
if [[ ${PV} = *9999* ]]; then
EGIT_REPO_URI="git://git.qemu.org/qemu.git"
inherit git-2
SRC_URI=""
else
SRC_URI="http://wiki.qemu-project.org/download/${P}.tar.bz2
${BACKPORTS:+
https://dev.gentoo.org/~cardoe/distfiles/${P}-${BACKPORTS}.tar.xz}"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
fi
DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
HOMEPAGE="http://www.qemu.org http://www.linux-kvm.org"
LICENSE="GPL-2 LGPL-2 BSD-2"
SLOT="0"
IUSE="accessibility +aio alsa bluetooth +caps +curl debug +fdt glusterfs \
gtk gtk2 infiniband iscsi +jpeg \
kernel_linux kernel_FreeBSD lzo ncurses nfs nls numa opengl +pin-upstream-blobs
+png pulseaudio python \
rbd sasl +seccomp sdl sdl2 selinux smartcard snappy spice ssh static static-softmmu
static-user systemtap tci test +threads tls usb usbredir +uuid vde +vhost-net \
virtfs +vnc vte xattr xen xfs"
COMMON_TARGETS="aarch64 alpha arm cris i386 m68k microblaze microblazeel mips
mips64 mips64el mipsel or32 ppc ppc64 s390x sh4 sh4eb sparc sparc64 unicore32
x86_64"
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} lm32 moxie ppcemb tricore xtensa xtensaeb"
IUSE_USER_TARGETS="${COMMON_TARGETS} armeb mipsn32 mipsn32el ppc64abi32 ppc64le sparc32plus"
use_softmmu_targets=$(printf ' qemu_softmmu_targets_%s' ${IUSE_SOFTMMU_TARGETS})
use_user_targets=$(printf ' qemu_user_targets_%s' ${IUSE_USER_TARGETS})
IUSE+=" ${use_softmmu_targets} ${use_user_targets}"
# Allow no targets to be built so that people can get a tools-only build.
# Block USE flag configurations known to not work.
REQUIRED_USE="${PYTHON_REQUIRED_USE}
gtk2? ( gtk )
qemu_softmmu_targets_arm? ( fdt )
qemu_softmmu_targets_microblaze? ( fdt )
qemu_softmmu_targets_ppc? ( fdt )
qemu_softmmu_targets_ppc64? ( fdt )
sdl2? ( sdl )
static? ( static-softmmu static-user )
static-softmmu? ( !alsa !pulseaudio !bluetooth !opengl !gtk !gtk2 )
virtfs? ( xattr )
vte? ( gtk )"
# Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
#
# The attr lib isn't always linked in (although the USE flag is always
# respected). This is because qemu supports using the C library's API
# when available rather than always using the extranl library.
COMMON_LIB_DEPEND=">=dev-libs/glib-2.0[static-libs(+)]
sys-libs/zlib[static-libs(+)]
xattr? ( sys-apps/attr[static-libs(+)] )"
SOFTMMU_LIB_DEPEND="${COMMON_LIB_DEPEND}
>=x11-libs/pixman-0.28.0[static-libs(+)]
accessibility? ( app-accessibility/brltty[static-libs(+)] )
aio? ( dev-libs/libaio[static-libs(+)] )
alsa? ( >=media-libs/alsa-lib-1.0.13 )
bluetooth? ( net-wireless/bluez )
caps? ( sys-libs/libcap-ng[static-libs(+)] )
curl? ( >=net-misc/curl-7.15.4[static-libs(+)] )
fdt? ( >=sys-apps/dtc-1.4.0[static-libs(+)] )
glusterfs? ( >=sys-cluster/glusterfs-3.4.0[static-libs(+)] )
gtk? (
gtk2? (
x11-libs/gtk+:2
vte? ( x11-libs/vte:0 )
)
!gtk2? (
x11-libs/gtk+:3
vte? ( x11-libs/vte:2.90 )
)
)
infiniband? ( sys-infiniband/librdmacm:=[static-libs(+)] )
iscsi? ( net-libs/libiscsi )
jpeg? ( virtual/jpeg:=[static-libs(+)] )
lzo? ( dev-libs/lzo:2[static-libs(+)] )
ncurses? ( sys-libs/ncurses:0=[static-libs(+)] )
nfs? ( >=net-fs/libnfs-1.9.3[static-libs(+)] )
numa? ( sys-process/numactl[static-libs(+)] )
opengl? (
virtual/opengl
media-libs/libepoxy[static-libs(+)]
media-libs/mesa[static-libs(+)]
media-libs/mesa[egl,gles2]
)
png? ( media-libs/libpng:0=[static-libs(+)] )
pulseaudio? ( media-sound/pulseaudio )
rbd? ( sys-cluster/ceph[static-libs(+)] )
sasl? ( dev-libs/cyrus-sasl[static-libs(+)] )
sdl? (
!sdl2? (
media-libs/libsdl[X]
>=media-libs/libsdl-1.2.11[static-libs(+)]
)
sdl2? (
media-libs/libsdl2[X]
media-libs/libsdl2[static-libs(+)]
)
)
seccomp? ( >=sys-libs/libseccomp-2.1.0[static-libs(+)] )
smartcard? ( dev-libs/nss !app-emulation/libcacard )
snappy? ( app-arch/snappy[static-libs(+)] )
spice? (
>=app-emulation/spice-protocol-0.12.3
>=app-emulation/spice-0.12.0[static-libs(+)]
)
ssh? ( >=net-libs/libssh2-1.2.8[static-libs(+)] )
tls? ( net-libs/gnutls[static-libs(+)] )
usb? ( >=virtual/libusb-1-r2[static-libs(+)] )
usbredir? ( >=sys-apps/usbredir-0.6[static-libs(+)] )
uuid? ( >=sys-apps/util-linux-2.16.0[static-libs(+)] )
vde? ( net-misc/vde[static-libs(+)] )
virtfs? ( sys-libs/libcap )
xfs? ( sys-fs/xfsprogs[static-libs(+)] )"
USER_LIB_DEPEND="${COMMON_LIB_DEPEND}"
X86_FIRMWARE_DEPEND="
>=sys-firmware/ipxe-1.0.0_p20130624
pin-upstream-blobs? (
~sys-firmware/seabios-1.8.2
~sys-firmware/sgabios-0.1_pre8
~sys-firmware/vgabios-0.7a
)
!pin-upstream-blobs? (
sys-firmware/seabios
sys-firmware/sgabios
sys-firmware/vgabios
)"
CDEPEND="
!static-softmmu? ( $(printf "%s? ( ${SOFTMMU_LIB_DEPEND//\[static-libs(+)]} ) " ${use_softmmu_targets}) )
!static-user? ( $(printf "%s? ( ${USER_LIB_DEPEND//\[static-libs(+)]} ) " ${use_user_targets}) )
qemu_softmmu_targets_i386? ( ${X86_FIRMWARE_DEPEND} )
qemu_softmmu_targets_x86_64? ( ${X86_FIRMWARE_DEPEND} )
python? ( ${PYTHON_DEPS} )
systemtap? ( dev-util/systemtap )
xen? ( app-emulation/xen-tools:= )"
DEPEND="${CDEPEND}
dev-lang/perl
=dev-lang/python-2*
sys-apps/texinfo
virtual/pkgconfig
kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 )
gtk? ( nls? ( sys-devel/gettext ) )
static-softmmu? ( $(printf "%s? ( ${SOFTMMU_LIB_DEPEND} ) " ${use_softmmu_targets}) )
static-user? ( $(printf "%s? ( ${USER_LIB_DEPEND} ) " ${use_user_targets}) )
test? (
dev-libs/glib[utils]
sys-devel/bc
)"
RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-qemu )
"
STRIP_MASK="/usr/share/qemu/palcode-clipper"
QA_PREBUILT="
usr/share/qemu/openbios-ppc
usr/share/qemu/openbios-sparc64
usr/share/qemu/openbios-sparc32
usr/share/qemu/palcode-clipper
usr/share/qemu/s390-ccw.img
usr/share/qemu/u-boot.e500
"
QA_WX_LOAD="usr/bin/qemu-i386
usr/bin/qemu-x86_64
usr/bin/qemu-alpha
usr/bin/qemu-arm
usr/bin/qemu-cris
usr/bin/qemu-m68k
usr/bin/qemu-microblaze
usr/bin/qemu-microblazeel
usr/bin/qemu-mips
usr/bin/qemu-mipsel
usr/bin/qemu-or32
usr/bin/qemu-ppc
usr/bin/qemu-ppc64
usr/bin/qemu-ppc64abi32
usr/bin/qemu-sh4
usr/bin/qemu-sh4eb
usr/bin/qemu-sparc
usr/bin/qemu-sparc64
usr/bin/qemu-armeb
usr/bin/qemu-sparc32plus
usr/bin/qemu-s390x
usr/bin/qemu-unicore32"
DOC_CONTENTS="If you don't have kvm compiled into the kernel, make sure
you have the kernel module loaded before running kvm. The easiest way to
ensure that the kernel module is loaded is to load it on boot.\n
For AMD CPUs the module is called 'kvm-amd'\n
For Intel CPUs the module is called 'kvm-intel'\n
Please review /etc/conf.d/modules for how to load these\n\n
Make sure your user is in the 'kvm' group\n
Just run 'gpasswd -a <USER> kvm', then have <USER> re-login."
qemu_support_kvm() {
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386 \
use qemu_softmmu_targets_ppc || use qemu_softmmu_targets_ppc64 \
use qemu_softmmu_targets_s390x; then
return 0
fi
return 1
}
pkg_pretend() {
if use kernel_linux && kernel_is lt 2 6 25; then
eerror "This version of KVM requres a host kernel of 2.6.25 or higher."
elif use kernel_linux; then
if ! linux_config_exists; then
eerror "Unable to check your kernel for KVM support"
else
CONFIG_CHECK="~KVM ~TUN ~BRIDGE"
ERROR_KVM="You must enable KVM in your kernel to continue"
ERROR_KVM_AMD="If you have an AMD CPU, you must enable KVM_AMD in"
ERROR_KVM_AMD+=" your kernel configuration."
ERROR_KVM_INTEL="If you have an Intel CPU, you must enable"
ERROR_KVM_INTEL+=" KVM_INTEL in your kernel configuration."
ERROR_TUN="You will need the Universal TUN/TAP driver compiled"
ERROR_TUN+=" into your kernel or loaded as a module to use the"
ERROR_TUN+=" virtual network device if using -net tap."
ERROR_BRIDGE="You will also need support for 802.1d"
ERROR_BRIDGE+=" Ethernet Bridging for some network configurations."
use vhost-net && CONFIG_CHECK+=" ~VHOST_NET"
ERROR_VHOST_NET="You must enable VHOST_NET to have vhost-net"
ERROR_VHOST_NET+=" support"
if use amd64 || use x86 || use amd64-linux || use x86-linux; then
CONFIG_CHECK+=" ~KVM_AMD ~KVM_INTEL"
fi
use python && CONFIG_CHECK+=" ~DEBUG_FS"
ERROR_DEBUG_FS="debugFS support required for kvm_stat"
# Now do the actual checks setup above
check_extra_config
fi
fi
if grep -qs '/usr/bin/qemu-kvm' "${EROOT}"/etc/libvirt/qemu/*.xml; then
eerror "The kvm/qemu-kvm wrappers no longer exist, but your libvirt"
eerror "instances are still pointing to it. Please update your"
eerror "configs in /etc/libvirt/qemu/ to use the -enable-kvm flag"
eerror "and the right system binary (e.g. qemu-system-x86_64)."
die "update your virt configs to not use qemu-kvm"
fi
}
pkg_setup() {
enewgroup kvm 78
}
# Sanity check to make sure target lists are kept up-to-date.
check_targets() {
local var=$1 mak=$2
local detected sorted
pushd "${S}"/default-configs >/dev/null || die
# Force C locale until glibc is updated. #564936
detected=$(echo $(printf '%s\n' *-${mak}.mak | sed "s:-${mak}.mak::" | LC_COLLATE=C sort -u))
sorted=$(echo $(printf '%s\n' ${!var} | LC_COLLATE=C sort -u))
if [[ ${sorted} != "${detected}" ]] ; then
eerror "The ebuild needs to be kept in sync."
eerror "${var}: ${sorted}"
eerror "$(printf '%-*s' ${#var} configure): ${detected}"
die "sync ${var} to the list of targets"
fi
popd >/dev/null
}
src_prepare() {
check_targets IUSE_SOFTMMU_TARGETS softmmu
check_targets IUSE_USER_TARGETS linux-user
# Alter target makefiles to accept CFLAGS set via flag-o
sed -i -r \
-e 's/^(C|OP_C|HELPER_C)FLAGS=/\1FLAGS+=/' \
Makefile Makefile.target || die
# Cheap hack to disable gettext .mo generation.
use nls || rm -f po/*.po
epatch "${FILESDIR}"/qemu-1.7.0-cflags.patch
epatch "${FILESDIR}"/${PN}-2.4.0-block-mirror-crash.patch #558396
epatch "${FILESDIR}"/${PN}-2.4.0-CVE-2015-7295-{1,2,3}.patch #560760
epatch "${FILESDIR}"/${PN}-2.4.0-CVE-2015-6855.patch #560422
[[ -n ${BACKPORTS} ]] && \
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
epatch
# MIPS specific fixes. Bug #563162
for x in "${FILESDIR}"/${PN}-2.4-mips-*; do
epatch "${x}"
done
# Fix ld and objcopy being called directly
tc-export AR LD OBJCOPY
# Verbose builds
MAKEOPTS+=" V=1"
epatch_user
}
##
# configures qemu based on the build directory and the build type
# we are using.
#
qemu_src_configure() {
debug-print-function ${FUNCNAME} "$@"
local buildtype=$1
local builddir="${S}/${buildtype}-build"
local static_flag="static-${buildtype}"
mkdir "${builddir}"
local conf_opts=(
--prefix=/usr
--sysconfdir=/etc
--libdir=/usr/$(get_libdir)
--docdir=/usr/share/doc/${PF}/html
--disable-bsd-user
--disable-guest-agent
--disable-strip
--disable-werror
--python="${PYTHON}"
--cc="$(tc-getCC)"
--cxx="$(tc-getCXX)"
--host-cc="$(tc-getBUILD_CC)"
$(use_enable debug debug-info)
$(use_enable debug debug-tcg)
--enable-docs
$(use_enable tci tcg-interpreter)
$(use_enable xattr attr)
)
# Disable options not used by user targets as the default configure
# options will autoprobe and try to link in a bunch of unused junk.
conf_softmmu() {
if [[ ${buildtype} == "user" ]] ; then
echo "--disable-${2:-$1}"
else
use_enable "$@"
fi
}
conf_opts+=(
$(conf_softmmu accessibility brlapi)
$(conf_softmmu aio linux-aio)
$(conf_softmmu bluetooth bluez)
$(conf_softmmu caps cap-ng)
$(conf_softmmu curl)
$(conf_softmmu fdt)
$(conf_softmmu glusterfs)
$(conf_softmmu gtk)
$(conf_softmmu infiniband rdma)
$(conf_softmmu iscsi libiscsi)
$(conf_softmmu jpeg vnc-jpeg)
$(conf_softmmu kernel_linux kvm)
$(conf_softmmu lzo)
$(conf_softmmu ncurses curses)
$(conf_softmmu nfs libnfs)
$(conf_softmmu numa)
$(conf_softmmu opengl)
$(conf_softmmu png vnc-png)
$(conf_softmmu rbd)
$(conf_softmmu sasl vnc-sasl)
$(conf_softmmu sdl)
$(conf_softmmu seccomp)
$(conf_softmmu smartcard smartcard-nss)
$(conf_softmmu snappy)
$(conf_softmmu spice)
$(conf_softmmu ssh libssh2)
$(conf_softmmu tls vnc-tls)
$(conf_softmmu usb libusb)
$(conf_softmmu usbredir usb-redir)
$(conf_softmmu uuid)
$(conf_softmmu vde)
$(conf_softmmu vhost-net)
$(conf_softmmu virtfs)
$(conf_softmmu vnc)
$(conf_softmmu vte)
$(conf_softmmu xen)
$(conf_softmmu xen xen-pci-passthrough)
$(conf_softmmu xfs xfsctl)
)
case ${buildtype} in
user)
conf_opts+=(
--enable-linux-user
--disable-system
--disable-blobs
--disable-tools
)
;;
softmmu)
# audio options
local audio_opts="oss"
use alsa && audio_opts="alsa,${audio_opts}"
use sdl && audio_opts="sdl,${audio_opts}"
use pulseaudio && audio_opts="pa,${audio_opts}"
conf_opts+=(
--disable-linux-user
--enable-system
--with-system-pixman
--audio-drv-list="${audio_opts}"
)
use gtk && conf_opts+=( --with-gtkabi=$(usex gtk2 2.0 3.0) )
use sdl && conf_opts+=( --with-sdlabi=$(usex sdl2 2.0 1.2) )
;;
tools)
conf_opts+=(
--disable-linux-user
--disable-system
--disable-blobs
)
static_flag="static"
;;
esac
local targets="${buildtype}_targets"
[[ -n ${targets} ]] && conf_opts+=( --target-list="${!targets}" )
# Add support for SystemTAP
use systemtap && conf_opts+=( --enable-trace-backend=dtrace )
# We always want to attempt to build with PIE support as it results
# in a more secure binary. But it doesn't work with static or if
# the current GCC doesn't have PIE support.
if use ${static_flag}; then
conf_opts+=( --static --disable-pie )
else
gcc-specs-pie && conf_opts+=( --enable-pie )
fi
echo "../configure ${conf_opts[*]}"
cd "${builddir}"
../configure "${conf_opts[@]}" || die "configure failed"
# FreeBSD's kernel does not support QEMU assigning/grabbing
# host USB devices yet
use kernel_FreeBSD && \
sed -i -E -e "s|^(HOST_USB=)bsd|\1stub|" "${S}"/config-host.mak
}
src_configure() {
local target
python_setup
softmmu_targets= softmmu_bins=()
user_targets= user_bins=()
for target in ${IUSE_SOFTMMU_TARGETS} ; do
if use "qemu_softmmu_targets_${target}"; then
softmmu_targets+=",${target}-softmmu"
softmmu_bins+=( "qemu-system-${target}" )
fi
done
for target in ${IUSE_USER_TARGETS} ; do
if use "qemu_user_targets_${target}"; then
user_targets+=",${target}-linux-user"
user_bins+=( "qemu-${target}" )
fi
done
softmmu_targets=${softmmu_targets#,}
user_targets=${user_targets#,}
[[ -n ${softmmu_targets} ]] && qemu_src_configure "softmmu"
[[ -n ${user_targets} ]] && qemu_src_configure "user"
[[ -z ${softmmu_targets}${user_targets} ]] && qemu_src_configure "tools"
}
src_compile() {
if [[ -n ${user_targets} ]]; then
cd "${S}/user-build"
default
fi
if [[ -n ${softmmu_targets} ]]; then
cd "${S}/softmmu-build"
default
fi
if [[ -z ${softmmu_targets}${user_targets} ]]; then
cd "${S}/tools-build"
default
fi
}
src_test() {
if [[ -n ${softmmu_targets} ]]; then
cd "${S}/softmmu-build"
pax-mark m */qemu-system-* #515550
emake -j1 check
emake -j1 check-report.html
fi
}
qemu_python_install() {
python_domodule "${S}/scripts/qmp/qmp.py"
python_doscript "${S}/scripts/kvm/kvm_stat"
python_doscript "${S}/scripts/kvm/vmxcap"
python_doscript "${S}/scripts/qmp/qmp-shell"
python_doscript "${S}/scripts/qmp/qemu-ga-client"
}
src_install() {
if [[ -n ${user_targets} ]]; then
cd "${S}/user-build"
emake DESTDIR="${ED}" install
# Install binfmt handler init script for user targets
newinitd "${FILESDIR}/qemu-binfmt.initd-r1" qemu-binfmt
fi
if [[ -n ${softmmu_targets} ]]; then
cd "${S}/softmmu-build"
emake DESTDIR="${ED}" install
# This might not exist if the test failed. #512010
[[ -e check-report.html ]] && dohtml check-report.html
if use kernel_linux; then
udev_dorules "${FILESDIR}"/65-kvm.rules
fi
if use python; then
python_foreach_impl qemu_python_install
fi
fi
if [[ -z ${softmmu_targets}${user_targets} ]]; then
cd "${S}/tools-build"
emake DESTDIR="${ED}" install
fi
# Disable mprotect on the qemu binaries as they use JITs to be fast #459348
pushd "${ED}"/usr/bin >/dev/null
pax-mark m "${softmmu_bins[@]}" "${user_bins[@]}"
popd >/dev/null
# Install config file example for qemu-bridge-helper
insinto "/etc/qemu"
doins "${FILESDIR}/bridge.conf"
# Remove the docdir placed qmp-commands.txt
mv "${ED}/usr/share/doc/${PF}/html/qmp-commands.txt" "${S}/docs/qmp/"
cd "${S}"
dodoc Changelog MAINTAINERS docs/specs/pci-ids.txt
newdoc pc-bios/README README.pc-bios
dodoc docs/qmp/*.txt
if [[ -n ${softmmu_targets} ]]; then
# Remove SeaBIOS since we're using the SeaBIOS packaged one
rm "${ED}/usr/share/qemu/bios.bin"
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
dosym ../seabios/bios.bin /usr/share/qemu/bios.bin
fi
# Remove vgabios since we're using the vgabios packaged one
rm "${ED}/usr/share/qemu/vgabios.bin"
rm "${ED}/usr/share/qemu/vgabios-cirrus.bin"
rm "${ED}/usr/share/qemu/vgabios-qxl.bin"
rm "${ED}/usr/share/qemu/vgabios-stdvga.bin"
rm "${ED}/usr/share/qemu/vgabios-vmware.bin"
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
dosym ../vgabios/vgabios.bin /usr/share/qemu/vgabios.bin
dosym ../vgabios/vgabios-cirrus.bin /usr/share/qemu/vgabios-cirrus.bin
dosym ../vgabios/vgabios-qxl.bin /usr/share/qemu/vgabios-qxl.bin
dosym ../vgabios/vgabios-stdvga.bin /usr/share/qemu/vgabios-stdvga.bin
dosym ../vgabios/vgabios-vmware.bin /usr/share/qemu/vgabios-vmware.bin
fi
# Remove sgabios since we're using the sgabios packaged one
rm "${ED}/usr/share/qemu/sgabios.bin"
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
dosym ../sgabios/sgabios.bin /usr/share/qemu/sgabios.bin
fi
# Remove iPXE since we're using the iPXE packaged one
rm "${ED}"/usr/share/qemu/pxe-*.rom
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
dosym ../ipxe/8086100e.rom /usr/share/qemu/pxe-e1000.rom
dosym ../ipxe/80861209.rom /usr/share/qemu/pxe-eepro100.rom
dosym ../ipxe/10500940.rom /usr/share/qemu/pxe-ne2k_pci.rom
dosym ../ipxe/10222000.rom /usr/share/qemu/pxe-pcnet.rom
dosym ../ipxe/10ec8139.rom /usr/share/qemu/pxe-rtl8139.rom
dosym ../ipxe/1af41000.rom /usr/share/qemu/pxe-virtio.rom
fi
fi
qemu_support_kvm && readme.gentoo_create_doc
}
pkg_postinst() {
if qemu_support_kvm; then
readme.gentoo_print_elog
fi
if [[ -n ${softmmu_targets} ]] && use kernel_linux; then
udev_reload
fi
fcaps cap_net_admin /usr/libexec/qemu-bridge-helper
}
pkg_info() {
echo "Using:"
echo " $(best_version app-emulation/spice-protocol)"
echo " $(best_version sys-firmware/ipxe)"
echo " $(best_version sys-firmware/seabios)"
if has_version 'sys-firmware/seabios[binary]'; then
echo " USE=binary"
else
echo " USE=''"
fi
echo " $(best_version sys-firmware/vgabios)"
}

@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/vice-emu/releases/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
KEYWORDS="amd64 ~ppc ~sparc ~x86"
IUSE="Xaw3d alsa ethernet ffmpeg fullscreen +gtk ipv6 lame nls oss png pulseaudio sdl +sdlsound threads vte zlib"
# upstream says gtk3 and sdl2 shouldn't be exposed yet.

@ -14,7 +14,7 @@ if [[ $PV == *9999 ]]; then
EGIT_REPO_URI="git://xenbits.xen.org/${PN}.git"
live_eclass="git-2"
else
KEYWORDS="~amd64 ~arm ~arm64 -x86"
KEYWORDS="amd64 ~arm ~arm64 -x86"
UPSTREAM_VER=
SECURITY_VER=0
SEC_VER=1

@ -11,7 +11,7 @@ SRC_URI="http://bonobo.gnome.gr.jp/~nakai/immodule/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
IUSE=""
RDEPEND="

@ -9,7 +9,7 @@ MY_PN="${PN%-stylesheets}"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="XSL Stylesheets for Docbook"
HOMEPAGE="http://wiki.docbook.org/topic/DocBookXslStylesheets"
HOMEPAGE="http://wiki.docbook.org/DocBookXslStylesheets"
SRC_URI="mirror://sourceforge/docbook/${MY_P}.tar.bz2"
LICENSE="BSD"

@ -9,12 +9,12 @@ MY_PN="${PN%-stylesheets}"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="XSL Stylesheets for Docbook"
HOMEPAGE="http://wiki.docbook.org/topic/DocBookXslStylesheets"
HOMEPAGE="http://wiki.docbook.org/DocBookXslStylesheets"
SRC_URI="mirror://sourceforge/docbook/${MY_P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
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 ~ia64-hpux ~x86-interix ~amd64-linux ~arm-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 ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="ruby"
RDEPEND=">=app-text/build-docbook-catalog-1.1

@ -137,13 +137,6 @@ multilib_src_test() {
retstatus_unit=$?
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
# Create a symlink to provided binaries so the tests can find them when client-libs is off
if ! use client-libs ; then
ln -srf /usr/bin/my_print_defaults "${BUILD_DIR}/client/my_print_defaults" || die
ln -srf /usr/bin/perror "${BUILD_DIR}/client/perror" || die
mysql-multilib-r1_disable_test main.perror "String mismatch due to not building local perror"
fi
# Ensure that parallel runs don't die
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
# Enable parallel testing, auto will try to detect number of cores

@ -74,13 +74,6 @@ multilib_src_test() {
retstatus_unit=$?
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
# Create a symlink to provided binaries so the tests can find them when client-libs is off
if ! use client-libs ; then
ln -srf /usr/bin/my_print_defaults "${BUILD_DIR}/client/my_print_defaults" || die
ln -srf /usr/bin/perror "${BUILD_DIR}/client/perror" || die
mysql-multilib_disable_test main.perror "String mismatch due to not building local perror"
fi
# Ensure that parallel runs don't die
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
# Enable parallel testing, auto will try to detect number of cores

@ -96,13 +96,6 @@ multilib_src_test() {
# create directories because mysqladmin might right out of order
mkdir -p "${T}"/var-tests{,/log}
# Create a symlink to provided binaries so the tests can find them when client-libs is off
if ! use client-libs ; then
ln -srf /usr/bin/my_print_defaults "${BUILD_DIR}/client/my_print_defaults" || die
ln -srf /usr/bin/perror "${BUILD_DIR}/client/perror" || die
mysql-multilib_disable_test main.perror "String mismatch due to not building local perror"
fi
# These are failing in Percona 5.6 for now and are believed to be
# false positives:
#

@ -20,7 +20,7 @@ SRC_URI="doc? ( http://sqlite.org/2015/${PN}-doc-${DOC_PV}.zip )
LICENSE="public-domain"
SLOT="3"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-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 ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="debug doc icu +readline secure-delete static-libs tcl test tools"
RDEPEND="icu? ( dev-libs/icu:0=[${MULTILIB_USEDEP}] )

@ -18,7 +18,7 @@ SRC_URI="
"
LICENSE="LGPL-2.1 utils? ( GPL-2 )"
SLOT="3"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux"
IUSE="static-libs python utils"
RDEPEND="python? ( ${PYTHON_DEPS} )

@ -0,0 +1,17 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
MODULE_AUTHOR=LEONT
MODULE_VERSION=0.008
inherit perl-module
DESCRIPTION="A simple, sane and efficient module to slurp a file"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE=""
SRC_TEST="do"

@ -0,0 +1 @@
DIST File-Slurper-0.008.tar.gz 14760 SHA256 10f685140e2cebdd0381f24b010b028f9ca2574361a78f99f4dfe87af5d5d233 SHA512 b0d82e18f8d954bf7458df31a70bc2eb979902742ba0f60f948aec6c86880580a544a00409be754a7690c07318298f31d52502e41c40a7c7b232ad86eae9b155 WHIRLPOOL e48a2bbfc152b1dc273d6ce6238bcdbf655df215ab940568e828f0ba1814550091aabb2967f4cdfc5f49e16ae8b16fe7a1a0d6c0095741c612cad1d17d38f15b

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>perl</herd>
<maintainer>
<email>monsieurp@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="cpan">File-Slurper</remote-id>
<remote-id type="cpan-module">File::Slurper</remote-id>
</upstream>
</pkgmetadata>

@ -1 +1,2 @@
DIST Math-BigInt-GMP-1.38.tar.gz 55585 SHA256 1ad0cac911a08f150c5e5a8286aec20de21c863bd27b8f002456cff11e086f15 SHA512 e33abe8c3b939e559be4e3ec61ce77a6fb3da6451ea88cb22fd4785cfebc816024e957ad02e81b43ee982346e0e444630ee5d93a87a02182a765374d1a694222 WHIRLPOOL 15c9d6fedd1f14401171b66a6094ef092ebf7ba991bbf82827da1d8973beed37adae4d0ba85e2aed0db9f5ec6f4bc4e12c1ed143645492ccf2b13b551e3f9922
DIST Math-BigInt-GMP-1.46.tar.gz 58150 SHA256 414a0c22d195ebc426fed535cf8dc6a3ca2de9da270c828c313c018ab5335772 SHA512 4b8426d82e28fbd4d827f58f49540f0cc1d6c95b0ce5cdf9cd7c5c797b9f7777d534df57950d2f29dd5640b947005071a8f6c7d1235657710113e9e323444876 WHIRLPOOL 5b62bcffbd788ea8e97672c48e6e241e7f2a4ae52c60d9f58ceec973b6b39bccbb33367f841106be8f80f5336998568433534984a7e11ef3df1f99f7f8981e58

@ -0,0 +1,27 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
MODULE_AUTHOR=PJACKLAM
MODULE_VERSION=1.46
inherit perl-module
DESCRIPTION="Use the GMP library for Math::BigInt routines"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
IUSE=""
RDEPEND=">=virtual/perl-Math-BigInt-1.999.300
>=dev-libs/gmp-4.0.0"
DEPEND="${RDEPEND}"
PERL_RM_FILES=(
t/bigfltpm.t
t/bigintpm.t
t/biglog.t
)
SRC_TEST="do"

@ -1 +1 @@
DIST Math-Random-MT-1.16.tar.gz 11138 SHA256 3c13cfd605e6610985c5475d6fa4f55533c205d897d6d18a9f56f5f9cc3c8aca SHA512 ad2019c847aade876dce0e0c4f309dad39a6b2be18023bfdb5c481b8042230639877c27c01c4f63226d43125e429e616632f38c4d542868bfc55e741dc7ef6ab WHIRLPOOL be0a35ebe6a440511f864d58fe596f656d2b7c71269a261ec631553a4a53388919573a5a5bd26feed7a3d4a9305271e170110d097d0005ffe38ae9f33eae0a24
DIST Math-Random-MT-1.17.tar.gz 11999 SHA256 069a1d98a619cba1f1ab91fbd6edceb642e84e7d162c4f0e2442139037b5b0da SHA512 46150ae8d1b7a0e24a2d962bb34c4075d9370ab3fe1237a0b44e506f22699bf1674a8299d1c4b708b441d45a29ca1943d0beeb9759c5c832df288d490f1ac889 WHIRLPOOL b484ca74d7072f6b4c9a57c5f3abfb5bb5068264251548224117467f0a3b435eee9e6b66a1db7665d1af4638077debbe30d8ab8ccf3053bf44b5a1b4b39cc587

@ -1,11 +1,11 @@
# Copyright 1999-2014 Gentoo Foundation
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
MODULE_AUTHOR=FANGLY
MODULE_VERSION=1.16
MODULE_VERSION=1.17
inherit perl-module
DESCRIPTION="The Mersenne Twister PRNG"

@ -1,2 +1,3 @@
DIST Pod-POM-0.28.tar.gz 76105 SHA256 381686661dc02d880e8c64425dcf8ced18e1cb98223d4288f00e3d21e4c4641e SHA512 d154509505eadb019994fa52d8013ead0eea8f1304330923a2093980478ad113c72fd0da0a26829ab752234d884d2bda16cbc7ddc17975852e3a86dd496b177f WHIRLPOOL 7bcef31086fec7104596045f13c5e64a15305c3201ad976a8c5cffe91e968705b89e12bcda4a318f4f83edbc502bb073f34467547e11db758de8cbda130f2cc2
DIST Pod-POM-0.29.tar.gz 74337 SHA256 5f7632b04d911ae37136709d6554f9cfccba8b86d308a7708b3068536e9873d5 SHA512 7847507d1fb5589c8f48b080862c25264d08de60ae46d6bf23ba9daf0ecedf983c7beb223c64403add88db5ac72056c2d8b7aaf87aec54438d6730d77b8c7741 WHIRLPOOL 978dd276c422f87d46cbba4a60ee9b2bbb0cc2d650aad91004b0e9dddd3ba4bf292bee17df56cdd6ce85f8e443344120ad37407a9e960b02a74feab6321d3a38
DIST Pod-POM-2.01.tar.gz 65443 SHA256 1b50fba9bbdde3ead192beeba0eaddd0c614e3afb1743fa6fff805f57c56f7f4 SHA512 617b1c15dbaee7dfd53f7b158c08e34c38763b11fbdbe44d3a1c65bfca15b44d6d1b19b6a59360dd62a7d9e703498e76237350fb57040f39837f8190fbdbd7b0 WHIRLPOOL b46d5086334250fd629b6f375579f43149e8e9e873e9ca97175267082794fa006ead7d26ab5f2fbc0ac8f42a221677d8d2167bbce0b554a2650de80d3043fce5

@ -0,0 +1,25 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
MODULE_AUTHOR=NEILB
MODULE_VERSION=2.01
inherit perl-module
DESCRIPTION="POD Object Model"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="virtual/perl-parent"
DEPEND="
test? (
>=dev-perl/yaml-0.67
dev-perl/File-Slurper
dev-perl/Test-Differences
)"
SRC_TEST=do

@ -10,7 +10,7 @@ DESCRIPTION="Provides classes to deal with creation and manipulation of mime mes
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE=""
DEPEND=">=dev-lang/php-5.0:*"

@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc test"
CDEPEND=">=dev-python/pbr-1.8[${PYTHON_USEDEP}]"

@ -22,7 +22,7 @@ SRC_URI="https://github.com/masa16/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Ruby"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~mips ~ppc ~ppc64 ~x86"
KEYWORDS="amd64 ~hppa ~mips ~ppc ~ppc64 ~x86"
IUSE=""

@ -15,7 +15,7 @@ DESCRIPTION="A pkg-config implementation by Ruby"
HOMEPAGE="https://github.com/rcairo/pkg-config"
LICENSE="|| ( LGPL-2 LGPL-2.1 LGPL-3 )"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
SLOT="0"
IUSE="test"

@ -18,7 +18,7 @@ HOMEPAGE="https://github.com/rdoc/rdoc/"
LICENSE="Ruby MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
ruby_add_bdepend "

@ -20,7 +20,7 @@ RUBY_S="$MY_P"/bindings/ruby
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~s390 ~sh ~x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos ~x86-solaris"
KEYWORDS="amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~s390 ~sh ~x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos ~x86-solaris"
IUSE="graph test"
REQUIRED_USE="test? ( graph )"

@ -15,7 +15,7 @@ DESCRIPTION="A Ruby interface to some LDAP libraries"
HOMEPAGE="http://ruby-ldap.sourceforge.net/"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-macos"
KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-macos"
IUSE="ssl"
DEPEND=">=net-nds/openldap-2
dev-libs/cyrus-sasl

@ -23,7 +23,7 @@ HOMEPAGE="https://github.com/larskanis/opengl"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
KEYWORDS="amd64 ~hppa ~ppc ~ppc64 ~x86"
IUSE=""

@ -16,7 +16,7 @@ SRC_URI="https://github.com/openid/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~x86-macos"
KEYWORDS="amd64 ~ppc ~x86 ~x86-macos"
IUSE="test"
all_ruby_prepare() {

@ -510,7 +510,7 @@ multilib_src_compile() {
}
# @FUNCTION: mysql-multilib_src_install
# @FUNCTION: mysql-multilib-r1_src_install
# @DESCRIPTION:
# Install mysql.
mysql-multilib-r1_src_install() {
@ -621,8 +621,9 @@ multilib_src_install() {
fi
}
# @FUNCTION: mysql-multilib_pkg_preinst
# @FUNCTION: mysql-multilib-r1_pkg_preinst
# @DESCRIPTION:
# Warn about ABI changes when switching providers
mysql-multilib-r1_pkg_preinst() {
debug-print-function ${FUNCNAME} "$@"
@ -739,7 +740,7 @@ mysql-multilib-r1_getoptval() {
"${mypd}" $extra_options $section | sed -n "/^${flag}/s,${flag},,gp"
}
# @FUNCTION: mysql-multilib_pkg_config
# @FUNCTION: mysql-multilib-r1_pkg_config
# @DESCRIPTION:
# Configure mysql environment.
mysql-multilib-r1_pkg_config() {

@ -11,7 +11,7 @@ SRC_URI="https://launchpad.net/stratagus/trunk/2.3/+download/stratagus_${PV}.ori
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 ~x86"
IUSE="bzip2 debug doc fluidsynth mikmod mng theora vorbis"
RDEPEND="dev-db/sqlite:3

@ -12,7 +12,7 @@ SRC_URI="http://bundles.openttdcoop.org/nml/releases/${PV}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~x86"
KEYWORDS="amd64 ~arm ~ppc ~x86"
RDEPEND="dev-python/pillow[zlib,${PYTHON_USEDEP}]
dev-python/ply[${PYTHON_USEDEP}]"

@ -0,0 +1,23 @@
From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
Date: Sun, 13 Dec 2015 09:20:24 +0000
Subject: Fix configure with >=cmake-3.4
X-Git-Url: http://quickgit.kde.org/?p=kdepim.git&a=commitdiff&h=91275a772e51a4031b8f34bc83652b5e60478624
---
Fix configure with >=cmake-3.4
REVIEW: 126334
---
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,6 +3,8 @@
# where to look first for cmake modules. This line must be the first one or cmake will use the system's FindFoo.cmake
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules")
+
+include(CheckIncludeFiles)
############### Build Options ###############

@ -74,6 +74,8 @@ KMEXTRA="
KMLOADLIBS="kdepim-common-libs"
PATCHES=( "${FILESDIR}/kdepim-4.14.10-fix-cmake-3.4.patch" )
src_configure() {
# Bug 308903
use ppc64 && append-flags -mminimal-toc

@ -0,0 +1,23 @@
From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
Date: Sun, 13 Dec 2015 09:20:24 +0000
Subject: Fix configure with >=cmake-3.4
X-Git-Url: http://quickgit.kde.org/?p=kdepim.git&a=commitdiff&h=91275a772e51a4031b8f34bc83652b5e60478624
---
Fix configure with >=cmake-3.4
REVIEW: 126334
---
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,6 +3,8 @@
# where to look first for cmake modules. This line must be the first one or cmake will use the system's FindFoo.cmake
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules")
+
+include(CheckIncludeFiles)
############### Build Options ###############

@ -46,3 +46,5 @@ KMEXTRACTONLY="
"
KMLOADLIBS="kdepim-common-libs"
PATCHES=( "${FILESDIR}/kdepim-4.14.10-fix-cmake-3.4.patch" )

@ -0,0 +1,23 @@
From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
Date: Sun, 13 Dec 2015 09:20:24 +0000
Subject: Fix configure with >=cmake-3.4
X-Git-Url: http://quickgit.kde.org/?p=kdepim.git&a=commitdiff&h=91275a772e51a4031b8f34bc83652b5e60478624
---
Fix configure with >=cmake-3.4
REVIEW: 126334
---
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,6 +3,8 @@
# where to look first for cmake modules. This line must be the first one or cmake will use the system's FindFoo.cmake
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules")
+
+include(CheckIncludeFiles)
############### Build Options ###############

@ -68,6 +68,8 @@ src_unpack() {
}
src_prepare() {
epatch "${FILESDIR}/kdepim-4.14.10-fix-cmake-3.4.patch"
use handbook && epatch "${FILESDIR}/${PN}-4.14.10-handbook.patch"
kde4-meta_src_prepare
@ -76,8 +78,8 @@ src_prepare() {
src_install() {
kde4-meta_src_install
# colliding with kdepim-common-libs
rm -rf "${ED}"/usr/share/kde4/servicetypes/calendarplugin.desktop
rm -rf "${ED}"/usr/share/kde4/servicetypes/calendardecoration.desktop
rm -rf "${ED}"usr/share/kde4/servicetypes/calendarplugin.desktop || die
rm -rf "${ED}"usr/share/kde4/servicetypes/calendardecoration.desktop || die
}
pkg_postinst() {

@ -1,2 +1,3 @@
DIST attica-5.15.0.tar.xz 60476 SHA256 94c928b84a82c44c1331a1b4d585e894524c4a023f90e1906eaf5441d955ad3d SHA512 4cc05218c73f51557a9bbb1c74b401fcb9893ab4e853a5f88f618cc7a503ea845ecf4f04f8a57bcc75979dacaba172d719cb935f7879125a36f444f1c4a9dcf1 WHIRLPOOL 4c44226acd570a4a2c7fb3ab8bea578907cdf8ba6692a8939bac71c5180a23a03fcdaa18957d5076d769ce299a10f585290e870a00a7ee40f06113933529b794
DIST attica-5.16.0.tar.xz 60448 SHA256 bc24370e43061d6fb555a030f82c51cc907113b8420c4207a0fb6d9190bb699c SHA512 76ea353e3eb5995046085671a6dae2fd975798a51614dff7efc37df298993564d12cbdea5b37bacfccb0cfc035e1ac23be3ac8e44236b20b951a424bf54d638f WHIRLPOOL f19ec58a4bc8aa16fd5fa05b9326d5d569877c79d9dd00167903bc03407fba65bf120fdbdb4d37f51422bde503268b62010a5aaca9a9d3dc19b424795955a98e
DIST attica-5.17.0.tar.xz 60436 SHA256 ce1a004bb2814931acbc435778fa65524da5a029d6a212f450af8043ca41ae58 SHA512 685373bc10256c707498659604df149d678e9415443867cfd677f131d0d1ef916e5d6c8c203f4de5769dece41a32a7d774701dd18a019b24a5c3b36e0fb958fe WHIRLPOOL a359b029233f778442a21a51c85567193ad1f00f1f83de62be093570e9695be28ea482da9ff6ce3b0b6f2e627c0e74491d101850e7a6278faf9a952b0abc2570

@ -0,0 +1,17 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit kde5
DESCRIPTION="Framework providing access to Open Collaboration Services"
LICENSE="LGPL-2.1+"
KEYWORDS=" ~amd64 ~x86"
IUSE=""
RDEPEND="
dev-qt/qtnetwork:5
"
DEPEND="${RDEPEND}"

@ -1,2 +1,3 @@
DIST baloo-5.15.0.tar.xz 169400 SHA256 7fdd56331e7fbf939d18a20d706e9e1299f929ae79b55ddd531c51f825ed1c83 SHA512 d547b156abb286a0ee93b932d7d428ab62585205e73c6cea27f7cf40dcb7a04b1d75dc63c8d789f97874bec675c383dce9069d14ed2f0114cf6a95d421d4a41b WHIRLPOOL 02f60065f9d3900ed75301ec0543bd74fee20baaba620522331eb4cc68e6ab94c1f5e2bbc94f8d9e0638a5f71911726460a34c52f10f66025f249cccf99c99c0
DIST baloo-5.16.0.tar.xz 178032 SHA256 12d5671378ec8d6d6c34496adff6f8b4d1d814771d6af594d4074d35084e1469 SHA512 743525e6a8512846f76d400f72f451335ca9e96b10e24bc3e671b41ff2ef36ba363049cf1025c9e4a501073fe2cd97f7e3cae7dac17892a703061f72160ec687 WHIRLPOOL 64e5cb5d5350bdc2fce48252f669ce4bdafe0e33371ef754e4bab992d2ee9bca6f8c5dffe7fd341e95aa36dfcd5f00083efb6d663017dc5311b9d7b08d8d9770
DIST baloo-5.17.0.tar.xz 180460 SHA256 608a687d16daad7cbfac3f344a3bb11ba4c25cdb81e3cb7596f70e1393b1f305 SHA512 e7965a56f2dd817860bab451a93fba12fc253c47fdc1c93fde0b29c92d2430b9b0c9ec41f7ae4913a26ad664071bae5ca1d64e21edfbc8b1515d3712b7c53109 WHIRLPOOL b6fc6a40b50713dbfa7176f7ce657a53b3f21b1c6e730b6edcd8d781bfbf69a022329946cd710a405b5186e1ef60bd4affc09b08566daf2750c075f22ce4797d

@ -0,0 +1,32 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
KDE_TEST="forceoptional"
inherit kde5
DESCRIPTION="Framework for searching and managing metadata"
KEYWORDS=" ~amd64 ~x86"
IUSE=""
DEPEND="
$(add_frameworks_dep kconfig)
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep kcrash)
$(add_frameworks_dep kdbusaddons)
$(add_frameworks_dep kfilemetadata)
$(add_frameworks_dep ki18n)
$(add_frameworks_dep kidletime)
$(add_frameworks_dep kio)
$(add_frameworks_dep solid)
dev-db/lmdb
dev-qt/qtdbus:5
dev-qt/qtdeclarative:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
"
RDEPEND="${DEPEND}
!kde-base/baloo:4[-minimal(-)]
"

@ -1,2 +1,3 @@
DIST bluez-qt-5.15.0.tar.xz 73348 SHA256 aeb8af820c0980ec93350c727018549b1d603f01059e0d1ef0ae0ee9a2206296 SHA512 e642150c3c556aebc334f979a661400a2e84d508f7994c9403926a2fbbec67432cf92e194d5d60edd23c914f0da508bc5102a20d35cbebaa18c229ecf4e56194 WHIRLPOOL 4ef37ed032dc4bb6b6d13d8d1681d8c07f3e2e794fa79970dd128ffc3725e04fb61d3bb227fddcbb9f18f1bc76dfa85734fe9fbdd4cadbdc00e26ffab019e8cd
DIST bluez-qt-5.16.0.tar.xz 73320 SHA256 668e5a728cb541986dfcdf2e9cb40fff372bbfbfd7e49de0ad38463cc9e2b477 SHA512 417c94acd7bb3c3da6bd9a0142d32353676936270591e201d2f62055ba6683176f2a98e3ed6673c8d9aee5c3071890f48e50ecba3bbb1fb8d976d8b94aa84d40 WHIRLPOOL ae143740be10770b6a2825e5bc973a11f805fe32931be4b5dab17fa3a7e3e74c436114cb9a523de15d971171f0cc0a0e720f3b906088365325e44070711753c4
DIST bluez-qt-5.17.0.tar.xz 73300 SHA256 65ea5fd876abd4fcebe3a94840723ae139895fa603d2044c0f8f632af40306ca SHA512 f4d6ab97dc1fcc1c12ffa004bde94bea3c16315e61ac09b5b68d85802e14b295a54cfacb98e193bd2407beb1db3b10b772434f42dea87bdfedd77daa7d4fb207 WHIRLPOOL 2eac99f4c9a86e293854409b14ef1c5cbddea96bef4920db60fb1702dca587ef2e7664e3e30b84a7626908f26ac2583864eed5accfdf262d5b0df1a39572040e

@ -0,0 +1,29 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit kde5 udev
DESCRIPTION="Qt wrapper for Bluez 5 DBus API"
LICENSE="LGPL-2"
KEYWORDS=" ~amd64 ~x86"
IUSE=""
DEPEND="
dev-qt/qtdbus:5
dev-qt/qtdeclarative:5
dev-qt/qtnetwork:5
"
RDEPEND="${DEPEND}
!kde-plasma/bluez-qt
"
src_configure() {
local mycmakeargs=(
-DUDEV_RULES_INSTALL_DIR="$(get_udevdir)/rules.d"
)
kde5_src_configure
}

@ -1,2 +1,3 @@
DIST breeze-5.4.3.tar.xz 36568668 SHA256 fc89d5edcc8c3c13263d1b1759f0f8400ea79c76df0eeafcce91d462d4cf93fa SHA512 3c76d5ccf465c2392dd47a213c70111c3714edcb10f21ce3f44593c9c88feef4bc28b35ca40dc1ac96c62746f219b10c1af114c32163b58dc34c6181b1d57626 WHIRLPOOL ec2d05516929cedb416a905711d28f7bfa9f9aa9a394eb994177a9fdac72604708f041fc82ca499a893689c0768468cb88a91a1cea37f9d97748f2c61495fc39
DIST breeze-icons-5.16.0.tar.xz 1149892 SHA256 34fa10f374dc435d484102af124cadf687ff0f762b58a8273ad7dc6423b6bcee SHA512 47159c08524dcdea94e1728f4dbe2fb93b884c7dbe07c8bf2f5ccd07b61d8535b684ad09e27e099d545330d68bc9331852aab191092c77ce0393c6931906c917 WHIRLPOOL ddecf9741afbddb3a770a464498f73dfa17933ffd504f6224b98676625a8bfdf765071ceccd73a070777d9bac9b59a423902d35f68f1099bc54b990a7b393c32
DIST breeze-icons-5.17.0.tar.xz 1401160 SHA256 04e124a0371b9c67cec49e8a848f9af86c5999db9ce5bf0923fe217d6b091d88 SHA512 5ae21497c85cd24c9ba750fecf68ff5578fe715e976a31304489e32f1c5f1d37096fb6e9cee532d786777f7b7ef45bc72eafa1cc8e2d828b7a53cefdeaede2e0 WHIRLPOOL 7a6e8f323f48462b4d82a32fc84be290e44bfc8e9a10a95c25de32ef746897466fa44cdb2d7132dd1f4cfe95a4d54390c5166c40d5c19ad5002f1c7b6c7d7b8e

@ -0,0 +1,18 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
KDE_AUTODEPS="false"
KDE_DEBUG="false"
KDE_DOXYGEN="false"
inherit kde5
DESCRIPTION="Breeze SVG icon theme"
LICENSE="LGPL-3"
KEYWORDS=" ~amd64 ~x86"
IUSE=""
DEPEND="$(add_frameworks_dep extra-cmake-modules)"
RDEPEND="!<kde-plasma/breeze-5.4.3:5"

@ -1,2 +1,3 @@
DIST extra-cmake-modules-5.15.0.tar.xz 135160 SHA256 8f3d4adadfa835c627852ca4a84e8c6be3c9ee68865598a71616e4d0176b02bc SHA512 ba6035e79cc7e49e9d7a1c0ba5133881378275c8ba5f6bfd5beb093c03180501b94e2aee6f3289fbaf11e44ee7f4de9844beffd364a97ab97b6ac95dacb25423 WHIRLPOOL 69f43334006457fb17c53bd4431c61cad4705202ac326bade995678c20044528201257b754e3950327c97e1e683eca156c4c872d48af4a1df5ad33aed772181f
DIST extra-cmake-modules-5.16.0.tar.xz 136912 SHA256 09dec88b8ce75831aee9257e15b982b88dba7f89ad626005e4bae52957afae1b SHA512 b88426b7928d6d1007f08496377b0d9abaea6efd94cf5a768d1cd36d6f0482611059191688bd6878d80928c9eeddcb3d6f246c012df369c05fcc36521c3d8b27 WHIRLPOOL 7e40abb2080ddc48f238e87e2f49cb3d39f45932bcd3d6b142b0185139b6530f3c7dbe77b488776473ca21367bdec6bf55f2d1de02c9c8943254149e8f2984ca
DIST extra-cmake-modules-5.17.0.tar.xz 139764 SHA256 1a57fe0e07cca59e68bcbb4e06e07e62e335473173ce1e447bda399e47537405 SHA512 32ccac43dab86e3a4b9489db93d3ec2f5c4dcc27076de4b1c4c91c2848d610a40deffd66d7b977a7e893d38e7a4fe279b65b64b1cfd9b7fc6425cc500af0fa8b WHIRLPOOL 9962cac79045fce2090066834d453c963de1ece300cf8dd5c2228a190b4e47444ebb25e6eee698a14a626baae9d91d2632e61cd9f85c2ed79993b7ef7f5e0213

@ -0,0 +1,45 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
KDE_AUTODEPS="false"
KDE_DEBUG="false"
inherit kde5 python-any-r1
DESCRIPTION="Extra modules and scripts for CMake"
HOMEPAGE="https://projects.kde.org/projects/kdesupport/extra-cmake-modules"
LICENSE="BSD"
KEYWORDS=" ~amd64 ~arm ~arm64 ~x86"
IUSE="doc"
DEPEND="
>=dev-util/cmake-2.8.12
doc? (
${PYTHON_DEPS}
$(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]')
)
"
RDEPEND="
dev-qt/qtcore:5
"
python_check_deps() {
has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
}
pkg_setup() {
use doc && python-any-r1_pkg_setup
}
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_build doc HTML_DOCS)
$(cmake-utils_use_build doc MAN_DOCS)
)
cmake-utils_src_configure
}

@ -1,2 +1,3 @@
DIST frameworkintegration-5.15.0.tar.xz 1781464 SHA256 2a7a3d450c28d7f1ac19ddf02cb5e2badcd6903cf3981d82ce70bcd16d644a1b SHA512 7b526f2919f3fa2682a7b45c158b933c9e46a28467ac93c9fdd2a9266b6bee05157bb9dbb5f297a61e312381b9184440e3d935acc7de71c0475efd6f74bef44e WHIRLPOOL 654b5257ec6f5e013d2e1ef593b6e861fb3f81ee6c7f598cdb1d30ef4491a95e08a1b25135631a5d47c10ea5e05ad1ed4d42ff516b25d1f08a8988da26d097ba
DIST frameworkintegration-5.16.0.tar.xz 1782444 SHA256 ceb0f3e79497a99a88aea3154c0c50c376ce4e8efea18a9ff4e6de4a061bdb6f SHA512 524bb67a6d8b27523d572fc70000daa9a3b0932b35c94cc2517be6aa6e432ec44bde78801cc5bb0b1e0d4b2a10a3c5b5036e3c944eae0c43f74a48d3ba048a2e WHIRLPOOL 843b2cbbf1805f5e665bb20a903ff9add331ec5ebed0052db9ddf12830cebfa899b1f9f69fd125083a312935f90b88c3ac15cf86edf3d13c4bbc8c6257f562e8
DIST frameworkintegration-5.17.0.tar.xz 1782980 SHA256 743f94f359984b85f608b2f4f059b2daaa1f8dc90210431526677dcd0da60cb9 SHA512 869394a4ddbc2d842d5ea724c1fcd30ad63667f9f197a5cdc7aea5ca9901b2e11ebb3942e73cab9f6a66bc45bcd0186276e36e9d0662a7b2c0866a8946593cc1 WHIRLPOOL f3f8c116538e095d6e5aa9821b3e19860613914727a9036340f7b2a36af3b0fbbe6c645d05062c9cc473876670fc0dc3c8be381b9247e26d801b63fabe46f6d7

@ -0,0 +1,50 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
QT_MINIMAL="5.5.1"
VIRTUALX_REQUIRED="test"
inherit kde5
DESCRIPTION="Framework for integrating Qt applications with KDE workspaces"
LICENSE="LGPL-2+"
KEYWORDS=" ~amd64 ~x86"
IUSE="X"
RDEPEND="
$(add_plasma_dep oxygen-fonts)
$(add_frameworks_dep kcompletion)
$(add_frameworks_dep kconfig)
$(add_frameworks_dep kconfigwidgets)
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep ki18n)
$(add_frameworks_dep kiconthemes)
$(add_frameworks_dep kio)
$(add_frameworks_dep kjobwidgets)
$(add_frameworks_dep knotifications)
$(add_frameworks_dep kwidgetsaddons)
$(add_frameworks_dep kxmlgui)
dev-qt/qtdbus:5
dev-qt/qtgui:5=
dev-qt/qtwidgets:5
media-fonts/noto
X? (
dev-qt/qtx11extras:5
x11-libs/libxcb
x11-libs/libXcursor
)
"
DEPEND="${RDEPEND}"
# requires running kde environment
RESTRICT="test"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package X XCB)
)
kde5_src_configure
}

@ -1,2 +1,3 @@
DIST kactivities-5.15.0.tar.xz 175680 SHA256 d8d2603b212081a7137b0647d4e0177f7f50034426c0dbb392e5978c1c3a2e41 SHA512 3d9eaf71e4699c9cf2a94859161ce0eb056615ddfcc51a96101af66fa57d1ff869b04ec4082b260c074fbba67b5aa7f31462c30467576bcb87b45cbaef2cd481 WHIRLPOOL 56e32abeb54b2cd79612261a8dca56568535e4abcb1c4813b3d00679c7d4bc053f580e5ee28027eb223e42dc28e43cca6c2f51a063b541ecee9587a666030197
DIST kactivities-5.16.0.tar.xz 183580 SHA256 b563eb83b0d01ae5bc8e71e7d23bc95d2c59a9b73bd8d6ae4c793cf857f7002b SHA512 a552f091ef472b0be545e69168cdc67e8a5758f0b18abbdeaa4de6f5f3a07fbb70557a996ec3a4dd4fb9e26d342f3305bd175db960f5f0c453b73ed2f816fcbc WHIRLPOOL 5ecd2298a0b6c640a71ef62bef50197622e927f6d77a2fae9cc2921f9c99e37f7749d4b3349ecd45c59db041b63010adaa25017debdea225ecf1f522e56a76cb
DIST kactivities-5.17.0.tar.xz 185028 SHA256 5a7580770349f005972ab5cf27f2f67ce643c1b3cfffdf56c03729fbd61cdd52 SHA512 08b407d544ab9ea1cd115d132603538dc948bfd6367160126944d981b2510bfb5e562bb91f35de22b179ac2a374aa8f74f9f61cb4dcf22ca482e41f92f883156 WHIRLPOOL 328bf46d92853728954927f6656f3557d69526f029977bca40d2c7cfea7a40fbab32d5d49611049029bb2adf41a18ffe9e766b33da56f8204b840701652778f6

@ -0,0 +1,36 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit kde5
DESCRIPTION="Framework for working with KDE activities"
LICENSE="LGPL-2+"
KEYWORDS=" ~amd64 ~x86"
IUSE=""
RDEPEND="
$(add_frameworks_dep kcmutils)
$(add_frameworks_dep kconfig)
$(add_frameworks_dep kconfigwidgets)
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep kdbusaddons)
$(add_frameworks_dep kdeclarative)
$(add_frameworks_dep kglobalaccel)
$(add_frameworks_dep ki18n)
$(add_frameworks_dep kio)
$(add_frameworks_dep kservice)
$(add_frameworks_dep kwindowsystem)
$(add_frameworks_dep kxmlgui)
dev-qt/qtdbus:5
dev-qt/qtdeclarative:5
dev-qt/qtgui:5
dev-qt/qtsql:5
dev-qt/qtwidgets:5
!<kde-base/kactivities-4.13.3-r1:4[-minimal(-)]
"
DEPEND="${RDEPEND}
|| ( >=dev-libs/boost-1.54 <dev-libs/boost-1.53 )
"

@ -1,2 +1,3 @@
DIST kapidox-5.15.0.tar.xz 132792 SHA256 98ed6ce505f4e17264809ab0414d6305b0626280d45aa06df84ee554c891828c SHA512 de8bd6e4a72b644fa90002ea50380fb6a1fb3ae9eaa688b0845c4fa6678a945da4f5d3f8c1df2c44b5776b39a35a0ac7be48bac0090b1fe02e4762d3aa65cc6f WHIRLPOOL 901a363614640750dfae30be9e6ad6e980bda3a29495155841ff68349c956b6301b1a54166ebbd781e44857a43f80ae66ba8eb4bb00756be947d7b206aa9705a
DIST kapidox-5.16.0.tar.xz 132684 SHA256 4405e8b2e8df3cce10a25b864067f7a7fec1452bde94a426b36eb6b9b4b6dd3d SHA512 06767a3e63be94e7c7ccf7b6e49d40a4af02c7fdbbe02cde0cb0dd88effa1cad2ba7a9110d92ae9b7625d096ac188a28043b801802507e75158397807de213d6 WHIRLPOOL d5349b445d1ae904b58f4a0bd86a98ab6f8be7b740ebc7c059c005cc0b746332f0251ba0d2140ff2cadc82764fc813a2eed72b8562b9644dce0f8773d7602206
DIST kapidox-5.17.0.tar.xz 132796 SHA256 618ea6a45bf90546cc0b5891a316d997a6459d04a506f3ec7b0e226e8615a3b1 SHA512 e266402933b6d18d178a98744b64bc5fda950e8b205d88a43ba7791125ab759321149d099944d17980ca1c66aa52df5fae04da4aa15fcce8ed96cdf7018afcfa WHIRLPOOL 82d11717eb4afd2da4e0cd968013ec7d73ab235bfa89a683346abf3e8cc29ccf2b17f0cd6751dc7366532499bc4ad9ef50ad0baf3d8915d4b5502064e11ee689

@ -0,0 +1,29 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
KDE_DEBUG="false"
KDE_DOXYGEN="false"
KDE_TEST="false"
DISTUTILS_SINGLE_IMPL="true"
PYTHON_COMPAT=( python2_7 )
inherit kde5 distutils-r1
DESCRIPTION="Framework for building KDE API documentation in a standard format and style"
LICENSE="BSD-2"
KEYWORDS=" ~amd64 ~arm ~arm64 ~x86"
IUSE=""
RDEPEND="
app-doc/doxygen
dev-python/jinja[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
media-gfx/graphviz[python,${PYTHON_USEDEP}]
"
pkg_setup() {
python-single-r1_pkg_setup
kde5_pkg_setup
}

@ -1,2 +1,3 @@
DIST karchive-5.15.0.tar.xz 108172 SHA256 d0b5dfaf6a98ad40e499c67ec6788247c285c97564e2840a4faff90de27bb5e8 SHA512 a19c9e1ba9db4669ed91c852fa1f34d4f0f8ec2bbf0fbd7d7970ea07f1fa6b3a45c1ce09ca7f493485b5dc0428c1acf3bf85b502762232138a73830f1a6adef3 WHIRLPOOL 821286e8dd7a25c752d2932b73b0f1c4725efcc0be7187171e4a4b5d7dc2eb9313f447bccf6beb957198b998567fce2ab862fed62d2c20741fa6d53135b813ae
DIST karchive-5.16.0.tar.xz 108232 SHA256 ec3206e8249180e9661b4303a94dfb120d47642abe31d102cde7276ee9b1c866 SHA512 042b1a87419846383493dc67a1b63f2c09bb44d3e5616efcbd3e6c3764e23ef198bbde6976a71dc4a2910d5f7f73b7a2fe942d1d05c263d0f64d2d9fe79bfae6 WHIRLPOOL 65f8723064195c83260813b50e8f0fbea4be34ba80a64fe13293cfe34beac59f1eccfb49eb08e28711ab1f9de7092030fcc64d820fb3593417ee5a55b354274f
DIST karchive-5.17.0.tar.xz 109140 SHA256 a1d12ae9c12ec62c42d814bbe89d323ed804a2a4211db402bfe9dac01edfc7e7 SHA512 246b8a08ab215f062c4cadf7da8e158e47a3800ef2e925745e756bf9e259cfff8b4bd110e10a2021d03d19782c74369f9d0746475cc5e599fec06f0bd37dc001 WHIRLPOOL cd1c070ae1986b918dc83cf5466e7d1a66737889b4cca0ad3cb8a95c527d88016efdcc9d99636b2a7eac00fcb47ff362251cb2f2737266411c1cdf7d2caf36b1

@ -0,0 +1,28 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit kde5
DESCRIPTION="Framework for reading, creation, and manipulation of various archive formats"
LICENSE="GPL-2 LGPL-2.1"
KEYWORDS=" ~amd64 ~x86"
IUSE="+bzip2 +lzma"
RDEPEND="
bzip2? ( app-arch/bzip2 )
lzma? ( app-arch/xz-utils )
sys-libs/zlib
"
DEPEND="${RDEPEND}"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package bzip2 BZip2)
$(cmake-utils_use_find_package lzma LibLZMA)
)
kde5_src_configure
}

@ -1,2 +1,3 @@
DIST kauth-5.15.0.tar.xz 82088 SHA256 e2a91e1a4c40d5547c8963c74a805810b6bc192e3193245f52e855addc7219da SHA512 0be2173f33076f9ede4ae90561743686df618be255edf8eeafe934bc8f698b72771a02d019f4fd7a94f074718c25115565115271637a383b73d1705ab128479a WHIRLPOOL 84f40e08eb7581d82a46f15214572bb55fac43287e12733dddd5f661799046f69889fb52a8022bb8785253372487309edc7d66c474418f6a71d0c0456b0365ec
DIST kauth-5.16.0.tar.xz 82356 SHA256 c36ab0caddf1c3120546cff825098513585d461a27f94da78547b2792a61e2a4 SHA512 f05d36f0940300272e2a2c646e077151036242fb6474ec23d6d836a0ce63acbced334c3a4b9f95c8cc803ea75f5a76eefa137479bcb670599230ff1ff8160c7b WHIRLPOOL dac41b215924ab4229cad36869f061088e76298c64b97970233b623bc78cba2be75787e307ddcb0d3c6cd10dab6e123de6f76391130c0128f792f6674b6214a8
DIST kauth-5.17.0.tar.xz 82352 SHA256 c3e3a370a6b847cebf73ca8262b79142fc1e821d9dcb81c08063ba0a097cfb6c SHA512 3daaa35f5bd1a0de19cf6df74025fd9cea43ec0ee21eb25fe27d9111abe61c342eef989ec9fb849b8b0525e88fe3dc3c6b82eff86421cdedfd720efbd7b532b6 WHIRLPOOL dbf07982a4d0dccd4fb7cba7fe3d2c7a47ec44774ad2ca595d1f6ce1cf0d547ccc950709d870c3c2dd74246f006522064f0110d94ede574e5afe27bc23b84fdc

@ -0,0 +1,33 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
VIRTUALX_REQUIRED="test"
inherit kde5
DESCRIPTION="Framework to let applications perform actions as a privileged user"
LICENSE="LGPL-2.1+"
KEYWORDS=" ~amd64 ~x86"
IUSE="nls +policykit"
RDEPEND="
$(add_frameworks_dep kcoreaddons)
dev-qt/qtdbus:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
policykit? ( sys-auth/polkit-qt[qt5] )
"
DEPEND="${RDEPEND}
nls? ( dev-qt/linguist-tools:5 )
"
PDEPEND="policykit? ( kde-plasma/polkit-kde-agent )"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package policykit PolkitQt5-1)
)
kde5_src_configure
}

@ -1,2 +1,3 @@
DIST kbookmarks-5.15.0.tar.xz 114968 SHA256 e80ff2b6dcb1690dd144adc3d351b84a2a5be641c66f011cbf9a9ea1d23141f8 SHA512 7b1f8b2e7810d11bab1a4ee0657dde72aee14b2da87aaee075796b8ffaf0d253945093ee663b6f859b0d6981e71c7aeb110e1c61c51ec4a10ac889b8f1c4fc40 WHIRLPOOL f9d037265dd20b5511f839b622a4b76e11af09d9ffff89dbe8e743508261fb25de4d1d5efc6b8f6e67982f803af6aa1dc3ca00e7398127c888be119d8c8c8f1d
DIST kbookmarks-5.16.0.tar.xz 115060 SHA256 f220611b7df9a629a36dfb012a98f66e82558604d326cb60f82751e286a63e01 SHA512 1135bd6fcce2bbbc0a1cd8b4206289a9dff89e320dd310d4d0673faf5878b50d3185b7d79ca5bb63cefe62070c8631d43b83f0b6c24e0af18b1698852c6aeaff WHIRLPOOL 694daffd6470cb8b49d872b48ee1607e7885a824c746177cd5b0e81e9caff046e1408e23aa72a5d929da48a5d0c1b9b021de3d2aa3d63c210f79ff0f4c7ed86a
DIST kbookmarks-5.17.0.tar.xz 115024 SHA256 cab3d5b6953843080030cf1ce0c516d1d17330cda935c269aafed2209e026766 SHA512 976241eedac9ccfd5755d445a5e4827f8d56147bd62eb8c56cd905438358633f07c2ed032441999a9d534aea04401dcafc5bcaf131d5382ac5b0212923a1a7c4 WHIRLPOOL 2854e2a1cde4c063789e5d6502a0c74cf3a46266d74720053ae0021067f68b5cb143ff8ab30bfcf558a6d74fd97f4b15f56aa57a50c381f22518e8b2a9e47e29

@ -0,0 +1,30 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
VIRTUALX_REQUIRED="test"
inherit kde5
DESCRIPTION="Framework for managing bookmarks stored in XBEL format"
LICENSE="LGPL-2+"
KEYWORDS=" ~amd64 ~x86"
IUSE="nls"
RDEPEND="
$(add_frameworks_dep kcodecs)
$(add_frameworks_dep kconfig)
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep kiconthemes)
$(add_frameworks_dep kwidgetsaddons)
$(add_frameworks_dep kxmlgui)
dev-qt/qtdbus:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
dev-qt/qtxml:5
"
DEPEND="${RDEPEND}
$(add_frameworks_dep kconfigwidgets)
nls? ( dev-qt/linguist-tools:5 )
"

@ -1,2 +1,3 @@
DIST kcmutils-5.15.0.tar.xz 234908 SHA256 df584c8a4688b8716d77bdbb77a354ca8f609ea235b4829402e927b4c000d36b SHA512 8a79f4420db0c7601f2a707f1b5e7355a237850ae058b06b2bc8123649affc3200f12f9d19528882b16abbcd930dc578decbebea47e240656e4ab5fb202220ea WHIRLPOOL 98909416bfb02b44a432d0a36cc6316c1e6e43bff7db6b07ff8944136403af9dfcb781689eaad33e422680e4d4d667aa53f6ad790f7ee32d7cd3e6418ea4a967
DIST kcmutils-5.16.0.tar.xz 234772 SHA256 341330dba9cc50cfa035460c94f79892f5908e116f7a0f084be36e53f9a3e3b3 SHA512 ed972e011093f9696c73442f529e1c9427407fb79a4282aee5162539d5ca4bb951eeff0bfe64d042eebf3103807e945913f79243fc76738a55f3ba478d53c630 WHIRLPOOL 8bb68901297f2ce0fe555cbe7fb3ac3b734b55881b153f5cfde9351253aa2b05a92df7f73da9500100eeb9c948ba346b3ab18177e5f4f77a91b28a17dd37964b
DIST kcmutils-5.17.0.tar.xz 234808 SHA256 f0233c2afb6e644756402ddbc7d5595f7dacab1ff1e38f6e60378244a242cb9c SHA512 ac999d4ceaedd6fdb1db32e635825e68e85741b3eeca3e007ef772f61926c5cf2eeb2b2908eea2399810caebdc0e3579633d2355cb5bbb2ac32a7eec6afdedf8 WHIRLPOOL e2bdc5a8371bb66261777c5182e94524122f42202a0b0edc158b5b63b7b7ba0bcd8e4ae04415692f8cff46939e295f391c243b15f4d31c112bfbffc46efca45e

@ -0,0 +1,32 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
FRAMEWORK_TEST="false"
inherit kde5
DESCRIPTION="Framework to work with KDE System Settings modules"
LICENSE="LGPL-2"
KEYWORDS=" ~amd64 ~x86"
IUSE=""
RDEPEND="
$(add_frameworks_dep kauth)
$(add_frameworks_dep kconfig)
$(add_frameworks_dep kconfigwidgets)
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep kdeclarative)
$(add_frameworks_dep ki18n)
$(add_frameworks_dep kiconthemes)
$(add_frameworks_dep kitemviews)
$(add_frameworks_dep kservice)
$(add_frameworks_dep kwidgetsaddons)
$(add_frameworks_dep kxmlgui)
dev-qt/qtdbus:5
dev-qt/qtdeclarative:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
"
DEPEND="${RDEPEND}"

@ -1,2 +1,3 @@
DIST kcodecs-5.15.0.tar.xz 215880 SHA256 f71c51f064fdfde2b6eeb898aaf1f651c407e91844306359a7c07dbafadae8cf SHA512 334587aa5dac8b8187193442d8a395c3cb805f503d979f9428cd32f0b65016560a297c6627614ba7c550a1c1eb40f3e9935dc45bfdfecfd7c7778814412519a5 WHIRLPOOL 06db836d3138a2957a9bd9b3444561275d0cf346a3f45f20cd80eb851cf98ebb63118d970fb33dbd26f447e0fce1c7b73d4522d09f2cdbeca9023292675cc7fc
DIST kcodecs-5.16.0.tar.xz 217124 SHA256 97d10cc6166b75da514c1d62f42226edccdcdae50fb65e76a2f02c7cab919e98 SHA512 6cf24c45e94f421845976031b2e5ee012eb639e27d0d16ea83db83f368690a51c439e7226f8031414d5339e37129d2d5bd96c401c98dfe7b36d650fa19768043 WHIRLPOOL a6abc6a6233b40053f041db3b5679243f5f29278ce9727ece8dcc52c1837a2bebce7b1c50958ef61a32a2ee5c4b630649fdf9a59b3dc3b9264329cc9825acd35
DIST kcodecs-5.17.0.tar.xz 217016 SHA256 43ee8f25170497cfa648e8be790ac6f12567797471701893dc3f99ae4f61d18a SHA512 576e454cee4ae4324b1b3d1dc2815cf597cc9e904d06f5b5dcd0e2050dd4fbaf37bcc5c64c555290e92473068083af340fd379f62a56ef53bf94dec321a68c26 WHIRLPOOL 8262950dba9a0940348ffabbb5a9b371e4a10f92d8643cd8cea4b1e322e886404b4d6950c1a77f070770eed5055c6cab50d53242fe1cc9288d4ee38ce0487dc3

@ -0,0 +1,14 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit kde5
DESCRIPTION="Framework for manipulating strings using various encodings"
LICENSE="GPL-2+ LGPL-2+"
KEYWORDS=" ~amd64 ~x86"
IUSE="nls"
DEPEND="nls? ( dev-qt/linguist-tools:5 )"

@ -1,2 +1,3 @@
DIST kcompletion-5.15.0.tar.xz 115808 SHA256 deb2c24d995b8b6aa57309980f45fad49739bef693b1286bebc383f11c0801d7 SHA512 4bb94258393fc473bfc1f8e88890f91eb74d429c65eebd1b8ad4563d7f62fdf4a9d261072ea5751010e1597d28eca994e5553da85c38a0c04a7d06665bedee5d WHIRLPOOL 28fc29039facd088ee4557a335694f0124d3066d0e2b911bf4c9b832312d3677f2dd4c0b1dc1a4064bbb4e8c2c19491c1f230efeffee20ec03e2863c5f24e6ff
DIST kcompletion-5.16.0.tar.xz 115788 SHA256 4230e44395ec59e855fd4e70ebfd1d7a62fd1182c2a07d0cc4cee5234bc39620 SHA512 fd1bc04cea2c9b74769de19f39b9431bafda1d16737c8066b9ca16e96ac3314ea54ded905e48bb0ba3e7fe51b26311c0e36caaae5a8319b3c824a1588b960e33 WHIRLPOOL ec3ad71eed3e7bdc95cddd4fbf807e463fd57f193555b2d2ed27f1783cbd0f55361613f03f54e671fa1bda887703b705268fe7d546c2d0047aba7d0ddfcbd6d0
DIST kcompletion-5.17.0.tar.xz 115864 SHA256 4f2822e515b905c75b37c47af5d9502ef1fce9aff5220ba60b972691e7e81535 SHA512 1074358f1b9ce1ad2a0173e960ed7b7d5797539f7f7f581779765df1c283c4e79dc47af27099cae69286e10e5484d45e15d7797e4ddbc4281ff4249478f5af9c WHIRLPOOL 8d1296aa6107fac0635d6081cae65ed21aeebe2d11b47414b311bf60810f5d9a934be54340e93d22894cc598fe1c63595f3dbdd34dcaa887edb780a8f41c7e35

@ -0,0 +1,22 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
VIRTUALX_REQUIRED="test"
inherit kde5
DESCRIPTION="Framework for common completion tasks such as filename or URL completion"
KEYWORDS=" ~amd64 ~x86"
IUSE="nls"
RDEPEND="
$(add_frameworks_dep kconfig)
$(add_frameworks_dep kwidgetsaddons)
dev-qt/qtgui:5
dev-qt/qtwidgets:5
"
DEPEND="${RDEPEND}
nls? ( dev-qt/linguist-tools:5 )
"

@ -1,2 +1,3 @@
DIST kconfig-5.15.0.tar.xz 222316 SHA256 764bc8af55482cf1c88817c85c12a0fdb3fde5726ab0386cbb1b2f5df2256f20 SHA512 9eeeb07f6da251480a9e9a359b239877fd0109625a1d5270900dac6e42ec76cc85ebecf9787abad8b8ccc022aab020847b126f0b37a40d8857a30d873df12e68 WHIRLPOOL 2d97fd7545212838c612cc78cba06ba0eb436ae5dd70d5e79a56a305ee7b33fbf9fb7c2dcc8abf5ebf89a469fd2fe6b5c6124f85de591b2e946cae130bd053bd
DIST kconfig-5.16.0.tar.xz 224496 SHA256 aefe6845bf70d4cff938e0ad7878049ffbba2251cbd3afad938a7c326b8fe1a0 SHA512 9457f202071ba9b18012902a9f23164bdf9035aa3ddb0f8dcc66b862eef7b494f67fc7d8d23773349a9cf3cc99090933bbfd79a6af994cf9a2edab0c88164fc5 WHIRLPOOL f64f3b139e6b7259d23a31a4b6a24e83535c778e2e2f13265add3315632650cd269709e8a0158db09a2d344a3001343b4cde8de650f161a91dc1d00c8ad3ab28
DIST kconfig-5.17.0.tar.xz 224904 SHA256 325bb286987081af061f9a146289849b11c0a605f91c1c8d7416ebc80d7faacd SHA512 52d39913b043d3e5dc64651970f9547373aa7a8d9185d9026b83756db2e936b9ee0d09882169477debefd06eafa9b5b8cace90f6b5de9f46e9845787288b5a33 WHIRLPOOL 15e8f8e7d99fcf5d6eb3d1890610633cf58551567e88ee7d94560eb0a30c673cc504758096cae91431e78722fed1731cf01de5d65cd54471d0e72d89122a17af

@ -0,0 +1,27 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
VIRTUALX_REQUIRED="test"
inherit kde5
DESCRIPTION="Framework for reading and writing configuration"
LICENSE="LGPL-2+"
KEYWORDS=" ~amd64 ~x86"
IUSE="nls"
RDEPEND="
dev-qt/qtgui:5
dev-qt/qtxml:5
"
DEPEND="${RDEPEND}
nls? ( dev-qt/linguist-tools:5 )
test? ( dev-qt/qtconcurrent:5 )
"
# bug 560086
RESTRICT="test"
DOCS=( DESIGN docs/DESIGN.kconfig docs/options.md )

@ -1,2 +1,3 @@
DIST kconfigwidgets-5.15.0.tar.xz 359080 SHA256 43664b4e2b4175401dba9da379c0cd98d86627e68cb87e7d31e838ff5c3c783e SHA512 aea70395db12bb2d2ee2ea20a38e9da0118b6c472918cc978943822cb996579c95ab1c0a154fed17ec009ad44b519e671d599908e49036264bfdb61f771aad16 WHIRLPOOL bbb952f32f73bfdc9dd6d73785116c51ced9984eddb2980f8d5003d9a1f0b901d732bf73674f76c4cc8e3f6d7cc68f80551f3125150a2bdcb8d878604ddb6df4
DIST kconfigwidgets-5.16.0.tar.xz 358996 SHA256 26ae840357c230c824789efde5892abc2c78d067ca474a90487f5b5c9248f486 SHA512 5458e55f930014e84d30a70306fc4cdae33379c221efad903bfad6d441259a738d51e5ad6e6050383efced94a234d4e7355b7b4464f853950c9c135a67f5cdbd WHIRLPOOL 9a5a9b9a14438d589a7f93592e4ae340602e05f67f808f7444b883219ca4283b3856bcebaa949be75c20fda50947bf71cbc947afe3b197c94067a6d0d94de252
DIST kconfigwidgets-5.17.0.tar.xz 358856 SHA256 c23382e70182a84b4a164afa313612308d3dcf1f5ec34bad882853725599793b SHA512 bb32b0f79acec46ca06b2be1db511791583416feaace47f7b567febd15e18838bb66d24c2f3bbfd46ec22f8ef42f1818c4b4ac7f76afdffe4bf85aa1f0938935 WHIRLPOOL f807e7343fa2f8d9f17deb2da7d980be3c37f39abeb580a94a81c2167c0225642eabe6d4453390c22e0b86333f10458e70cdee9e60ded8a4ec9c701ea671d00c

@ -0,0 +1,38 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
VIRTUALX_REQUIRED="test"
inherit kde5
DESCRIPTION="Framework providing an assortment of configuration-related widgets"
LICENSE="LGPL-2+"
KEYWORDS=" ~amd64 ~x86"
IUSE="+man"
RDEPEND="
$(add_frameworks_dep kauth)
$(add_frameworks_dep kcodecs)
$(add_frameworks_dep kconfig)
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep kguiaddons)
$(add_frameworks_dep ki18n)
$(add_frameworks_dep kwidgetsaddons)
dev-qt/qtdbus:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
!<kde-frameworks/kdelibs4support-5.3.0:5
"
DEPEND="${RDEPEND}
man? ( $(add_frameworks_dep kdoctools) )
"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package man KF5DocTools)
)
kde5_src_configure
}

@ -2,4 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>kde</herd>
<use>
<flag name="man">Build and install man pages</flag>
</use>
</pkgmetadata>

@ -1,2 +1,3 @@
DIST kcoreaddons-5.15.0.tar.xz 302640 SHA256 b5dd4db06ed1d7b50047bade34520d433c6f30defd7cbd74929cf5dce95a06ec SHA512 e3b762ab4b03afefe5f6bf733819a1e19f5f0eb1bffe6ab773745c7025a13dfacbfea15b16a81f0f153656dd803a4189bf4912208a3f2918879193678d4dcb6d WHIRLPOOL 08461bfaf6c791b310e77334b342ec62339967f29df0b2276bfc0a1ed18b6f9bac8c0f4cb7f7f7e11fa19cfa7bf890d90f14d17cf56ab2dac0a98c92848ee850
DIST kcoreaddons-5.16.0.tar.xz 310256 SHA256 d511728e7abff74ebbde6efe06ef10bab110bf95d1999aaf50826050a66684a4 SHA512 eb1f496bd1c32061500c7ca16fdef33dcdc235c12c8be6ececd0f5ee3f27ae153e925ca97b1050eb553d6920f883764a0691a239cf8cbdee98f3343cb98b86cf WHIRLPOOL 15d7babd93437299da606f9bfd95667f8b4fcf67363f44cca6862420974895fb829ea6f03ca81b3e214b55ad3704e61724db6073f7051860fa7e93c7993c48c0
DIST kcoreaddons-5.17.0.tar.xz 310928 SHA256 f6200396dece6469438d57d02b7d8c231bcf6986190cbb3669923dc562d4a65d SHA512 2e0a779cb7b6a9b1fadec57e359a92fb8854e98cc80f3235598e3e0793f9600ea730ef81dc50e9a71c78a3fc1b6ac45922159e6fb7221ee232a71b0160788398 WHIRLPOOL a0269302fb68c8cdbb9163b13de174295c9523629dda8f297b75595b145706cff7fe470c69a5152bd2567d9aeb1e82f7cb8f27aeea408ed2559b826b141333e5

@ -0,0 +1,41 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit fdo-mime kde5
DESCRIPTION="Framework for solving common problems such as caching, randomisation, and more"
LICENSE="LGPL-2+"
KEYWORDS=" ~amd64 ~x86"
IUSE="fam nls"
RDEPEND="
dev-qt/qtcore:5[icu]
fam? ( virtual/fam )
!<kde-frameworks/kservice-5.2.0:5
"
DEPEND="${RDEPEND}
x11-misc/shared-mime-info
nls? ( dev-qt/linguist-tools:5 )
"
src_configure() {
local mycmakeargs=(
-D_KDE4_DEFAULT_HOME_POSTFIX=4
$(cmake-utils_use_find_package fam FAM)
)
kde5_src_configure
}
pkg_postinst() {
kde5_pkg_postinst
fdo-mime_mime_database_update
}
pkg_postrm() {
kde5_pkg_postinst
fdo-mime_mime_database_update
}

@ -1,2 +1,3 @@
DIST kcrash-5.15.0.tar.xz 19900 SHA256 7eac0e5ed260bf60c674a82981aaac81feea9ca5b6bb2a34256b95845ee56198 SHA512 d3da44c630ba2c64a4e56799551ef1b0961323d00be034b7ef71ebec4f434dfaf60fc63fd031c41f737407d5bfebae5a78794c59c40df6331c373aa8a838480c WHIRLPOOL 21759c701dd889a923860cb463f66cf665b8c05764d06a3e6e358913251097e423cf384c43cc2c0048e49dfe336d1ddbade9fc67a730d01cc8a93de306daefeb
DIST kcrash-5.16.0.tar.xz 20120 SHA256 4971dc462af809e443ef7c374a9404d70ec59f3cab52e0e330d6e8fee96e67ae SHA512 480c7e34005afc00b61ee663bcec8e3bd9014fb32382f924d704d767588d09018522e6d1a8a4d0c2db59bf087503b880cd3906fee273a5b4d2165e2a80ea704f WHIRLPOOL eb55d21fde7426afcd39ddebc7ac2ea9ec0957a39a08b30a695091fb6dcba8d4c3d5ca63dd1907ab3cdb9eb737a94e56a74dfd296ee674b77d95eb6be8aadf0d
DIST kcrash-5.17.0.tar.xz 20124 SHA256 edd4906a2cf62dbee0e502e375cba4718361a9033ce278cf738371edf4243b6c SHA512 d34962c44379a348162a72985fb90bfed1b7498e3b80165ef3cc425bded327ef9c82e5cc0761185e2553855817211abcaf6e19cb2c875699c46c0b7512b56f77 WHIRLPOOL 7afd6cefd288bf8dd587c6abfbedebba79aa8611c20dc7d04fee8d0a87535ce4c6053a29745432eaa0dbb9a89636d4f62eeac2755e2abd0010a826f28ac2e7ec

@ -0,0 +1,39 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
VIRTUALX_REQUIRED="test"
inherit kde5
DESCRIPTION="Framework for intercepting and handling application crashes"
LICENSE="LGPL-2+"
KEYWORDS=" ~amd64 ~x86"
IUSE="nls X"
# requires running kde environment
RESTRICT="test"
RDEPEND="
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep kwindowsystem)
dev-qt/qtgui:5
X? (
dev-qt/qtx11extras:5
x11-libs/libX11
)
"
DEPEND="${RDEPEND}
nls? ( dev-qt/linguist-tools:5 )
test? ( dev-qt/qtwidgets:5 )
X? ( x11-proto/xproto )
"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package X X11)
)
kde5_src_configure
}

@ -1,2 +1,3 @@
DIST kdbusaddons-5.15.0.tar.xz 33276 SHA256 dddd802bd03862eac02423fb24abce8017c372c6ae0d29a69862411789ca62f0 SHA512 46d2126e655a4513b9165460bdf3a72162d21cc04cf3d814984336bcf03d3e303a451db697ceafd1b5aa78a6b88e1cbea0cb276971836ab3d9382713a27ea70e WHIRLPOOL 5082dcd2b3043801235b215c9807492be90f36f5d4d365837f51ad7b53d04193d63608e11a15570c518a01beffea68c549a663b2dafb8b77ef5a507d0fb54490
DIST kdbusaddons-5.16.0.tar.xz 33792 SHA256 ea9b6c4059c0e4205347c6e72f2fe3f175eb1aebe32c1d6d822a7a1d617d6e7a SHA512 f2539fb764dff33f0a5ff5e23dca25a02cbc147bc04d46c3e6d11ec7b1e911d91bb722eb7d63dc4f533832eb4af153a377b27daf7bf2debc4cf89ad23e05a219 WHIRLPOOL 4f1c11bcd8d106aeeb837d0de2dc4bf5e3394bc6484b1e74a3af50423e78140cb5a241cd05511b0379a0ed65e94908091bb64128449bb35915484e26a4993f4e
DIST kdbusaddons-5.17.0.tar.xz 33800 SHA256 b599a448be04bfeee0be7bf0aaf6272964bb82871b5dd1f26cf06c03c44993d8 SHA512 dd15bb3d839e4b4990681dd24f4d5d0133badfdc8be4689439afe7601a8c61402fecb2239c3a72d17f7c4228cb8947c662f0bc2fd7bfaa77c2b18410bb95c80d WHIRLPOOL d7e56329abc4aed91ab3360a0ab4d18897a3fad8b47e83dbdca760c068c3043ce536c635ed780297fc96eec36b7570632b6d9cabb30e26f2242c0a7fd5c75c8c

@ -0,0 +1,29 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
VIRTUALDBUS_TEST="true"
inherit kde5
DESCRIPTION="Framework for registering services and applications per freedesktop standards"
LICENSE="LGPL-2+"
KEYWORDS=" ~amd64 ~x86"
IUSE="nls X"
RDEPEND="
dev-qt/qtdbus:5
X? ( dev-qt/qtx11extras:5 )
"
DEPEND="${RDEPEND}
nls? ( dev-qt/linguist-tools:5 )
"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package X Qt5X11Extras)
)
kde5_src_configure
}

@ -1,2 +1,3 @@
DIST kdeclarative-5.15.0.tar.xz 165320 SHA256 627ce0d7f141c6fa11d0a86e7999ba7c549bf465839b5d164ef78bb24529bb1b SHA512 73573bd225af6025851f5ac711183279ce4f48a33885543685eae1c8874060abbb89551fd137ac98c80bf6c145377fc6f719c00a7da6b4b50d073bdbf4dd69fd WHIRLPOOL e280396541e9a6f5e3ca848bb658bc33cc90f2d375442469fafbb1c032ff612e4a78021712320a96816cdbb8e24bb9ad428a836271bc5bdcaf1e182e87079bb5
DIST kdeclarative-5.16.0.tar.xz 165596 SHA256 a42d1f1900902cab4ba28d8c374c358fbd6697500eb18f004448fcd4b6e06832 SHA512 613c02eaa3f43a9a23a8acc5aef796d55d9b45167861e2b033b19d1db41c271e4b0eef047209ff1364342ada146f2001aa3806afa3a92559a070aba2857309d3 WHIRLPOOL c6c68b7f0a92301f67a9ab491c3384134df077221085a52e1d84e6e30d3260085232051437d883b5b704220d6ccd8b9f3394d4cec4949c9cc9667d0698cb9bb1
DIST kdeclarative-5.17.0.tar.xz 167516 SHA256 93a02714e8aafeb1d33a416e609e0af20d757be987ab70e62b4d0ccedb6ce58a SHA512 12537cf78fc58877d4193d6da52aa91353705c50382698451c1e0ee81a15022edcd6346eb194a7831146b1c1aa4319c8cf026d7a706b2b01f8d8c8abd125ac0c WHIRLPOOL f29f916c614747fa301815ac7a1300f3c8bca7990419f2860822e81a97e8e6b8156872cd47d068c1f6b942c570d06b4d655dfa947dcf5fa41cecd441775445ed

@ -0,0 +1,32 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
KDE_TEST="false"
inherit kde5
DESCRIPTION="Framework providing integration of QML and KDE work spaces"
LICENSE="LGPL-2+"
KEYWORDS=" ~amd64 ~x86"
IUSE=""
DEPEND="
$(add_frameworks_dep kconfig)
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep kglobalaccel)
$(add_frameworks_dep ki18n)
$(add_frameworks_dep kiconthemes)
$(add_frameworks_dep kio)
$(add_frameworks_dep kpackage)
$(add_frameworks_dep kservice)
$(add_frameworks_dep kwidgetsaddons)
$(add_frameworks_dep kwindowsystem)
dev-qt/qtdeclarative:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5
dev-qt/qtwidgets:5
media-libs/libepoxy
"
RDEPEND="${DEPEND}"

@ -1,2 +1,3 @@
DIST kded-5.15.0.tar.xz 35812 SHA256 98330b8512dbc06f35b93edd85ac6777c84c960a9492dd38c670d567ba749490 SHA512 bed69b517454c4c9fb82e111ab6e93c920dcdcf2bf1511189142f1bf7f1aa5f303fdbbd92f5fa05d3283fe007b189f335351d09680341efeb4c4c659a57cabae WHIRLPOOL 62cc75d97d5c00c31689269930a808951f55a5f5639b126ce1f4c1da92a62a2f4922dfb1cc27d0eda1b4282727e3cf6c33b1c8f0853d7fbcb72eaa2338195a18
DIST kded-5.16.0.tar.xz 35832 SHA256 18752b8928f97fba456d8badb1c378a45b24447ed503ac622136cd8492ea155c SHA512 cf27e17ae90907bdf73d9169560268a169e6f71e6b9c677de96926feb7e6f48071db7314687a3290685b48def53bb6ee3199b5d64f2e3fc6d8b7f898ed784cfb WHIRLPOOL 243f901a0b3306e3f0b8f17af9c4836d252660f7834d07c10a53375514563f7b0079e4e2c5f409dd6782978250a964b45433fb98e2f1a8e58cf5906ea8e1ef15
DIST kded-5.17.0.tar.xz 36000 SHA256 134e108fd99e196e4c539848fe5de9a2a39325d77d845b084809831d774b9eea SHA512 3ac7d498996d38566625663f74d4e2b9085a23e0db8edfb6f286eead03e47f7dfb4a9f76268ed70010f2b48f25f08f2dbae8358e43d49405ad65cc888f24f377 WHIRLPOOL 5f4057363626b70dac669633c0f18c05ec287c82a3191a391170802180a4aeb35f3b89b685ac551945484d24ac0c22744816a39fed66bc2dda314ed2707bebcf

@ -0,0 +1,36 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
KDE_TEST="false"
inherit kde5
DESCRIPTION="Central daemon of KDE workspaces"
LICENSE="LGPL-2+"
KEYWORDS=" ~amd64 ~x86"
IUSE="+man"
RDEPEND="
$(add_frameworks_dep kconfig)
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep kcrash)
$(add_frameworks_dep kdbusaddons)
$(add_frameworks_dep kinit)
$(add_frameworks_dep kservice)
dev-qt/qtdbus:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
"
DEPEND="${RDEPEND}
man? ( $(add_frameworks_dep kdoctools) )
"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package man KF5DocTools)
)
kde5_src_configure
}

@ -1,2 +1,3 @@
DIST kdelibs4support-5.15.0.tar.xz 3203140 SHA256 1e0bb3afeced27227a7a86626a5902a2d5cd7bddd6531a353003b39c07b32181 SHA512 30edffe95388aa051bfebbb3c6adf311ce35357036b9e947643b11d8fe1f8251fb10d77f69e1d20e3438a2d4b1b4ed53f602c16cede2a7a0e2e8d09a91cc007e WHIRLPOOL 9f93469e40fa3ee557f52c0644ae686163002952fb2b7e43b4e8aa7551186bc1ec2ee1d6ed00d7828a18935fd47d0176363ca4503ee0c7beaa05d581033a29b6
DIST kdelibs4support-5.16.0.tar.xz 3205700 SHA256 ac4d64070aa26cd95caacd0818546b4e49dbe60ce395b46983c7c674e0315578 SHA512 96cdf072a79e715bafe14c61b37d9fb2eae5d70cf9c13b75be6314d6926b1b864b2c08a3e6b31f8e67b05fc8548ce1a6dcfb8bbf531c3a133de8b283ae059bb0 WHIRLPOOL 7d4959fb76e62368038ad554d0b0c129367d836e32f58aa25d42409b87988005a378863dd765cf3ae7c4107730535297187f543646397a7102418ca22bc2969e
DIST kdelibs4support-5.17.0.tar.xz 3219596 SHA256 3d9f2e9223c01caebd2bc2be1590b00ea9413a6874020caa622034f981c9270e SHA512 71e6196b76b59f484bb268eace5a30a1427388e037900fae9f222aa4bd6f2a6f93c7325370c36c08dd2efadaa1f7cc28d04c93ab9b302813ce9e4fa312990b5d WHIRLPOOL 6ea12057aa171ab1766ddc2ffe43f751206d19dbb3387e1a6704ffff963a8976d96c7893b440cb35c91df072154506f10bfafaafb77ebcf27d33a6dfcf044b9b

@ -0,0 +1,83 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
VIRTUALX_REQUIRED="test"
inherit kde5
DESCRIPTION="Framework easing the development transition from KDE 4 to KF 5"
LICENSE="LGPL-2+"
KEYWORDS=" ~amd64 ~x86"
IUSE="X"
COMMON_DEPEND="
$(add_frameworks_dep kauth)
$(add_frameworks_dep kcodecs)
$(add_frameworks_dep kcompletion)
$(add_frameworks_dep kconfig)
$(add_frameworks_dep kconfigwidgets)
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep kcrash)
$(add_frameworks_dep kdbusaddons)
$(add_frameworks_dep kdesignerplugin)
$(add_frameworks_dep kglobalaccel)
$(add_frameworks_dep kguiaddons)
$(add_frameworks_dep ki18n)
$(add_frameworks_dep kiconthemes)
$(add_frameworks_dep kio)
$(add_frameworks_dep kitemviews)
$(add_frameworks_dep kjobwidgets)
$(add_frameworks_dep knotifications)
$(add_frameworks_dep kparts)
$(add_frameworks_dep kservice)
$(add_frameworks_dep ktextwidgets)
$(add_frameworks_dep kunitconversion)
$(add_frameworks_dep kwidgetsaddons)
$(add_frameworks_dep kwindowsystem)
$(add_frameworks_dep kxmlgui)
$(add_frameworks_dep solid)
app-text/docbook-xml-dtd:4.2
dev-libs/openssl:0
dev-qt/qtdbus:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5[ssl]
dev-qt/qtprintsupport:5
dev-qt/qtsvg:5
dev-qt/qttest:5
dev-qt/qtwidgets:5
virtual/libintl
X? (
dev-qt/qtx11extras:5
x11-libs/libICE
x11-libs/libSM
x11-libs/libX11
)
"
RDEPEND="${COMMON_DEPEND}
$(add_frameworks_dep kdoctools)
$(add_frameworks_dep kemoticons)
$(add_frameworks_dep kinit)
$(add_frameworks_dep kitemmodels)
dev-qt/qtxml:5
!<kde-apps/kcontrol-15.08.0[handbook]
"
DEPEND="${COMMON_DEPEND}
$(add_frameworks_dep kdoctools)
dev-lang/perl
dev-perl/URI
dev-qt/designer:5
test? ( dev-qt/qtconcurrent:5 )
X? ( x11-proto/xproto )
"
RESTRICT="test"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package X X11)
)
kde5_src_configure
}

@ -1,2 +1,3 @@
DIST kdesignerplugin-5.15.0.tar.xz 86956 SHA256 98b7a439eaa0cc0c969286d2adab1086b9d8950b562a6a7e31b389d31de8c657 SHA512 17a0aa441cd82eb87b52caa57b194ee2ddde9598e7792b7ba1f1a200e5e23a44cd1321208ec013a49d9601b850721369e7eb433a9e199a54694e2a3cb3cbed8a WHIRLPOOL 18f80d7c2e63cf882e5876e60065c976c6f17b2c37655c7c55eb3f76d1c75d965705f9c60a71cbe0552cf956269327354deffd76d5b9e2ede643cee9ca27dc75
DIST kdesignerplugin-5.16.0.tar.xz 87024 SHA256 c5a463a850c1830dbe92455b0595bad4797c434adb424e5a65d36f6fc16953f4 SHA512 67d0958f09efe47a77887380479486cf35965a61821de5192242648c14959e84858d452f65b4fc9e5b0a3b16fb6ca5d2a9e29248dfd7bae1197554a438811a24 WHIRLPOOL 841e99ccb4c45333e07fd9640bb1986e9c1228184a952e7f3bf99457b9e7cced3c5ed94939ea230ede936a81b45256c8289eca87f3f54ed8fcfedfb30bd2419b
DIST kdesignerplugin-5.17.0.tar.xz 87048 SHA256 3f4c1762f5793f5a33a6f72f658e725f7f2edc73fbc9e2d44b4ebf4054d4876c SHA512 745c102ec573f48c8bc7fd39e08fa3d0cc6c6f7cce4d0e634780311abe2338652db425dc8f86eaadef72d81637801084ead606cb5c3d3efd7d3e44c19ee12648 WHIRLPOOL 5c3ff6a5e07ed1fba4ef2b04e6c7cb84af1d7eeaad6c4910b252181f2aaec592dba7f3f80342cfed7763de6937500b8ae8cf52f47a2866674b576370f32e74bf

@ -0,0 +1,54 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
KDE_TEST="false"
inherit kde5
DESCRIPTION="Framework providing plugins to use KDE frameworks widgets in QtDesigner"
LICENSE="LGPL-2.1+"
KEYWORDS=" ~amd64 ~x86"
IUSE="designer nls webkit"
RDEPEND="
$(add_frameworks_dep kconfig)
$(add_frameworks_dep kcoreaddons)
designer? (
dev-qt/designer:5
$(add_frameworks_dep kcompletion)
$(add_frameworks_dep kconfigwidgets)
$(add_frameworks_dep kiconthemes)
$(add_frameworks_dep kio)
$(add_frameworks_dep kitemviews)
$(add_frameworks_dep kplotting)
$(add_frameworks_dep ktextwidgets)
$(add_frameworks_dep kwidgetsaddons)
$(add_frameworks_dep kxmlgui)
$(add_frameworks_dep sonnet)
)
webkit? (
dev-qt/designer:5
dev-qt/qtgui:5
$(add_frameworks_dep kdewebkit)
)
"
DEPEND="${RDEPEND}
$(add_frameworks_dep kdoctools)
nls? ( dev-qt/linguist-tools:5 )
"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package designer KF5IconThemes)
$(cmake-utils_use_find_package designer KF5ItemViews)
$(cmake-utils_use_find_package designer KF5KIO)
$(cmake-utils_use_find_package designer KF5Plotting)
$(cmake-utils_use_find_package designer KF5TextWidgets)
$(cmake-utils_use_find_package designer KF5WidgetsAddons)
$(cmake-utils_use_find_package webkit KF5WebKit)
)
kde5_src_configure
}

@ -1,2 +1,3 @@
DIST kdesu-5.15.0.tar.xz 43680 SHA256 3ee5aad2760e5b0793cfa177b41da37105e080cea603fa2cd6d8f7521f68d832 SHA512 812cecc5c123cda41fff0e35f4c854de35c597212aee56e2b9b51ff01e63f8a7474fefc4e14593f714ebb7559d40c2b025bede39ba035e9b3ae11126991f7b2f WHIRLPOOL 0b709aafb18c0ebf062c09562342a7329eec91fb23a43b1181c203fc79456845d76b1fa9df06ee4286433627cf6a3cfe526997c47c5e8c38fa0e110999df0347
DIST kdesu-5.16.0.tar.xz 43976 SHA256 a6ce23a1f65e5e82964fd1f9de1207f94b8b9e1c675894006c2b4281d1dbe781 SHA512 cc765e6224a77c0890b05dd6971376523d6c373ff0630d6496e9d69a48f7d40cb17e829196d3d01070516a46264864fba8cc8ad3cb3b5d40dd57be24cb3e97cf WHIRLPOOL a82f10566f548cd3217a94264121003b221a2da7898253b119587f137de140abc5c46c9aac8c4e211cbe0f8d51f99fb8016e92033928b576636c8d44da857842
DIST kdesu-5.17.0.tar.xz 44008 SHA256 0884aed186fd5169ef055d2f8b33d4bf31ad6e61c4373c1c2249874f3a1913a1 SHA512 89c09b450401abcb1597ca9a7424385251f841872be850e7b745a35b24859999c5c5f9711a5bb0ec85e7797f4276e98acc3342e8bb0aa850c4ed6e2d22136ee0 WHIRLPOOL 1add61f70ecbfef82455504a8a602f18cd793516276b136c4a0977ba1e135bd59ad8d41499ea5588c8b150defbf7b89fd49833fbbc7558abcb23ea544d1ff4f2

@ -0,0 +1,33 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
KDE_TEST="false"
inherit kde5
DESCRIPTION="Framework to handle super user actions"
LICENSE="LGPL-2"
KEYWORDS=" ~amd64 ~x86"
IUSE="X"
RDEPEND="
$(add_frameworks_dep kconfig)
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep ki18n)
$(add_frameworks_dep kpty)
$(add_frameworks_dep kservice)
X? ( x11-libs/libX11 )
"
DEPEND="${RDEPEND}
X? ( x11-proto/xproto )
"
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package X X11)
)
kde5_src_configure
}

@ -1,2 +1,3 @@
DIST kdewebkit-5.15.0.tar.xz 29344 SHA256 0acf37abcf87fe8a73d4b4519272638a6f2a1b04318afbd5f0e6996ccb82fcb1 SHA512 55d6a263a95a86b80ed0fb97937f20469dc97a53cf958926338cbf392edcb1892d148d4cc2f454eefa40277849abf405d905676f77fcbaeed260a648d89db424 WHIRLPOOL 6bc3472e119293536638aa35b901442db7f72ab90c180d6ccb25b52d2a28d2e9b2644820d30f534e55bb3fcd8a5b3b85131be9d508aa9e2e3e25df9b878cc983
DIST kdewebkit-5.16.0.tar.xz 29344 SHA256 8a9b7a57e6f86cddfd4d75123dbe8226a805f6669fbd5601b9e9b636669006db SHA512 2c655170f8c66205fbe9aeb51b46d6f457f3f31d6665a3486acba634d942b5dd8538e5c215673f55fa05dd6e668d981044377760ab5af611d1035d683d056b85 WHIRLPOOL 9be15ff96aebbfc33f47ca9cca2b55cd9f33d8d81676d6bd8b72fd4f15cddc4de30426c8fe80817aff342e857110b664843d4d6436be0b08ce65b479ac71b660
DIST kdewebkit-5.17.0.tar.xz 29348 SHA256 acc7568696d7a4af021aed4277fbf5c7499719f672bb976ebf308118ae5576dc SHA512 b580a57181086b160b71d8fae51d8ddab8fb4200b96f5d2ad7de410b87b8539efbd4bb32dc461afbfd1e2328b37f8359d41b0aee6b6ff5953977fcb788f09495 WHIRLPOOL 2497782cbff47563626baa75feb97d6dcf97e47de80bcaaa2b3bb10ee23ded44b4b984f65d76538e718db2290dcdbc6f57028d05f2d427493c6c1674070b8ef6

@ -0,0 +1,30 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
KDE_TEST="false"
inherit kde5
DESCRIPTION="Framework providing KDE integration of QtWebKit"
LICENSE="LGPL-2+"
KEYWORDS=" ~amd64 ~x86"
IUSE=""
RDEPEND="
$(add_frameworks_dep kconfig)
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep kio)
$(add_frameworks_dep kjobwidgets)
$(add_frameworks_dep kparts)
$(add_frameworks_dep kservice)
$(add_frameworks_dep kwallet)
dev-qt/qtgui:5
dev-qt/qtnetwork:5
dev-qt/qtwebkit:5
dev-qt/qtwidgets:5
"
DEPEND="${RDEPEND}
dev-qt/qtnetwork:5
"

@ -1,2 +1,3 @@
DIST kdnssd-5.15.0.tar.xz 56424 SHA256 13407b4d76cb5aeee808b9b88e6e76f2ba820a65b38cffc170752756af11adfc SHA512 be75f440ba9ceef2adb1130f799e830d8adaac3f252d58b446e95c84c38a93a55b7804759758413e47f033a3c6c72fb24789359a97dadf37e93c5167d9a82f1b WHIRLPOOL 086f715166de7ad4af2e54fb973bfd82be9ec9f62fab640b175fbe347bc0837e8272fe1d2c09078b664f65b6525cd9b3efb6be7afd4389e86bad64c3a3268dfb
DIST kdnssd-5.16.0.tar.xz 56396 SHA256 83ede535d2d01dae9dea489fe2cbd1517b4e3508fef96cadf8bb9c7df8ee41b7 SHA512 e72b36a466ad792dff58ed6e7598a36a4d8f4d89190d2698e9f99946e7840adea683bec152da63eddc8d191c340fa0a1c9601ffe11e2d20486da44000de70df8 WHIRLPOOL 15ab2c120a5bab1431eed3ae36055e2cb7d43405d9d4d693ebd98e4f1cdf2a4b034b6438068533057438d9706a22c1b5b272a241bb9d7666004e65591b2a2406
DIST kdnssd-5.17.0.tar.xz 56400 SHA256 e10a1b2f3b64039c964128d47edce7b19a7d90975dd17084210c895b6f83d216 SHA512 ae88175e37427e0d6beae07cb2590e905dc8799c4dac8a2c531e108d6f2ab891c78906a26ea47d26ae0fac67aeab45ee9fe27721c16f11bcc7b759e3cc21da12 WHIRLPOOL 148f1f3ea603dc0109b1d1092bafa956f93a5273615634237499d40e0bf86b65debe121e183d2aa695086947f661b51f3934a9a47fbf6fdbe0da2b2c985442f5

@ -0,0 +1,32 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit kde5
DESCRIPTION="Framework for network service discovery using Zeroconf"
LICENSE="LGPL-2+"
KEYWORDS=" ~amd64 ~x86"
IUSE="nls zeroconf"
RDEPEND="
dev-qt/qtnetwork:5
zeroconf? (
dev-qt/qtdbus:5
net-dns/avahi[mdnsresponder-compat]
)
"
DEPEND="${RDEPEND}
nls? ( dev-qt/linguist-tools:5 )
"
src_configure() {
local mycmakeargs=(
-DCMAKE_DISABLE_FIND_PACKAGE_DNSSD=ON
$(cmake-utils_use_find_package zeroconf Avahi)
)
kde5_src_configure
}

@ -1,2 +1,3 @@
DIST kdoctools-5.15.0.tar.xz 407836 SHA256 6ac31e6349420cd94a5353c8f608700e2c8adb7f29e57f3eeb9118aaf619916d SHA512 370a89c984493efa32c35c5dce183dff6ecd3516482384e65503b2333c4251134597533f9104b52d6181d992e6568dd8ed4cf21a26f9ff1c267c08c49aed7484 WHIRLPOOL 982ac4b73976d730801966cc1d80a6d7e2d938e2e35de4e065b6fe3f315f37423a872cf62eee7f3124d40464b00b7ef383843e99c3fd5633d0e1a9139968c45c
DIST kdoctools-5.16.0.tar.xz 407792 SHA256 ebd187ee31c8c2e58f17e373d0218c50920eaa998bd7ac39e570e9f77213c8e1 SHA512 17f7474c1d45fc7e3f87c912ff54c7fe335a3d1546934fcb37b29deee96c3d162f68b8f9febc61679a727ead294e6d96ade82f45d0094663db2078458797720b WHIRLPOOL 2dd8df8775288a9ab1983286ca37b39552b3014148d68cbd8e5617944690c2527d3e54d119fe5f71960f636a84390117b6389341caa42bc1de82c39d173e41d4
DIST kdoctools-5.17.0.tar.xz 407996 SHA256 2857094d27cbcc1e89790ad5d760cbeb699f2a5636c3a5ec603d3d9791917f61 SHA512 40ce467c0fe005e6acf33d6fcdf592f2845729b756fc8d302c7d88a699425f963ade89b57fe72cad02e6684d0f410bcbbd2feadc683e03fc879f34a3765a3d3d WHIRLPOOL c0b247675c5b97ec9ff7c79b2e1bdc8ac55730f3204d48899a7e5f4710b7f4005fc4b5db6d133ce91cb31d949a7ddea0f7f661f56166103cc95dd974c03d749a

@ -0,0 +1,24 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit kde5
DESCRIPTION="Tools to generate documentation in various formats from DocBook files"
LICENSE="MIT"
KEYWORDS=" ~amd64 ~x86"
IUSE=""
RDEPEND="
$(add_frameworks_dep karchive)
app-text/docbook-xml-dtd:4.5
app-text/docbook-xsl-stylesheets
dev-libs/libxml2:2
dev-libs/libxslt
"
DEPEND="${RDEPEND}
dev-lang/perl
dev-perl/URI
"

@ -1,2 +1,3 @@
DIST kemoticons-5.15.0.tar.xz 94396 SHA256 2c710785e35c64ff5e24cc4204f92d30dbc4d3094f70b34cc367f0c10dfe7128 SHA512 c5d40f893193e020601cfeb5d53a30ca52c7cf4206dc39e65dc08e3e36f62414838bc63911b55872713d6ac9c74e285aa94479a51ff6de64b0a129eead7eafb8 WHIRLPOOL 7b42543d083b73a700ea5f6907b2bfdd37d036ab4fcd31cc0131c62372cef356678ad63e306e712bae53e648f4ee4a086305983217905a888a96fc791aa107ee
DIST kemoticons-5.16.0.tar.xz 94408 SHA256 ba4ec30be11629fc046f1727eaa2c6ee80c26c23d953cf08214e6e600251d498 SHA512 0a6e12953b87d38517b2d248638b0b1dd2507ceae5bdd5cca1f6b13d2052ebabf53d2732628d290c8c87d7eefd0559157503e19c7b03053504d0bfa7f69a47ef WHIRLPOOL 66b510aab50e441e9ff27ed1d9bc2f8fb3bcd2b149528165682017992c188a13669bf56c3c0da4699d6544e0a1b5141d57401580c0b3b66750d1c0ecd8aaaa77
DIST kemoticons-5.17.0.tar.xz 94356 SHA256 23ecdffb3110329cab7d8c3e614b6096ac2cc457fe69e60db503de40b593bf33 SHA512 03548beabec53e56ea476f82efa692ccd48f83dd9536b8f65814be2cdd9d29f2f72e9b1f13f76521f6d1f4231a532a9a320ba6a2165500db5d08f6b6186bbda9 WHIRLPOOL 45cf50211209c90505a89e314aa7518d964b3a03094075829d88218aee09e996a741940a762dfdcd37c1bd56af6e2836b21c3a20194fe4b7a25f27c180596c9c

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

Loading…
Cancel
Save