parent
153f4ea507
commit
d8f5becb2f
@ -1,3 +1,4 @@
|
||||
DIST eigen-2.0.17.tar.bz2 367890 SHA256 7255e856ed367ce6e6e2d4153b0e4e753c8b8d36918bf440dd34ad56aff09960 SHA512 8fa0e4507864f61c30de14e3b29d963eb8b777d1a6bb04192d53e1f4c9db323b9fab2ddcedb63bf2af243fe0e26dcd717e97eb72216b6a1d444e455520192c72 WHIRLPOOL d80f12b378e23b758e4dbd173b87bed93bc42a97f2541b653b4373ea6ce0803bd712de00cf5a014a72cd439bb3ad10fd24b2ef8982975e044ff4d7bb2b63f585
|
||||
DIST eigen-3.1.3.tar.bz2 1052724 SHA256 1a443145f321dd47a5ca11f176e7319056198a6124a7577723d92e3c3cd59ece SHA512 7b6b816416570c9592ed9ca09e61970346f02bed492df7073fed3e657ded0c2bb736fb024554f92064ee783cbf1180952ccb87ed724899fa353f34c6a49210a4 WHIRLPOOL 53c667def19d882bff0e6a7b8476028a211ca2b4617d579b8555738c726ed1d4f3d4aed0e87b39c00a941484505f2a54fb82dba19444cc04f7f438fa1fc22c45
|
||||
DIST eigen-3.2.5.tar.bz2 1151510 SHA256 5f6e6cb88188e34185f43cb819d7dab9b48ef493774ff834e568f4805d3dc2f9 SHA512 5a90a312c3503bb91293aa9ed69258f36c6a3a06a64ff851c8b57a4df01bd467e22e5ba95221bce97a8cf2d3fb9f0ad1c1c40116a3c9c9b1f80d7fc7b0a96c7a WHIRLPOOL 21333e30f77b4712d21eb4bed6159c0e0bfb769ed65d01d4cf5cfeb1a9105f2a3c2ccbc41d251fc09399ee8ad8a50d2eb9d1ea5d38d98ca1df12f8972b24a630
|
||||
DIST eigen-3.2.6.tar.bz2 1152805 SHA256 8a3352f9a5361fe90e451a7305fb1896fc7f771dc16cc0edd8e6b157f52c343e SHA512 a1abcef36d774ab29418961143174e460e11c05f40d493844e4d4e8024e0b60c453cb007e96ed05d786eec3214d72f15ead0ac49ed84762d3037db90f11c935a WHIRLPOOL e15f917ad6b8aeda2e11c6af186073921d78c3b96c922f1068989b64a2ec7c3d58df280ce809be877b6e93a691c0d511afa601cb806bf4d9f29e9133c62e280c
|
||||
|
@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="C++ template library for linear algebra: vectors, matrices, and related algorithms"
|
||||
HOMEPAGE="http://eigen.tuxfamily.org/"
|
||||
SRC_URI="https://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2 GPL-3"
|
||||
SLOT="3"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug doc"
|
||||
|
||||
DEPEND="doc? ( app-doc/doxygen[dot,latex] )"
|
||||
RDEPEND="!dev-cpp/eigen:0"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
mv ${PN}* ${P} || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i CMakeLists.txt \
|
||||
-e "/add_subdirectory(demos/d" \
|
||||
-e "/add_subdirectory(blas/d" \
|
||||
-e "/add_subdirectory(lapack/d" \
|
||||
|| die "sed disable unused bundles failed"
|
||||
|
||||
sed -i -e "/Unknown build type/d" CMakeLists.txt || die
|
||||
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
if use doc; then
|
||||
cmake-utils_src_compile doc
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local mycmakeargs=(
|
||||
-DEIGEN_BUILD_TESTS=ON
|
||||
-DEIGEN_TEST_NO_FORTRAN=ON
|
||||
-DEIGEN_TEST_NO_OPENGL=ON
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
cmake-utils_src_compile buildtests
|
||||
cmake-utils_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
if use doc; then
|
||||
dohtml -r "${BUILD_DIR}"/doc/html/*
|
||||
fi
|
||||
|
||||
# Debian installs it and some projects started using it.
|
||||
insinto /usr/share/cmake/Modules/
|
||||
doins "${S}/cmake/FindEigen3.cmake"
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST pyuv-1.2.0.tar.gz 98578 SHA256 9df91c86519574f65e4465884db20565d4ad4287cd6cd651ee0137430b0dd4a7 SHA512 10a8448700c609b6e9844c6bc9bd6428920a455c94bee79569006f783c7f5d2683abe46c4692d0f0016a621d0c6d0ef2decc42a9f0418e1242b79ab0f06ee9f2 WHIRLPOOL 11989f713ba205ff0fa5b76dd742a7c3eb66b00fb6c97e0a0a5aa2e2b3c041a1d35b2bfd950a54fb0a7adb9ae1c5753c97ee4c6278518e46a345a462827835eb
|
@ -0,0 +1,44 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>hasufell@gentoo.org</email>
|
||||
<name>Julian Ospald</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
pyuv is a Python module which provides an interface to
|
||||
<pkg>dev-libs/libuv</pkg>.
|
||||
libuv is a high performance asynchronous networking and platform
|
||||
abstraction library.
|
||||
|
||||
libuv is built on top of epoll/kequeue/event ports/etc on Unix and
|
||||
IOCP on Windows systems providing a consistent API on top of them.
|
||||
|
||||
pyuv's features:
|
||||
* Non-blocking TCP sockets
|
||||
* Non-blocking named pipes
|
||||
* UDP support (including multicast)
|
||||
* Timers
|
||||
* Child process spawning
|
||||
* Asynchronous DNS resolution (getaddrinfo)
|
||||
* Asynchronous file system APIs
|
||||
* High resolution time
|
||||
* System memory information
|
||||
* System CPUs information
|
||||
* Network interfaces information
|
||||
* Thread pool scheduling
|
||||
* ANSI escape code controlled TTY
|
||||
* File system events (inotify style and stat based)
|
||||
* IPC and TCP socket sharing between processes
|
||||
* Arbitrary file descriptor polling
|
||||
* Thread synchronization primitives
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<maintainer status="active">
|
||||
<email>saghul@gmail.com</email>
|
||||
<name>Saúl Ibarra Corretgé</name>
|
||||
</maintainer>
|
||||
<remote-id type="github">saghul/pyuv</remote-id>
|
||||
<remote-id type="pypi">pyuv</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,29 @@
|
||||
# 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_4,3_5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python interface for libuv"
|
||||
HOMEPAGE="https://pyuv.readthedocs.org/en"
|
||||
SRC_URI="https://github.com/saghul/pyuv/archive/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
# https://github.com/saghul/pyuv/blob/v1.x/setup_libuv.py#L117
|
||||
RDEPEND=">=dev-libs/libuv-1.7.3:0/1"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/pyuv-pyuv-${PV}"
|
||||
|
||||
src_configure() {
|
||||
mydistutilsargs=( build_ext --use-system-libuv )
|
||||
distutils-r1_src_configure
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
KDE_HANDBOOK="optional"
|
||||
inherit flag-o-matic kde4-base
|
||||
|
||||
DESCRIPTION="KDE Desktop Planetarium"
|
||||
HOMEPAGE="https://www.kde.org/applications/education/kstars https://edu.kde.org/kstars"
|
||||
KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug fits indi"
|
||||
|
||||
REQUIRED_USE="indi? ( fits )"
|
||||
|
||||
DEPEND="
|
||||
dev-cpp/eigen:3
|
||||
$(add_kdeapps_dep libkdeedu)
|
||||
fits? ( >=sci-libs/cfitsio-0.390 )
|
||||
indi? ( >=sci-libs/indilib-0.9.8 )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
# Bug 308903
|
||||
use ppc64 && append-flags -mminimal-toc
|
||||
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_with fits CFitsio)
|
||||
$(cmake-utils_use_with indi)
|
||||
)
|
||||
|
||||
kde4-base_src_configure
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
From da48b7fceed0238884f341530b5f4d84005dab57 Mon Sep 17 00:00:00 2001
|
||||
From: Alex Merry <alex.merry@kde.org>
|
||||
Date: Sun, 18 Oct 2015 15:21:45 +0100
|
||||
Subject: [PATCH] Fix finding recent versions of GStreamer.
|
||||
|
||||
Newer versions of GStreamer put gst-config.h under
|
||||
lib/gstreamer-1.0/include, so we need to make sure that directory will
|
||||
be added to the include path as well.
|
||||
|
||||
REVIEW: 125690
|
||||
---
|
||||
cmake/FindGStreamer.cmake | 26 +++++++++++++++++++++-----
|
||||
1 file changed, 21 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/cmake/FindGStreamer.cmake b/cmake/FindGStreamer.cmake
|
||||
index d7243d4..e30c349 100644
|
||||
--- a/cmake/FindGStreamer.cmake
|
||||
+++ b/cmake/FindGStreamer.cmake
|
||||
@@ -36,6 +36,27 @@ FIND_PATH(GSTREAMER_INCLUDE_DIR gst/gst.h
|
||||
PATH_SUFFIXES gstreamer-1.0
|
||||
)
|
||||
|
||||
+IF (NOT GSTREAMER_INCLUDE_DIR)
|
||||
+ MESSAGE(STATUS "GStreamer: WARNING: include dir not found")
|
||||
+ENDIF (NOT GSTREAMER_INCLUDE_DIR)
|
||||
+
|
||||
+# Newer versions of GStreamer put gst-config.h under lib/gstreamer-1.0/include
|
||||
+FIND_PATH(GSTREAMER_CONF_INCLUDE_DIR gst/gstconfig.h
|
||||
+ PATHS
|
||||
+ ${PKG_GSTREAMER_INCLUDE_DIRS}
|
||||
+ PATH_SUFFIXES gstreamer-1.0
|
||||
+ )
|
||||
+
|
||||
+IF (NOT GSTREAMER_CONF_INCLUDE_DIR)
|
||||
+ MESSAGE(STATUS "GStreamer: WARNING: gstconfig.h not found")
|
||||
+ENDIF (NOT GSTREAMER_CONF_INCLUDE_DIR)
|
||||
+
|
||||
+IF (GSTREAMER_INCLUDE_DIR AND GSTREAMER_CONF_INCLUDE_DIR)
|
||||
+ IF (NOT GSTREAMER_CONF_INCLUDE_DIR STREQUAL GSTREAMER_INCLUDE_DIR)
|
||||
+ LIST(APPEND GSTREAMER_INCLUDE_DIR "${GSTREAMER_CONF_INCLUDE_DIR}")
|
||||
+ ENDIF()
|
||||
+ENDIF (GSTREAMER_INCLUDE_DIR AND GSTREAMER_CONF_INCLUDE_DIR)
|
||||
+
|
||||
FIND_LIBRARY(GSTREAMER_LIBRARIES NAMES gstreamer-1.0
|
||||
PATHS
|
||||
${PKG_GSTREAMER_LIBRARY_DIRS}
|
||||
@@ -51,11 +72,6 @@ FIND_LIBRARY(GSTREAMER_APP_LIBRARY NAMES gstapp-1.0
|
||||
${PKG_GSTREAMER_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
-IF (GSTREAMER_INCLUDE_DIR)
|
||||
-ELSE (GSTREAMER_INCLUDE_DIR)
|
||||
- MESSAGE(STATUS "GStreamer: WARNING: include dir not found")
|
||||
-ENDIF (GSTREAMER_INCLUDE_DIR)
|
||||
-
|
||||
IF (GSTREAMER_LIBRARIES)
|
||||
ELSE (GSTREAMER_LIBRARIES)
|
||||
MESSAGE(STATUS "GStreamer: WARNING: library not found")
|
||||
--
|
||||
2.4.10
|
||||
|
@ -0,0 +1,363 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
BACKPORTS="68e51d6fd4fa25e985b21cb3a5b5ca6fce9aca9d"
|
||||
MY_P=${P%_p*}
|
||||
|
||||
inherit flag-o-matic multilib eutils python-single-r1 user systemd
|
||||
|
||||
MYTHTV_VERSION="v0.27.5"
|
||||
MYTHTV_BRANCH="fixes/0.27"
|
||||
|
||||
DESCRIPTION="Homebrew PVR project"
|
||||
HOMEPAGE="http://www.mythtv.org"
|
||||
SRC_URI="https://github.com/MythTV/mythtv/archive/v0.27.5.tar.gz -> mythtv-0.27.5.tar.gz
|
||||
${BACKPORTS:+https://dev.gentoo.org/~cardoe/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
|
||||
|
||||
SLOT="0/${PV}"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE_INPUT_DEVICES="input_devices_joystick"
|
||||
IUSE="alsa altivec avahi libass autostart bluray cec crystalhd debug dvb dvd \
|
||||
egl fftw +hls ieee1394 jack lcd lirc perl pulseaudio python +theora \
|
||||
vaapi vdpau +vorbis +wrapper +xml xmltv +xvid ${IUSE_INPUT_DEVICES}"
|
||||
|
||||
REQUIRED_USE="
|
||||
bluray? ( xml )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
theora? ( vorbis )"
|
||||
|
||||
COMMON="
|
||||
>=media-libs/freetype-2.0:=
|
||||
>=media-sound/lame-3.93.1
|
||||
sys-libs/zlib:=
|
||||
x11-libs/libX11:=
|
||||
x11-libs/libXext:=
|
||||
x11-libs/libXinerama:=
|
||||
x11-libs/libXv:=
|
||||
x11-libs/libXrandr:=
|
||||
x11-libs/libXxf86vm:=
|
||||
>=dev-qt/qtcore-4.7.2:4=
|
||||
>=dev-qt/qtdbus-4.7.2:4=
|
||||
>=dev-qt/qtgui-4.7.2:4=
|
||||
>=dev-qt/qtscript-4.7.2:4=
|
||||
>=dev-qt/qtsql-4.7.2:4=[mysql]
|
||||
>=dev-qt/qtopengl-4.7.2:4=[egl?]
|
||||
>=dev-qt/qtwebkit-4.7.2:4=
|
||||
x11-misc/wmctrl:=
|
||||
virtual/mysql
|
||||
virtual/opengl:=
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.24:= )
|
||||
avahi? (
|
||||
dev-libs/openssl:0=
|
||||
net-dns/avahi[mdnsresponder-compat]
|
||||
)
|
||||
bluray? (
|
||||
dev-libs/libcdio:=
|
||||
media-libs/libbluray:=
|
||||
sys-fs/udisks:0
|
||||
)
|
||||
cec? ( dev-libs/libcec:= )
|
||||
dvb? (
|
||||
media-libs/libdvb:=
|
||||
virtual/linuxtv-dvb-headers:=
|
||||
)
|
||||
dvd? (
|
||||
dev-libs/libcdio:=
|
||||
sys-fs/udisks:0
|
||||
)
|
||||
egl? ( media-libs/mesa:=[egl] )
|
||||
fftw? ( sci-libs/fftw:3.0= )
|
||||
hls? (
|
||||
media-libs/faac:=
|
||||
media-libs/libvpx:=
|
||||
>=media-libs/x264-0.0.20111220:=
|
||||
)
|
||||
ieee1394? (
|
||||
>=sys-libs/libraw1394-1.2.0:=
|
||||
>=sys-libs/libavc1394-0.5.3:=
|
||||
>=media-libs/libiec61883-1.0.0:=
|
||||
)
|
||||
jack? ( media-sound/jack-audio-connection-kit )
|
||||
lcd? ( app-misc/lcdproc )
|
||||
libass? ( >=media-libs/libass-0.9.11:= )
|
||||
lirc? ( app-misc/lirc )
|
||||
perl? (
|
||||
dev-perl/DBD-mysql
|
||||
dev-perl/Net-UPnP
|
||||
dev-perl/LWP-Protocol-https
|
||||
dev-perl/HTTP-Message
|
||||
dev-perl/IO-Socket-INET6
|
||||
>=dev-perl/libwww-perl-5
|
||||
)
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
python? (
|
||||
${PYTHON_DEPS}
|
||||
dev-python/mysql-python
|
||||
dev-python/lxml
|
||||
dev-python/urlgrabber
|
||||
)
|
||||
theora? ( media-libs/libtheora:= media-libs/libogg:= )
|
||||
vaapi? ( x11-libs/libva:= )
|
||||
vdpau? ( x11-libs/libvdpau:= )
|
||||
vorbis? ( >=media-libs/libvorbis-1.0:= media-libs/libogg:= )
|
||||
xml? ( >=dev-libs/libxml2-2.6.0:= )
|
||||
xvid? ( >=media-libs/xvid-1.1.0:= )
|
||||
!media-tv/mythtv-bindings
|
||||
!x11-themes/mythtv-themes
|
||||
media-libs/taglib:=
|
||||
dev-libs/glib:=
|
||||
"
|
||||
|
||||
RDEPEND="${COMMON}
|
||||
media-fonts/corefonts
|
||||
media-fonts/dejavu
|
||||
media-fonts/liberation-fonts
|
||||
x11-apps/xinit
|
||||
autostart? (
|
||||
net-dialup/mingetty
|
||||
x11-wm/evilwm
|
||||
x11-apps/xset
|
||||
)
|
||||
dvd? ( media-libs/libdvdcss:= )
|
||||
xmltv? ( >=media-tv/xmltv-0.5.43 )
|
||||
"
|
||||
|
||||
DEPEND="${COMMON}
|
||||
dev-lang/yasm
|
||||
x11-proto/xineramaproto
|
||||
x11-proto/xf86vidmodeproto
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/mythtv"
|
||||
|
||||
MYTHTV_GROUPS="video,audio,tty,uucp"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
enewuser mythtv -1 /bin/bash /home/mythtv ${MYTHTV_GROUPS}
|
||||
usermod -a -G ${MYTHTV_GROUPS} mythtv
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/../patches" \
|
||||
epatch
|
||||
|
||||
# Perl bits need to go into vender_perl and not site_perl
|
||||
sed -e "s:pure_install:pure_install INSTALLDIRS=vendor:" \
|
||||
-i "${S}"/bindings/perl/Makefile
|
||||
|
||||
# Fix up the version info since we are using the fixes/${PV} branch
|
||||
echo "SOURCE_VERSION=\"${MYTHTV_VERSION}\"" > "${S}"/VERSION
|
||||
echo "BRANCH=\"${MYTHTV_BRANCH}\"" >> "${S}"/VERSION
|
||||
echo "SOURCE_VERSION=\"${BACKPORTS}\"" > "${S}"/EXPORTED_VERSION
|
||||
echo "BRANCH=\"${MYTHTV_BRANCH}\"" >> "${S}"/EXPORTED_VERSION
|
||||
|
||||
echo "setting.extra -= -ldconfig" >> "${S}"/programs/mythfrontend/mythfrontend.pro
|
||||
|
||||
epatch "${FILESDIR}/libdir-27.patch"
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=
|
||||
|
||||
# Setup paths
|
||||
myconf="${myconf} --prefix=${EPREFIX}/usr"
|
||||
myconf="${myconf} --libdir=${EPREFIX}/usr/$(get_libdir)"
|
||||
myconf="${myconf} --libdir-name=$(get_libdir)"
|
||||
myconf="${myconf} --mandir=${EPREFIX}/usr/share/man"
|
||||
|
||||
# Audio
|
||||
myconf="${myconf} $(use_enable alsa audio-alsa)"
|
||||
myconf="${myconf} $(use_enable jack audio-jack)"
|
||||
use pulseaudio || myconf="${myconf} --disable-audio-pulseoutput"
|
||||
|
||||
use altivec || myconf="${myconf} --disable-altivec"
|
||||
myconf="${myconf} $(use_enable dvb)"
|
||||
myconf="${myconf} $(use_enable ieee1394 firewire)"
|
||||
myconf="${myconf} $(use_enable lirc)"
|
||||
myconf="${myconf} $(use_enable xvid libxvid)"
|
||||
myconf="${myconf} --dvb-path=/usr/include"
|
||||
myconf="${myconf} --enable-xrandr"
|
||||
myconf="${myconf} --enable-xv"
|
||||
myconf="${myconf} --enable-x11"
|
||||
myconf="${myconf} --enable-nonfree"
|
||||
myconf="${myconf} --enable-libmp3lame"
|
||||
use cec || myconf="${myconf} --disable-libcec"
|
||||
use avahi || myconf="${myconf} --disable-libdns-sd"
|
||||
myconf="${myconf} $(use_enable theora libtheora)"
|
||||
myconf="${myconf} $(use_enable vorbis libvorbis)"
|
||||
|
||||
if use hls; then
|
||||
myconf="${myconf} --enable-libx264"
|
||||
myconf="${myconf} --enable-libvpx"
|
||||
myconf="${myconf} --enable-libfaac"
|
||||
fi
|
||||
|
||||
myconf="${myconf} $(use_enable libass)"
|
||||
|
||||
if use perl && use python; then
|
||||
myconf="${myconf} --with-bindings=perl,python"
|
||||
elif use perl; then
|
||||
myconf="${myconf} --without-bindings=python"
|
||||
myconf="${myconf} --with-bindings=perl"
|
||||
elif use python; then
|
||||
myconf="${myconf} --without-bindings=perl"
|
||||
myconf="${myconf} --with-bindings=python"
|
||||
else
|
||||
myconf="${myconf} --without-bindings=perl,python"
|
||||
fi
|
||||
|
||||
use python && myconf="${myconf} --python=${EPYTHON}"
|
||||
|
||||
if use debug; then
|
||||
myconf="${myconf} --compile-type=debug"
|
||||
else
|
||||
myconf="${myconf} --compile-type=release"
|
||||
#myconf="${myconf} --enable-debug" does nothing per sphery
|
||||
#myconf="${myconf} --disable-stripping" does nothing per sphery
|
||||
fi
|
||||
|
||||
# Video
|
||||
myconf="${myconf} $(use_enable vdpau)"
|
||||
myconf="${myconf} $(use_enable vaapi)"
|
||||
myconf="${myconf} $(use_enable crystalhd)"
|
||||
|
||||
# Input
|
||||
use input_devices_joystick || myconf="${myconf} --disable-joystick-menu"
|
||||
|
||||
# Clean up DSO load times and other compiler bits
|
||||
myconf="${myconf} --enable-symbol-visibility"
|
||||
myconf="${myconf} --enable-pic"
|
||||
|
||||
# CPU settings
|
||||
for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do
|
||||
[ "${i}" = "native" ] && i="host"
|
||||
myconf="${myconf} --cpu=${i}"
|
||||
break
|
||||
done
|
||||
|
||||
if tc-is-cross-compiler ; then
|
||||
myconf="${myconf} --enable-cross-compile --arch=$(tc-arch-kernel)"
|
||||
myconf="${myconf} --cross-prefix=${CHOST}-"
|
||||
fi
|
||||
|
||||
# Build boosters
|
||||
has distcc ${FEATURES} || myconf="${myconf} --disable-distcc"
|
||||
has ccache ${FEATURES} || myconf="${myconf} --disable-ccache"
|
||||
|
||||
chmod +x ./external/FFmpeg/version.sh
|
||||
|
||||
einfo "Running ./configure ${myconf}"
|
||||
./configure \
|
||||
--cc="$(tc-getCC)" \
|
||||
--cxx="$(tc-getCXX)" \
|
||||
--ar="$(tc-getAR)" \
|
||||
--extra-cflags="${CFLAGS}" \
|
||||
--extra-cxxflags="${CXXFLAGS}" \
|
||||
--extra-ldflags="${LDFLAGS}" \
|
||||
${myconf} || die "configure died"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${D}" install || die "install failed"
|
||||
dodoc AUTHORS UPGRADING README
|
||||
|
||||
insinto /usr/share/mythtv/database
|
||||
doins database/*
|
||||
|
||||
newinitd "${FILESDIR}"/mythbackend.init-r2 mythbackend
|
||||
newconfd "${FILESDIR}"/mythbackend.conf-r1 mythbackend
|
||||
systemd_dounit "${FILESDIR}"/mythbackend.service
|
||||
|
||||
dodoc keys.txt
|
||||
|
||||
keepdir /etc/mythtv
|
||||
chown -R mythtv "${ED}"/etc/mythtv
|
||||
keepdir /var/log/mythtv
|
||||
chown -R mythtv "${ED}"/var/log/mythtv
|
||||
dodir /var/log/mythtv/old
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/mythtv.logrotate.d-r4 mythtv
|
||||
|
||||
insinto /usr/share/mythtv/contrib
|
||||
# Ensure we don't install scripts needing the perl bindings (bug #516968)
|
||||
use perl || find contrib/ -name '*.pl' -exec rm -f {} \;
|
||||
# Ensure we don't install scripts needing the python bindings (bug #516968)
|
||||
use python || find contrib/ -name '*.py' -exec rm -f {} \;
|
||||
doins -r contrib/*
|
||||
|
||||
# Install our mythfrontend wrapper which is similar to Mythbuntu's
|
||||
if use wrapper; then
|
||||
mv "${ED}/usr/bin/mythfrontend" "${ED}/usr/bin/mythfrontend.real"
|
||||
newbin "${FILESDIR}"/mythfrontend.wrapper mythfrontend
|
||||
newconfd "${FILESDIR}"/mythfrontend.conf mythfrontend
|
||||
fi
|
||||
|
||||
if use autostart; then
|
||||
dodir /etc/env.d/
|
||||
echo 'CONFIG_PROTECT="/home/mythtv/"' > "${ED}"/etc/env.d/95mythtv
|
||||
|
||||
insinto /home/mythtv
|
||||
newins "${FILESDIR}"/bash_profile .bash_profile
|
||||
newins "${FILESDIR}"/xinitrc-r1 .xinitrc
|
||||
fi
|
||||
|
||||
# Make Python files executable
|
||||
find "${ED}/usr/share/mythtv" -type f -name '*.py' | while read file; do
|
||||
if [[ ! "${file##*/}" = "__init__.py" ]]; then
|
||||
chmod a+x "${file}"
|
||||
fi
|
||||
done
|
||||
|
||||
# Ensure that Python scripts are executed by Python 2
|
||||
python_fix_shebang "${ED}/usr/share/mythtv"
|
||||
|
||||
# Make shell & perl scripts executable
|
||||
find "${ED}" -type f -name '*.sh' -o -type f -name '*.pl' | \
|
||||
while read file; do
|
||||
chmod a+x "${file}"
|
||||
done
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
export CONFIG_PROTECT="${CONFIG_PROTECT} ${EROOT}/home/mythtv/"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "To have this machine operate as recording host for MythTV, "
|
||||
elog "mythbackend must be running. Run the following:"
|
||||
elog "rc-update add mythbackend default"
|
||||
elog
|
||||
elog "Your recordings folder must be owned 'mythtv'. e.g."
|
||||
elog "chown -R mythtv /var/lib/mythtv"
|
||||
|
||||
elog "Want mythfrontend to start automatically?"
|
||||
elog "Set USE=autostart. Details can be found at:"
|
||||
elog "https://dev.gentoo.org/~cardoe/mythtv/autostart.html"
|
||||
elog
|
||||
elog "Note that the systemd unit now restarts by default and logs"
|
||||
elog "to journald via the console at the notice verbosity."
|
||||
}
|
||||
|
||||
pkg_info() {
|
||||
if [[ -f "${EROOT}"/usr/bin/mythfrontend ]]; then
|
||||
"${EROOT}"/usr/bin/mythfrontend --version
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
echo "Creating mythtv MySQL user and mythconverg database if it does not"
|
||||
echo "already exist. You will be prompted for your MySQL root password."
|
||||
"${EROOT}"/usr/bin/mysql -u root -p < "${EROOT}"/usr/share/mythtv/database/mc.sql
|
||||
}
|
@ -1 +1 @@
|
||||
Tue, 27 Oct 2015 13:11:20 +0000
|
||||
Tue, 27 Oct 2015 16:11:24 +0000
|
||||
|
@ -1 +1 @@
|
||||
Tue, 27 Oct 2015 13:11:21 +0000
|
||||
Tue, 27 Oct 2015 16:11:24 +0000
|
||||
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install prepare test unpack
|
||||
DEPEND=doc? ( app-doc/doxygen[dot,latex] ) sys-devel/make >=dev-util/cmake-2.8.12 userland_GNU? ( >=sys-apps/findutils-4.4.0 )
|
||||
DESCRIPTION=C++ template library for linear algebra: vectors, matrices, and related algorithms
|
||||
EAPI=5
|
||||
HOMEPAGE=http://eigen.tuxfamily.org/
|
||||
IUSE=debug doc
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux
|
||||
LICENSE=LGPL-2 GPL-3
|
||||
RDEPEND=!dev-cpp/eigen:0
|
||||
SLOT=3
|
||||
SRC_URI=https://bitbucket.org/eigen/eigen/get/3.2.6.tar.bz2 -> eigen-3.2.6.tar.bz2
|
||||
_eclasses_=cmake-utils 34a43631b1edbd429618149bc986d524 eutils 43da5163ba106e87d22d2e7d6d67537f flag-o-matic 85dc1eac3c64d8141374490ed64122e5 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
||||
_md5_=a30dade6e9fc3bca36efdab93eed1efb
|
File diff suppressed because one or more lines are too long
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=>=dev-libs/libuv-1.7.3:0/1 python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
|
||||
DESCRIPTION=Python interface for libuv
|
||||
EAPI=5
|
||||
HOMEPAGE=https://pyuv.readthedocs.org/en
|
||||
IUSE=python_targets_python2_7 python_targets_python3_4 python_targets_python3_5
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=MIT
|
||||
RDEPEND=>=dev-libs/libuv-1.7.3:0/1 python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)]
|
||||
REQUIRED_USE=|| ( python_targets_python2_7 python_targets_python3_4 python_targets_python3_5 )
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/saghul/pyuv/archive/pyuv-1.2.0.tar.gz
|
||||
_eclasses_=distutils-r1 46506dd0dd992b3c89b0d00daabfd86c eutils 43da5163ba106e87d22d2e7d6d67537f multibuild ce2c2ede0c914b77f5dfc4e2ff2d0249 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 multiprocessing d769539d9bace6eaca30af23bc2b4dde python-r1 32b376cbb100a3a8083b3a0de023e117 python-utils-r1 9c405693f1f355a718700c5cffffd9e5 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
|
||||
_md5_=6b923d65bce5bc56fab15a8d2629d0fc
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst postrm preinst prepare setup test unpack
|
||||
DEPEND=dev-cpp/eigen:3 >=kde-apps/libkdeedu-4.14.3:4[aqua=] fits? ( >=sci-libs/cfitsio-0.390 ) indi? ( >=sci-libs/indilib-0.9.8 ) >=sys-apps/sed-4 sys-devel/make >=dev-util/cmake-2.8.12 userland_GNU? ( >=sys-apps/findutils-4.4.0 ) dev-util/automoc virtual/pkgconfig !aqua? ( >=x11-libs/libXtst-1.1.0 x11-proto/xf86vidmodeproto ) handbook? ( app-text/docbook-xml-dtd:4.2 app-text/docbook-xsl-stylesheets ) dev-lang/perl >=dev-qt/qt3support-4.8.5:4[accessibility] >=dev-qt/qtcore-4.8.5:4[qt3support,ssl] >=dev-qt/qtdbus-4.8.5:4 >=dev-qt/designer-4.8.5:4 >=dev-qt/qtgui-4.8.5:4[accessibility,dbus(+)] >=dev-qt/qtscript-4.8.5:4 >=dev-qt/qtsql-4.8.5:4[qt3support] >=dev-qt/qtsvg-4.8.5:4 >=dev-qt/qttest-4.8.5:4 >=dev-qt/qtwebkit-4.8.5:4 >=kde-base/kdelibs-4.14.3:4[aqua=]
|
||||
DESCRIPTION=KDE Desktop Planetarium
|
||||
EAPI=5
|
||||
HOMEPAGE=https://www.kde.org/applications/education/kstars https://edu.kde.org/kstars
|
||||
IUSE=debug fits indi +handbook aqua
|
||||
KEYWORDS=amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=dev-cpp/eigen:3 >=kde-apps/libkdeedu-4.14.3:4[aqua=] fits? ( >=sci-libs/cfitsio-0.390 ) indi? ( >=sci-libs/indilib-0.9.8 ) !kde-base/kstars:4 kde-apps/oxygen-icons handbook? ( >=kde-base/kdelibs-4.14.3:4[aqua=,handbook] ) dev-lang/perl >=dev-qt/qt3support-4.8.5:4[accessibility] >=dev-qt/qtcore-4.8.5:4[qt3support,ssl] >=dev-qt/qtdbus-4.8.5:4 >=dev-qt/designer-4.8.5:4 >=dev-qt/qtgui-4.8.5:4[accessibility,dbus(+)] >=dev-qt/qtscript-4.8.5:4 >=dev-qt/qtsql-4.8.5:4[qt3support] >=dev-qt/qtsvg-4.8.5:4 >=dev-qt/qttest-4.8.5:4 >=dev-qt/qtwebkit-4.8.5:4 >=kde-base/kdelibs-4.14.3:4[aqua=]
|
||||
REQUIRED_USE=indi? ( fits )
|
||||
SLOT=4/4.14
|
||||
SRC_URI=mirror://kde/stable/4.14.3/src/kstars-4.14.3.tar.xz
|
||||
_eclasses_=cmake-utils 34a43631b1edbd429618149bc986d524 eutils 43da5163ba106e87d22d2e7d6d67537f fdo-mime 92d07846ea8ea54172f8c0112a47ae3d flag-o-matic 85dc1eac3c64d8141374490ed64122e5 gnome2-utils 588052cacdf74572e68bdfeaece20534 kde4-base 52621bec79f30777de90a2a4ffbea27f kde4-functions 7c6a6bcbd13275fc424ef9fb43ae5ad1 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 versionator 99ae9d758cbe7cfed19170e7d48f5a9c virtualx 7d550983f9b6adb3e7091f4090ddae2f
|
||||
_md5_=005b9b1bba470337de0141274f7ae8c1
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile install postinst postrm preinst setup test unpack
|
||||
DEPEND=!build? ( sys-apps/sed >=sys-devel/binutils-2.11.90.0.31 )
|
||||
DESCRIPTION=Full sources including the Gentoo patchset for the 4.2 kernel tree
|
||||
EAPI=5
|
||||
HOMEPAGE=https://dev.gentoo.org/~mpagano/genpatches
|
||||
IUSE=experimental symlink build kdbus
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 -hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86
|
||||
LICENSE=GPL-2 freedist
|
||||
RDEPEND=!build? ( >=sys-libs/ncurses-5.2 sys-devel/make dev-lang/perl sys-devel/bc )
|
||||
RESTRICT=binchecks strip
|
||||
SLOT=4.2.5
|
||||
SRC_URI=mirror://kernel/linux/kernel/v4.x/linux-4.2.tar.xz mirror://gentoo/genpatches-4.2-8.base.tar.xz mirror://gentoo/genpatches-4.2-8.extras.tar.xz experimental? ( mirror://gentoo/genpatches-4.2-8.experimental.tar.xz )
|
||||
_eclasses_=eutils 43da5163ba106e87d22d2e7d6d67537f kernel-2 7bbc05b42cbfd1ed8b4f9837d1e43df2 multilib df4e4d5cfd3d137d0c248e1991c0e4d6 python-any-r1 b81ab4852d108e3d9c940fa03bce80e1 python-utils-r1 9c405693f1f355a718700c5cffffd9e5 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=5e2049ee184f28d9d7fe4adc7159f093
|
@ -1 +1 @@
|
||||
Tue, 27 Oct 2015 13:11:21 +0000
|
||||
Tue, 27 Oct 2015 16:11:24 +0000
|
||||
|
@ -1 +1 @@
|
||||
Tue Oct 27 13:11:20 UTC 2015
|
||||
Tue Oct 27 16:11:24 UTC 2015
|
||||
|
@ -1 +1 @@
|
||||
Tue, 27 Oct 2015 13:30:01 +0000
|
||||
Tue, 27 Oct 2015 16:30:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
1445951401 Tue 27 Oct 2015 01:10:01 PM UTC
|
||||
1445962201 Tue 27 Oct 2015 04:10:01 PM UTC
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
ETYPE="sources"
|
||||
K_WANT_GENPATCHES="base extras experimental"
|
||||
K_GENPATCHES_VER="8"
|
||||
K_DEBLOB_AVAILABLE="0"
|
||||
K_KDBUS_AVAILABLE="1"
|
||||
|
||||
inherit kernel-2
|
||||
detect_version
|
||||
detect_arch
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 -hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches"
|
||||
IUSE="experimental"
|
||||
|
||||
DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
|
||||
SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
|
||||
|
||||
pkg_postinst() {
|
||||
kernel-2_pkg_postinst
|
||||
einfo "For more info on this patchset, and how to report problems, see:"
|
||||
einfo "${HOMEPAGE}"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
kernel-2_pkg_postrm
|
||||
}
|
Loading…
Reference in new issue