parent
89ccf0b5d4
commit
7c1435ea72
@ -0,0 +1,81 @@
|
||||
fix already in upstream
|
||||
|
||||
From f17f4989fa193fa8279474c5462289a3cfe69aea Mon Sep 17 00:00:00 2001
|
||||
From: Mike Frysinger <vapier@chromium.org>
|
||||
Date: Fri, 8 Aug 2014 09:40:25 +0900
|
||||
Subject: [PATCH] linux-user: fix readlink handling with magic exe symlink
|
||||
|
||||
The current code always returns the length of the path when it should
|
||||
be returning the number of bytes it wrote to the output string.
|
||||
|
||||
Further, readlink is not supposed to append a NUL byte, but the current
|
||||
snprintf logic will always do just that.
|
||||
|
||||
Even further, if you pass in a length of 0, you're suppoesd to get back
|
||||
an error (EINVAL), but the current logic just returns 0.
|
||||
|
||||
Further still, if there was an error reading the symlink, we should not
|
||||
go ahead and try to read the target buffer as it is garbage.
|
||||
|
||||
Simple test for the first two issues:
|
||||
$ cat test.c
|
||||
int main() {
|
||||
char buf[50];
|
||||
size_t len;
|
||||
for (len = 0; len < 10; ++len) {
|
||||
memset(buf, '!', sizeof(buf));
|
||||
ssize_t ret = readlink("/proc/self/exe", buf, len);
|
||||
buf[20] = '\0';
|
||||
printf("readlink(/proc/self/exe, {%s}, %zu) = %zi\n", buf, len, ret);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Now compare the output of the native:
|
||||
$ gcc test.c -o /tmp/x
|
||||
$ /tmp/x
|
||||
$ strace /tmp/x
|
||||
|
||||
With what qemu does:
|
||||
$ armv7a-cros-linux-gnueabi-gcc test.c -o /tmp/x -static
|
||||
$ qemu-arm /tmp/x
|
||||
$ qemu-arm -strace /tmp/x
|
||||
|
||||
Signed-off-by: Mike Frysinger <vapier@chromium.org>
|
||||
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
|
||||
---
|
||||
linux-user/syscall.c | 15 +++++++++++++--
|
||||
1 file changed, 13 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
|
||||
index fccf9f0..7c108ab 100644
|
||||
--- a/linux-user/syscall.c
|
||||
+++ b/linux-user/syscall.c
|
||||
@@ -6636,11 +6636,22 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
|
||||
p2 = lock_user(VERIFY_WRITE, arg2, arg3, 0);
|
||||
if (!p || !p2) {
|
||||
ret = -TARGET_EFAULT;
|
||||
+ } else if (!arg3) {
|
||||
+ /* Short circuit this for the magic exe check. */
|
||||
+ ret = -TARGET_EINVAL;
|
||||
} else if (is_proc_myself((const char *)p, "exe")) {
|
||||
char real[PATH_MAX], *temp;
|
||||
temp = realpath(exec_path, real);
|
||||
- ret = temp == NULL ? get_errno(-1) : strlen(real) ;
|
||||
- snprintf((char *)p2, arg3, "%s", real);
|
||||
+ /* Return value is # of bytes that we wrote to the buffer. */
|
||||
+ if (temp == NULL) {
|
||||
+ ret = get_errno(-1);
|
||||
+ } else {
|
||||
+ /* Don't worry about sign mismatch as earlier mapping
|
||||
+ * logic would have thrown a bad address error. */
|
||||
+ ret = MIN(strlen(real), arg3);
|
||||
+ /* We cannot NUL terminate the string. */
|
||||
+ memcpy(p2, real, ret);
|
||||
+ }
|
||||
} else {
|
||||
ret = get_errno(readlink(path(p), p2, arg3));
|
||||
}
|
||||
--
|
||||
2.0.0
|
||||
|
@ -0,0 +1,595 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-2.1.1.ebuild,v 1.1 2014/09/12 07:01:42 vapier Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_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=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://wiki.qemu-project.org/download/${P}.tar.bz2
|
||||
${BACKPORTS:+
|
||||
http://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 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_targets="
|
||||
$(printf ' qemu_softmmu_targets_%s' ${IUSE_SOFTMMU_TARGETS})
|
||||
$(printf ' qemu_user_targets_%s' ${IUSE_USER_TARGETS})
|
||||
"
|
||||
IUSE+=" ${use_targets}"
|
||||
|
||||
# Require at least one softmmu or user target.
|
||||
# Block USE flag configurations known to not work.
|
||||
REQUIRED_USE="|| ( ${use_targets} )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
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 )
|
||||
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[static-libs(+)] )
|
||||
nfs? ( >=net-fs/libnfs-1.9.3[static-libs(+)] )
|
||||
numa? ( sys-process/numactl[static-libs(+)] )
|
||||
png? ( media-libs/libpng[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? ( >=dev-libs/libusb-1.0.18[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
|
||||
)"
|
||||
RDEPEND="!static-softmmu? ( ${SOFTMMU_LIB_DEPEND//\[static-libs(+)]} )
|
||||
!static-user? ( ${USER_LIB_DEPEND//\[static-libs(+)]} )
|
||||
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? (
|
||||
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] )
|
||||
selinux? ( sec-policy/selinux-qemu )
|
||||
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="${RDEPEND}
|
||||
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? ( ${SOFTMMU_LIB_DEPEND} )
|
||||
static-user? ( ${USER_LIB_DEPEND} )
|
||||
test? (
|
||||
dev-libs/glib[utils]
|
||||
sys-devel/bc
|
||||
)"
|
||||
|
||||
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.1.1-readlink-self.patch
|
||||
[[ -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 glx)
|
||||
$(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=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_export_best
|
||||
|
||||
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
|
||||
|
||||
# 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
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
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
|
||||
|
||||
fcaps cap_net_admin /usr/libexec/qemu-bridge-helper
|
||||
if use virtfs && [ -n "${softmmu_targets}" ]; then
|
||||
local virtfs_caps="cap_chown,cap_dac_override,cap_fowner,cap_fsetid,cap_setgid,cap_mknod,cap_setuid"
|
||||
fcaps ${virtfs_caps} /usr/bin/virtfs-proxy-helper
|
||||
fi
|
||||
}
|
||||
|
||||
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)"
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
DIST ccgo-0.3.6.4.tar.gz 620246 RMD160 066aaa61d172395bc741cd756e390eaa0ab00e77 SHA1 ba2e14cc7f68c2c5f014700f7507643dd7a6edf8 SHA256 1975a4e9b6661f6613dd3a00b3ee7e176b80244f555a184b258b50ef4352a890
|
||||
EBUILD ccgo-0.3.6.4.ebuild 1163 RMD160 275596d4f6023f22000d8a91aaa8c0cb6a4af50a SHA1 36a00b478cd5ab68b83b08b0371a1117cff9a067 SHA256 e23c733c5deaaf0aecb2b0596e226a75a6a8187a989c1ccd5db43ffbe926dcfe
|
||||
MISC ChangeLog 1692 RMD160 08e9b41f2e92d9ab8a6eecfab4e46088258c6260 SHA1 26bc447d40374a07e66f40165fa96301088d3ecb SHA256 34c499fe3ad8afeec7cdc4aa8dfa30f3b7bd9596315be20f3600e0de6c9b9dad
|
||||
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
|
||||
DIST ccgo-0.3.6.4.tar.gz 620246 SHA256 1975a4e9b6661f6613dd3a00b3ee7e176b80244f555a184b258b50ef4352a890 SHA512 54625bbf7036c18f4a9e92df0d7f2d67772138a940c5fdbbffa3d1c2e5c558cad5394d2c556c06388516e53d1f3502cf6369bcd95b1139d4ca5ec4210dcac5c2 WHIRLPOOL dd1b63c6c4360da99f66772373d2b9a0b39b495c57893d89cd69a4db8c0b8c53db059350c906f17a9e1402bacd473827fcce1be4d607c4afa3b1b9eb36de8f9d
|
||||
EBUILD ccgo-0.3.6.4.ebuild 1122 SHA256 449c1474139f6590123c147980833fbc744c59ebcbd2c81ed2b8f33fcfc9985c SHA512 f97d19c7bca632b557621b0e930b9af24fe0d0e3b17862b4c2a7407a02dfd2604f7c46ecac096555c691428ad57d18f5b7da346bb3eba6075d7574dd6fc78a20 WHIRLPOOL d3c396a2d1c9f1294cc895a1141e6906d4b915532e34c4940dcc303f962fd9c603fc2d7ae05fb8e5a46bae35c5259a10d9e10d72719c4163f92af63898fe43fa
|
||||
MISC ChangeLog 1826 SHA256 4d8498f48bca94cb461e6d6d292522c57ed02f0e5f6472f2433cf49a4ba0f4fa SHA512 fafaa5eaaac37b1352d0097d3f52770d8db783a7f75bb11d200fb95f689b92109be317bb8b264917d564cf1202623f62a4529105b77cfdd9912aca4537650c4c WHIRLPOOL a0f9ba6b5f41d521b2af85deed4d9d50c547814d8d111f3f813701f51580bb489b7474d957fd3cdf18989a1260316ed70e55c3bda622b068ac2e375878756b03
|
||||
MISC metadata.xml 158 SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 SHA512 d954564236b67b6ab97846b73f74e715e8f1bec2dba6595e9a5046c2e8c3b93f4879c293f9d1d02d99a533bee56156dae3f31a485697128c51af14cdbfdada8a WHIRLPOOL d03e7293d09d794d61c095a423f945b3644355a247f270a73ca8d30b4dfe9c98244297536bfd1a4bd6c14794aa1152eca20fd83bfdf3e1e74d4f676152d35ada
|
||||
|
@ -1,8 +1,10 @@
|
||||
AUX crafty-23.4-64bits.patch 541 SHA256 3126e5746d72faa8b7d5fbfba50acc2b4d874c90d9662b1ca55341c8314c1e79 SHA512 d809cbc88f5c4615abc6293ff6b67ef2755fad38ad464d7778256c1acb3e9e75d748339ed664ce31e3f1f87dbbf92a96adec4b4e13cba78047de239d78746873 WHIRLPOOL b08a09ad1a224f202bfe94b6b8296e87ff6c7fe34b1eb660cf8b64f2db8fe4f50253e0dbea9aade41a4bf07a36311d0cfbec7e57d596bf8dd46de7ac54cb6fa0
|
||||
DIST crafty-23.4.zip 426295 SHA256 f49e119b9e843bd1f99b895919b4361ba0d6ae4349e2751a864872d6dd250e66 SHA512 30bc4a5a2b45e945db3d57d0039e8b9c3dae641686c7d3d5292b34d357be7cf819c6d0a94e8a3150f5e5938c9d4490093557ec501f7ec0e58be75927195508be WHIRLPOOL 7e95e108375d9de1419b8dbeb9ceb417c33101018bd765f2be42927bee15941f7eb5b5c91394b1c859201e7f0c14e19d9588b00ac5fe4854f4782577b70ea76e
|
||||
DIST crafty-23.8.zip 429967 SHA256 01c3c34125e43dcdba9015d8b31f0e2c46a58d792e8eefc0b75ca3ec6b294e14 SHA512 9566fd838c73fedfc251e8c6740e626d107a89e27371fb568578e280e74ca0c61c4ed34f9c42ddf3558296684fdb2e54bc13a05287223061fc41d958faf03d90 WHIRLPOOL c8e31fa9d8a9b52afca18cf353879a85a5d50d0a778931a3399f6354b7ee0d94e67d3dcb7e480fda10094cb5dfc2f92ae62ef2d8c103316fea47c19b8c885ad7
|
||||
DIST crafty-24.0.zip 434880 SHA256 9c6372900574614fb36f82fd141357123be879225de0868e9b3be0fd16395cf4 SHA512 228d715f57cfe32a48ac4391adf66c256e3879523ca71861e5cc59c0a77125534848a894cf9f923f3406696d587b3f1a9ee815998c6dd188829cfccbe2e5290f WHIRLPOOL ee75c6a73bc89d8fe8be2e94d1d0e28013fa590e0ada57a19e0e79c329f91d6f90973d3aa08c4fb10ad015358695f106d7a95b8a4893920fc6c99b07517f0bb0
|
||||
DIST crafty.doc.ascii 79678 SHA256 be291c0f4c7e7d64404ec58b9e92c2455c4342d3c96c721ba21a80fce8332e83 SHA512 562698c3954e53f05c009025291bdb748baaa08616437796a08b42198057cff9f9efa7a8caf41574e71dafe60f4c132dc9497ad5ed9a83b8f071d1c31c8583b8 WHIRLPOOL 8786cafa5afd98b6878467701ff19206f220b20fd3f575f51f17a052de709d7f5572632dd56876d34a412d4628a6c4eb984ec6e6f148a3418ff16617d7670845
|
||||
EBUILD crafty-23.4.ebuild 2676 SHA256 186b44d442942181d8a2de22d874420c9746774f0a211cdb93ba49eeace23848 SHA512 00398bb9264bdc8b173add3bc226947f3100161ccfe5c69ca3398581dc3783618a8a13f574611be24ad34639aabbc9044a6208171a6c1f36fee3607d5166fe29 WHIRLPOOL d689920267389de1dc3a3dccca14e26f4235a72fe60a4253e5eeb77b728af50ec50ee68100639d561f9321d2d2755c39c5635b829867cd8c3d54fda21dc4eb06
|
||||
EBUILD crafty-23.8.ebuild 2541 SHA256 3b739f8f1ab96d71ec15cbf2ec4d1707406f3711400da23c455c2e1d46ae6cb9 SHA512 c9566ace3974f32873c55a781bf3b245122cbf521b1db2772ef9838a65848890de2c7dd4a47ee928b85e8578a3eba0556c872776e957960ca40da3d182d45ab5 WHIRLPOOL 770e1daadc8cbd18e5026855ff702195d0ec0c37fbd31e356136fdc78083c7405bd5d549a149eb4fe90f9cff3286893a043575fec8a5418b35ee02626b6ee6f4
|
||||
MISC ChangeLog 7257 SHA256 baf3bcb29b20d3895c5e20e51f16a5d230e10fb5a4c53c8e2f776414496da6d3 SHA512 49492c1156e253ca86c9bdafcf8ef210540212b58ec705130f2fb4f951bd715c82d8db8d9750a664d42113c625adc38cc54864f809e0a76383293ac817659286 WHIRLPOOL 82a20e5473242be122921c2d46caee10ad175a5a6ca2ff67b2877cce794041613040d6aef0732b0508956679b869d5fb520e7a923032142bee7081e89754be69
|
||||
EBUILD crafty-24.0.ebuild 2540 SHA256 0a9905833d6a8950172b201362f4b47b3192d1417a61117ed69d9366c663b3d1 SHA512 78a36230c23ea963c2540ff1b7bd3c0642d598618d5da3187580cf242a3ff0fdad059ce90bed8f4dfa17d6148fddeb3afe73db0a91f4edb8e129bc21d90808a5 WHIRLPOOL 0e6e2684e4dee0180406494ab485b778b6db2f80515c4910aff22c19ca29a184b0e9c3aa49a27232dbd8b06edeade81a7935f1e7411201fd5bb095a6442cdac8
|
||||
MISC ChangeLog 7377 SHA256 19ef629d635fd2844f0c22b73252a0d5687fde1ddc53832c7ee768c256251950 SHA512 8b7e2e74b6f257166344bb88e08c90f76332d7b9278fc05c34ff713e13152c8210991d5339f7034564e55c8bf92307658903ad98a1d991f42b24ab4e8194d53f WHIRLPOOL a5fd5f09d5b51177d958847b7746674f50e7cf82a55d60c1e14e7917b9c092a3d4bd4348dd7558bbc8e1d710db9b9195f027e6899bf292782f166c9911ceafdc
|
||||
MISC metadata.xml 249 SHA256 49f221ca292eb58886695b31631b28f38321f3fd6dfd265bba9991b093d68dec SHA512 eb748485c491ffc953879496bfd0170b091a7c7653eb19fe2317d439b51bc0b5e6cc89d2b81778e8a8468e04a0b4914159fc8ed5c54d956fcaedf20adfe43a7c WHIRLPOOL 745bf5f9fb3b7458b7744fbb7a0392f9eebb9b08976e9d0252f409540a800110428ea470d6475c12c4375f5c8bab5c342de7854431ac8b67e2401b24caa13cf5
|
||||
|
@ -0,0 +1,84 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-board/crafty/crafty-24.0.ebuild,v 1.1 2014/09/12 08:03:30 mr_bones_ Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit flag-o-matic toolchain-funcs eutils games
|
||||
|
||||
DESCRIPTION="Bob Hyatt's strong chess engine"
|
||||
HOMEPAGE="http://www.craftychess.com/"
|
||||
SRC_URI="http://www.craftychess.com/${P}.zip
|
||||
http://www.cis.uab.edu/hyatt/crafty/source/${P}.zip
|
||||
ftp://ftp.cis.uab.edu/pub/hyatt/documentation/${PN}.doc.ascii"
|
||||
|
||||
LICENSE="crafty"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="no-opts"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip"
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e '/-o crafty/s/CC/CXX/' \
|
||||
-e 's:CXFLAGS:CXXFLAGS:g' \
|
||||
Makefile || die
|
||||
sed -i \
|
||||
-e "s:\"crafty.hlp\":\"${GAMES_DATADIR}/${PN}/crafty.hlp\":" option.c || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local makeopts="target=UNIX"
|
||||
|
||||
if ! use no-opts ; then
|
||||
if [[ $(tc-getCC) = icc ]] ; then
|
||||
makeopts="${makeopts} asm=X86.o"
|
||||
append-flags -D_REENTRANT -tpp6 \
|
||||
-DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS \
|
||||
-DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST \
|
||||
-DSMP -DCPUS=4 -DCLONE -DDGT
|
||||
append-flags -O2 -fno-alias -fforce-mem \
|
||||
-fomit-frame-pointer -fno-gcse -mpreferred-stack-boundary=2
|
||||
else
|
||||
if [[ "${CHOST}" == "i686-pc-linux-gnu" ]] \
|
||||
|| [[ "${CHOST}" == "i586-pc-linux-gnu" ]] ; then
|
||||
append-flags -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS \
|
||||
-DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B \
|
||||
-DFAST -DSMP -DCPUS=4 -DCLONE -DDGT
|
||||
append-flags -fno-gcse \
|
||||
-fomit-frame-pointer -mpreferred-stack-boundary=2
|
||||
elif [[ "${CHOST}" == "x86_64-pc-linux-gnu" ]] ; then
|
||||
append-flags -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS \
|
||||
-DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B \
|
||||
-DFAST -DSMP -DCPUS=4 -DCLONE -DDGT
|
||||
append-flags -fomit-frame-pointer
|
||||
else
|
||||
: # everything else :)
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
append-flags -DPOSIX -DSKILL
|
||||
emake ${makeopts} crafty-make LDFLAGS="${LDFLAGS} -pthread"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dogamesbin crafty
|
||||
insinto "${GAMES_DATADIR}/${PN}"
|
||||
doins crafty.hlp
|
||||
dodoc "${DISTDIR}"/crafty.doc.ascii
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
elog
|
||||
elog "Note: No books or tablebases have been installed. If you want them, just"
|
||||
elog " download them from ${HOMEPAGE}."
|
||||
elog " You will find documentation there too. In most cases you take now "
|
||||
elog " your xboard compatible application, (xboard, eboard, knights) and "
|
||||
elog " just play chess against computer opponent. Have fun."
|
||||
elog
|
||||
}
|
@ -1,25 +1,15 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX x265-libdir.patch 1321 SHA256 e3ef1a0c7eb72a814963e4fc8b62d3cd5331a4e5f73d50326a90ba5b1caa5312 SHA512 855cacd9f2cb2a0f6680f61b4a6a06c19d8bb8140bf3f5a2641c804cfb6cc8103b7b6e8803c1d2e2e9b23693a766407d813acbda5beac542d608d4cb8bff807e WHIRLPOOL d2d65702935a73818052fd7b0b47ad77947ee1ddd93899a346649a31e30119111881f1755d3392273b6dc5a6165d18605266726e007812c4f708530b562fb01e
|
||||
AUX x265-libdir_pkgconfig.patch 375 SHA256 82b363812649168d2264ac91d71c6372eb8991e347389d37e81fcfd1d3ae7f60 SHA512 f039b741d78a5cf6ac92f6c4e84a182a117439e6cd61944950437a6d3866a4f51a6e1310745ba17904bb0e786a2aac740fbf80cb780ecad7c881072c5aff350e WHIRLPOOL 93d4e0292b3c5e83294a307975921c5f8f6cf140105460d3640315ff7f7492ad338b179faf47cae8a0f4682fbdd57c414280d4f645d67348c4835442c721de10
|
||||
DIST x265-0.8.tar.bz2 542439 SHA256 279985c47034dda4b3b9fef114aba3c8e8a3d1b26d59cc54ec7d52d13e086835 SHA512 78f7cd0aa6482d6ae921bf7cabc580cd9784a75920eb211a9cbe17fce2168fefe466e6ce1b21b8e7f4fd3ab51d80f33388bf6ec68e0203714294591d0c08b43c WHIRLPOOL 82136477653809fd39a9ad9e2db54bfe972e4eebf451295fd086e6c311d3ed6ef3db4b85c83d5620207035c43ad113ab0e6482357d448685e05950452b804564
|
||||
DIST x265-1.0.tar.bz2 564321 SHA256 38b5a8e30eb4e7f7968ca33366a6539b8a7cfdd5aec36ad502ad6eb5c9c35aa8 SHA512 885389a4b039d7c75e28698109c3e2b4b7a83aec5b177940d91ad05a2061bf02233ac4efa01d42a7835df5d7fae6496d80c7baed51f02a40b9bd987a20c95539 WHIRLPOOL a8d1bc1c6b7ba51022a4c7d3507ff640e752d03a1a33b00ce7097d23e8ea4d92aec9005d638280045032929eb9e0129525d27bb8ec29301dda73272546e74694
|
||||
DIST x265-1.2.tar.bz2 573907 SHA256 5f5ae7b9cf73b6ecaa1d169fd9f68f3efad75b0d23f504eeca92d57b3f0cb829 SHA512 60591f5c7bff651b8bae23e14d15ccf2752e1c6edc4547508a8349888d99c9d3f513fe9515acfaaaa8073f6e2f022f6bdc35e5d34516bc75f9fddf3d74018daa WHIRLPOOL a7da95ef7740f96aa66c4490e28b53750c4c666187db6a52666eca3748fa5023da1ad4224f39a1c1d49dfd5259635ce99645351244a7113e6d429aa716c6a12f
|
||||
EBUILD x265-0.8.ebuild 1707 SHA256 3c84d37769b58658508a1708e3dfd9075f6bd7963be65c61cc5b8222ec80933c SHA512 782f44afbd04f5fd9f703d3dc26e69d6c150573890dd46a0d7c7321043dfec414ff3804878cc1c6fb53a054e009c69c4f4ac1ebb6e240aaacdc42f4d72f21ab8 WHIRLPOOL cce68fac15889e82f6115a691ffcb6b731807eeaa7b20fc41a79cd3a8fd3efc926fb2467c6ab1d3532b7bf970468cfe2e9225e972567919da6a36670db06cb79
|
||||
EBUILD x265-1.0.ebuild 1667 SHA256 e5cf34cf8bcc16a03b4628436c12ad0efd6e47c07985ebe9fa93cea7f02a4735 SHA512 92485fe7ae9c67b2be22bc83498b27800001265db684bef34b3b06a14411bcdbd365a6359ae4b7ee4b2edfe162501c6599f6ff9c636d9c6d4804152465db6c65 WHIRLPOOL bbe9a06f6b7d02c0c8cbb855c6f723f68e917214ad673f145a06e709fdc1d73e27a4450b7c384009f068d187515d48bd93770f29fbd9b7f4cf2b99bc600c7d5e
|
||||
EBUILD x265-1.2.ebuild 1667 SHA256 619777d425122dc9e6cf6c1b35f8fe22b533edc0dc045c9423ee41b9d39bb143 SHA512 c9656306c6e3867bdcb7bda41eb06acae2fe38c37f9ff314567d318d3b936c3cdb639b12655cb9ec569313dabf0a9a519ae746905fb8b0a29d5528a8b86698f3 WHIRLPOOL f095435d27e2d4e38bcbbd6a73a3fb61689d8255ceb34dc5253867d5ec6801ea6ad8c8144b4a766522331edcbf55675790cc23fab761c837aa03f2ac5cc6a116
|
||||
EBUILD x265-9999.ebuild 1671 SHA256 da08e10d1a492b1aa2a562765c4c20533c79210f44d4ce40ad7b194475bafa01 SHA512 7a08906b84f7a60979cc6f6d1eeea5766f8ea883c723bebdfeb0c70aec9cb92928f91c4b1e1ab8941fd0df0cb9b9126184761d6111e08bfb509bd54ce8f77f13 WHIRLPOOL 36ef6f547ca1e20f0e5c5e9edd6859eafc4e5bdeb8e201e5dfcc7c828674d1fb0646a2f825b237aa458b91df26c892e345fbb64af0b0fe9fb5e8c037bd10491e
|
||||
MISC ChangeLog 2098 SHA256 fe8eb8a897b53c454518d37c56aec84564be22d76f505b512862e2e21197f647 SHA512 bc4603202023d6cb0fd9fac34168c126083d3242c12641ebe61c998bd64f164f2d4b6b0ca0409187bd63bba52bebcaaf8949511ed03577a4058967c212807c46 WHIRLPOOL 13a48381ee345ca1d5ccdf36446d938be844712863e71d3583eaa95f2a7dfbbd8801eb06bff361aa2d037835e58caeee11c36ec380ef91c4ad49f207d0105cbd
|
||||
MISC metadata.xml 307 SHA256 98aacb70c596475ef9dd8cd433cb49e37e35c424861adcf901867e0f02827fec SHA512 403a65f0b5dbc39253d731cbf44839e073cff48e373f86baf63bdf8e8fc500d0837fa16be0df79950abc19310edba11da22cb6cabdaf9426fa39d136b48ebf3a WHIRLPOOL dad5401206a10b0c1d5823fb41a5c9c8158b8cb43312b123c7d2bdf66c6bf35697ca17238a02cc6288750bad279bc414dea80d7d83f81230957f4a08997fd6c6
|
||||
DIST x265-1.3.tar.bz2 562401 SHA256 3807090a99bc351894d58eb037db4f1487b2dba3489eb2c38ab43dd6b7c9b09d SHA512 6743ba5796e032e3b814a2702b88d08c8228da5b0d7cc97f5e38052427f56ba101d63f6076c2438377b72de8d57bb26c350a908920e78faadfe84a14fdafa655 WHIRLPOOL 03114c0f719dfaecc7c970f89ee4eb5cfb46f1f94619bd80f0721ddb32b48f34f1e75ee727168035126edd6355101786b89ae718a786803f26dcca2f102793d8
|
||||
EBUILD x265-1.3.ebuild 1670 SHA256 67047b0eab2c05957d9d930f50dbde6f23c54d46d199c25964a1c4d5706cc9f8 SHA512 dc89a01891528cd3a2d8aeaee78560b715f3f4229005819ace2e86cf972d315c83899d28a0e7e71d32b5455ab43958e354f406c5ce26046b5f4c33eb00abec61 WHIRLPOOL 8f57b9c6e050d118f3d15a9df2856a67816b089791adf0c702914b0d14456d710bc181228e0fbef92418883825366b554d72c2bbf979cbb6386a53c7ceb72eb3
|
||||
EBUILD x265-9999.ebuild 1672 SHA256 84c06163a1f34bb19b4fbcef971febb3631a9178a8e267a138179ec8d01268cf SHA512 52b9d451064a36cbd88f4f6b780787fdd3807e2c729da785beb4339339e38f87e1628bfbe5e6828bb1a24427d97cca77a6b904fbc73d5edc9dafa09a96c76a2b WHIRLPOOL 48a0f0f14261a17ac9b9aa5deeabd908f73453989331652f7642f6086036e69d997ecc0ee87f12e887f7ab05e79c9ac5892d1edfc34d2fba2c9d9b99077ce9cb
|
||||
MISC ChangeLog 2533 SHA256 e4e07a2dd6cd771799d5072013a044b68c6b7cd3e4c9522468a05f0b466d5ddd SHA512 535efd93611e9600047a0ef95918c42082e8ea02d90c7f429fdfc86a047718b76c2e259420f1010767a00a871d15dfa04fc21c882129749587dcdb39f6831935 WHIRLPOOL 54dbe1e99d8278e3597d6e8b4127e838e53078c31b392518dcd39a50109a1da8efc60c0c00b613ef60ed9189ad15519531bfecd80f8bc4103b635f50e300691f
|
||||
MISC metadata.xml 306 SHA256 9b82ed7b9e77e737313e46d7e10f89aa96e7de9c0f85d12e18b4f3fa7a90a3c0 SHA512 5247634c0303fab1d419adad8ea21eeb62f25037cad1ba9f44f2acfa91203981516ff52fed64e3122780419b37edb47111b5b6a3ac8bdc6aaebfb1f8f842df1a WHIRLPOOL b7510cc72c85ee898dba18399ad117bce5c30bb55ba09f39c501172473e63f680ce4c054a3b3caf9105e23233983b98a8f65697428dfe9ed7b76549992b7dec2
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2
|
||||
|
||||
iQEcBAEBCAAGBQJT1gOrAAoJEEdUh39IaPFNeVsH/RfP6of1uIQ+2s4D5kesZLiL
|
||||
QViwD6rx5VyvACg/rAlpImF0QzqOTkG/WB+0015E8JreKQtyadPkxZtMyxAG/K3Y
|
||||
VDzWK8Db5jypSeUG4Ow60UNt7BBtWjSHC4+kC/3gZxPqpnvj3CCzmZVHblMvwLc1
|
||||
lBPg7dIML6GDyOiBUOc2/e4p4IMm0BJ1+p1scpTFeITrdQyVJ/mJRVUzxUU0cPrd
|
||||
rJea7d9PXIRJgvsHjrAwQo2tJrJsxkfaCNlZSd/OZThLtP5nVXjEMvfMCykduH8k
|
||||
K+9uUCr/+szNKssBceJJ7LjMP3Bd8d3MuYboqvtLlSWIPQReYaekYb6O68zuZsA=
|
||||
=Gukg
|
||||
iEYEAREIAAYFAlQSm80ACgkQVWmRsqeSphPH+wCeIvX5wBqjTLqa6Mm2mQklHjEp
|
||||
88MAnjmxXif9hs2utMBVihpntm0v7LK1
|
||||
=RwhC
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,35 +0,0 @@
|
||||
Index: x265-9999/source/CMakeLists.txt
|
||||
===================================================================
|
||||
--- x265-9999.orig/source/CMakeLists.txt
|
||||
+++ x265-9999/source/CMakeLists.txt
|
||||
@@ -246,8 +246,8 @@ if(NOT MSVC)
|
||||
endif()
|
||||
install(TARGETS x265-static
|
||||
RUNTIME DESTINATION bin
|
||||
- LIBRARY DESTINATION lib
|
||||
- ARCHIVE DESTINATION lib)
|
||||
+ LIBRARY DESTINATION lib${LIB_SUFFIX}
|
||||
+ ARCHIVE DESTINATION lib${LIB_SUFFIX})
|
||||
install(FILES x265.h "${PROJECT_BINARY_DIR}/x265_config.h" DESTINATION include)
|
||||
|
||||
if(CMAKE_RC_COMPILER)
|
||||
@@ -284,8 +284,8 @@ if(ENABLE_SHARED)
|
||||
set_target_properties(x265-shared PROPERTIES VERSION ${X265_LATEST_TAG} SOVERSION ${X265_BUILD})
|
||||
install(TARGETS x265-shared
|
||||
RUNTIME DESTINATION bin
|
||||
- LIBRARY DESTINATION lib
|
||||
- ARCHIVE DESTINATION lib)
|
||||
+ LIBRARY DESTINATION lib${LIB_SUFFIX}
|
||||
+ ARCHIVE DESTINATION lib${LIB_SUFFIX})
|
||||
endif()
|
||||
endif()
|
||||
|
||||
@@ -305,7 +305,7 @@ if(X265_LATEST_TAG)
|
||||
# Produce a pkg-config file
|
||||
configure_file("x265.pc.in" "x265.pc" @ONLY)
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/x265.pc"
|
||||
- DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig")
|
||||
+ DESTINATION "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}/pkgconfig")
|
||||
endif()
|
||||
|
||||
if(NOT WIN32)
|
@ -1,12 +0,0 @@
|
||||
Index: x265-9999/source/x265.pc.in
|
||||
===================================================================
|
||||
--- x265-9999.orig/source/x265.pc.in
|
||||
+++ x265-9999/source/x265.pc.in
|
||||
@@ -1,6 +1,6 @@
|
||||
prefix=@CMAKE_INSTALL_PREFIX@
|
||||
exec_prefix=${prefix}
|
||||
-libdir=${exec_prefix}/lib
|
||||
+libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: @CMAKE_PROJECT_NAME@
|
@ -1,76 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/x265/x265-0.8.ebuild,v 1.4 2014/07/27 19:01:15 maekke Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-multilib flag-o-matic
|
||||
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
inherit mercurial
|
||||
EHG_REPO_URI="http://bitbucket.org/multicoreware/x265"
|
||||
else
|
||||
SRC_URI="https://bitbucket.org/multicoreware/x265/get/${PV}.tar.bz2 -> ${P}.tar.bz2"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Library for encoding video streams into the H.265/HEVC format"
|
||||
HOMEPAGE="http://x265.org/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
# subslot = libx265 soname
|
||||
SLOT="0/7"
|
||||
IUSE="+10bit test"
|
||||
|
||||
ASM_DEPEND=">=dev-lang/yasm-1.2.0"
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
abi_x86_32? ( ${ASM_DEPEND} )
|
||||
abi_x86_64? ( ${ASM_DEPEND} )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-libdir.patch"
|
||||
"${FILESDIR}/${PN}-libdir_pkgconfig.patch"
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
mercurial_src_unpack
|
||||
# Can't set it at global scope due to mercurial.eclass limitations...
|
||||
export S=${WORKDIR}/${P}/source
|
||||
else
|
||||
unpack ${A}
|
||||
export S=$(echo "${WORKDIR}"/*${PN}*/source)
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
append-cflags -fPIC
|
||||
append-cxxflags -fPIC
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_enable test TESTS)
|
||||
$(multilib_is_native_abi || echo "-DENABLE_CLI=OFF")
|
||||
-DHIGH_BIT_DEPTH=$(usex 10bit "ON" "OFF")
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
multilib_parallel_foreach_abi multilib_src_configure
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
cd "${BUILD_DIR}/test" || die
|
||||
for i in PoolTest TestBench ; do
|
||||
./${i} || die
|
||||
done
|
||||
}
|
||||
|
||||
src_test() {
|
||||
multilib_foreach_abi multilib_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-multilib_src_install
|
||||
dodoc -r "${S}/../doc/"*
|
||||
}
|
@ -1,72 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/x265/x265-1.0.ebuild,v 1.3 2014/07/27 19:01:15 maekke Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-multilib multilib flag-o-matic
|
||||
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
inherit mercurial
|
||||
EHG_REPO_URI="http://bitbucket.org/multicoreware/x265"
|
||||
else
|
||||
SRC_URI="https://bitbucket.org/multicoreware/x265/get/${PV}.tar.bz2 -> ${P}.tar.bz2"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Library for encoding video streams into the H.265/HEVC format"
|
||||
HOMEPAGE="http://x265.org/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
# subslot = libx265 soname
|
||||
SLOT="0/16"
|
||||
IUSE="+10bit test"
|
||||
|
||||
ASM_DEPEND=">=dev-lang/yasm-1.2.0"
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
abi_x86_32? ( ${ASM_DEPEND} )
|
||||
abi_x86_64? ( ${ASM_DEPEND} )"
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
mercurial_src_unpack
|
||||
# Can't set it at global scope due to mercurial.eclass limitations...
|
||||
export S=${WORKDIR}/${P}/source
|
||||
else
|
||||
unpack ${A}
|
||||
export S=$(echo "${WORKDIR}"/*${PN}*/source)
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
append-cflags -fPIC
|
||||
append-cxxflags -fPIC
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_enable test TESTS)
|
||||
$(multilib_is_native_abi || echo "-DENABLE_CLI=OFF")
|
||||
-DHIGH_BIT_DEPTH=$(usex 10bit "ON" "OFF")
|
||||
-DLIB_INSTALL_DIR="$(get_libdir)"
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
multilib_parallel_foreach_abi multilib_src_configure
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
cd "${BUILD_DIR}/test" || die
|
||||
for i in PoolTest TestBench ; do
|
||||
./${i} || die
|
||||
done
|
||||
}
|
||||
|
||||
src_test() {
|
||||
multilib_foreach_abi multilib_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-multilib_src_install
|
||||
dodoc -r "${S}/../doc/"*
|
||||
}
|
@ -1 +1 @@
|
||||
Fri, 12 Sep 2014 07:07:01 +0000
|
||||
Fri, 12 Sep 2014 11:36:59 +0000
|
||||
|
@ -1 +1 @@
|
||||
Fri, 12 Sep 2014 07:07:01 +0000
|
||||
Fri, 12 Sep 2014 11:36:59 +0000
|
||||
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure info install postinst prepare pretend setup test
|
||||
DEPEND=!static-softmmu? ( >=dev-libs/glib-2.0 sys-libs/zlib xattr? ( sys-apps/attr ) >=x11-libs/pixman-0.28.0 aio? ( dev-libs/libaio ) caps? ( sys-libs/libcap-ng ) curl? ( >=net-misc/curl-7.15.4 ) fdt? ( >=sys-apps/dtc-1.4.0 ) glusterfs? ( >=sys-cluster/glusterfs-3.4.0 ) infiniband? ( sys-infiniband/librdmacm ) jpeg? ( virtual/jpeg ) lzo? ( dev-libs/lzo:2 ) ncurses? ( sys-libs/ncurses ) nfs? ( >=net-fs/libnfs-1.9.3 ) numa? ( sys-process/numactl ) png? ( media-libs/libpng ) rbd? ( sys-cluster/ceph ) sasl? ( dev-libs/cyrus-sasl ) sdl? ( >=media-libs/libsdl-1.2.11 ) seccomp? ( >=sys-libs/libseccomp-2.1.0 ) snappy? ( app-arch/snappy ) spice? ( >=app-emulation/spice-0.12.0 ) ssh? ( >=net-libs/libssh2-1.2.8 ) tls? ( net-libs/gnutls ) usb? ( >=dev-libs/libusb-1.0.18 ) uuid? ( >=sys-apps/util-linux-2.16.0 ) vde? ( net-misc/vde ) xfs? ( sys-fs/xfsprogs ) ) !static-user? ( >=dev-libs/glib-2.0 sys-libs/zlib xattr? ( sys-apps/attr ) ) qemu_softmmu_targets_i386? ( >=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 ) ) qemu_softmmu_targets_x86_64? ( >=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 ) ) accessibility? ( app-accessibility/brltty ) alsa? ( >=media-libs/alsa-lib-1.0.13 ) bluetooth? ( net-wireless/bluez ) gtk? ( x11-libs/gtk+:3 x11-libs/vte:2.90 ) iscsi? ( net-libs/libiscsi ) opengl? ( virtual/opengl ) pulseaudio? ( media-sound/pulseaudio ) python? ( python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[ncurses,readline] ) dev-lang/python-exec:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) sdl? ( media-libs/libsdl[X] ) selinux? ( sec-policy/selinux-qemu ) 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 ) 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? ( >=dev-libs/glib-2.0[static-libs(+)] sys-libs/zlib[static-libs(+)] xattr? ( sys-apps/attr[static-libs(+)] ) >=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[static-libs(+)] ) nfs? ( >=net-fs/libnfs-1.9.3[static-libs(+)] ) numa? ( sys-process/numactl[static-libs(+)] ) png? ( media-libs/libpng[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? ( >=dev-libs/libusb-1.0.18[static-libs(+)] ) uuid? ( >=sys-apps/util-linux-2.16.0[static-libs(+)] ) vde? ( net-misc/vde[static-libs(+)] ) xfs? ( sys-fs/xfsprogs[static-libs(+)] ) ) static-user? ( >=dev-libs/glib-2.0[static-libs(+)] sys-libs/zlib[static-libs(+)] xattr? ( sys-apps/attr[static-libs(+)] ) ) test? ( dev-libs/glib[utils] sys-devel/bc ) virtual/pkgconfig filecaps? ( sys-libs/libcap )
|
||||
DESCRIPTION=QEMU + Kernel-based Virtual Machine userland tools
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.qemu.org http://www.linux-kvm.org
|
||||
IUSE=accessibility +aio alsa bluetooth +caps +curl debug +fdt glusterfs gtk 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 qemu_softmmu_targets_aarch64 qemu_softmmu_targets_alpha qemu_softmmu_targets_arm qemu_softmmu_targets_cris qemu_softmmu_targets_i386 qemu_softmmu_targets_m68k qemu_softmmu_targets_microblaze qemu_softmmu_targets_microblazeel qemu_softmmu_targets_mips qemu_softmmu_targets_mips64 qemu_softmmu_targets_mips64el qemu_softmmu_targets_mipsel qemu_softmmu_targets_or32 qemu_softmmu_targets_ppc qemu_softmmu_targets_ppc64 qemu_softmmu_targets_s390x qemu_softmmu_targets_sh4 qemu_softmmu_targets_sh4eb qemu_softmmu_targets_sparc qemu_softmmu_targets_sparc64 qemu_softmmu_targets_unicore32 qemu_softmmu_targets_x86_64 qemu_softmmu_targets_lm32 qemu_softmmu_targets_moxie qemu_softmmu_targets_ppcemb qemu_softmmu_targets_xtensa qemu_softmmu_targets_xtensaeb qemu_user_targets_aarch64 qemu_user_targets_alpha qemu_user_targets_arm qemu_user_targets_cris qemu_user_targets_i386 qemu_user_targets_m68k qemu_user_targets_microblaze qemu_user_targets_microblazeel qemu_user_targets_mips qemu_user_targets_mips64 qemu_user_targets_mips64el qemu_user_targets_mipsel qemu_user_targets_or32 qemu_user_targets_ppc qemu_user_targets_ppc64 qemu_user_targets_s390x qemu_user_targets_sh4 qemu_user_targets_sh4eb qemu_user_targets_sparc qemu_user_targets_sparc64 qemu_user_targets_unicore32 qemu_user_targets_x86_64 qemu_user_targets_armeb qemu_user_targets_mipsn32 qemu_user_targets_mipsn32el qemu_user_targets_ppc64abi32 qemu_user_targets_sparc32plus python_targets_python2_7 +filecaps
|
||||
KEYWORDS=~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd
|
||||
LICENSE=GPL-2 LGPL-2 BSD-2
|
||||
RDEPEND=!static-softmmu? ( >=dev-libs/glib-2.0 sys-libs/zlib xattr? ( sys-apps/attr ) >=x11-libs/pixman-0.28.0 aio? ( dev-libs/libaio ) caps? ( sys-libs/libcap-ng ) curl? ( >=net-misc/curl-7.15.4 ) fdt? ( >=sys-apps/dtc-1.4.0 ) glusterfs? ( >=sys-cluster/glusterfs-3.4.0 ) infiniband? ( sys-infiniband/librdmacm ) jpeg? ( virtual/jpeg ) lzo? ( dev-libs/lzo:2 ) ncurses? ( sys-libs/ncurses ) nfs? ( >=net-fs/libnfs-1.9.3 ) numa? ( sys-process/numactl ) png? ( media-libs/libpng ) rbd? ( sys-cluster/ceph ) sasl? ( dev-libs/cyrus-sasl ) sdl? ( >=media-libs/libsdl-1.2.11 ) seccomp? ( >=sys-libs/libseccomp-2.1.0 ) snappy? ( app-arch/snappy ) spice? ( >=app-emulation/spice-0.12.0 ) ssh? ( >=net-libs/libssh2-1.2.8 ) tls? ( net-libs/gnutls ) usb? ( >=dev-libs/libusb-1.0.18 ) uuid? ( >=sys-apps/util-linux-2.16.0 ) vde? ( net-misc/vde ) xfs? ( sys-fs/xfsprogs ) ) !static-user? ( >=dev-libs/glib-2.0 sys-libs/zlib xattr? ( sys-apps/attr ) ) qemu_softmmu_targets_i386? ( >=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 ) ) qemu_softmmu_targets_x86_64? ( >=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 ) ) accessibility? ( app-accessibility/brltty ) alsa? ( >=media-libs/alsa-lib-1.0.13 ) bluetooth? ( net-wireless/bluez ) gtk? ( x11-libs/gtk+:3 x11-libs/vte:2.90 ) iscsi? ( net-libs/libiscsi ) opengl? ( virtual/opengl ) pulseaudio? ( media-sound/pulseaudio ) python? ( python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[ncurses,readline] ) dev-lang/python-exec:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) sdl? ( media-libs/libsdl[X] ) selinux? ( sec-policy/selinux-qemu ) 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 )
|
||||
REQUIRED_USE=|| ( qemu_softmmu_targets_aarch64 qemu_softmmu_targets_alpha qemu_softmmu_targets_arm qemu_softmmu_targets_cris qemu_softmmu_targets_i386 qemu_softmmu_targets_m68k qemu_softmmu_targets_microblaze qemu_softmmu_targets_microblazeel qemu_softmmu_targets_mips qemu_softmmu_targets_mips64 qemu_softmmu_targets_mips64el qemu_softmmu_targets_mipsel qemu_softmmu_targets_or32 qemu_softmmu_targets_ppc qemu_softmmu_targets_ppc64 qemu_softmmu_targets_s390x qemu_softmmu_targets_sh4 qemu_softmmu_targets_sh4eb qemu_softmmu_targets_sparc qemu_softmmu_targets_sparc64 qemu_softmmu_targets_unicore32 qemu_softmmu_targets_x86_64 qemu_softmmu_targets_lm32 qemu_softmmu_targets_moxie qemu_softmmu_targets_ppcemb qemu_softmmu_targets_xtensa qemu_softmmu_targets_xtensaeb qemu_user_targets_aarch64 qemu_user_targets_alpha qemu_user_targets_arm qemu_user_targets_cris qemu_user_targets_i386 qemu_user_targets_m68k qemu_user_targets_microblaze qemu_user_targets_microblazeel qemu_user_targets_mips qemu_user_targets_mips64 qemu_user_targets_mips64el qemu_user_targets_mipsel qemu_user_targets_or32 qemu_user_targets_ppc qemu_user_targets_ppc64 qemu_user_targets_s390x qemu_user_targets_sh4 qemu_user_targets_sh4eb qemu_user_targets_sparc qemu_user_targets_sparc64 qemu_user_targets_unicore32 qemu_user_targets_x86_64 qemu_user_targets_armeb qemu_user_targets_mipsn32 qemu_user_targets_mipsn32el qemu_user_targets_ppc64abi32 qemu_user_targets_sparc32plus ) python? ( || ( python_targets_python2_7 ) ) 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 ) virtfs? ( xattr )
|
||||
SLOT=0
|
||||
SRC_URI=http://wiki.qemu-project.org/download/qemu-2.1.1.tar.bz2
|
||||
_eclasses_=eutils 06133990e861be0fe60c2b428fd025d9 fcaps c247b6885e1ff14f794a0eb65fb1e8ec flag-o-matic 75e24bac8423c515dd9c5717f08feb83 linux-info 2b8c53f6065bdee2d757472215a3088f multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multiprocessing d7f2985a2c76c365ee20269db5261414 pax-utils 8257582809714b788173511f975d767d python-r1 75e5c82b55dcb208a0a8f4ab8847e731 python-utils-r1 47dda904cf91c61f45b564d9f834fde1 readme.gentoo 106edea5533517715013de909a333abd toolchain-funcs 0f1760274637a138b99bb649202ea402 udev da001465a2e939c93f7ae16947ce3438 user f54e098dd38ba1c0847a13e685b87747 versionator cd0bcdb170807e4a1984115e9d53a26f
|
||||
_md5_=0aa5d6f64aa34fd1d73e2b3033eeb482
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install postinst preinst prepare setup unpack
|
||||
DEPEND=app-arch/unzip
|
||||
DESCRIPTION=Bob Hyatt's strong chess engine
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.craftychess.com/
|
||||
IUSE=no-opts
|
||||
KEYWORDS=~amd64 ~ppc ~x86
|
||||
LICENSE=crafty
|
||||
RDEPEND=games-misc/games-envd
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
SRC_URI=http://www.craftychess.com/crafty-24.0.zip http://www.cis.uab.edu/hyatt/crafty/source/crafty-24.0.zip ftp://ftp.cis.uab.edu/pub/hyatt/documentation/crafty.doc.ascii
|
||||
_eclasses_=base 87f7447ccfc06fd0729ff4684e11e0d6 eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 games e221fed675714bd5545b7488aed9f822 multilib 3bf24e6abb9b76d9f6c20600f0b716bf toolchain-funcs 0f1760274637a138b99bb649202ea402 user f54e098dd38ba1c0847a13e685b87747
|
||||
_md5_=b7750ef6c5d9c394be9af8be373a71f7
|
@ -1,13 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install postinst preinst prepare setup unpack
|
||||
DEPEND=media-libs/libsdl:0 media-libs/sdl-image[jpeg,png] virtual/glu virtual/opengl dev-util/scons
|
||||
DEPEND=media-libs/libsdl:0[opengl,video] media-libs/sdl-image[jpeg,png] virtual/glu virtual/opengl dev-util/scons
|
||||
DESCRIPTION=3D and open source chess game
|
||||
EAPI=2
|
||||
EAPI=5
|
||||
HOMEPAGE=http://pouetchess.sourceforge.net/
|
||||
IUSE=debug
|
||||
KEYWORDS=~amd64 ~ppc x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=media-libs/libsdl:0 media-libs/sdl-image[jpeg,png] virtual/glu virtual/opengl games-misc/games-envd
|
||||
RDEPEND=media-libs/libsdl:0[opengl,video] media-libs/sdl-image[jpeg,png] virtual/glu virtual/opengl games-misc/games-envd
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge/pouetchess/pouetchess_src_0.2.0.tar.gz
|
||||
_eclasses_=base 87f7447ccfc06fd0729ff4684e11e0d6 eutils 06133990e861be0fe60c2b428fd025d9 games e221fed675714bd5545b7488aed9f822 multilib 3bf24e6abb9b76d9f6c20600f0b716bf scons-utils 988e24b9e2e4642189b4e97c03e5ae71 toolchain-funcs 0f1760274637a138b99bb649202ea402 user f54e098dd38ba1c0847a13e685b87747
|
||||
_md5_=f5655469a3acd2a15ba89ac5e9c75ced
|
||||
_md5_=1c4dc13988f08aff2810de7ec9f61e60
|
||||
|
@ -1,12 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install prepare test unpack
|
||||
DEPEND=abi_x86_32? ( >=dev-lang/yasm-1.2.0 ) abi_x86_64? ( >=dev-lang/yasm-1.2.0 ) sys-devel/make >=dev-util/cmake-2.8.12 userland_GNU? ( >=sys-apps/findutils-4.4.0 )
|
||||
DESCRIPTION=Library for encoding video streams into the H.265/HEVC format
|
||||
EAPI=5
|
||||
HOMEPAGE=http://x265.org/
|
||||
IUSE=+10bit test abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||
KEYWORDS=~amd64 ~arm
|
||||
LICENSE=GPL-2
|
||||
SLOT=0/7
|
||||
SRC_URI=https://bitbucket.org/multicoreware/x265/get/0.8.tar.bz2 -> x265-0.8.tar.bz2
|
||||
_eclasses_=cmake-multilib ca4c6ecda3062bf851d951987568fdae cmake-utils da2974fcb060ec927e93a17c835afa67 eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multilib-build 9eb4b5fb858228316d8bb32ada51f6a5 multilib-minimal 5bbdc77877c1aa3c6bd89ca3f9196d11 multiprocessing d7f2985a2c76c365ee20269db5261414 toolchain-funcs 0f1760274637a138b99bb649202ea402
|
||||
_md5_=8caae46d42a9431d155b1de622c98b55
|
@ -1,12 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install prepare test unpack
|
||||
DEPEND=abi_x86_32? ( >=dev-lang/yasm-1.2.0 ) abi_x86_64? ( >=dev-lang/yasm-1.2.0 ) sys-devel/make >=dev-util/cmake-2.8.12 userland_GNU? ( >=sys-apps/findutils-4.4.0 )
|
||||
DESCRIPTION=Library for encoding video streams into the H.265/HEVC format
|
||||
EAPI=5
|
||||
HOMEPAGE=http://x265.org/
|
||||
IUSE=+10bit test abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||
KEYWORDS=~amd64 ~arm ~x86
|
||||
LICENSE=GPL-2
|
||||
SLOT=0/16
|
||||
SRC_URI=https://bitbucket.org/multicoreware/x265/get/1.0.tar.bz2 -> x265-1.0.tar.bz2
|
||||
_eclasses_=cmake-multilib ca4c6ecda3062bf851d951987568fdae cmake-utils da2974fcb060ec927e93a17c835afa67 eutils 06133990e861be0fe60c2b428fd025d9 flag-o-matic 75e24bac8423c515dd9c5717f08feb83 multibuild 46527a4656956da3d58acff72c9b59b1 multilib 3bf24e6abb9b76d9f6c20600f0b716bf multilib-build 9eb4b5fb858228316d8bb32ada51f6a5 multilib-minimal 5bbdc77877c1aa3c6bd89ca3f9196d11 multiprocessing d7f2985a2c76c365ee20269db5261414 toolchain-funcs 0f1760274637a138b99bb649202ea402
|
||||
_md5_=c6b569aab0442d9e0254cecb9ae7903c
|
@ -1 +1 @@
|
||||
Fri, 12 Sep 2014 07:07:04 +0000
|
||||
Fri, 12 Sep 2014 11:37:02 +0000
|
||||
|
@ -1 +1 @@
|
||||
Fri Sep 12 07:07:01 UTC 2014
|
||||
Fri Sep 12 11:36:59 UTC 2014
|
||||
|
@ -1 +1 @@
|
||||
Fri, 12 Sep 2014 07:30:01 +0000
|
||||
Fri, 12 Sep 2014 12:00:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
1410505501 Fri 12 Sep 2014 07:05:01 AM UTC UTC
|
||||
1410521701 Fri 12 Sep 2014 11:35:01 AM UTC UTC
|
||||
|
Loading…
Reference in new issue