parent
9f6d52b614
commit
1257b7371d
@ -0,0 +1,39 @@
|
||||
--- a/contrib/imzmq3/imzmq3.c
|
||||
+++ b/contrib/imzmq3/imzmq3.c
|
||||
@@ -403,7 +403,7 @@ static rsRetVal createSocket(instanceConf_t* info, void** sock) {
|
||||
|
||||
/* Do the bind/connect... */
|
||||
if (info->action==ACTION_CONNECT) {
|
||||
- rv = zsocket_connect(*sock, info->description);
|
||||
+ rv = zsocket_connect(*sock, "%s", info->description);
|
||||
if (rv == -1) {
|
||||
errmsg.LogError(0,
|
||||
RS_RET_INVALID_PARAMS,
|
||||
@@ -413,7 +413,7 @@ static rsRetVal createSocket(instanceConf_t* info, void** sock) {
|
||||
}
|
||||
DBGPRINTF("imzmq3: connect for %s successful\n",info->description);
|
||||
} else {
|
||||
- rv = zsocket_bind(*sock, info->description);
|
||||
+ rv = zsocket_bind(*sock, "%s", info->description);
|
||||
if (rv == -1) {
|
||||
errmsg.LogError(0,
|
||||
RS_RET_INVALID_PARAMS,
|
||||
--- a/contrib/omzmq3/omzmq3.c
|
||||
+++ b/contrib/omzmq3/omzmq3.c
|
||||
@@ -242,14 +242,14 @@ static rsRetVal initZMQ(instanceData* pData) {
|
||||
if (pData->action == ACTION_BIND) {
|
||||
/* bind asserts, so no need to test return val here
|
||||
which isn't the greatest api -- oh well */
|
||||
- if(-1 == zsocket_bind(pData->socket, (char*)pData->description)) {
|
||||
+ if(-1 == zsocket_bind(pData->socket, "%s", (char*)pData->description)) {
|
||||
errmsg.LogError(0, RS_RET_NO_ERRCODE, "omzmq3: bind failed for %s: %s",
|
||||
pData->description, zmq_strerror(errno));
|
||||
ABORT_FINALIZE(RS_RET_NO_ERRCODE);
|
||||
}
|
||||
DBGPRINTF("omzmq3: bind to %s successful\n",pData->description);
|
||||
} else {
|
||||
- if(-1 == zsocket_connect(pData->socket, (char*)pData->description)) {
|
||||
+ if(-1 == zsocket_connect(pData->socket, "%s", (char*)pData->description)) {
|
||||
errmsg.LogError(0, RS_RET_NO_ERRCODE, "omzmq3: connect failed for %s: %s",
|
||||
pData->description, zmq_strerror(errno));
|
||||
ABORT_FINALIZE(RS_RET_NO_ERRCODE);
|
@ -0,0 +1,43 @@
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -1695,12 +1695,14 @@ AM_CONDITIONAL(ENABLE_KAFKA_TESTS, test x$enable_kafka_tests = xyes)
|
||||
|
||||
# omkafka works with older library
|
||||
if test "x$enable_omkafka" = "xyes"; then
|
||||
- PKG_CHECK_MODULES([LIBRDKAFKA], [librdkafka],, [
|
||||
- AC_CHECK_LIB([rdkafka], [rd_kafka_produce], [
|
||||
- AC_MSG_WARN([librdkafka is missing but library present, using -lrdkafka])
|
||||
- LIBRDKAFKA_LIBS=-lrdkafka
|
||||
- ], [
|
||||
- AC_MSG_ERROR([could not find rdkafka library])
|
||||
+ PKG_CHECK_MODULES([LIBRDKAFKA], [rdkafka],, [
|
||||
+ PKG_CHECK_MODULES([LIBRDKAFKA], [librdkafka],, [
|
||||
+ AC_CHECK_LIB([rdkafka], [rd_kafka_produce], [
|
||||
+ AC_MSG_WARN([librdkafka is missing but library present, using -lrdkafka])
|
||||
+ LIBRDKAFKA_LIBS=-lrdkafka
|
||||
+ ], [
|
||||
+ AC_MSG_ERROR([could not find rdkafka library])
|
||||
+ ])
|
||||
])
|
||||
])
|
||||
AC_CHECK_HEADERS([librdkafka/rdkafka.h])
|
||||
@@ -1708,12 +1710,13 @@ fi
|
||||
|
||||
# imkafka needs newer library
|
||||
if test "x$enable_imkafka" = "xyes"; then
|
||||
- PKG_CHECK_MODULES(LIBRDKAFKA, rdkafka >= 0.9.1)
|
||||
- AC_CHECK_LIB([rdkafka], [rd_kafka_produce], [
|
||||
- AC_MSG_WARN([librdkafka is missing but library present, using -lrdkafka])
|
||||
- LIBRDKAFKA_LIBS=-lrdkafka
|
||||
- ], [
|
||||
- AC_MSG_ERROR([could not find rdkafka library])
|
||||
+ PKG_CHECK_MODULES([LIBRDKAFKA], [rdkafka >= 0.9.1],, [
|
||||
+ AC_CHECK_LIB([rdkafka], [rd_kafka_produce], [
|
||||
+ AC_MSG_WARN([librdkafka is missing but library present, using -lrdkafka])
|
||||
+ LIBRDKAFKA_LIBS=-lrdkafka
|
||||
+ ], [
|
||||
+ AC_MSG_ERROR([could not find rdkafka library])
|
||||
+ ])
|
||||
])
|
||||
AC_CHECK_HEADERS([librdkafka/rdkafka.h])
|
||||
fi
|
@ -0,0 +1,460 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit autotools eutils linux-info systemd
|
||||
|
||||
DESCRIPTION="An enhanced multi-threaded syslogd with database support and more"
|
||||
HOMEPAGE="http://www.rsyslog.com/"
|
||||
|
||||
BRANCH="8-stable"
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
EGIT_REPO_URI="
|
||||
git://github.com/rsyslog/${PN}.git
|
||||
https://github.com/rsyslog/${PN}.git
|
||||
"
|
||||
|
||||
DOC_REPO_URI="
|
||||
git://github.com/rsyslog/${PN}-doc.git
|
||||
https://github.com/rsyslog/${PN}-doc.git
|
||||
"
|
||||
|
||||
inherit git-r3
|
||||
else
|
||||
MY_PV=${PV%_rc*}
|
||||
MY_FILENAME="${PN}-${PV}.tar.gz"
|
||||
MY_FILENAME_DOCS="${PN}-docs-${PV}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
# Upstream URL schema:
|
||||
# RC: http://www.rsyslog.com/files/download/rsyslog/rc/rsyslog-8.18.0.tar.gz
|
||||
# http://www.rsyslog.com/files/download/rsyslog/rc2/rsyslog-8.18.0.tar.gz
|
||||
# Release: http://www.rsyslog.com/files/download/rsyslog/rsyslog-8.18.0.tar.gz
|
||||
|
||||
MY_URL_PREFIX=
|
||||
if [[ ${PV} = *_rc* ]]; then
|
||||
_tmp_last_index=$(($(get_last_version_component_index ${PV})+1))
|
||||
_tmp_suffix=$(get_version_component_range ${_tmp_last_index} ${PV})
|
||||
if [[ ${_tmp_suffix} = *rc* ]]; then
|
||||
MY_URL_PREFIX="${_tmp_suffix}/"
|
||||
fi
|
||||
|
||||
# Cleaning up temporary variables
|
||||
unset _tmp_last_index
|
||||
unset _tmp_suffix
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86"
|
||||
fi
|
||||
|
||||
SRC_URI="
|
||||
http://www.rsyslog.com/files/download/${PN}/${MY_URL_PREFIX}${PN}-${MY_PV}.tar.gz -> ${MY_FILENAME}
|
||||
doc? ( http://www.rsyslog.com/files/download/${PN}/${MY_URL_PREFIX}${PN}-doc-${MY_PV}.tar.gz -> ${MY_FILENAME_DOCS} )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/8-stable/${PN}-8.26.0-fix-zmq3-format-security.patch
|
||||
"${FILESDIR}"/8-stable/${PN}-8.27.0-fix-librdkafka-detection.patch
|
||||
)
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3 LGPL-3 Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="dbi debug doc elasticsearch +gcrypt grok jemalloc kafka kerberos libressl mdblookup mongodb mysql normalize omhttpfs"
|
||||
IUSE+=" omudpspoof postgres rabbitmq redis relp rfc3195 rfc5424hmac snmp ssl systemd test usertools +uuid zeromq"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/libfastjson-0.99.3:=
|
||||
>=dev-libs/libestr-0.1.9
|
||||
>=dev-libs/liblogging-1.0.1:=[stdlog]
|
||||
>=sys-libs/zlib-1.2.5
|
||||
dbi? ( >=dev-db/libdbi-0.8.3 )
|
||||
elasticsearch? ( >=net-misc/curl-7.35.0 )
|
||||
gcrypt? ( >=dev-libs/libgcrypt-1.5.3:= )
|
||||
grok? ( >=dev-libs/grok-0.9.2 )
|
||||
jemalloc? ( >=dev-libs/jemalloc-3.3.1:= )
|
||||
kafka? ( >=dev-libs/librdkafka-0.9.0.99:= )
|
||||
kerberos? ( virtual/krb5 )
|
||||
mdblookup? ( dev-libs/libmaxminddb:= )
|
||||
mongodb? ( >=dev-libs/libmongo-client-0.1.4 )
|
||||
mysql? ( virtual/mysql )
|
||||
normalize? (
|
||||
>=dev-libs/libee-0.4.0
|
||||
>=dev-libs/liblognorm-2.0.3:=
|
||||
)
|
||||
omhttpfs? ( >=net-misc/curl-7.35.0 )
|
||||
omudpspoof? ( >=net-libs/libnet-1.1.6 )
|
||||
postgres? ( >=dev-db/postgresql-8.4.20:= )
|
||||
rabbitmq? ( >=net-libs/rabbitmq-c-0.3.0:= )
|
||||
redis? ( >=dev-libs/hiredis-0.11.0:= )
|
||||
relp? ( >=dev-libs/librelp-1.2.12:= )
|
||||
rfc3195? ( >=dev-libs/liblogging-1.0.1:=[rfc3195] )
|
||||
rfc5424hmac? (
|
||||
!libressl? ( >=dev-libs/openssl-0.9.8y:0= )
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
)
|
||||
snmp? ( >=net-analyzer/net-snmp-5.7.2 )
|
||||
ssl? ( >=net-libs/gnutls-2.12.23:0= )
|
||||
systemd? ( >=sys-apps/systemd-208 )
|
||||
uuid? ( sys-apps/util-linux:0= )
|
||||
zeromq? (
|
||||
>=net-libs/zeromq-4.1.1:=
|
||||
>=net-libs/czmq-3.0.0
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/autoconf-archive-2015.02.24
|
||||
virtual/pkgconfig
|
||||
test? ( sys-libs/libfaketime )"
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
DEPEND+=" doc? ( >=dev-python/sphinx-1.1.3-r7 )"
|
||||
DEPEND+=" >=sys-devel/flex-2.5.39-r1"
|
||||
DEPEND+=" >=sys-devel/bison-2.4.3"
|
||||
DEPEND+=" >=dev-python/docutils-0.12"
|
||||
fi
|
||||
|
||||
CONFIG_CHECK="~INOTIFY_USER"
|
||||
WARNING_INOTIFY_USER="CONFIG_INOTIFY_USER isn't set. Imfile module on this system will only support polling mode!"
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
git-r3_fetch
|
||||
git-r3_checkout
|
||||
else
|
||||
unpack ${P}.tar.gz
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
local _EGIT_BRANCH=
|
||||
if [[ -n "${EGIT_BRANCH}" ]]; then
|
||||
# Cannot use rsyslog commits/branches for documentation repository
|
||||
_EGIT_BRANCH=${EGIT_BRANCH}
|
||||
unset EGIT_BRANCH
|
||||
fi
|
||||
|
||||
git-r3_fetch "${DOC_REPO_URI}"
|
||||
git-r3_checkout "${DOC_REPO_URI}" "${S}"/docs
|
||||
|
||||
if [[ -n "${_EGIT_BRANCH}" ]]; then
|
||||
# Restore previous EGIT_BRANCH information
|
||||
EGIT_BRANCH=${_EGIT_BRANCH}
|
||||
fi
|
||||
else
|
||||
cd "${S}" || die "Cannot change dir into '${S}'"
|
||||
mkdir docs || die "Failed to create docs directory"
|
||||
cd docs || die "Failed to change dir into '${S}/docs'"
|
||||
unpack ${MY_FILENAME_DOCS}
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Maintainer notes:
|
||||
# * Guardtime support is missing because libgt isn't yet available
|
||||
# in portage.
|
||||
# * Hadoop's HDFS file system output module is currently not
|
||||
# supported in Gentoo because nobody is able to test it
|
||||
# (JAVA dependency).
|
||||
# * dev-libs/hiredis doesn't provide pkg-config (see #504614,
|
||||
# upstream PR 129 and 136) so we need to export HIREDIS_*
|
||||
# variables because rsyslog's build system depends on pkg-config.
|
||||
|
||||
if use redis; then
|
||||
export HIREDIS_LIBS="-L${EPREFIX}/usr/$(get_libdir) -lhiredis"
|
||||
export HIREDIS_CFLAGS="-I${EPREFIX}/usr/include"
|
||||
fi
|
||||
|
||||
local myeconfargs=(
|
||||
--disable-debug-symbols
|
||||
--disable-generate-man-pages
|
||||
--without-valgrind-testbench
|
||||
$(use_enable test testbench)
|
||||
# Input Plugins without depedencies
|
||||
--enable-imdiag
|
||||
--enable-imfile
|
||||
--enable-impstats
|
||||
--enable-imptcp
|
||||
# Message Modificiation Plugins without depedencies
|
||||
--enable-mmanon
|
||||
--enable-mmaudit
|
||||
--enable-mmcount
|
||||
--enable-mmfields
|
||||
--enable-mmjsonparse
|
||||
--enable-mmpstrucdata
|
||||
--enable-mmrm1stspace
|
||||
--enable-mmsequence
|
||||
--enable-mmutf8fix
|
||||
# Output Modification Plugins without dependencies
|
||||
--enable-mail
|
||||
--enable-omprog
|
||||
--enable-omruleset
|
||||
--enable-omstdout
|
||||
--enable-omuxsock
|
||||
# Misc
|
||||
--enable-pmaixforwardedfrom
|
||||
--enable-pmciscoios
|
||||
--enable-pmcisconames
|
||||
--enable-pmlastmsg
|
||||
--enable-pmsnare
|
||||
# DB
|
||||
$(use_enable dbi libdbi)
|
||||
$(use_enable mongodb ommongodb)
|
||||
$(use_enable mysql)
|
||||
$(use_enable postgres pgsql)
|
||||
$(use_enable redis omhiredis)
|
||||
# Debug
|
||||
$(use_enable debug)
|
||||
$(use_enable debug diagtools)
|
||||
$(use_enable debug memcheck)
|
||||
$(use_enable debug rtinst)
|
||||
$(use_enable debug valgrind)
|
||||
# Misc
|
||||
$(use_enable elasticsearch)
|
||||
$(use_enable gcrypt libgcrypt)
|
||||
$(use_enable jemalloc)
|
||||
$(use_enable kafka imkafka)
|
||||
$(use_enable kafka omkafka)
|
||||
$(use_enable kerberos gssapi-krb5)
|
||||
$(use_enable normalize mmnormalize)
|
||||
$(use_enable mdblookup mmdblookup)
|
||||
$(use_enable grok mmgrok)
|
||||
$(use_enable omhttpfs)
|
||||
$(use_enable omudpspoof)
|
||||
$(use_enable rabbitmq omrabbitmq)
|
||||
$(use_enable relp)
|
||||
$(use_enable rfc3195)
|
||||
$(use_enable rfc5424hmac mmrfc5424addhmac)
|
||||
$(use_enable snmp)
|
||||
$(use_enable snmp mmsnmptrapd)
|
||||
$(use_enable ssl gnutls)
|
||||
$(use_enable systemd imjournal)
|
||||
$(use_enable systemd omjournal)
|
||||
$(use_enable usertools)
|
||||
$(use_enable uuid)
|
||||
$(use_enable zeromq imczmq)
|
||||
$(use_enable zeromq imzmq3)
|
||||
$(use_enable zeromq omczmq)
|
||||
$(use_enable zeromq omzmq3)
|
||||
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use doc && [[ "${PV}" == "9999" ]]; then
|
||||
einfo "Building documentation ..."
|
||||
local doc_dir="${S}/docs"
|
||||
cd "${doc_dir}" || die "Cannot chdir into \"${doc_dir}\"!"
|
||||
sphinx-build -b html source build || die "Building documentation failed!"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local _has_increased_ulimit=
|
||||
|
||||
# Sometimes tests aren't executable (i.e. when added via patch)
|
||||
einfo "Adjusting permissions of test scripts ..."
|
||||
find "${S}"/tests -type f -name '*.sh' \! -perm -111 -exec chmod a+x '{}' \; || \
|
||||
die "Failed to adjust test scripts permission"
|
||||
|
||||
if ulimit -n 3072; then
|
||||
_has_increased_ulimit="true"
|
||||
fi
|
||||
|
||||
if ! emake --jobs 1 check; then
|
||||
eerror "Test suite failed! :("
|
||||
|
||||
if [[ -z "${_has_increased_ulimit}" ]]; then
|
||||
eerror "Probably because open file limit couldn't be set to 3072."
|
||||
fi
|
||||
|
||||
if has userpriv ${FEATURES}; then
|
||||
eerror "Please try to reproduce the test suite failure with FEATURES=-userpriv " \
|
||||
"before you submit a bug report."
|
||||
fi
|
||||
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local DOCS=(
|
||||
AUTHORS
|
||||
ChangeLog
|
||||
"${FILESDIR}"/${BRANCH}/README.gentoo
|
||||
)
|
||||
|
||||
use doc && local HTML_DOCS=( "${S}/docs/build/." )
|
||||
|
||||
default
|
||||
|
||||
newconfd "${FILESDIR}/${BRANCH}/${PN}.confd-r1" ${PN}
|
||||
newinitd "${FILESDIR}/${BRANCH}/${PN}.initd-r1" ${PN}
|
||||
|
||||
keepdir /var/empty/dev
|
||||
keepdir /var/spool/${PN}
|
||||
keepdir /etc/ssl/${PN}
|
||||
keepdir /etc/${PN}.d
|
||||
|
||||
insinto /etc
|
||||
newins "${FILESDIR}/${BRANCH}/${PN}.conf" ${PN}.conf
|
||||
|
||||
insinto /etc/rsyslog.d/
|
||||
doins "${FILESDIR}/${BRANCH}/50-default.conf"
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${BRANCH}/${PN}.logrotate" ${PN}
|
||||
|
||||
if use mysql; then
|
||||
insinto /usr/share/doc/${PF}/scripts/mysql
|
||||
doins plugins/ommysql/createDB.sql
|
||||
fi
|
||||
|
||||
if use postgres; then
|
||||
insinto /usr/share/doc/${PF}/scripts/pgsql
|
||||
doins plugins/ompgsql/createDB.sql
|
||||
fi
|
||||
|
||||
prune_libtool_files --modules
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local advertise_readme=0
|
||||
|
||||
if [[ -z "${REPLACING_VERSIONS}" ]]; then
|
||||
# This is a new installation
|
||||
|
||||
advertise_readme=1
|
||||
|
||||
if use mysql || use postgres; then
|
||||
echo
|
||||
elog "Sample SQL scripts for MySQL & PostgreSQL have been installed to:"
|
||||
elog " /usr/share/doc/${PF}/scripts"
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
echo
|
||||
elog "To create a default CA and certificates for your server and clients, run:"
|
||||
elog " emerge --config =${PF}"
|
||||
elog "on your logging server. You can run it several times,"
|
||||
elog "once for each logging client. The client certificates will be signed"
|
||||
elog "using the CA certificate generated during the first run."
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ ${advertise_readme} -gt 0 ]]; then
|
||||
# We need to show the README file location
|
||||
|
||||
echo ""
|
||||
elog "Please read"
|
||||
elog ""
|
||||
elog " ${EPREFIX}/usr/share/doc/${PF}/README.gentoo*"
|
||||
elog ""
|
||||
elog "for more details."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
if ! use ssl ; then
|
||||
einfo "There is nothing to configure for rsyslog unless you"
|
||||
einfo "used USE=ssl to build it."
|
||||
return 0
|
||||
fi
|
||||
|
||||
# Make sure the certificates directory exists
|
||||
local CERTDIR="${EROOT}/etc/ssl/${PN}"
|
||||
if [[ ! -d "${CERTDIR}" ]]; then
|
||||
mkdir "${CERTDIR}" || die
|
||||
fi
|
||||
einfo "Your certificates will be stored in ${CERTDIR}"
|
||||
|
||||
# Create a default CA if needed
|
||||
if [[ ! -f "${CERTDIR}/${PN}_ca.cert.pem" ]]; then
|
||||
einfo "No CA key and certificate found in ${CERTDIR}, creating them for you..."
|
||||
certtool --generate-privkey \
|
||||
--outfile "${CERTDIR}/${PN}_ca.privkey.pem" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_ca.privkey.pem"
|
||||
|
||||
cat > "${T}/${PF}.$$" <<- _EOF
|
||||
cn = Portage automated CA
|
||||
ca
|
||||
cert_signing_key
|
||||
expiration_days = 3650
|
||||
_EOF
|
||||
|
||||
certtool --generate-self-signed \
|
||||
--load-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||
--outfile "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||
--template "${T}/${PF}.$$" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_ca.privkey.pem"
|
||||
|
||||
# Create the server certificate
|
||||
echo
|
||||
einfon "Please type the Common Name of the SERVER you wish to create a certificate for: "
|
||||
read -r CN
|
||||
|
||||
einfo "Creating private key and certificate for server ${CN}..."
|
||||
certtool --generate-privkey \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.key.pem" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.key.pem"
|
||||
|
||||
cat > "${T}/${PF}.$$" <<- _EOF
|
||||
cn = ${CN}
|
||||
tls_www_server
|
||||
dns_name = ${CN}
|
||||
expiration_days = 3650
|
||||
_EOF
|
||||
|
||||
certtool --generate-certificate \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.cert.pem" \
|
||||
--load-privkey "${CERTDIR}/${PN}_${CN}.key.pem" \
|
||||
--load-ca-certificate "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||
--load-ca-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||
--template "${T}/${PF}.$$" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.cert.pem"
|
||||
|
||||
else
|
||||
einfo "Found existing ${CERTDIR}/${PN}_ca.cert.pem, skipping CA and SERVER creation."
|
||||
fi
|
||||
|
||||
# Create a client certificate
|
||||
echo
|
||||
einfon "Please type the Common Name of the CLIENT you wish to create a certificate for: "
|
||||
read -r CN
|
||||
|
||||
einfo "Creating private key and certificate for client ${CN}..."
|
||||
certtool --generate-privkey \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.key.pem" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.key.pem"
|
||||
|
||||
cat > "${T}/${PF}.$$" <<- _EOF
|
||||
cn = ${CN}
|
||||
tls_www_client
|
||||
dns_name = ${CN}
|
||||
expiration_days = 3650
|
||||
_EOF
|
||||
|
||||
certtool --generate-certificate \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.cert.pem" \
|
||||
--load-privkey "${CERTDIR}/${PN}_${CN}.key.pem" \
|
||||
--load-ca-certificate "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||
--load-ca-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||
--template "${T}/${PF}.$$" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.cert.pem"
|
||||
|
||||
rm -f "${T}/${PF}.$$"
|
||||
|
||||
echo
|
||||
einfo "Here is the documentation on how to encrypt your log traffic:"
|
||||
einfo " http://www.rsyslog.com/doc/rsyslog_tls.html"
|
||||
}
|
@ -0,0 +1,174 @@
|
||||
From 7a95434e0ca8a037fd8aa1a2e2461f92585eb77b Mon Sep 17 00:00:00 2001
|
||||
From: Greg Kurz <groug@kaod.org>
|
||||
Date: Fri, 5 May 2017 14:48:08 +0200
|
||||
Subject: [PATCH] 9pfs: local: forbid client access to metadata (CVE-2017-7493)
|
||||
|
||||
When using the mapped-file security mode, we shouldn't let the client mess
|
||||
with the metadata. The current code already tries to hide the metadata dir
|
||||
from the client by skipping it in local_readdir(). But the client can still
|
||||
access or modify it through several other operations. This can be used to
|
||||
escalate privileges in the guest.
|
||||
|
||||
Affected backend operations are:
|
||||
- local_mknod()
|
||||
- local_mkdir()
|
||||
- local_open2()
|
||||
- local_symlink()
|
||||
- local_link()
|
||||
- local_unlinkat()
|
||||
- local_renameat()
|
||||
- local_rename()
|
||||
- local_name_to_path()
|
||||
|
||||
Other operations are safe because they are only passed a fid path, which
|
||||
is computed internally in local_name_to_path().
|
||||
|
||||
This patch converts all the functions listed above to fail and return
|
||||
EINVAL when being passed the name of the metadata dir. This may look
|
||||
like a poor choice for errno, but there's no such thing as an illegal
|
||||
path name on Linux and I could not think of anything better.
|
||||
|
||||
This fixes CVE-2017-7493.
|
||||
|
||||
Reported-by: Leo Gaspard <leo@gaspard.io>
|
||||
Signed-off-by: Greg Kurz <groug@kaod.org>
|
||||
Reviewed-by: Eric Blake <eblake@redhat.com>
|
||||
---
|
||||
hw/9pfs/9p-local.c | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++--
|
||||
1 file changed, 56 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/hw/9pfs/9p-local.c b/hw/9pfs/9p-local.c
|
||||
index f3ebca4f7a..a2486566af 100644
|
||||
--- a/hw/9pfs/9p-local.c
|
||||
+++ b/hw/9pfs/9p-local.c
|
||||
@@ -452,6 +452,11 @@ static off_t local_telldir(FsContext *ctx, V9fsFidOpenState *fs)
|
||||
return telldir(fs->dir.stream);
|
||||
}
|
||||
|
||||
+static bool local_is_mapped_file_metadata(FsContext *fs_ctx, const char *name)
|
||||
+{
|
||||
+ return !strcmp(name, VIRTFS_META_DIR);
|
||||
+}
|
||||
+
|
||||
static struct dirent *local_readdir(FsContext *ctx, V9fsFidOpenState *fs)
|
||||
{
|
||||
struct dirent *entry;
|
||||
@@ -465,8 +470,8 @@ again:
|
||||
if (ctx->export_flags & V9FS_SM_MAPPED) {
|
||||
entry->d_type = DT_UNKNOWN;
|
||||
} else if (ctx->export_flags & V9FS_SM_MAPPED_FILE) {
|
||||
- if (!strcmp(entry->d_name, VIRTFS_META_DIR)) {
|
||||
- /* skp the meta data directory */
|
||||
+ if (local_is_mapped_file_metadata(ctx, entry->d_name)) {
|
||||
+ /* skip the meta data directory */
|
||||
goto again;
|
||||
}
|
||||
entry->d_type = DT_UNKNOWN;
|
||||
@@ -559,6 +564,12 @@ static int local_mknod(FsContext *fs_ctx, V9fsPath *dir_path,
|
||||
int err = -1;
|
||||
int dirfd;
|
||||
|
||||
+ if (fs_ctx->export_flags & V9FS_SM_MAPPED_FILE &&
|
||||
+ local_is_mapped_file_metadata(fs_ctx, name)) {
|
||||
+ errno = EINVAL;
|
||||
+ return -1;
|
||||
+ }
|
||||
+
|
||||
dirfd = local_opendir_nofollow(fs_ctx, dir_path->data);
|
||||
if (dirfd == -1) {
|
||||
return -1;
|
||||
@@ -605,6 +616,12 @@ static int local_mkdir(FsContext *fs_ctx, V9fsPath *dir_path,
|
||||
int err = -1;
|
||||
int dirfd;
|
||||
|
||||
+ if (fs_ctx->export_flags & V9FS_SM_MAPPED_FILE &&
|
||||
+ local_is_mapped_file_metadata(fs_ctx, name)) {
|
||||
+ errno = EINVAL;
|
||||
+ return -1;
|
||||
+ }
|
||||
+
|
||||
dirfd = local_opendir_nofollow(fs_ctx, dir_path->data);
|
||||
if (dirfd == -1) {
|
||||
return -1;
|
||||
@@ -694,6 +711,12 @@ static int local_open2(FsContext *fs_ctx, V9fsPath *dir_path, const char *name,
|
||||
int err = -1;
|
||||
int dirfd;
|
||||
|
||||
+ if (fs_ctx->export_flags & V9FS_SM_MAPPED_FILE &&
|
||||
+ local_is_mapped_file_metadata(fs_ctx, name)) {
|
||||
+ errno = EINVAL;
|
||||
+ return -1;
|
||||
+ }
|
||||
+
|
||||
/*
|
||||
* Mark all the open to not follow symlinks
|
||||
*/
|
||||
@@ -752,6 +775,12 @@ static int local_symlink(FsContext *fs_ctx, const char *oldpath,
|
||||
int err = -1;
|
||||
int dirfd;
|
||||
|
||||
+ if (fs_ctx->export_flags & V9FS_SM_MAPPED_FILE &&
|
||||
+ local_is_mapped_file_metadata(fs_ctx, name)) {
|
||||
+ errno = EINVAL;
|
||||
+ return -1;
|
||||
+ }
|
||||
+
|
||||
dirfd = local_opendir_nofollow(fs_ctx, dir_path->data);
|
||||
if (dirfd == -1) {
|
||||
return -1;
|
||||
@@ -826,6 +855,12 @@ static int local_link(FsContext *ctx, V9fsPath *oldpath,
|
||||
int ret = -1;
|
||||
int odirfd, ndirfd;
|
||||
|
||||
+ if (ctx->export_flags & V9FS_SM_MAPPED_FILE &&
|
||||
+ local_is_mapped_file_metadata(ctx, name)) {
|
||||
+ errno = EINVAL;
|
||||
+ return -1;
|
||||
+ }
|
||||
+
|
||||
odirfd = local_opendir_nofollow(ctx, odirpath);
|
||||
if (odirfd == -1) {
|
||||
goto out;
|
||||
@@ -1096,6 +1131,12 @@ static int local_lremovexattr(FsContext *ctx, V9fsPath *fs_path,
|
||||
static int local_name_to_path(FsContext *ctx, V9fsPath *dir_path,
|
||||
const char *name, V9fsPath *target)
|
||||
{
|
||||
+ if (ctx->export_flags & V9FS_SM_MAPPED_FILE &&
|
||||
+ local_is_mapped_file_metadata(ctx, name)) {
|
||||
+ errno = EINVAL;
|
||||
+ return -1;
|
||||
+ }
|
||||
+
|
||||
if (dir_path) {
|
||||
v9fs_path_sprintf(target, "%s/%s", dir_path->data, name);
|
||||
} else if (strcmp(name, "/")) {
|
||||
@@ -1116,6 +1157,13 @@ static int local_renameat(FsContext *ctx, V9fsPath *olddir,
|
||||
int ret;
|
||||
int odirfd, ndirfd;
|
||||
|
||||
+ if (ctx->export_flags & V9FS_SM_MAPPED_FILE &&
|
||||
+ (local_is_mapped_file_metadata(ctx, old_name) ||
|
||||
+ local_is_mapped_file_metadata(ctx, new_name))) {
|
||||
+ errno = EINVAL;
|
||||
+ return -1;
|
||||
+ }
|
||||
+
|
||||
odirfd = local_opendir_nofollow(ctx, olddir->data);
|
||||
if (odirfd == -1) {
|
||||
return -1;
|
||||
@@ -1206,6 +1254,12 @@ static int local_unlinkat(FsContext *ctx, V9fsPath *dir,
|
||||
int ret;
|
||||
int dirfd;
|
||||
|
||||
+ if (ctx->export_flags & V9FS_SM_MAPPED_FILE &&
|
||||
+ local_is_mapped_file_metadata(ctx, name)) {
|
||||
+ errno = EINVAL;
|
||||
+ return -1;
|
||||
+ }
|
||||
+
|
||||
dirfd = local_opendir_nofollow(ctx, dir->data);
|
||||
if (dirfd == -1) {
|
||||
return -1;
|
||||
--
|
||||
2.13.0
|
||||
|
@ -0,0 +1 @@
|
||||
DIST osgQt-3.5.5.tar.gz 1003973 SHA256 3e20af0496615077c2182e676fdee2a141a4216bf2f8af151197161aa3b88d1f SHA512 50faee9a1539c1e29bb1c244fa32194b22cbe43f43980b7c270aa45cd225ac5e3fe9445d63b1efb767c8a2ce8e5ffa417783d1a446ed965b23a06100a241d498 WHIRLPOOL 341844ba09ac7b01615be6bf6ad3bcbc48bb1203b4083aa8a9077e6399e64c7f5057cbf8abef7e265d5d13679aa9000fd7affb0ea86e94e1c1b113f4d8180f8d
|
@ -0,0 +1,53 @@
|
||||
diff -ruN osgQt-3.5.5/CMakeLists.txt my/CMakeLists.txt
|
||||
--- osgQt-3.5.5/CMakeLists.txt 2016-09-20 07:11:32.000000000 +0200
|
||||
+++ my/CMakeLists.txt 2017-05-18 04:11:06.929237731 +0200
|
||||
@@ -543,15 +543,7 @@
|
||||
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -D_DEBUG")
|
||||
ENDIF()
|
||||
|
||||
-IF(UNIX AND NOT WIN32 AND NOT APPLE)
|
||||
- IF(CMAKE_SIZEOF_VOID_P MATCHES "8")
|
||||
- SET(LIB_POSTFIX "64" CACHE STRING "suffix for 32/64 dir placement")
|
||||
- MARK_AS_ADVANCED(LIB_POSTFIX)
|
||||
- ENDIF()
|
||||
-ENDIF()
|
||||
-IF(NOT DEFINED LIB_POSTFIX)
|
||||
- SET(LIB_POSTFIX "")
|
||||
-ENDIF()
|
||||
+SET(LIB_POSTFIX ${LIB_SUFFIX})
|
||||
|
||||
# Here we apparantly do some funky stuff with making the bin/ and lib/
|
||||
# folders which is probably needed to work around a very old CMake bug?
|
||||
@@ -877,7 +869,7 @@
|
||||
${PROJECT_BINARY_DIR}/doc/OpenSceneGraphReferenceDocs/osg32-32.png COPYONLY
|
||||
)
|
||||
#INSTALL(FILES ${PROJECT_BINARY_DIR}/doc/${PROJECT_NAME}ReferenceDocs-${OPENSCENEGRAPH_VERSION}.chm DESTINATION doc OPTIONAL COMPONENT openscenegraph-doc)
|
||||
- INSTALL(DIRECTORY ${PROJECT_BINARY_DIR}/doc/OpenSceneGraphReferenceDocs DESTINATION doc COMPONENT openscenegraph-doc)
|
||||
+ INSTALL(DIRECTORY ${PROJECT_BINARY_DIR}/doc/OpenSceneGraphReferenceDocs DESTINATION ${GENTOO_DOCDIR} COMPONENT openscenegraph-doc)
|
||||
|
||||
# now set up openthreads documentation generation
|
||||
IF(BUILD_REF_DOCS_TAGFILE)
|
||||
@@ -893,7 +885,7 @@
|
||||
${PROJECT_BINARY_DIR}/doc/OpenThreadsReferenceDocs/osg32-32.png COPYONLY
|
||||
)
|
||||
#INSTALL(FILES ${PROJECT_BINARY_DIR}/doc/${PROJECT_NAME}ReferenceDocs-${OPENSCENEGRAPH_VERSION}.chm DESTINATION doc OPTIONAL COMPONENT openscenegraph-doc)
|
||||
- INSTALL(DIRECTORY ${PROJECT_BINARY_DIR}/doc/OpenThreadsReferenceDocs DESTINATION doc COMPONENT openthreads-doc)
|
||||
+ INSTALL(DIRECTORY ${PROJECT_BINARY_DIR}/doc/OpenThreadsReferenceDocs DESTINATION ${GENTOO_DOCDIR} COMPONENT openthreads-doc)
|
||||
|
||||
# Process our other doxyfiles but don't create targets for these
|
||||
CONFIGURE_FILE(${PROJECT_SOURCE_DIR}/doc/Doxyfiles/all_Doxyfile
|
||||
diff -ruN osgQt-3.5.5/CMakeModules/OsgMacroUtils.cmake my/CMakeModules/OsgMacroUtils.cmake
|
||||
--- osgQt-3.5.5/CMakeModules/OsgMacroUtils.cmake 2016-09-20 07:11:32.000000000 +0200
|
||||
+++ my/CMakeModules/OsgMacroUtils.cmake 2017-05-18 04:30:26.646257926 +0200
|
||||
@@ -462,9 +462,9 @@
|
||||
IF(APPLE)
|
||||
INSTALL(TARGETS ${TARGET_TARGETNAME} RUNTIME DESTINATION share/OpenSceneGraph/bin BUNDLE DESTINATION share/OpenSceneGraph/bin )
|
||||
ELSE(APPLE)
|
||||
- INSTALL(TARGETS ${TARGET_TARGETNAME} RUNTIME DESTINATION share/OpenSceneGraph/bin COMPONENT openscenegraph-examples )
|
||||
+ INSTALL(TARGETS ${TARGET_TARGETNAME} RUNTIME DESTINATION bin COMPONENT openscenegraph-examples )
|
||||
IF(MSVC AND NOT CMAKE_BUILD_TYPE STREQUAL "Release")
|
||||
- INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${TARGET_TARGETNAME}${CMAKE_BUILD_POSTFIX}.pdb DESTINATION share/OpenSceneGraph/bin COMPONENT openscenegraph-examples)
|
||||
+ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${TARGET_TARGETNAME}${CMAKE_BUILD_POSTFIX}.pdb DESTINATION bin COMPONENT openscenegraph-examples)
|
||||
ENDIF(MSVC AND NOT CMAKE_BUILD_TYPE STREQUAL "Release")
|
||||
ENDIF(APPLE)
|
||||
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>reavertm@gentoo.org</email>
|
||||
<name>Maciej Mrozowski</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>games@gentoo.org</email>
|
||||
<name>Gentoo Games Project</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
The OpenSceneGraph is an open source high performance 3D graphics toolkit, used by application developers in fields such as visual simulation, games, virtual reality, scientific visualization and modelling. Written entirely in Standard C++ and OpenGL it runs on all Windows platforms, OSX, GNU/Linux, IRIX, Solaris, HP-Ux, AIX and FreeBSD operating systems. The OpenSceneGraph is now well established as the world leading scene graph technology, used widely in the vis-sim, space, scientific, oil-gas, games and virtual reality industries. This package is a module for Qt support.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
MY_PN="osgQt"
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
inherit cmake-utils
|
||||
DESCRIPTION="Qt support for OpenSceneGraph"
|
||||
HOMEPAGE="http://www.openscenegraph.org/"
|
||||
SRC_URI="https://github.com/openscenegraph/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="wxWinLL-3 LGPL-2.1"
|
||||
SLOT="0/145" # NOTE: CHECK WHEN BUMPING! Subslot is SOVERSION
|
||||
KEYWORDS="~amd64 ~hppa ~ppc64 ~x86"
|
||||
IUSE="debug examples"
|
||||
|
||||
RDEPEND="
|
||||
dev-games/openscenegraph:${SLOT}
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtopengl:5
|
||||
dev-qt/qtwebkit:5
|
||||
examples? ( dev-qt/qtwidgets:5 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.5.5-cmake.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DDYNAMIC_OPENSCENEGRAPH=ON
|
||||
-DDESIRED_QT_VERSION=5
|
||||
-DBUILD_OSG_EXAMPLES=$(usex examples)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST OpenSceneGraph-3.2.1.zip 7219212 SHA256 d9ae72263d0191855b0f804d93c586d489f119aca0499292acc09bb0fa0b3e6d SHA512 f7bd9aedd3a1f48094a0ad95d267c2f2c946b042f7459d6b33e6038a4b16aeda9cfd69f339ea0a2a478dadadf1875313a4132564b8fcade5ad93511ecd8c1a9e WHIRLPOOL ef47a41a316fae86341cdebecaeceb41cf56b5f11fdf93e8218bb9aa9eaa28fc2fc9122efbeb8dce69fa01d8c8b6a2460fab69190714ca53abfa5d347a0ae1bc
|
||||
DIST OpenSceneGraph-3.4.0.zip 7975023 SHA256 5c727d84755da276adf8c4a4a3a8ba9c9570fc4b4969f06f1d2e9f89b1e3040e SHA512 b598a7d68c9e5bf840d7b0a59a334037c3b6efe4d2dce333280b63a8ccef1b9a37cd5ff32b98f18e110ff9cbc48226f588e143cb1d68405edda3c60ab2f3f73a WHIRLPOOL fa2ede4e0f9300d122390338ebea15814ffbe80887c3f8d6cb392c0cb478eaf7ba2f67c310f17658620b8c1745a453d4c47c26c5702fa549b7ef73257321b639
|
||||
DIST OpenSceneGraph-3.5.1.zip 8353019 SHA256 c409e9095d77faab3db8fe2047d75e7ef348fd9f06ecd8b7629fceb8fe1d24e0 SHA512 5d419cb2e59efaf1e9b2efdb3a28e1deb5bf8b62a1be2ab4fed06e50064c4c4fb9f1332e65e0bfe0c6d8e99fe0cc134f863ba46965eda9546d125fbd22151057 WHIRLPOOL bf57ea2d55c8cb8d45cc392a4bddd603e9835329b074e14a6d4454695da8cdd899160b60a7d7f3c395ac1fd30f4125ef37c3932d876576ebec84a53fea96bbd4
|
||||
DIST OpenSceneGraph-3.5.5.tar.gz 5666085 SHA256 f44c96ade3a1d3c547f36504d75633bedbb9b8f6f42dac4fff75166db7d3aadf SHA512 f4a890bfbabab0ed8d50ad50e8f9ae5aa6edd4a73eda30d6c53ad478889608f7c980306a79549ca1e472cdd3df8061af03537c8139fa6446b00aebf47ec26827 WHIRLPOOL 2aa4cd7c375a5cb25cce28dc13c86ea73eae0994540f27b7007ee25655e6119d7f26df306fc70d8d9d5c31de3111d3b8f6b6d1671e47cbc2bd649e6f70a9a475
|
||||
|
@ -0,0 +1,281 @@
|
||||
--- OpenSceneGraph-3.4.0/CMakeLists.txt
|
||||
+++ OpenSceneGraph-3.4.0/CMakeLists.txt
|
||||
@@ -607,6 +607,7 @@
|
||||
|
||||
# INSTALL_FILES(/include/osg/ FILES "${OPENSCENEGRAPH_CONFIG_HEADER}")
|
||||
|
||||
+INCLUDE(MacroOptionalFindPackage)
|
||||
|
||||
################################################################################
|
||||
# Set Version header file
|
||||
@@ -716,42 +716,42 @@
|
||||
ANDROID_3RD_PARTY()
|
||||
ELSE()
|
||||
# Common to all platforms except android:
|
||||
- FIND_PACKAGE(Freetype)
|
||||
- FIND_PACKAGE(Inventor)
|
||||
- FIND_PACKAGE(Jasper)
|
||||
- FIND_PACKAGE(OpenEXR)
|
||||
- FIND_PACKAGE(COLLADA)
|
||||
- FIND_PACKAGE(FBX)
|
||||
- FIND_PACKAGE(ZLIB)
|
||||
- FIND_PACKAGE(Xine)
|
||||
- FIND_PACKAGE(OpenVRML)
|
||||
- FIND_PACKAGE(GDAL)
|
||||
- FIND_PACKAGE(GTA)
|
||||
- FIND_PACKAGE(CURL)
|
||||
- FIND_PACKAGE(LibVNCServer)
|
||||
- FIND_PACKAGE(OurDCMTK)
|
||||
- FIND_PACKAGE(FFmpeg)
|
||||
- FIND_PACKAGE(GStreamer COMPONENTS app pbutils)
|
||||
- FIND_PACKAGE(GLIB COMPONENTS gobject)
|
||||
+ MACRO_OPTIONAL_FIND_PACKAGE(Freetype)
|
||||
+ MACRO_OPTIONAL_FIND_PACKAGE(Inventor)
|
||||
+ MACRO_OPTIONAL_FIND_PACKAGE(Jasper)
|
||||
+ MACRO_OPTIONAL_FIND_PACKAGE(OpenEXR)
|
||||
+ MACRO_OPTIONAL_FIND_PACKAGE(COLLADA)
|
||||
+ MACRO_OPTIONAL_FIND_PACKAGE(FBX)
|
||||
+ MACRO_OPTIONAL_FIND_PACKAGE(ZLIB)
|
||||
+ MACRO_OPTIONAL_FIND_PACKAGE(Xine)
|
||||
+ MACRO_OPTIONAL_FIND_PACKAGE(OpenVRML)
|
||||
+ MACRO_OPTIONAL_FIND_PACKAGE(GDAL)
|
||||
+ MACRO_OPTIONAL_FIND_PACKAGE(GTA)
|
||||
+ MACRO_OPTIONAL_FIND_PACKAGE(CURL)
|
||||
+ MACRO_OPTIONAL_FIND_PACKAGE(LibVNCServer)
|
||||
+ MACRO_OPTIONAL_FIND_PACKAGE(OurDCMTK)
|
||||
+ MACRO_OPTIONAL_FIND_PACKAGE(FFmpeg)
|
||||
+ MACRO_OPTIONAL_FIND_PACKAGE(GStreamer COMPONENTS app pbutils)
|
||||
+ MACRO_OPTIONAL_FIND_PACKAGE(GLIB COMPONENTS gobject)
|
||||
FIND_PACKAGE(DirectShow)
|
||||
- FIND_PACKAGE(SDL2)
|
||||
- FIND_PACKAGE(SDL)
|
||||
- FIND_PACKAGE(Poppler-glib)
|
||||
- FIND_PACKAGE(RSVG)
|
||||
- FIND_PACKAGE(GtkGl)
|
||||
+ MACRO_OPTIONAL_FIND_PACKAGE(SDL2)
|
||||
+ MACRO_OPTIONAL_FIND_PACKAGE(SDL)
|
||||
+ MACRO_OPTIONAL_FIND_PACKAGE(Poppler-glib)
|
||||
+ MACRO_OPTIONAL_FIND_PACKAGE(RSVG)
|
||||
+ MACRO_OPTIONAL_FIND_PACKAGE(GtkGl)
|
||||
FIND_PACKAGE(DirectInput)
|
||||
- FIND_PACKAGE(NVTT)
|
||||
+ MACRO_OPTIONAL_FIND_PACKAGE(NVTT)
|
||||
IF (NOT WIN32)
|
||||
- FIND_PACKAGE(Asio)
|
||||
+ MACRO_OPTIONAL_FIND_PACKAGE(Asio)
|
||||
ENDIF()
|
||||
FIND_PACKAGE(ZeroConf)
|
||||
|
||||
- FIND_PACKAGE(LIBLAS)
|
||||
+ MACRO_OPTIONAL_FIND_PACKAGE(LIBLAS)
|
||||
|
||||
IF (NOT(OSG_USE_LOCAL_LUA_SOURCE))
|
||||
- FIND_PACKAGE(Lua52)
|
||||
+ MACRO_OPTIONAL_FIND_PACKAGE(Lua52)
|
||||
IF (NOT (LUA_LIBRARIES AND LUA_INCLUDE_DIR))
|
||||
- FIND_PACKAGE(Lua51)
|
||||
+ MACRO_OPTIONAL_FIND_PACKAGE(Lua51)
|
||||
ENDIF()
|
||||
ENDIF()
|
||||
|
||||
@@ -768,11 +768,11 @@
|
||||
IF (BUILD_OSG_EXAMPLES AND NOT ANDROID)
|
||||
|
||||
|
||||
- FIND_PACKAGE(FLTK)
|
||||
- FIND_PACKAGE(FOX)
|
||||
+ MACRO_OPTIONAL_FIND_PACKAGE(FLTK)
|
||||
+ MACRO_OPTIONAL_FIND_PACKAGE(FOX)
|
||||
|
||||
SET(wxWidgets_USE_LIBS base core gl net)
|
||||
- FIND_PACKAGE(wxWidgets)
|
||||
+ MACRO_OPTIONAL_FIND_PACKAGE(wxWidgets)
|
||||
|
||||
ENDIF(BUILD_OSG_EXAMPLES AND NOT ANDROID)
|
||||
|
||||
@@ -789,10 +790,10 @@
|
||||
# can use Quicktime.
|
||||
IF(NOT ANDROID)
|
||||
IF(NOT APPLE)
|
||||
- FIND_PACKAGE(GIFLIB)
|
||||
- FIND_PACKAGE(JPEG)
|
||||
- FIND_PACKAGE(PNG)
|
||||
- FIND_PACKAGE(TIFF)
|
||||
+ MACRO_OPTIONAL_FIND_PACKAGE(GIFLIB)
|
||||
+ MACRO_OPTIONAL_FIND_PACKAGE(JPEG)
|
||||
+ MACRO_OPTIONAL_FIND_PACKAGE(PNG)
|
||||
+ MACRO_OPTIONAL_FIND_PACKAGE(TIFF)
|
||||
# QuickTime is required for OS X, but optional for Windows.
|
||||
IF(WIN32)
|
||||
FIND_PACKAGE(QuickTime)
|
||||
@@ -848,15 +849,7 @@
|
||||
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -D_DEBUG")
|
||||
ENDIF()
|
||||
|
||||
-IF(UNIX AND NOT WIN32 AND NOT APPLE)
|
||||
- IF(CMAKE_SIZEOF_VOID_P MATCHES "8")
|
||||
- SET(LIB_POSTFIX "64" CACHE STRING "suffix for 32/64 dir placement")
|
||||
- MARK_AS_ADVANCED(LIB_POSTFIX)
|
||||
- ENDIF()
|
||||
-ENDIF()
|
||||
-IF(NOT DEFINED LIB_POSTFIX)
|
||||
- SET(LIB_POSTFIX "")
|
||||
-ENDIF()
|
||||
+SET(LIB_POSTFIX ${LIB_SUFFIX})
|
||||
|
||||
# Here we apparantly do some funky stuff with making the bin/ and lib/
|
||||
# folders which is probably needed to work around a very old CMake bug?
|
||||
@@ -1191,7 +1184,7 @@
|
||||
${PROJECT_BINARY_DIR}/doc/OpenSceneGraphReferenceDocs/osg32-32.png COPYONLY
|
||||
)
|
||||
#INSTALL(FILES ${PROJECT_BINARY_DIR}/doc/${PROJECT_NAME}ReferenceDocs-${OPENSCENEGRAPH_VERSION}.chm DESTINATION doc OPTIONAL COMPONENT openscenegraph-doc)
|
||||
- INSTALL(DIRECTORY ${PROJECT_BINARY_DIR}/doc/OpenSceneGraphReferenceDocs DESTINATION doc COMPONENT openscenegraph-doc)
|
||||
+ INSTALL(DIRECTORY ${PROJECT_BINARY_DIR}/doc/OpenSceneGraphReferenceDocs DESTINATION ${GENTOO_DOCDIR} COMPONENT openscenegraph-doc)
|
||||
|
||||
# now set up openthreads documentation generation
|
||||
IF(BUILD_REF_DOCS_TAGFILE)
|
||||
@@ -1207,7 +1200,7 @@
|
||||
${PROJECT_BINARY_DIR}/doc/OpenThreadsReferenceDocs/osg32-32.png COPYONLY
|
||||
)
|
||||
#INSTALL(FILES ${PROJECT_BINARY_DIR}/doc/${PROJECT_NAME}ReferenceDocs-${OPENSCENEGRAPH_VERSION}.chm DESTINATION doc OPTIONAL COMPONENT openscenegraph-doc)
|
||||
- INSTALL(DIRECTORY ${PROJECT_BINARY_DIR}/doc/OpenThreadsReferenceDocs DESTINATION doc COMPONENT openthreads-doc)
|
||||
+ INSTALL(DIRECTORY ${PROJECT_BINARY_DIR}/doc/OpenThreadsReferenceDocs DESTINATION ${GENTOO_DOCDIR} COMPONENT openthreads-doc)
|
||||
|
||||
# Process our other doxyfiles but don't create targets for these
|
||||
CONFIGURE_FILE(${PROJECT_SOURCE_DIR}/doc/Doxyfiles/all_Doxyfile
|
||||
--- OpenSceneGraph-3.4.0/CMakeModules/COPYING-CMAKE-SCRIPTS
|
||||
+++ OpenSceneGraph-3.4.0/CMakeModules/COPYING-CMAKE-SCRIPTS
|
||||
@@ -0,0 +1,22 @@
|
||||
+Redistribution and use in source and binary forms, with or without
|
||||
+modification, are permitted provided that the following conditions
|
||||
+are met:
|
||||
+
|
||||
+1. Redistributions of source code must retain the copyright
|
||||
+ notice, this list of conditions and the following disclaimer.
|
||||
+2. Redistributions in binary form must reproduce the copyright
|
||||
+ notice, this list of conditions and the following disclaimer in the
|
||||
+ documentation and/or other materials provided with the distribution.
|
||||
+3. The name of the author may not be used to endorse or promote products
|
||||
+ derived from this software without specific prior written permission.
|
||||
+
|
||||
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
+IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
+OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
+IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
+NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
+THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
--- OpenSceneGraph-3.4.0/CMakeModules/FindFLTK.cmake.rej
|
||||
+++ OpenSceneGraph-3.4.0/CMakeModules/FindFLTK.cmake.rej
|
||||
@@ -0,0 +1,55 @@
|
||||
+--- CMakeModules/FindFLTK.cmake 2010-11-11 17:51:46.000000000 +0100
|
||||
++++ CMakeModules/FindFLTK.cmake 2014-08-20 00:29:31.229439251 +0200
|
||||
+@@ -1,52 +0,0 @@
|
||||
+-# Locate FLTK
|
||||
+-# This module defines
|
||||
+-# FLTK_LIBRARY
|
||||
+-# FLTK_FOUND, if false, do not try to link to gdal
|
||||
+-# FLTK_INCLUDE_DIR, where to find the headers
|
||||
+-#
|
||||
+-# $FLTK_DIR is an environment variable that would
|
||||
+-# correspond to the ./configure --prefix=$FLTK_DIR
|
||||
+-#
|
||||
+-# Created by Robert Osfield.
|
||||
+-
|
||||
+-FIND_PATH(FLTK_INCLUDE_DIR Fl/Fl.H Fl/Fl.h
|
||||
+- $ENV{FLTK_DIR}/include
|
||||
+- $ENV{FLTK_DIR}
|
||||
+- ~/Library/Frameworks
|
||||
+- /Library/Frameworks
|
||||
+- /usr/local/include
|
||||
+- /usr/include
|
||||
+- /sw/include # Fink
|
||||
+- /opt/local/include # DarwinPorts
|
||||
+- /opt/csw/include # Blastwave
|
||||
+- /opt/include
|
||||
+- /usr/freeware/include
|
||||
+-)
|
||||
+-
|
||||
+-MACRO(FIND_FLTK_LIBRARY MYLIBRARY MYLIBRARYNAME)
|
||||
+-
|
||||
+- FIND_LIBRARY(${MYLIBRARY}
|
||||
+- NAMES ${MYLIBRARYNAME}
|
||||
+- PATHS
|
||||
+- $ENV{FLTK_DIR}/lib
|
||||
+- $ENV{FLTK_DIR}
|
||||
+- ~/Library/Frameworks
|
||||
+- /Library/Frameworks
|
||||
+- /usr/local/lib
|
||||
+- /usr/lib
|
||||
+- /sw/lib
|
||||
+- /opt/local/lib
|
||||
+- /opt/csw/lib
|
||||
+- /opt/lib
|
||||
+- /usr/freeware/lib64
|
||||
+- )
|
||||
+-
|
||||
+-ENDMACRO(FIND_FLTK_LIBRARY LIBRARY LIBRARYNAME)
|
||||
+-
|
||||
+-FIND_FLTK_LIBRARY(FLTK_LIBRARY fltk)
|
||||
+-FIND_FLTK_LIBRARY(FLTK_GL_LIBRARY fltk_gl)
|
||||
+-
|
||||
+-SET(FLTK_FOUND "NO")
|
||||
+-IF(FLTK_LIBRARY AND FLTK_INCLUDE_DIR)
|
||||
+- SET(FLTK_FOUND "YES")
|
||||
+-ENDIF(FLTK_LIBRARY AND FLTK_INCLUDE_DIR)
|
||||
--- OpenSceneGraph-3.4.0/CMakeModules/MacroOptionalFindPackage.cmake
|
||||
+++ OpenSceneGraph-3.4.0/CMakeModules/MacroOptionalFindPackage.cmake
|
||||
@@ -0,0 +1,28 @@
|
||||
+# - MACRO_OPTIONAL_FIND_PACKAGE() combines FIND_PACKAGE() with an OPTION()
|
||||
+# MACRO_OPTIONAL_FIND_PACKAGE( <name> [QUIT] )
|
||||
+# This macro is a combination of OPTION() and FIND_PACKAGE(), it
|
||||
+# works like FIND_PACKAGE(), but additionally it automatically creates
|
||||
+# an option name WITH_<name>, which can be disabled via the cmake GUI.
|
||||
+# or via -DWITH_<name>=OFF
|
||||
+# The standard <name>_FOUND variables can be used in the same way
|
||||
+# as when using the normal FIND_PACKAGE()
|
||||
+
|
||||
+# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org>
|
||||
+#
|
||||
+# Redistribution and use is allowed according to the terms of the BSD license.
|
||||
+# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
|
||||
+
|
||||
+
|
||||
+macro (MACRO_OPTIONAL_FIND_PACKAGE _name )
|
||||
+ option(WITH_${_name} "Search for ${_name} package" ON)
|
||||
+ if (WITH_${_name})
|
||||
+ find_package(${_name} ${ARGN})
|
||||
+ else (WITH_${_name})
|
||||
+ set(${_name}_FOUND)
|
||||
+ set(${_name}_INCLUDE_DIR)
|
||||
+ set(${_name}_INCLUDES)
|
||||
+ set(${_name}_LIBRARY)
|
||||
+ set(${_name}_LIBRARIES)
|
||||
+ endif (WITH_${_name})
|
||||
+endmacro (MACRO_OPTIONAL_FIND_PACKAGE)
|
||||
+
|
||||
--- OpenSceneGraph-3.5.5/CMakeModules/OsgMacroUtils.cmake
|
||||
+++ OpenSceneGraph-3.5.5/CMakeModules/OsgMacroUtils.cmake
|
||||
@@ -463,7 +463,7 @@ MACRO(SETUP_EXAMPLE EXAMPLE_NAME)
|
||||
IF(APPLE)
|
||||
INSTALL(TARGETS ${TARGET_TARGETNAME} RUNTIME DESTINATION share/OpenSceneGraph/bin BUNDLE DESTINATION share/OpenSceneGraph/bin )
|
||||
ELSE(APPLE)
|
||||
- INSTALL(TARGETS ${TARGET_TARGETNAME} RUNTIME DESTINATION share/OpenSceneGraph/bin COMPONENT openscenegraph-examples )
|
||||
+ INSTALL(TARGETS ${TARGET_TARGETNAME} RUNTIME DESTINATION bin COMPONENT openscenegraph-examples )
|
||||
IF(MSVC)
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${TARGET_TARGETNAME}${CMAKE_RELWITHDEBINFO_POSTFIX}.pdb DESTINATION share/OpenSceneGraph/bin COMPONENT openscenegraph-examples CONFIGURATIONS RelWithDebInfo)
|
||||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${TARGET_TARGETNAME}${CMAKE_DEBUG_POSTFIX}.pdb DESTINATION share/OpenSceneGraph/bin COMPONENT openscenegraph-examples CONFIGURATIONS Debug)
|
||||
|
||||
--- OpenSceneGraph-3.4.0/examples/osgviewerFLTK/CMakeLists.txt
|
||||
+++ OpenSceneGraph-3.4.0/examples/osgviewerFLTK/CMakeLists.txt
|
||||
@@ -1,6 +1,6 @@
|
||||
SET(TARGET_SRC osgviewerFLTK.cpp )
|
||||
|
||||
-SET(TARGET_EXTERNAL_LIBRARIES ${FLTK_LIBRARY} ${FLTK_GL_LIBRARY})
|
||||
+SET(TARGET_EXTERNAL_LIBRARIES ${FLTK_BASE_LIBRARY} ${FLTK_GL_LIBRARY})
|
||||
|
||||
INCLUDE_DIRECTORIES(${FLTK_INCLUDE_DIR} )
|
||||
|
@ -1,164 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
WX_GTK_VER="3.0"
|
||||
|
||||
inherit eutils cmake-utils flag-o-matic wxwidgets
|
||||
|
||||
MY_PN="OpenSceneGraph"
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="Open source high performance 3D graphics toolkit"
|
||||
HOMEPAGE="http://www.openscenegraph.org/"
|
||||
SRC_URI="http://trac.openscenegraph.org/downloads/developer_releases/${MY_P}.zip"
|
||||
|
||||
LICENSE="wxWinLL-3 LGPL-2.1"
|
||||
SLOT="0/34" # Subslot consists of major + minor version number
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="asio curl debug doc examples ffmpeg fltk fox gdal gif glut gstreamer gtk jpeg
|
||||
jpeg2k las lua openexr openinventor osgapps pdf png qt4 qt5 sdl sdl2 svg tiff truetype
|
||||
vnc wxwidgets xine xrandr zlib"
|
||||
|
||||
REQUIRED_USE="
|
||||
qt4? ( !qt5 )
|
||||
qt5? ( !qt4 )
|
||||
sdl2? ( sdl )
|
||||
"
|
||||
|
||||
# TODO: COLLADA, FBX, GTA, ITK, OpenVRML, Performer, DCMTK
|
||||
RDEPEND="
|
||||
x11-libs/libSM
|
||||
x11-libs/libXext
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
asio? ( dev-cpp/asio )
|
||||
curl? ( net-misc/curl )
|
||||
examples? (
|
||||
fltk? ( x11-libs/fltk:1[opengl] )
|
||||
fox? ( x11-libs/fox:1.6[opengl] )
|
||||
glut? ( media-libs/freeglut )
|
||||
gtk? ( x11-libs/gtkglext )
|
||||
sdl2? ( media-libs/libsdl2 )
|
||||
wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[opengl,X] )
|
||||
)
|
||||
ffmpeg? ( virtual/ffmpeg )
|
||||
gdal? ( sci-libs/gdal )
|
||||
gif? ( media-libs/giflib:= )
|
||||
gstreamer? (
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
)
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
jpeg2k? ( media-libs/jasper:= )
|
||||
las? ( >=sci-geosciences/liblas-1.8.0 )
|
||||
lua? ( >=dev-lang/lua-5.1.5:* )
|
||||
openexr? (
|
||||
media-libs/ilmbase
|
||||
media-libs/openexr
|
||||
)
|
||||
openinventor? ( media-libs/coin )
|
||||
pdf? ( app-text/poppler[cairo] )
|
||||
png? ( media-libs/libpng:0= )
|
||||
qt4? (
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
dev-qt/qtopengl:4
|
||||
)
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtopengl:5
|
||||
dev-qt/qtwidgets:5
|
||||
)
|
||||
sdl? ( media-libs/libsdl )
|
||||
svg? (
|
||||
gnome-base/librsvg
|
||||
x11-libs/cairo
|
||||
)
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
truetype? ( media-libs/freetype:2 )
|
||||
vnc? ( net-libs/libvncserver )
|
||||
xine? ( media-libs/xine-lib )
|
||||
xrandr? ( x11-libs/libXrandr )
|
||||
zlib? ( sys-libs/zlib )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip
|
||||
virtual/pkgconfig
|
||||
x11-proto/xextproto
|
||||
doc? ( app-doc/doxygen )
|
||||
xrandr? ( x11-proto/randrproto )
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
DOCS=(AUTHORS.txt ChangeLog NEWS.txt)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.4.0-cmake.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
if use examples && use wxwidgets; then
|
||||
need-wxwidgets unicode
|
||||
fi
|
||||
|
||||
# Needed by FFmpeg
|
||||
append-cppflags -D__STDC_CONSTANT_MACROS
|
||||
|
||||
mycmakeargs=(
|
||||
-DDYNAMIC_OPENSCENEGRAPH=ON
|
||||
-DWITH_ITK=OFF
|
||||
-DGENTOO_DOCDIR="/usr/share/doc/${PF}"
|
||||
-DOPENGL_PROFILE=GL2 #GL1 GL2 GL3 GLES1 GLES3 GLES3
|
||||
-DOSG_USE_LOCAL_LUA_SOURCE=OFF
|
||||
-DWITH_Lua51=OFF # We use CMake-version FindLua.cmake instead
|
||||
-DWITH_Lua52=OFF
|
||||
$(cmake-utils_use_with asio)
|
||||
$(cmake-utils_use_with curl)
|
||||
$(cmake-utils_use_build doc DOCUMENTATION)
|
||||
$(cmake-utils_use_build osgapps OSG_APPLICATIONS)
|
||||
$(cmake-utils_use_build examples OSG_EXAMPLES)
|
||||
$(cmake-utils_use_with ffmpeg FFmpeg)
|
||||
$(cmake-utils_use_with fltk)
|
||||
$(cmake-utils_use_with fox)
|
||||
$(cmake-utils_use_with gdal)
|
||||
$(cmake-utils_use_with gif GIFLIB)
|
||||
$(cmake-utils_use_with glut)
|
||||
$(cmake-utils_use_with gstreamer GStreamer)
|
||||
$(cmake-utils_use_with gstreamer GLIB)
|
||||
$(cmake-utils_use_with gtk GtkGl)
|
||||
$(cmake-utils_use_with jpeg)
|
||||
$(cmake-utils_use_with jpeg2k Jasper)
|
||||
$(cmake-utils_use_with las LIBLAS)
|
||||
$(cmake-utils_use_with lua)
|
||||
$(cmake-utils_use_with openexr OpenEXR)
|
||||
$(cmake-utils_use_with openinventor Inventor)
|
||||
$(cmake-utils_use_with pdf Poppler-glib)
|
||||
$(cmake-utils_use_with png)
|
||||
$(cmake-utils_use_with sdl)
|
||||
$(cmake-utils_use_with sdl2)
|
||||
$(cmake-utils_use_with svg rsvg)
|
||||
$(cmake-utils_use_with tiff)
|
||||
$(cmake-utils_use_with truetype Freetype)
|
||||
$(cmake-utils_use_with vnc LibVNCServer)
|
||||
$(cmake-utils_use_with wxwidgets wxWidgets)
|
||||
$(cmake-utils_use_with xine)
|
||||
$(cmake-utils_use xrandr OSGVIEWER_USE_XRANDR)
|
||||
$(cmake-utils_use_with zlib)
|
||||
)
|
||||
if use qt4; then
|
||||
mycmakeargs+=( -DOSG_USE_QT=ON -DDESIRED_QT_VERSION=4 )
|
||||
elif use qt5; then
|
||||
mycmakeargs+=( -DOSG_USE_QT=ON -DDESIRED_QT_VERSION=5 )
|
||||
else
|
||||
mycmakeargs+=( -DOSG_USE_QT=OFF )
|
||||
fi
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
use doc && cmake-utils_src_compile doc_openscenegraph doc_openthreads
|
||||
}
|
@ -0,0 +1,147 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
WX_GTK_VER="3.0"
|
||||
|
||||
inherit cmake-utils flag-o-matic wxwidgets vcs-snapshot
|
||||
|
||||
MY_PN="OpenSceneGraph"
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="Open source high performance 3D graphics toolkit"
|
||||
HOMEPAGE="http://www.openscenegraph.org/"
|
||||
SRC_URI="https://github.com/${PN}/${MY_PN}/archive/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="wxWinLL-3 LGPL-2.1"
|
||||
SLOT="0/145" # NOTE: CHECK WHEN BUMPING! Subslot is SOVERSION
|
||||
KEYWORDS="~amd64 ~hppa ~ppc64 ~x86"
|
||||
IUSE="asio curl debug doc examples ffmpeg fltk fox gdal gif glut gstreamer gtk jpeg
|
||||
jpeg2k las libav lua openexr openinventor osgapps pdf png sdl sdl2 svg tiff
|
||||
truetype vnc wxwidgets xine xrandr zlib"
|
||||
|
||||
REQUIRED_USE="sdl2? ( sdl )"
|
||||
|
||||
# TODO: COLLADA, FBX, GTA, OpenVRML, Performer, DCMTK
|
||||
RDEPEND="
|
||||
x11-libs/libSM
|
||||
x11-libs/libXext
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
asio? ( dev-cpp/asio )
|
||||
curl? ( net-misc/curl )
|
||||
examples? (
|
||||
fltk? ( x11-libs/fltk:1[opengl] )
|
||||
fox? ( x11-libs/fox:1.6[opengl] )
|
||||
glut? ( media-libs/freeglut )
|
||||
gtk? ( x11-libs/gtkglext )
|
||||
sdl2? ( media-libs/libsdl2 )
|
||||
wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[opengl,X] )
|
||||
)
|
||||
ffmpeg? (
|
||||
libav? ( media-video/libav:0= )
|
||||
!libav? ( media-video/ffmpeg:0= )
|
||||
)
|
||||
gdal? ( sci-libs/gdal )
|
||||
gif? ( media-libs/giflib:= )
|
||||
gstreamer? (
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
)
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
jpeg2k? ( media-libs/jasper:= )
|
||||
las? ( >=sci-geosciences/liblas-1.8.0 )
|
||||
lua? ( >=dev-lang/lua-5.1.5:* )
|
||||
openexr? (
|
||||
media-libs/ilmbase:=
|
||||
media-libs/openexr:=
|
||||
)
|
||||
openinventor? ( media-libs/coin )
|
||||
pdf? ( app-text/poppler[cairo] )
|
||||
png? ( media-libs/libpng:0= )
|
||||
sdl? ( media-libs/libsdl )
|
||||
svg? (
|
||||
gnome-base/librsvg
|
||||
x11-libs/cairo
|
||||
)
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
truetype? ( media-libs/freetype:2 )
|
||||
vnc? ( net-libs/libvncserver )
|
||||
xine? ( media-libs/xine-lib )
|
||||
xrandr? ( x11-libs/libXrandr )
|
||||
zlib? ( sys-libs/zlib )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip
|
||||
virtual/pkgconfig
|
||||
x11-proto/xextproto
|
||||
doc? ( app-doc/doxygen )
|
||||
xrandr? ( x11-proto/randrproto )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.5.5-cmake.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
if use examples && use wxwidgets; then
|
||||
need-wxwidgets unicode
|
||||
fi
|
||||
|
||||
# Needed by FFmpeg
|
||||
append-cppflags -D__STDC_CONSTANT_MACROS
|
||||
|
||||
local mycmakeargs=(
|
||||
-DDYNAMIC_OPENSCENEGRAPH=ON
|
||||
-DGENTOO_DOCDIR="/usr/share/doc/${PF}"
|
||||
-DOPENGL_PROFILE=GL2 #GL1 GL2 GL3 GLES1 GLES3 GLES3
|
||||
-DOSG_PROVIDE_READFILE=ON
|
||||
-DOSG_USE_LOCAL_LUA_SOURCE=OFF
|
||||
-DWITH_Lua51=OFF # We use CMake-version FindLua.cmake instead
|
||||
-DWITH_Asio=$(usex asio)
|
||||
-DWITH_CURL=$(usex curl)
|
||||
-DBUILD_DOCUMENTATION=$(usex doc)
|
||||
-DBUILD_OSG_APPLICATIONS=$(usex osgapps)
|
||||
-DBUILD_OSG_EXAMPLES=$(usex examples)
|
||||
-DWITH_FFmpeg=$(usex ffmpeg)
|
||||
-DWITH_GDAL=$(usex gdal)
|
||||
-DWITH_GIFLIB=$(usex gif)
|
||||
-DWITH_GStreamer=$(usex gstreamer)
|
||||
-DWITH_GLIB=$(usex gstreamer)
|
||||
-DWITH_GtkGl=$(usex gtk)
|
||||
-DWITH_JPEG=$(usex jpeg)
|
||||
-DWITH_Jasper=$(usex jpeg2k)
|
||||
-DWITH_LIBLAS=$(usex las)
|
||||
-DWITH_Lua=$(usex lua)
|
||||
-DWITH_OpenEXR=$(usex openexr)
|
||||
-DWITH_Inventor=$(usex openinventor)
|
||||
-DWITH_Poppler-glib=$(usex pdf)
|
||||
-DWITH_PNG=$(usex png)
|
||||
-DWITH_SDL=$(usex sdl)
|
||||
-DWITH_SDL2=$(usex sdl2)
|
||||
-DWITH_RSVG=$(usex svg rsvg)
|
||||
-DWITH_TIFF=$(usex tiff)
|
||||
-DWITH_Freetype=$(usex truetype)
|
||||
-DWITH_LibVNCServer=$(usex vnc)
|
||||
-DWITH_Xine=$(usex xine)
|
||||
-DOSGVIEWER_USE_XRANDR=$(usex xrandr)
|
||||
-DWITH_ZLIB=$(usex zlib)
|
||||
)
|
||||
if use examples; then
|
||||
mycmakeargs+=(
|
||||
-DWITH_FLTK=$(usex fltk)
|
||||
-DWITH_FOX=$(usex fox)
|
||||
-DWITH_GLUT=$(usex glut)
|
||||
-DWITH_wxWidgets=$(usex wxwidgets)
|
||||
)
|
||||
fi
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
use doc && cmake-utils_src_compile doc_openscenegraph doc_openthreads
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
VERSION="GCJ ${PV}"
|
||||
JAVA_HOME="${EPREFIX}/usr/lib/${P}"
|
||||
JDK_HOME="${EPREFIX}/usr/lib/${P}"
|
||||
JAVAC="\${JAVA_HOME}/bin/javac"
|
||||
PATH="\${JAVA_HOME}/bin"
|
||||
ROOTPATH="\${JAVA_HOME}/bin"
|
||||
LDPATH="\${JAVA_HOME}/lib"
|
||||
INFOPATH="\${JAVA_HOME}/info"
|
||||
MANPATH="\${JAVA_HOME}/man"
|
||||
PROVIDES_TYPE="JDK JRE"
|
||||
PROVIDES_VERSION="1.5"
|
||||
BOOTCLASSPATH="\${JAVA_HOME}/jre/lib/rt.jar"
|
||||
GENERATION="2"
|
||||
ENV_VARS="JAVA_HOME JDK_HOME JAVAC PATH ROOTPATH LDPATH INFOPATH MANPATH"
|
@ -0,0 +1,107 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit java-vm-2 multilib
|
||||
|
||||
DESCRIPTION="Java wrappers around GCJ"
|
||||
HOMEPAGE="https://www.gentoo.org/"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~x86-linux"
|
||||
SLOT="0"
|
||||
IUSE="awt"
|
||||
|
||||
API_DIFF_PV="4.9.2"
|
||||
|
||||
# perl is needed for javac wrapper
|
||||
RDEPEND="
|
||||
dev-java/ecj-gcj:*
|
||||
dev-lang/perl
|
||||
~sys-devel/gcc-${PV}[awt?,gcj]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_install() {
|
||||
# jre lib paths ...
|
||||
local libarch="$(get_system_arch)"
|
||||
local gcc_version=${PV}
|
||||
local gccbin=$(gcc-config -B ${gcc_version})
|
||||
gccbin=${gccbin#"${EPREFIX}"}
|
||||
local gcclib=$(gcc-config -L ${gcc_version} | cut -d':' -f1)
|
||||
gcclib=${gcclib#"${EPREFIX}"}
|
||||
local gcjhome="/usr/$(get_libdir)/${P}"
|
||||
local gcjprefix="${EPREFIX}${gcjhome}"
|
||||
local gccchost="${CHOST}"
|
||||
local gcjlibdir=$(echo "${EPREFIX}"/usr/$(get_libdir)/gcj-${gcc_version}-*)
|
||||
gcjlibdir=${gcjlibdir#"${EPREFIX}"}
|
||||
|
||||
# links
|
||||
dodir ${gcjhome}/bin
|
||||
dodir ${gcjhome}/jre/bin
|
||||
dosym ${gccbin}/gij ${gcjhome}/bin/java
|
||||
dosym ${gccbin}/gij ${gcjhome}/jre/bin/java
|
||||
dosym ${gccbin}/gjar ${gcjhome}/bin/jar
|
||||
dosym ${gccbin}/gjdoc ${gcjhome}/bin/javadoc
|
||||
dosym ${gccbin}/grmic ${gcjhome}/bin/rmic
|
||||
dosym ${gccbin}/gjavah ${gcjhome}/bin/javah
|
||||
dosym ${gccbin}/jcf-dump ${gcjhome}/bin/javap
|
||||
dosym ${gccbin}/gappletviewer ${gcjhome}/bin/appletviewer
|
||||
dosym ${gccbin}/gjarsigner ${gcjhome}/bin/jarsigner
|
||||
dosym ${gccbin}/grmiregistry ${gcjhome}/bin/rmiregistry
|
||||
dosym ${gccbin}/grmiregistry ${gcjhome}/jre/bin/rmiregistry
|
||||
dosym ${gccbin}/gkeytool ${gcjhome}/bin/keytool
|
||||
dosym ${gccbin}/gkeytool ${gcjhome}/jre/bin/keytool
|
||||
dosym ${gccbin}/gnative2ascii ${gcjhome}/bin/native2ascii
|
||||
dosym ${gccbin}/gorbd ${gcjhome}/bin/orbd
|
||||
dosym ${gccbin}/gorbd ${gcjhome}/jre/bin/orbd
|
||||
dosym ${gccbin}/grmid ${gcjhome}/bin/rmid
|
||||
dosym ${gccbin}/grmid ${gcjhome}/jre/bin/rmid
|
||||
dosym ${gccbin}/gserialver ${gcjhome}/bin/serialver
|
||||
dosym ${gccbin}/gtnameserv ${gcjhome}/bin/tnameserv
|
||||
dosym ${gccbin}/gtnameserv ${gcjhome}/jre/bin/tnameserv
|
||||
|
||||
dodir ${gcjhome}/jre/lib/${libarch}/client
|
||||
dodir ${gcjhome}/jre/lib/${libarch}/server
|
||||
dosym ${gcjlibdir}/libjvm.so ${gcjhome}/jre/lib/${libarch}/client/libjvm.so
|
||||
dosym ${gcjlibdir}/libjvm.so ${gcjhome}/jre/lib/${libarch}/server/libjvm.so
|
||||
use awt && dosym ${gcjlibdir}/libjawt.so ${gcjhome}/jre/lib/${libarch}/libjawt.so
|
||||
|
||||
dosym /usr/share/gcc-data/${gccchost}/${gcc_version}/java/libgcj-${gcc_version/_/-}.jar \
|
||||
${gcjhome}/jre/lib/rt.jar
|
||||
dodir ${gcjhome}/lib
|
||||
dosym /usr/share/gcc-data/${gccchost}/${gcc_version}/java/libgcj-tools-${gcc_version/_/-}.jar \
|
||||
${gcjhome}/lib/tools.jar
|
||||
dosym ${gcclib}/include ${gcjhome}/include
|
||||
|
||||
exeinto ${gcjhome}/bin
|
||||
sed -e "s#@JAVA@#${gcjprefix}/bin/java#" \
|
||||
-e "s#@ECJ_JAR@#${EPREFIX}/usr/share/eclipse-ecj/ecj.jar#" \
|
||||
-e "s#@RT_JAR@#${gcjprefix}/jre/lib/rt.jar#" \
|
||||
-e "s#@TOOLS_JAR@#${gcjprefix}/lib/tools.jar#" \
|
||||
"${FILESDIR}"/javac.in \
|
||||
| newexe - javac
|
||||
assert
|
||||
|
||||
java-vm_install-env
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Do not set as system VM (see below)
|
||||
# java-vm-2_pkg_postinst
|
||||
|
||||
ewarn "gcj does not currently provide all the 1.5 or 1.6 APIs."
|
||||
ewarn "See http://fuseyism.com/japi/ibmjdk15-libgcj-${API_DIFF_PV}.html"
|
||||
ewarn "and http://fuseyism.com/japi/icedtea6-libgcj-${API_DIFF_PV}.html"
|
||||
ewarn "Check for existing bugs relating to missing APIs and file"
|
||||
ewarn "new ones at https://gcc.gnu.org/bugzilla/"
|
||||
ewarn
|
||||
ewarn "Due to this and limited manpower, we currently cannot support"
|
||||
ewarn "using gcj-jdk as a system VM. Its main purpose is to bootstrap"
|
||||
ewarn "IcedTea without prior binary VM installation. To do that, execute:"
|
||||
ewarn
|
||||
ewarn "emerge -o icedtea && emerge icedtea"
|
||||
}
|
@ -1,5 +1,6 @@
|
||||
DIST php-5.6.30.tar.xz 12449696 SHA256 a363185c786432f75e3c7ff956b49c3369c3f6906a6b10459f8d1ddc22f70805 SHA512 fdf503925c236a79cc09bc9e5c06ce5afa7497ccf20ab486389b818a7d84db1b84ac119523b35586f64fff7d198b6c20164910fbf33254b35ec2f41015d9feef WHIRLPOOL d3217dfd3de0a2b2f178f1b869d2e0fa39128c4518deaf20f6f79d81a938f3730bf4cfb1cc19ddd55797a9e43a2ebad76555ae08004cefbf2430fc6916c49bd3
|
||||
DIST php-7.0.15.tar.xz 12575116 SHA256 300364d57fc4a6176ff7d52d390ee870ab6e30df121026649f8e7e0b9657fe93 SHA512 1d233edb908f44fb895184dbfdfd5684d52e4c831dc3e8184b3e645137e6f44bdc7abd16ceaf2249b9288cf1f1893b7dcca955c6e1c3a6b4afbe03cec2a85033 WHIRLPOOL 4ac7bf2521eb242204fcd9e231a53d06879b16e47928c6cdf9e04c2f16b25b880b16378c0d9425b3c1a183127dce062f3905eb3dd0a6cd196f3decb9304e2b7a
|
||||
DIST php-7.0.18.tar.xz 12593408 SHA256 679cffcdf2495dee5ab89bda595e678a1096136678b3a1d08f1f57ba347c234d SHA512 7188679dbbae27ab319d036bbee7d80f412cbb61ae83e38d6f1aa8e3f003a502c966adbc3a64481b0c94fd509ea991caae24517aed524a2b32cc91efffc01a36 WHIRLPOOL 433e34b6e7324ba7a2177cbeb0c2817a577ac5e3994564a534d29eaf021020a159cf207f391c52c212080220f42992475757f83d9d289317ded2a267b8289e8d
|
||||
DIST php-7.0.19.tar.xz 12595396 SHA256 640e5e3377d15a6d19adce2b94a9d876eeddabdb862d154a5e347987f4225ef6 SHA512 7e926ef791cc511b28a92fc6ad9e66cc5abbee0506f1318f55b18134834212f6af7ff38df3cbaf25c36b0f5c5dabf8c00a55cf2aedf48c76952b687be114720e WHIRLPOOL c717c821596c8ce8ee676030c6949e449797a9887e9b81c55d11af50a69afc36e93dde6ea599436af2048a099ab79b1c8b165842e1593f4cae3f74ff0f70c64c
|
||||
DIST php-7.1.4.tar.xz 12793840 SHA256 71514386adf3e963df087c2044a0b3747900b8b1fc8da3a99f0a0ae9180d300b SHA512 0db926f8cc2f43f59b2059d050972bff5d4bbc746f78bd186ab9af2c749ded920031cfa009cc76446c07a5c810bffdd24552d654dc4a64c8cfce3581974db4ac WHIRLPOOL 98b96ffe5bb5aabe87ddaa9f1bc7073e9791d143be3e45f1c8e9bf0649a0ae7a475d684b85240f1f90fc68bb4175c6190dbe3356ddfed9a20c9bea864f31c3ec
|
||||
DIST php-7.1.5.tar.xz 12797696 SHA256 d149a3c396c45611f5dc6bf14be190f464897145a76a8e5851cf18ff7094f6ac SHA512 0583ccb3f31995ddc8e3023f8ca9b6299b45855fc950b5e17fe70a54811b59cd6c233d85a4d4ebfa6c727255ab99d3c477719406c3ab2095d9b0074a731a7a88 WHIRLPOOL 84fe668178a4563cd1d38d46e23e27bd3bb3309632326fd0815fe3148785e352459a2a03e0dafcb80571750faf7bade311720f053c8385eab64cce1999d4c7e0
|
||||
|
@ -0,0 +1,738 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit flag-o-matic versionator systemd
|
||||
|
||||
DESCRIPTION="The PHP language runtime engine"
|
||||
HOMEPAGE="http://php.net/"
|
||||
SRC_URI="http://php.net/distributions/${P}.tar.xz"
|
||||
|
||||
LICENSE="PHP-3.01
|
||||
BSD
|
||||
Zend-2.0
|
||||
bcmath? ( LGPL-2.1+ )
|
||||
fpm? ( BSD-2 )
|
||||
gd? ( gd )
|
||||
unicode? ( BSD-2 LGPL-2.1 )"
|
||||
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
|
||||
# We can build the following SAPIs in the given order
|
||||
SAPIS="embed cli cgi fpm apache2 phpdbg"
|
||||
|
||||
# SAPIs and SAPI-specific USE flags (cli SAPI is default on):
|
||||
IUSE="${IUSE}
|
||||
${SAPIS/cli/+cli}
|
||||
threads"
|
||||
|
||||
IUSE="${IUSE} acl bcmath berkdb bzip2 calendar cdb cjk
|
||||
coverage crypt +ctype curl debug
|
||||
enchant exif +fileinfo +filter firebird
|
||||
flatfile ftp gd gdbm gmp +hash +iconv imap inifile
|
||||
intl iodbc ipv6 +json kerberos ldap ldap-sasl libedit libressl
|
||||
mhash mssql mysql mysqli nls
|
||||
oci8-instant-client odbc +opcache pcntl pdo +phar +posix postgres qdbm
|
||||
readline recode selinux +session sharedmem
|
||||
+simplexml snmp soap sockets spell sqlite ssl
|
||||
sysvipc systemd tidy +tokenizer truetype unicode wddx webp
|
||||
+xml xmlreader xmlwriter xmlrpc xpm xslt zip zlib"
|
||||
|
||||
# The supported (that is, autodetected) versions of BDB are listed in
|
||||
# the ./configure script. Other versions *work*, but we need to stick to
|
||||
# the ones that can be detected to avoid a repeat of bug #564824.
|
||||
COMMON_DEPEND="
|
||||
>=app-eselect/eselect-php-0.9.1[apache2?,fpm?]
|
||||
>=dev-libs/libpcre-8.32[unicode]
|
||||
acl? ( sys-apps/acl )
|
||||
apache2? ( || ( >=www-servers/apache-2.4[apache2_modules_unixd,threads=]
|
||||
<www-servers/apache-2.4[threads=] ) )
|
||||
berkdb? ( || ( sys-libs/db:5.3
|
||||
sys-libs/db:5.1
|
||||
sys-libs/db:4.8
|
||||
sys-libs/db:4.7
|
||||
sys-libs/db:4.6
|
||||
sys-libs/db:4.5 ) )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
|
||||
cjk? ( !gd? (
|
||||
virtual/jpeg:0
|
||||
media-libs/libpng:0=
|
||||
sys-libs/zlib
|
||||
) )
|
||||
coverage? ( dev-util/lcov )
|
||||
crypt? ( >=dev-libs/libmcrypt-2.4 )
|
||||
curl? ( >=net-misc/curl-7.10.5 )
|
||||
enchant? ( app-text/enchant )
|
||||
exif? ( !gd? (
|
||||
virtual/jpeg:0
|
||||
media-libs/libpng:0=
|
||||
sys-libs/zlib
|
||||
) )
|
||||
firebird? ( dev-db/firebird )
|
||||
gd? ( virtual/jpeg:0 media-libs/libpng:0= sys-libs/zlib )
|
||||
gdbm? ( >=sys-libs/gdbm-1.8.0 )
|
||||
gmp? ( dev-libs/gmp:0 )
|
||||
iconv? ( virtual/libiconv )
|
||||
imap? ( virtual/imap-c-client[kerberos=,ssl=] )
|
||||
intl? ( dev-libs/icu:= )
|
||||
iodbc? ( dev-db/libiodbc )
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( >=net-nds/openldap-1.2.11 )
|
||||
ldap-sasl? ( dev-libs/cyrus-sasl >=net-nds/openldap-1.2.11 )
|
||||
libedit? ( || ( sys-freebsd/freebsd-lib dev-libs/libedit ) )
|
||||
mssql? ( dev-db/freetds[mssql] )
|
||||
nls? ( sys-devel/gettext )
|
||||
oci8-instant-client? ( dev-db/oracle-instantclient-basic )
|
||||
odbc? ( >=dev-db/unixODBC-1.8.13 )
|
||||
postgres? ( dev-db/postgresql:* )
|
||||
qdbm? ( dev-db/qdbm )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
recode? ( app-text/recode )
|
||||
sharedmem? ( dev-libs/mm )
|
||||
simplexml? ( >=dev-libs/libxml2-2.6.8 )
|
||||
snmp? ( >=net-analyzer/net-snmp-5.2 )
|
||||
soap? ( >=dev-libs/libxml2-2.6.8 )
|
||||
spell? ( >=app-text/aspell-0.50 )
|
||||
sqlite? ( >=dev-db/sqlite-3.7.6.3 )
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0 )
|
||||
libressl? ( dev-libs/libressl )
|
||||
)
|
||||
tidy? ( app-text/htmltidy )
|
||||
truetype? (
|
||||
=media-libs/freetype-2*
|
||||
!gd? (
|
||||
virtual/jpeg:0 media-libs/libpng:0= sys-libs/zlib )
|
||||
)
|
||||
unicode? ( dev-libs/oniguruma )
|
||||
wddx? ( >=dev-libs/libxml2-2.6.8 )
|
||||
webp? ( media-libs/libwebp )
|
||||
xml? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xmlrpc? ( >=dev-libs/libxml2-2.6.8 virtual/libiconv )
|
||||
xmlreader? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xmlwriter? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xpm? (
|
||||
x11-libs/libXpm
|
||||
virtual/jpeg:0
|
||||
media-libs/libpng:0= sys-libs/zlib
|
||||
)
|
||||
xslt? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 )
|
||||
zip? ( sys-libs/zlib )
|
||||
zlib? ( sys-libs/zlib )
|
||||
"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
virtual/mta
|
||||
fpm? (
|
||||
selinux? ( sec-policy/selinux-phpfpm )
|
||||
systemd? ( sys-apps/systemd ) )"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-arch/xz-utils
|
||||
>=sys-devel/bison-3.0.1
|
||||
sys-devel/flex
|
||||
>=sys-devel/m4-1.4.3
|
||||
>=sys-devel/libtool-1.5.18"
|
||||
|
||||
# Without USE=readline or libedit, the interactive "php -a" CLI will hang.
|
||||
REQUIRED_USE="
|
||||
cli? ( ^^ ( readline libedit ) )
|
||||
truetype? ( gd )
|
||||
webp? ( gd )
|
||||
cjk? ( gd )
|
||||
exif? ( gd )
|
||||
xpm? ( gd )
|
||||
gd? ( zlib )
|
||||
simplexml? ( xml )
|
||||
soap? ( xml )
|
||||
wddx? ( xml )
|
||||
xmlrpc? ( || ( xml iconv ) )
|
||||
xmlreader? ( xml )
|
||||
xslt? ( xml )
|
||||
ldap-sasl? ( ldap )
|
||||
mhash? ( hash )
|
||||
phar? ( hash )
|
||||
qdbm? ( !gdbm )
|
||||
readline? ( !libedit )
|
||||
recode? ( !imap !mysqli )
|
||||
sharedmem? ( !threads )
|
||||
mysql? ( || ( mysqli pdo ) )
|
||||
|| ( cli cgi fpm apache2 embed phpdbg )"
|
||||
|
||||
PHP_MV="$(get_major_version)"
|
||||
|
||||
php_install_ini() {
|
||||
local phpsapi="${1}"
|
||||
|
||||
# work out where we are installing the ini file
|
||||
php_set_ini_dir "${phpsapi}"
|
||||
|
||||
# Always install the production INI file, bug 611214.
|
||||
local phpinisrc="php.ini-production-${phpsapi}"
|
||||
cp php.ini-production "${phpinisrc}" || die
|
||||
|
||||
# default to /tmp for save_path, bug #282768
|
||||
sed -e 's|^;session.save_path .*$|session.save_path = "'"${EPREFIX}"'/tmp"|g' -i "${phpinisrc}" || die
|
||||
|
||||
# Set the extension dir
|
||||
sed -e "s|^extension_dir .*$|extension_dir = ${extension_dir}|g" \
|
||||
-i "${phpinisrc}" || die
|
||||
|
||||
# Set the include path to point to where we want to find PEAR packages
|
||||
sed -e 's|^;include_path = ".:/php/includes".*|include_path = ".:'"${EPREFIX}"'/usr/share/php'${PHP_MV}':'"${EPREFIX}"'/usr/share/php"|' -i "${phpinisrc}" || die
|
||||
|
||||
dodir "${PHP_INI_DIR#${EPREFIX}}"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
newins "${phpinisrc}" php.ini
|
||||
|
||||
elog "Installing php.ini for ${phpsapi} into ${PHP_INI_DIR#${EPREFIX}}"
|
||||
elog
|
||||
|
||||
dodir "${PHP_EXT_INI_DIR#${EPREFIX}}"
|
||||
dodir "${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}"
|
||||
|
||||
if use opcache; then
|
||||
elog "Adding opcache to $PHP_EXT_INI_DIR"
|
||||
echo "zend_extension=${PHP_DESTDIR}/$(get_libdir)/opcache.so" >> \
|
||||
"${D}/${PHP_EXT_INI_DIR}"/opcache.ini
|
||||
dosym "${PHP_EXT_INI_DIR#${EPREFIX}}/opcache.ini" \
|
||||
"${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}/opcache.ini"
|
||||
fi
|
||||
|
||||
# SAPI-specific handling
|
||||
if [[ "${sapi}" == "fpm" ]] ; then
|
||||
einfo "Installing FPM config files php-fpm.conf and www.conf"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
doins sapi/fpm/php-fpm.conf
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}/fpm.d"
|
||||
doins sapi/fpm/www.conf
|
||||
fi
|
||||
|
||||
dodoc php.ini-{development,production}
|
||||
}
|
||||
|
||||
php_set_ini_dir() {
|
||||
PHP_INI_DIR="${EPREFIX}/etc/php/${1}-php${SLOT}"
|
||||
PHP_EXT_INI_DIR="${PHP_INI_DIR}/ext"
|
||||
PHP_EXT_INI_DIR_ACTIVE="${PHP_INI_DIR}/ext-active"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# In php-7.x, the FPM pool configuration files have been split off
|
||||
# of the main config. By default the pool config files go in
|
||||
# e.g. /etc/php-fpm.d, which isn't slotted. So here we move the
|
||||
# include directory to a subdirectory "fpm.d" of $PHP_INI_DIR. Later
|
||||
# we'll install the pool configuration file "www.conf" there.
|
||||
php_set_ini_dir fpm
|
||||
sed -i "s~^include=.*$~include=${PHP_INI_DIR}/fpm.d/*.conf~" \
|
||||
sapi/fpm/php-fpm.conf.in \
|
||||
|| die 'failed to move the include directory in php-fpm.conf'
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
addpredict /var/lib/net-snmp/mib_indexes
|
||||
|
||||
PHP_DESTDIR="${EPREFIX}/usr/$(get_libdir)/php${SLOT}"
|
||||
|
||||
# The php-fpm config file wants localstatedir to be ${EPREFIX}/var
|
||||
# and not the Gentoo default ${EPREFIX}/var/lib. See bug 572002.
|
||||
local our_conf=(
|
||||
--prefix="${PHP_DESTDIR}"
|
||||
--mandir="${PHP_DESTDIR}/man"
|
||||
--infodir="${PHP_DESTDIR}/info"
|
||||
--libdir="${PHP_DESTDIR}/lib"
|
||||
--with-libdir="$(get_libdir)"
|
||||
--localstatedir="${EPREFIX}/var"
|
||||
--without-pear
|
||||
$(use_enable threads maintainer-zts)
|
||||
)
|
||||
|
||||
our_conf+=(
|
||||
$(use_with acl fpm-acl)
|
||||
$(use_enable bcmath bcmath)
|
||||
$(use_with bzip2 bz2 "${EPREFIX}/usr")
|
||||
$(use_enable calendar calendar)
|
||||
$(use_enable coverage gcov)
|
||||
$(use_enable ctype ctype)
|
||||
$(use_with curl curl "${EPREFIX}/usr")
|
||||
$(use_enable xml dom)
|
||||
$(use_with enchant enchant "${EPREFIX}/usr")
|
||||
$(use_enable exif exif)
|
||||
$(use_enable fileinfo fileinfo)
|
||||
$(use_enable filter filter)
|
||||
$(use_enable ftp ftp)
|
||||
$(use_with nls gettext "${EPREFIX}/usr")
|
||||
$(use_with gmp gmp "${EPREFIX}/usr")
|
||||
$(use_enable hash hash)
|
||||
$(use_with mhash mhash "${EPREFIX}/usr")
|
||||
$(use_with iconv iconv \
|
||||
$(use elibc_glibc || use elibc_musl || echo "${EPREFIX}/usr"))
|
||||
$(use_enable intl intl)
|
||||
$(use_enable ipv6 ipv6)
|
||||
$(use_enable json json)
|
||||
$(use_with kerberos kerberos "${EPREFIX}/usr")
|
||||
$(use_enable xml libxml)
|
||||
$(use_with xml libxml-dir "${EPREFIX}/usr")
|
||||
$(use_enable unicode mbstring)
|
||||
$(use_with crypt mcrypt "${EPREFIX}/usr")
|
||||
$(use_with unicode onig "${EPREFIX}/usr")
|
||||
$(use_with ssl openssl "${EPREFIX}/usr")
|
||||
$(use_with ssl openssl-dir "${EPREFIX}/usr")
|
||||
$(use_enable pcntl pcntl)
|
||||
$(use_enable phar phar)
|
||||
$(use_enable pdo pdo)
|
||||
$(use_enable opcache opcache)
|
||||
$(use_with postgres pgsql "${EPREFIX}/usr")
|
||||
$(use_enable posix posix)
|
||||
$(use_with spell pspell "${EPREFIX}/usr")
|
||||
$(use_with recode recode "${EPREFIX}/usr")
|
||||
$(use_enable simplexml simplexml)
|
||||
$(use_enable sharedmem shmop)
|
||||
$(use_with snmp snmp "${EPREFIX}/usr")
|
||||
$(use_enable soap soap)
|
||||
$(use_enable sockets sockets)
|
||||
$(use_with sqlite sqlite3 "${EPREFIX}/usr")
|
||||
$(use_enable sysvipc sysvmsg)
|
||||
$(use_enable sysvipc sysvsem)
|
||||
$(use_enable sysvipc sysvshm)
|
||||
$(use_with systemd fpm-systemd)
|
||||
$(use_with tidy tidy "${EPREFIX}/usr")
|
||||
$(use_enable tokenizer tokenizer)
|
||||
$(use_enable wddx wddx)
|
||||
$(use_enable xml xml)
|
||||
$(use_enable xmlreader xmlreader)
|
||||
$(use_enable xmlwriter xmlwriter)
|
||||
$(use_with xmlrpc xmlrpc)
|
||||
$(use_with xslt xsl "${EPREFIX}/usr")
|
||||
$(use_enable zip zip)
|
||||
$(use_with zlib zlib "${EPREFIX}/usr")
|
||||
$(use_enable debug debug)
|
||||
)
|
||||
|
||||
# DBA support
|
||||
if use cdb || use berkdb || use flatfile || use gdbm || use inifile \
|
||||
|| use qdbm ; then
|
||||
our_conf+=( "--enable-dba${shared}" )
|
||||
fi
|
||||
|
||||
# DBA drivers support
|
||||
our_conf+=(
|
||||
$(use_with cdb cdb)
|
||||
$(use_with berkdb db4 "${EPREFIX}/usr")
|
||||
$(use_enable flatfile flatfile)
|
||||
$(use_with gdbm gdbm "${EPREFIX}/usr")
|
||||
$(use_enable inifile inifile)
|
||||
$(use_with qdbm qdbm "${EPREFIX}/usr")
|
||||
)
|
||||
|
||||
# Support for the GD graphics library
|
||||
our_conf+=(
|
||||
$(use_with truetype freetype-dir "${EPREFIX}/usr")
|
||||
$(use_enable cjk gd-jis-conv)
|
||||
$(use_with gd jpeg-dir "${EPREFIX}/usr")
|
||||
$(use_with gd png-dir "${EPREFIX}/usr")
|
||||
$(use_with xpm xpm-dir "${EPREFIX}/usr")
|
||||
)
|
||||
if use webp; then
|
||||
our_conf+=( --with-webp-dir="${EPREFIX}/usr" )
|
||||
fi
|
||||
# enable gd last, so configure can pick up the previous settings
|
||||
our_conf+=( $(use_with gd gd) )
|
||||
|
||||
# IMAP support
|
||||
if use imap ; then
|
||||
our_conf+=(
|
||||
$(use_with imap imap "${EPREFIX}/usr")
|
||||
$(use_with ssl imap-ssl "${EPREFIX}/usr")
|
||||
)
|
||||
fi
|
||||
|
||||
# Interbase/firebird support
|
||||
our_conf+=( $(use_with firebird interbase "${EPREFIX}/usr") )
|
||||
|
||||
# LDAP support
|
||||
if use ldap ; then
|
||||
our_conf+=(
|
||||
$(use_with ldap ldap "${EPREFIX}/usr")
|
||||
$(use_with ldap-sasl ldap-sasl "${EPREFIX}/usr")
|
||||
)
|
||||
fi
|
||||
|
||||
# MySQL support
|
||||
local mysqllib="mysqlnd"
|
||||
local mysqlilib="mysqlnd"
|
||||
|
||||
our_conf+=( $(use_with mysqli mysqli "${mysqlilib}") )
|
||||
|
||||
local mysqlsock="${EPREFIX}/var/run/mysqld/mysqld.sock"
|
||||
if use mysql || use mysqli ; then
|
||||
our_conf+=( $(use_with mysql mysql-sock "${mysqlsock}") )
|
||||
fi
|
||||
|
||||
# ODBC support
|
||||
our_conf+=(
|
||||
$(use_with odbc unixODBC "${EPREFIX}/usr")
|
||||
$(use_with iodbc iodbc "${EPREFIX}/usr")
|
||||
)
|
||||
|
||||
# Oracle support
|
||||
our_conf+=( $(use_with oci8-instant-client oci8) )
|
||||
|
||||
# PDO support
|
||||
if use pdo ; then
|
||||
our_conf+=(
|
||||
$(use_with mssql pdo-dblib "${EPREFIX}/usr")
|
||||
$(use_with mysql pdo-mysql "${mysqllib}")
|
||||
$(use_with postgres pdo-pgsql)
|
||||
$(use_with sqlite pdo-sqlite "${EPREFIX}/usr")
|
||||
$(use_with firebird pdo-firebird "${EPREFIX}/usr")
|
||||
$(use_with odbc pdo-odbc "unixODBC,${EPREFIX}/usr")
|
||||
$(use_with oci8-instant-client pdo-oci)
|
||||
)
|
||||
fi
|
||||
|
||||
# readline/libedit support
|
||||
our_conf+=(
|
||||
$(use_with readline readline "${EPREFIX}/usr")
|
||||
$(use_with libedit libedit "${EPREFIX}/usr")
|
||||
)
|
||||
|
||||
# Session support
|
||||
if use session ; then
|
||||
our_conf+=( $(use_with sharedmem mm "${EPREFIX}/usr") )
|
||||
else
|
||||
our_conf+=( $(use_enable session session) )
|
||||
fi
|
||||
|
||||
# Use pic for shared modules such as apache2's mod_php
|
||||
our_conf+=( --with-pic )
|
||||
|
||||
# we use the system copy of pcre
|
||||
# --with-pcre-regex affects ext/pcre
|
||||
# --with-pcre-dir affects ext/filter and ext/zip
|
||||
our_conf+=(
|
||||
--with-pcre-regex="${EPREFIX}/usr"
|
||||
--with-pcre-dir="${EPREFIX}/usr"
|
||||
)
|
||||
|
||||
# Catch CFLAGS problems
|
||||
# Fixes bug #14067.
|
||||
# Changed order to run it in reverse for bug #32022 and #12021.
|
||||
replace-cpu-flags "k6*" "i586"
|
||||
|
||||
# Cache the ./configure test results between SAPIs.
|
||||
our_conf+=( --cache-file="${T}/config.cache" )
|
||||
|
||||
# Support user-passed configuration parameters
|
||||
our_conf+=( ${EXTRA_ECONF:-} )
|
||||
|
||||
# Support the Apache2 extras, they must be set globally for all
|
||||
# SAPIs to work correctly, especially for external PHP extensions
|
||||
|
||||
mkdir -p "${WORKDIR}/sapis-build" || die
|
||||
for one_sapi in $SAPIS ; do
|
||||
use "${one_sapi}" || continue
|
||||
php_set_ini_dir "${one_sapi}"
|
||||
|
||||
# The BUILD_DIR variable is used to determine where to output
|
||||
# the files that autotools creates. This was all originally
|
||||
# based on the autotools-utils eclass.
|
||||
BUILD_DIR="${WORKDIR}/sapis-build/${one_sapi}"
|
||||
cp -a "${S}" "${BUILD_DIR}" || die
|
||||
cd "${BUILD_DIR}" || die
|
||||
|
||||
local sapi_conf=(
|
||||
--with-config-file-path="${PHP_INI_DIR}"
|
||||
--with-config-file-scan-dir="${PHP_EXT_INI_DIR_ACTIVE}"
|
||||
)
|
||||
|
||||
for sapi in $SAPIS ; do
|
||||
case "$sapi" in
|
||||
cli|cgi|embed|fpm|phpdbg)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf+=( "--enable-${sapi}" )
|
||||
else
|
||||
sapi_conf+=( "--disable-${sapi}" )
|
||||
fi
|
||||
;;
|
||||
|
||||
apache2)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf+=( --with-apxs2="${EPREFIX}/usr/bin/apxs" )
|
||||
else
|
||||
sapi_conf+=( --without-apxs2 )
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
# Construct the $myeconfargs array by concatenating $our_conf
|
||||
# (the common args) and $sapi_conf (the SAPI-specific args).
|
||||
local myeconfargs=( "${our_conf[@]}" )
|
||||
myeconfargs+=( "${sapi_conf[@]}" )
|
||||
|
||||
pushd "${BUILD_DIR}" > /dev/null || die
|
||||
econf "${myeconfargs[@]}"
|
||||
popd > /dev/null || die
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# snmp seems to run during src_compile, too (bug #324739)
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
addpredict /var/lib/net-snmp/mib_indexes
|
||||
|
||||
for sapi in ${SAPIS} ; do
|
||||
if use "${sapi}"; then
|
||||
cd "${WORKDIR}/sapis-build/$sapi" || \
|
||||
die "Failed to change dir to ${WORKDIR}/sapis-build/$1"
|
||||
emake
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# see bug #324739 for what happens when we don't have that
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
|
||||
# grab the first SAPI that got built and install common files from there
|
||||
local first_sapi=""
|
||||
for sapi in $SAPIS ; do
|
||||
if use $sapi ; then
|
||||
first_sapi=$sapi
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
# Makefile forgets to create this before trying to write to it...
|
||||
dodir "${PHP_DESTDIR#${EPREFIX}}/bin"
|
||||
|
||||
# Install php environment (without any sapis)
|
||||
cd "${WORKDIR}/sapis-build/$first_sapi" || die
|
||||
emake INSTALL_ROOT="${D}" \
|
||||
install-build install-headers install-programs
|
||||
|
||||
local extension_dir="$("${ED}/${PHP_DESTDIR#${EPREFIX}}/bin/php-config" --extension-dir)"
|
||||
|
||||
# Create the directory where we'll put version-specific php scripts
|
||||
keepdir "/usr/share/php${PHP_MV}"
|
||||
|
||||
local sapi="", file=""
|
||||
local sapi_list=""
|
||||
|
||||
for sapi in ${SAPIS}; do
|
||||
if use "${sapi}" ; then
|
||||
einfo "Installing SAPI: ${sapi}"
|
||||
cd "${WORKDIR}/sapis-build/${sapi}" || die
|
||||
|
||||
if [[ "${sapi}" == "apache2" ]] ; then
|
||||
# We're specifically not using emake install-sapi as libtool
|
||||
# may cause unnecessary relink failures (see bug #351266)
|
||||
insinto "${PHP_DESTDIR#${EPREFIX}}/apache2/"
|
||||
newins ".libs/libphp${PHP_MV}$(get_libname)" \
|
||||
"libphp${PHP_MV}$(get_libname)"
|
||||
keepdir "/usr/$(get_libdir)/apache2/modules"
|
||||
else
|
||||
# needed each time, php_install_ini would reset it
|
||||
local dest="${PHP_DESTDIR#${EPREFIX}}"
|
||||
into "${dest}"
|
||||
case "$sapi" in
|
||||
cli)
|
||||
source="sapi/cli/php"
|
||||
;;
|
||||
cgi)
|
||||
source="sapi/cgi/php-cgi"
|
||||
;;
|
||||
fpm)
|
||||
source="sapi/fpm/php-fpm"
|
||||
;;
|
||||
embed)
|
||||
source="libs/libphp${PHP_MV}$(get_libname)"
|
||||
;;
|
||||
phpdbg)
|
||||
source="sapi/phpdbg/phpdbg"
|
||||
;;
|
||||
*)
|
||||
die "unhandled sapi in src_install"
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ "${source}" == *"$(get_libname)" ]]; then
|
||||
dolib.so "${source}"
|
||||
else
|
||||
dobin "${source}"
|
||||
local name="$(basename ${source})"
|
||||
dosym "${dest}/bin/${name}" "/usr/bin/${name}${SLOT}"
|
||||
fi
|
||||
fi
|
||||
|
||||
php_install_ini "${sapi}"
|
||||
|
||||
# construct correct SAPI string for php-config
|
||||
# thanks to ferringb for the bash voodoo
|
||||
if [[ "${sapi}" == "apache2" ]]; then
|
||||
sapi_list="${sapi_list:+${sapi_list} }apache2handler"
|
||||
else
|
||||
sapi_list="${sapi_list:+${sapi_list} }${sapi}"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
# Installing opcache module
|
||||
if use opcache ; then
|
||||
into "${PHP_DESTDIR#${EPREFIX}}"
|
||||
dolib.so "modules/opcache$(get_libname)"
|
||||
fi
|
||||
|
||||
# Install env.d files
|
||||
newenvd "${FILESDIR}/20php5-envd" "20php${SLOT}"
|
||||
sed -e "s|/lib/|/$(get_libdir)/|g" -i "${ED}/etc/env.d/20php${SLOT}" || die
|
||||
sed -e "s|php5|php${SLOT}|g" -i "${ED}/etc/env.d/20php${SLOT}" || die
|
||||
|
||||
# set php-config variable correctly (bug #278439)
|
||||
sed -e "s:^\(php_sapis=\)\".*\"$:\1\"${sapi_list}\":" -i \
|
||||
"${ED}/usr/$(get_libdir)/php${SLOT}/bin/php-config" || die
|
||||
|
||||
if use fpm ; then
|
||||
if use systemd; then
|
||||
systemd_newunit "${FILESDIR}/php-fpm_at.service" \
|
||||
"php-fpm@${SLOT}.service"
|
||||
else
|
||||
systemd_newunit "${FILESDIR}/php-fpm_at-simple.service" \
|
||||
"php-fpm@${SLOT}.service"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
PHP_BIN="${WORKDIR}/sapis-build/cli/sapi/cli/php"
|
||||
if [[ ! -x "${PHP_BIN}" ]] ; then
|
||||
ewarn "Test phase requires USE=cli, skipping"
|
||||
return
|
||||
else
|
||||
export TEST_PHP_EXECUTABLE="${PHP_BIN}"
|
||||
fi
|
||||
|
||||
if [[ -x "${WORKDIR}/sapis-build/cgi/sapi/cgi/php-cgi" ]] ; then
|
||||
export TEST_PHP_CGI_EXECUTABLE="${WORKDIR}/sapis-build/cgi/sapi/cgi/php-cgi"
|
||||
fi
|
||||
|
||||
if [[ -x "${WORKDIR}/sapis-build/phpdbg/sapi/phpdbg/phpdbg" ]] ; then
|
||||
export TEST_PHPDBG_EXECUTABLE="${WORKDIR}/sapis-build/phpdbg/sapi/phpdbg/phpdbg"
|
||||
fi
|
||||
|
||||
REPORT_EXIT_STATUS=1 "${TEST_PHP_EXECUTABLE}" -n -d \
|
||||
"session.save_path=${T}" \
|
||||
"${WORKDIR}/sapis-build/cli/run-tests.php" -n -q -d \
|
||||
"session.save_path=${T}"
|
||||
|
||||
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||
mv "${name}.out" "${name}.out.orig" 2>/dev/null || die
|
||||
done
|
||||
|
||||
local failed="$(find -name '*.out')"
|
||||
if [[ ${failed} != "" ]] ; then
|
||||
ewarn "The following test cases failed unexpectedly:"
|
||||
for name in ${failed}; do
|
||||
ewarn " ${name/.out/}"
|
||||
done
|
||||
else
|
||||
einfo "No unexpected test failures, all fine"
|
||||
fi
|
||||
|
||||
if [[ ${PHP_SHOW_UNEXPECTED_TEST_PASS} == "1" ]] ; then
|
||||
local passed=""
|
||||
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||
[[ -f "${name}.diff" ]] && continue
|
||||
passed="${passed} ${name}"
|
||||
done
|
||||
if [[ ${passed} != "" ]] ; then
|
||||
einfo "The following test cases passed unexpectedly:"
|
||||
for name in ${passed}; do
|
||||
ewarn " ${passed}"
|
||||
done
|
||||
else
|
||||
einfo "None of the known-to-fail tests passed, all fine"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Output some general info to the user
|
||||
if use apache2 ; then
|
||||
elog
|
||||
elog "To enable PHP in apache, you will need to add \"-D PHP\" to"
|
||||
elog "your apache2 command. OpenRC users can append that string to"
|
||||
elog "APACHE2_OPTS in /etc/conf.d/apache2."
|
||||
elog
|
||||
elog "The apache module configuration file 70_mod_php.conf is"
|
||||
elog "provided (and maintained) by eselect-php."
|
||||
elog
|
||||
fi
|
||||
|
||||
# Create the symlinks for php
|
||||
for m in ${SAPIS}; do
|
||||
[[ ${m} == 'embed' ]] && continue;
|
||||
if use $m ; then
|
||||
local ci=$(eselect php show $m)
|
||||
if [[ -z $ci ]]; then
|
||||
eselect php set $m php${SLOT} || die
|
||||
einfo "Switched ${m} to use php:${SLOT}"
|
||||
einfo
|
||||
elif [[ $ci != "php${SLOT}" ]] ; then
|
||||
elog "To switch $m to use php:${SLOT}, run"
|
||||
elog " eselect php set $m php${SLOT}"
|
||||
elog
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
# Remove dead symlinks for SAPIs that were just disabled. For
|
||||
# example, if the user has the cgi SAPI enabled, then he has an
|
||||
# eselect-php symlink for it. If he later reinstalls PHP with
|
||||
# USE="-cgi", that symlink will break. This call to eselect is
|
||||
# supposed to remove that dead link per bug 572436.
|
||||
eselect php cleanup || die
|
||||
|
||||
if ! has "php${SLOT/./-}" ${PHP_TARGETS}; then
|
||||
elog "To build extensions for this version of PHP, you will need to"
|
||||
elog "add php${SLOT/./-} to your PHP_TARGETS USE_EXPAND variable."
|
||||
elog
|
||||
fi
|
||||
|
||||
# Warn about the removal of PHP_INI_VERSION if the user has it set.
|
||||
if [[ -n "${PHP_INI_VERSION}" ]]; then
|
||||
ewarn 'The PHP_INI_VERSION variable has been phased out. You may'
|
||||
ewarn 'remove it from your configuration at your convenience. See'
|
||||
ewarn
|
||||
ewarn ' https://bugs.gentoo.org/611214'
|
||||
ewarn
|
||||
ewarn 'for more information.'
|
||||
fi
|
||||
|
||||
elog "For details on how version slotting works, please see"
|
||||
elog "the wiki:"
|
||||
elog
|
||||
elog " https://wiki.gentoo.org/wiki/PHP"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# This serves two purposes. First, if we have just removed the last
|
||||
# installed version of PHP, then this will remove any dead symlinks
|
||||
# belonging to eselect-php. Second, if a user upgrades slots from
|
||||
# (say) 5.6 to 7.0 and depcleans the old slot, then this will update
|
||||
# his existing symlinks to point to the new 7.0 installation. The
|
||||
# latter is bug 432962.
|
||||
#
|
||||
# Note: the eselect-php package may not be installed at this point,
|
||||
# so we can't die() if this command fails.
|
||||
eselect php cleanup
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
gcc-7 fails the build as:
|
||||
clients/memflush.cc: In function 'int main(int, char**)':
|
||||
clients/memflush.cc:42:22: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
|
||||
if (opt_servers == false)
|
||||
^~~~~
|
||||
|
||||
opt_servers is declated as 'static char *opt_servers= NULL;'
|
||||
diff --git a/clients/memflush.cc b/clients/memflush.cc
|
||||
index 8bd0dbf..7641b88 100644
|
||||
--- a/clients/memflush.cc
|
||||
+++ b/clients/memflush.cc
|
||||
@@ -39,7 +39,7 @@ int main(int argc, char *argv[])
|
||||
{
|
||||
options_parse(argc, argv);
|
||||
|
||||
- if (opt_servers == false)
|
||||
+ if (!opt_servers)
|
||||
{
|
||||
char *temp;
|
||||
|
||||
@@ -48,7 +48,7 @@ int main(int argc, char *argv[])
|
||||
opt_servers= strdup(temp);
|
||||
}
|
||||
|
||||
- if (opt_servers == false)
|
||||
+ if (!opt_servers)
|
||||
{
|
||||
std::cerr << "No Servers provided" << std::endl;
|
||||
exit(EXIT_FAILURE);
|
@ -1 +1,2 @@
|
||||
DIST Flask-WhooshAlchemy-0.56.tar.gz 8528 SHA256 8320ba75040bd37c2810d5ab9a4bd9f3ccadebbef93c805fe0578403f8785baa SHA512 acf7607ad909382bbf3016467cd8e402c98b4618a5822ba6097671becba43f1cac48f6415ce967c4f85c71b71fdafd30c36e5b65e9fc99500c0aad83ea1c650c WHIRLPOOL c08ae0add692379cb1571ff957b4b45447d350c770ad64dde3a5592cbf1b704ee1466f740bc8d6b82750a962695424588717af197e0859a96a28669a935b5e40
|
||||
DIST Flask-WhooshAlchemy-0.8.tar.gz 8916 SHA256 45bd638d2ded106d955b9924f27f7ee41c48fbdd5a1fd6b2a892180354006d10 SHA512 c8eff47cedd955d8ad758c8441c3f4e715eed77fbe2749d0830130f6c63547ba7d7fbcade635da0be5f03967c1be01ab7a62939a6d2eba28f9a58b1ab83469a6 WHIRLPOOL 909363e7d7de96a8206dcffba838c5d1fa8b3c55d498c5b018f31f5b67f086d6c8106c123e878fbb02dfd4a97880b09002cc1f4465cfea7b8f847201b0d11f8f
|
||||
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python{2_7,3_{4,5}} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="Flask-WhooshAlchemy"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Whoosh extension to Flask/SQLAlchemy"
|
||||
HOMEPAGE="https://github.com/gyllstromk/Flask-WhooshAlchemy https://pypi.python.org/pypi/Flask-WhooshAlchemy"
|
||||
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
# TODO: figure out how to make it happy about the newer whoosh
|
||||
# (i.e. if it's broken test or broken package)
|
||||
RDEPEND="dev-python/flask[${PYTHON_USEDEP}]
|
||||
dev-python/flask-sqlalchemy[${PYTHON_USEDEP}]
|
||||
dev-python/sqlalchemy[${PYTHON_USEDEP}]
|
||||
dev-python/blinker[${PYTHON_USEDEP}]
|
||||
=dev-python/whoosh-2.6.0[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/flask-testing[${PYTHON_USEDEP}] )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_prepare_all() {
|
||||
# unbind dependencies from specific versions
|
||||
sed -i -e 's/==.*$//' requirements.txt || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# esetup.py test -- test module decl is broken
|
||||
"${PYTHON}" test/test_all.py || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -1,91 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_4} )
|
||||
|
||||
inherit check-reqs toolchain-funcs python-r1
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/count0/graph-tool.git"
|
||||
inherit autotools git-r3
|
||||
else
|
||||
SRC_URI="http://downloads.skewed.de/${PN}/${P}.tar.bz2"
|
||||
KEYWORDS="amd64 x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="An efficient python module for manipulation and statistical analysis of graphs"
|
||||
HOMEPAGE="http://graph-tool.skewed.de/"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="+cairo openmp"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
# Bug #536734; configure sets boostlib 1.53.0 but 1.54.0 is required
|
||||
CDEPEND="${PYTHON_DEPS}
|
||||
>=dev-libs/boost-1.54.0[python,${PYTHON_USEDEP}]
|
||||
dev-libs/expat
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
sci-libs/scipy[${PYTHON_USEDEP}]
|
||||
>=sci-mathematics/cgal-3.5
|
||||
cairo? (
|
||||
dev-cpp/cairomm
|
||||
dev-python/pycairo[${PYTHON_USEDEP}]
|
||||
)"
|
||||
RDEPEND="${CDEPEND}
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]"
|
||||
DEPEND="${CDEPEND}
|
||||
dev-cpp/sparsehash
|
||||
virtual/pkgconfig"
|
||||
|
||||
# most machines don't have enough ram for parallel builds
|
||||
MAKEOPTS="${MAKEOPTS} -j1"
|
||||
|
||||
# bug 453544
|
||||
CHECKREQS_DISK_BUILD="6G"
|
||||
|
||||
pkg_pretend() {
|
||||
if use openmp ; then
|
||||
tc-has-openmp || die "Please switch to an openmp compatible compiler"
|
||||
fi
|
||||
check-reqs_pkg_pretend
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
[[ ${PV} == "9999" ]] && eautoreconf
|
||||
python_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local threads
|
||||
has_version dev-libs/boost[threads] && threads="-mt"
|
||||
|
||||
configure() {
|
||||
econf \
|
||||
--disable-static \
|
||||
--disable-optimization \
|
||||
$(use_enable openmp) \
|
||||
$(use_enable cairo) \
|
||||
--with-boost-python="${EPYTHON: -3}${threads}"
|
||||
}
|
||||
python_foreach_impl run_in_build_dir configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl run_in_build_dir default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_foreach_impl run_in_build_dir default
|
||||
prune_libtool_files --modules
|
||||
|
||||
# remove unwanted extra docs
|
||||
rm -r "${ED}"/usr/share/doc/${PN} || die
|
||||
}
|
||||
|
||||
run_in_build_dir() {
|
||||
pushd "${BUILD_DIR}" > /dev/null
|
||||
"$@"
|
||||
popd > /dev/null
|
||||
}
|
@ -1,8 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>horea.christ@gmail.com</email>
|
||||
<name>Horea Christian</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -1 +1,2 @@
|
||||
DIST pycryptodome-3.4.5.tar.gz 6968315 SHA256 356740c25bee66cf02fce496154f2b9699e5c75c1c6c7e382064d8b6c2cac2dd SHA512 666a90e0cd756b26212df29b2d88c7443bd12fcbf0db6afc6e251a4e92a8528d82495528610c834cd6c066eb384a83f075cb49d52c60c65af04c0e5ff3ce72f8 WHIRLPOOL 41f5d5f64eae7de88b8a6a86f6868a90e3b9eb73f3747cc8e95eb2f30225c3db5ec3b75c9cf92f3542069f3773a0f12a511b113d02046b22473559180d764c03
|
||||
DIST pycryptodome-3.4.6.tar.gz 6968560 SHA256 9beefd5d4e468108b43609246274469783945a89123d2525356eb86026967c69 SHA512 40c9ea4cf7fca06bd7cd3a100e1d602e0130fbdcc75544ff1353ced2fae8925d29286200561832f2524a0f3db155a6924bb653d964408d4486aab694bf275cdc WHIRLPOOL e444e6cd45852427360ea32a04cbd2e645d0dc0866180fdcb4605ba8b59958580caee4d2fe5555754ba36e437138eed90866173b12a7869b2662a34bf933a11f
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A self-contained cryptographic library for Python"
|
||||
HOMEPAGE="https://github.com/Legrandin/pycryptodome"
|
||||
SRC_URI="https://github.com/Legrandin/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2 Unlicense"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~x86 ~ppc-aix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-libs/gmp:0
|
||||
virtual/python-cffi[${PYTHON_USEDEP}]
|
||||
!dev-python/pycrypto"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST pyprof2calltree-1.3.2.tar.gz 6609 SHA256 28eac89262d0edd86ee2574d24d1840cbca2d4ed6a1de7e1d8fc05f30ea5a22b SHA512 e85c5a21fe52b246ee6080f59e2ff115b43e3ab634e2842aff0d493b8b996105e0c1698e049ae7d11ea53c1f1fd601ef5f12c6fba62dcea28ddff23ec61a2736 WHIRLPOOL b132fe3179bbf7e3dc999fe3f8da1fdb298b515c302e76de4d96cff4392966875df8180aba66b535a122c8521d22755efbc9f46a133f8a758cce0a230d943bc3
|
||||
DIST pyprof2calltree-1.4.0.tar.gz 7784 SHA256 90ce43399b3594f21eb2683554a41224c97440f939e0542c7f144251faab21f0 SHA512 b1acba29cd4e5112012eeeffdac53900688a28707306ef3a8a3827f7422c35bc921d59d33db3209db923bb8640014e7d9d7d819eafbcb19e0cf7e6159537bded WHIRLPOOL cc1616b398665845cc8478114bc5bcd52179acbfd8e523c76aeb415fbbe58c49e9eaeaf902b650df3a7e251616ab5b4511e352fee17131fa73976f0cddcd56be
|
||||
|
@ -0,0 +1,30 @@
|
||||
From 582eeeaa930639ccfe9b789b057f170824edd73a Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
|
||||
Date: Wed, 17 May 2017 20:53:29 +0200
|
||||
Subject: [PATCH] tests: Fix StringIO import for Python 3
|
||||
|
||||
Python 3 no longer provides a 'cStringIO' module. Use StringIO from 'io'
|
||||
module instead.
|
||||
---
|
||||
tests/test_integration.py | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tests/test_integration.py b/tests/test_integration.py
|
||||
index e6f432c..cf02a4f 100644
|
||||
--- a/tests/test_integration.py
|
||||
+++ b/tests/test_integration.py
|
||||
@@ -3,7 +3,10 @@ import pstats
|
||||
import unittest
|
||||
|
||||
from .profile_code import top, expected_output
|
||||
-from cStringIO import StringIO
|
||||
+try:
|
||||
+ from cStringIO import StringIO
|
||||
+except ImportError:
|
||||
+ from io import StringIO
|
||||
from pyprof2calltree import CalltreeConverter
|
||||
|
||||
class MockTimeProfile(cProfile.Profile):
|
||||
--
|
||||
2.13.0
|
||||
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python{2_7,3_{4,5,6}} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="convert python profile data to kcachegrind calltree form"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/pyprof2calltree/"
|
||||
# pypi tarball lacks tests
|
||||
SRC_URI="https://github.com/pwaller/pyprof2calltree/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/pyprof2calltree-1.4.0-py3-test.patch
|
||||
)
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" -m tests.test_integration || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -1 +1 @@
|
||||
DIST timelib-0.2.4.zip 281070 SHA256 49142233bdb5971d64a41e05a1f80a408a02be0dc7d9f8c99e7bdd0613ba81cb SHA512 871683756318f8896592e154a6949e6c96f9b9177ecd8694db2a48b16104cf35d11f550355a4723a097e9f17e3b7020d09a23916bd55a3dd463c22bed68991af WHIRLPOOL 941e3bccb1fba22eb54530c111ed0cbad136481e1e4f9c7107ae82625452b3534ad0b218b08eaf542efa159bc5df3afd49346cbc4fa297471998bd4412d3154b
|
||||
DIST timelib-0.2.4.tar.gz 295951 SHA256 7e6e5a103ce0447f9f91a56fd5d9cf54a1e5cece722b52e53d1b0bb9413248c2 SHA512 b19ef411f7a6d4f9e43e4de2a4c57f1f430b5c16ec88f7c3f72e8a2f6950a2e94c1ce3792203ba3add07994d1a8eaec4172aa09315b39df4494430e30ebd880b WHIRLPOOL 14ca47e9595117df0a45704daaf4d71721aa4ad9a5b06e006da1e71f37a76b6b04911187729206127608ca3d4ce7d6070735e60ccff4a4ca4549ea41b18f83aa
|
||||
|
@ -1,20 +1,25 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_4} pypy )
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="parse english textual date descriptions"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/timelib"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
|
||||
HOMEPAGE="https://github.com/pediapress/timelib https://pypi.python.org/pypi/timelib"
|
||||
# pypi zipball lacks tests; also it's .zip
|
||||
SRC_URI="https://github.com/pediapress/timelib/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="PHP-3.01 ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="app-arch/unzip
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND=""
|
||||
DEPEND="dev-python/cython[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_test() {
|
||||
py.test -v || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
@ -1,5 +1,4 @@
|
||||
DIST qt-everywhere-opensource-src-4.8.6.tar.gz 241623667 SHA256 8b14dd91b52862e09b8e6a963507b74bc2580787d171feda197badfa7034032c SHA512 c2d07c3cf9d687cb9b93e337c89df3f0055bd02bc8aa5ecd55d3ffb238b31a4308aeabc3c51a4f94ac76a1b00796f047513d02e427ed93ae8dd99f836fff7692 WHIRLPOOL 473566814a77237dbdd37a47980c1085f6cf39599c4d6b0120959fe80dadf65c4eaafd5f528dd86cea8815562faa204bedfe3b766c2ca4f2d2c99efc21dbca84
|
||||
DIST qt-everywhere-opensource-src-4.8.7.tar.gz 241075567 SHA256 e2882295097e47fe089f8ac741a95fef47e0a73a3f3cdf21b56990638f626ea0 SHA512 f9f81a2e7205e1fd05c8d923dc73244f29aa33f951fa6b7c5c8193449328b37084796b9b71ad0c317e4e6fd00017c10ea5d67b1b2032551cde00548522218125 WHIRLPOOL ad8f01172f5bdb3a3a69fe7b03862c4c411bc8d95211053ad66ed1d60a3c0577d073d1075a1e0a80b25d9b2721addda55a2967e6ccf5e194cec8d08770ac5fc2
|
||||
DIST qttools-opensource-src-5.6.1-1.tar.xz 9819548 SHA256 375a528bf7141eff38cdc00c322c6d4491c8f67203fd8ee6b9a7097504605141 SHA512 f66eabcb2c417a2adf2e6a7724da0663641aaac638a67c25aeb330536e66d8cb2674a3d54e22e185b7c21f1ff6bba3d43ef088ce9fac4f8538987661ca7bdf4e WHIRLPOOL 39b06ef27b66b6ccabbc3aec9aad3424606d9b81d5fc3f736e3b2ede385104b480a6ba2543d30b687a08ee6ce42075a922d22a8030b66746a947d3d1a5bc6625
|
||||
DIST qttools-opensource-src-5.6.2.tar.xz 9794512 SHA256 db2bb4318786257a47172c377d9c456d5d5ec760d5d69240a4693dc87989e1b7 SHA512 3b2a0d098e09353978ff1e54cfcc293b8c7b4ada323c3c98e6ce8d62cea4574d285fc169f9758ec019206184db0df39ac99971be0bcb335672b7f4f86c787327 WHIRLPOOL 7e4ab96eb762d4ea13fc19f5816f3b7633601746d6f4c83b7eefa7b9cecc65db0837bc85f9b69c6a69f13b0fac243d3491b6990a85d72ee24bee4d05a262e1fd
|
||||
DIST qttools-opensource-src-5.7.1.tar.xz 10011108 SHA256 64197022686c3d8b11a8639f102e2caf03cc325a30e7a32ba66881648ac2dfac SHA512 10e4e060943596602bae0f99091de0923d3ebc761d44a5d193bfd17b77cf8fdf3c4466fb19363bbd3a354955ed09db9132b23833557f5216c7b4df758c17406e WHIRLPOOL af661baeafa85e7af56bb8859415306d26fe7c0de8238d399a520623643de0e6c6ff6056715013d202285c6ef068f4c4c21fdf28098cb42ac6ec97cbfde127b2
|
||||
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
QT5_MODULE="qttools"
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Tool for viewing on-line documentation in Qt help file format"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="amd64 arm hppa ppc64 x86"
|
||||
fi
|
||||
|
||||
IUSE="webkit"
|
||||
|
||||
DEPEND="
|
||||
~dev-qt/qtcore-${PV}
|
||||
~dev-qt/qtgui-${PV}
|
||||
~dev-qt/qthelp-${PV}
|
||||
~dev-qt/qtnetwork-${PV}
|
||||
~dev-qt/qtprintsupport-${PV}
|
||||
~dev-qt/qtsql-${PV}[sqlite]
|
||||
~dev-qt/qtwidgets-${PV}
|
||||
webkit? ( ~dev-qt/qtwebkit-${PV} )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/assistant/assistant
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
qt_use_disable_mod webkit webkitwidgets \
|
||||
src/assistant/assistant/assistant.pro
|
||||
|
||||
qt5-build_src_prepare
|
||||
}
|
@ -1,5 +1,4 @@
|
||||
DIST qt-everywhere-opensource-src-4.8.6.tar.gz 241623667 SHA256 8b14dd91b52862e09b8e6a963507b74bc2580787d171feda197badfa7034032c SHA512 c2d07c3cf9d687cb9b93e337c89df3f0055bd02bc8aa5ecd55d3ffb238b31a4308aeabc3c51a4f94ac76a1b00796f047513d02e427ed93ae8dd99f836fff7692 WHIRLPOOL 473566814a77237dbdd37a47980c1085f6cf39599c4d6b0120959fe80dadf65c4eaafd5f528dd86cea8815562faa204bedfe3b766c2ca4f2d2c99efc21dbca84
|
||||
DIST qt-everywhere-opensource-src-4.8.7.tar.gz 241075567 SHA256 e2882295097e47fe089f8ac741a95fef47e0a73a3f3cdf21b56990638f626ea0 SHA512 f9f81a2e7205e1fd05c8d923dc73244f29aa33f951fa6b7c5c8193449328b37084796b9b71ad0c317e4e6fd00017c10ea5d67b1b2032551cde00548522218125 WHIRLPOOL ad8f01172f5bdb3a3a69fe7b03862c4c411bc8d95211053ad66ed1d60a3c0577d073d1075a1e0a80b25d9b2721addda55a2967e6ccf5e194cec8d08770ac5fc2
|
||||
DIST qttools-opensource-src-5.6.1-1.tar.xz 9819548 SHA256 375a528bf7141eff38cdc00c322c6d4491c8f67203fd8ee6b9a7097504605141 SHA512 f66eabcb2c417a2adf2e6a7724da0663641aaac638a67c25aeb330536e66d8cb2674a3d54e22e185b7c21f1ff6bba3d43ef088ce9fac4f8538987661ca7bdf4e WHIRLPOOL 39b06ef27b66b6ccabbc3aec9aad3424606d9b81d5fc3f736e3b2ede385104b480a6ba2543d30b687a08ee6ce42075a922d22a8030b66746a947d3d1a5bc6625
|
||||
DIST qttools-opensource-src-5.6.2.tar.xz 9794512 SHA256 db2bb4318786257a47172c377d9c456d5d5ec760d5d69240a4693dc87989e1b7 SHA512 3b2a0d098e09353978ff1e54cfcc293b8c7b4ada323c3c98e6ce8d62cea4574d285fc169f9758ec019206184db0df39ac99971be0bcb335672b7f4f86c787327 WHIRLPOOL 7e4ab96eb762d4ea13fc19f5816f3b7633601746d6f4c83b7eefa7b9cecc65db0837bc85f9b69c6a69f13b0fac243d3491b6990a85d72ee24bee4d05a262e1fd
|
||||
DIST qttools-opensource-src-5.7.1.tar.xz 10011108 SHA256 64197022686c3d8b11a8639f102e2caf03cc325a30e7a32ba66881648ac2dfac SHA512 10e4e060943596602bae0f99091de0923d3ebc761d44a5d193bfd17b77cf8fdf3c4466fb19363bbd3a354955ed09db9132b23833557f5216c7b4df758c17406e WHIRLPOOL af661baeafa85e7af56bb8859415306d26fe7c0de8238d399a520623643de0e6c6ff6056715013d202285c6ef068f4c4c21fdf28098cb42ac6ec97cbfde127b2
|
||||
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
QT5_MODULE="qttools"
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="WYSIWYG tool for designing and building Qt-based GUIs"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="amd64 arm ~arm64 hppa ppc ppc64 x86"
|
||||
fi
|
||||
|
||||
IUSE="declarative webkit"
|
||||
|
||||
DEPEND="
|
||||
~dev-qt/qtcore-${PV}
|
||||
~dev-qt/qtgui-${PV}
|
||||
~dev-qt/qtnetwork-${PV}
|
||||
~dev-qt/qtprintsupport-${PV}
|
||||
~dev-qt/qtwidgets-${PV}
|
||||
~dev-qt/qtxml-${PV}
|
||||
declarative? ( ~dev-qt/qtdeclarative-${PV}[widgets] )
|
||||
webkit? ( ~dev-qt/qtwebkit-${PV} )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/designer
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
qt_use_disable_mod declarative quickwidgets \
|
||||
src/designer/src/plugins/plugins.pro
|
||||
|
||||
qt_use_disable_mod webkit webkitwidgets \
|
||||
src/designer/src/plugins/plugins.pro
|
||||
|
||||
qt5-build_src_prepare
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST qttools-opensource-src-5.6.1-1.tar.xz 9819548 SHA256 375a528bf7141eff38cdc00c322c6d4491c8f67203fd8ee6b9a7097504605141 SHA512 f66eabcb2c417a2adf2e6a7724da0663641aaac638a67c25aeb330536e66d8cb2674a3d54e22e185b7c21f1ff6bba3d43ef088ce9fac4f8538987661ca7bdf4e WHIRLPOOL 39b06ef27b66b6ccabbc3aec9aad3424606d9b81d5fc3f736e3b2ede385104b480a6ba2543d30b687a08ee6ce42075a922d22a8030b66746a947d3d1a5bc6625
|
||||
DIST qttools-opensource-src-5.6.2.tar.xz 9794512 SHA256 db2bb4318786257a47172c377d9c456d5d5ec760d5d69240a4693dc87989e1b7 SHA512 3b2a0d098e09353978ff1e54cfcc293b8c7b4ada323c3c98e6ce8d62cea4574d285fc169f9758ec019206184db0df39ac99971be0bcb335672b7f4f86c787327 WHIRLPOOL 7e4ab96eb762d4ea13fc19f5816f3b7633601746d6f4c83b7eefa7b9cecc65db0837bc85f9b69c6a69f13b0fac243d3491b6990a85d72ee24bee4d05a262e1fd
|
||||
DIST qttools-opensource-src-5.7.1.tar.xz 10011108 SHA256 64197022686c3d8b11a8639f102e2caf03cc325a30e7a32ba66881648ac2dfac SHA512 10e4e060943596602bae0f99091de0923d3ebc761d44a5d193bfd17b77cf8fdf3c4466fb19363bbd3a354955ed09db9132b23833557f5216c7b4df758c17406e WHIRLPOOL af661baeafa85e7af56bb8859415306d26fe7c0de8238d399a520623643de0e6c6ff6056715013d202285c6ef068f4c4c21fdf28098cb42ac6ec97cbfde127b2
|
||||
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
QT5_MODULE="qttools"
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Tools for working with Qt translation data files"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="amd64 arm ~arm64 hppa ppc ppc64 x86"
|
||||
fi
|
||||
|
||||
IUSE="qml"
|
||||
|
||||
DEPEND="
|
||||
~dev-qt/qtcore-${PV}
|
||||
~dev-qt/qtxml-${PV}
|
||||
qml? ( ~dev-qt/qtdeclarative-${PV} )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/linguist
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/SUBDIRS += linguist/d' \
|
||||
src/linguist/linguist.pro || die
|
||||
|
||||
qt_use_disable_mod qml qmldevtools-private \
|
||||
src/linguist/lupdate/lupdate.pro
|
||||
|
||||
qt5-build_src_prepare
|
||||
}
|
@ -1,5 +1,4 @@
|
||||
DIST qt-everywhere-opensource-src-4.8.6.tar.gz 241623667 SHA256 8b14dd91b52862e09b8e6a963507b74bc2580787d171feda197badfa7034032c SHA512 c2d07c3cf9d687cb9b93e337c89df3f0055bd02bc8aa5ecd55d3ffb238b31a4308aeabc3c51a4f94ac76a1b00796f047513d02e427ed93ae8dd99f836fff7692 WHIRLPOOL 473566814a77237dbdd37a47980c1085f6cf39599c4d6b0120959fe80dadf65c4eaafd5f528dd86cea8815562faa204bedfe3b766c2ca4f2d2c99efc21dbca84
|
||||
DIST qt-everywhere-opensource-src-4.8.7.tar.gz 241075567 SHA256 e2882295097e47fe089f8ac741a95fef47e0a73a3f3cdf21b56990638f626ea0 SHA512 f9f81a2e7205e1fd05c8d923dc73244f29aa33f951fa6b7c5c8193449328b37084796b9b71ad0c317e4e6fd00017c10ea5d67b1b2032551cde00548522218125 WHIRLPOOL ad8f01172f5bdb3a3a69fe7b03862c4c411bc8d95211053ad66ed1d60a3c0577d073d1075a1e0a80b25d9b2721addda55a2967e6ccf5e194cec8d08770ac5fc2
|
||||
DIST qttools-opensource-src-5.6.1-1.tar.xz 9819548 SHA256 375a528bf7141eff38cdc00c322c6d4491c8f67203fd8ee6b9a7097504605141 SHA512 f66eabcb2c417a2adf2e6a7724da0663641aaac638a67c25aeb330536e66d8cb2674a3d54e22e185b7c21f1ff6bba3d43ef088ce9fac4f8538987661ca7bdf4e WHIRLPOOL 39b06ef27b66b6ccabbc3aec9aad3424606d9b81d5fc3f736e3b2ede385104b480a6ba2543d30b687a08ee6ce42075a922d22a8030b66746a947d3d1a5bc6625
|
||||
DIST qttools-opensource-src-5.6.2.tar.xz 9794512 SHA256 db2bb4318786257a47172c377d9c456d5d5ec760d5d69240a4693dc87989e1b7 SHA512 3b2a0d098e09353978ff1e54cfcc293b8c7b4ada323c3c98e6ce8d62cea4574d285fc169f9758ec019206184db0df39ac99971be0bcb335672b7f4f86c787327 WHIRLPOOL 7e4ab96eb762d4ea13fc19f5816f3b7633601746d6f4c83b7eefa7b9cecc65db0837bc85f9b69c6a69f13b0fac243d3491b6990a85d72ee24bee4d05a262e1fd
|
||||
DIST qttools-opensource-src-5.7.1.tar.xz 10011108 SHA256 64197022686c3d8b11a8639f102e2caf03cc325a30e7a32ba66881648ac2dfac SHA512 10e4e060943596602bae0f99091de0923d3ebc761d44a5d193bfd17b77cf8fdf3c4466fb19363bbd3a354955ed09db9132b23833557f5216c7b4df758c17406e WHIRLPOOL af661baeafa85e7af56bb8859415306d26fe7c0de8238d399a520623643de0e6c6ff6056715013d202285c6ef068f4c4c21fdf28098cb42ac6ec97cbfde127b2
|
||||
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
QT5_MODULE="qttools"
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Graphical tool for translating Qt applications"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="amd64 arm hppa ppc64 x86"
|
||||
fi
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
~dev-qt/designer-${PV}
|
||||
~dev-qt/qtcore-${PV}
|
||||
~dev-qt/qtgui-${PV}
|
||||
~dev-qt/qtprintsupport-${PV}
|
||||
~dev-qt/qtwidgets-${PV}
|
||||
~dev-qt/qtxml-${PV}
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/linguist/linguist
|
||||
)
|
@ -1,5 +1,4 @@
|
||||
DIST qt-everywhere-opensource-src-4.8.6.tar.gz 241623667 SHA256 8b14dd91b52862e09b8e6a963507b74bc2580787d171feda197badfa7034032c SHA512 c2d07c3cf9d687cb9b93e337c89df3f0055bd02bc8aa5ecd55d3ffb238b31a4308aeabc3c51a4f94ac76a1b00796f047513d02e427ed93ae8dd99f836fff7692 WHIRLPOOL 473566814a77237dbdd37a47980c1085f6cf39599c4d6b0120959fe80dadf65c4eaafd5f528dd86cea8815562faa204bedfe3b766c2ca4f2d2c99efc21dbca84
|
||||
DIST qt-everywhere-opensource-src-4.8.7.tar.gz 241075567 SHA256 e2882295097e47fe089f8ac741a95fef47e0a73a3f3cdf21b56990638f626ea0 SHA512 f9f81a2e7205e1fd05c8d923dc73244f29aa33f951fa6b7c5c8193449328b37084796b9b71ad0c317e4e6fd00017c10ea5d67b1b2032551cde00548522218125 WHIRLPOOL ad8f01172f5bdb3a3a69fe7b03862c4c411bc8d95211053ad66ed1d60a3c0577d073d1075a1e0a80b25d9b2721addda55a2967e6ccf5e194cec8d08770ac5fc2
|
||||
DIST qttools-opensource-src-5.6.1-1.tar.xz 9819548 SHA256 375a528bf7141eff38cdc00c322c6d4491c8f67203fd8ee6b9a7097504605141 SHA512 f66eabcb2c417a2adf2e6a7724da0663641aaac638a67c25aeb330536e66d8cb2674a3d54e22e185b7c21f1ff6bba3d43ef088ce9fac4f8538987661ca7bdf4e WHIRLPOOL 39b06ef27b66b6ccabbc3aec9aad3424606d9b81d5fc3f736e3b2ede385104b480a6ba2543d30b687a08ee6ce42075a922d22a8030b66746a947d3d1a5bc6625
|
||||
DIST qttools-opensource-src-5.6.2.tar.xz 9794512 SHA256 db2bb4318786257a47172c377d9c456d5d5ec760d5d69240a4693dc87989e1b7 SHA512 3b2a0d098e09353978ff1e54cfcc293b8c7b4ada323c3c98e6ce8d62cea4574d285fc169f9758ec019206184db0df39ac99971be0bcb335672b7f4f86c787327 WHIRLPOOL 7e4ab96eb762d4ea13fc19f5816f3b7633601746d6f4c83b7eefa7b9cecc65db0837bc85f9b69c6a69f13b0fac243d3491b6990a85d72ee24bee4d05a262e1fd
|
||||
DIST qttools-opensource-src-5.7.1.tar.xz 10011108 SHA256 64197022686c3d8b11a8639f102e2caf03cc325a30e7a32ba66881648ac2dfac SHA512 10e4e060943596602bae0f99091de0923d3ebc761d44a5d193bfd17b77cf8fdf3c4466fb19363bbd3a354955ed09db9132b23833557f5216c7b4df758c17406e WHIRLPOOL af661baeafa85e7af56bb8859415306d26fe7c0de8238d399a520623643de0e6c6ff6056715013d202285c6ef068f4c4c21fdf28098cb42ac6ec97cbfde127b2
|
||||
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
QT5_MODULE="qttools"
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Qt screen magnifier"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="amd64 arm hppa ppc64 x86"
|
||||
fi
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
~dev-qt/qtcore-${PV}
|
||||
~dev-qt/qtgui-${PV}
|
||||
~dev-qt/qtnetwork-${PV}
|
||||
~dev-qt/qtwidgets-${PV}
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/pixeltool
|
||||
)
|
@ -1,3 +1,2 @@
|
||||
DIST qttools-opensource-src-5.6.1-1.tar.xz 9819548 SHA256 375a528bf7141eff38cdc00c322c6d4491c8f67203fd8ee6b9a7097504605141 SHA512 f66eabcb2c417a2adf2e6a7724da0663641aaac638a67c25aeb330536e66d8cb2674a3d54e22e185b7c21f1ff6bba3d43ef088ce9fac4f8538987661ca7bdf4e WHIRLPOOL 39b06ef27b66b6ccabbc3aec9aad3424606d9b81d5fc3f736e3b2ede385104b480a6ba2543d30b687a08ee6ce42075a922d22a8030b66746a947d3d1a5bc6625
|
||||
DIST qttools-opensource-src-5.6.2.tar.xz 9794512 SHA256 db2bb4318786257a47172c377d9c456d5d5ec760d5d69240a4693dc87989e1b7 SHA512 3b2a0d098e09353978ff1e54cfcc293b8c7b4ada323c3c98e6ce8d62cea4574d285fc169f9758ec019206184db0df39ac99971be0bcb335672b7f4f86c787327 WHIRLPOOL 7e4ab96eb762d4ea13fc19f5816f3b7633601746d6f4c83b7eefa7b9cecc65db0837bc85f9b69c6a69f13b0fac243d3491b6990a85d72ee24bee4d05a262e1fd
|
||||
DIST qttools-opensource-src-5.7.1.tar.xz 10011108 SHA256 64197022686c3d8b11a8639f102e2caf03cc325a30e7a32ba66881648ac2dfac SHA512 10e4e060943596602bae0f99091de0923d3ebc761d44a5d193bfd17b77cf8fdf3c4466fb19363bbd3a354955ed09db9132b23833557f5216c7b4df758c17406e WHIRLPOOL af661baeafa85e7af56bb8859415306d26fe7c0de8238d399a520623643de0e6c6ff6056715013d202285c6ef068f4c4c21fdf28098cb42ac6ec97cbfde127b2
|
||||
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
QT5_MODULE="qttools"
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Interface to Qt applications communicating over D-Bus"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="amd64 arm hppa ppc ppc64 x86"
|
||||
fi
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
~dev-qt/qtcore-${PV}
|
||||
~dev-qt/qtdbus-${PV}
|
||||
~dev-qt/qtxml-${PV}
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/qdbus/qdbus
|
||||
)
|
@ -1,5 +1,4 @@
|
||||
DIST qt-everywhere-opensource-src-4.8.6.tar.gz 241623667 SHA256 8b14dd91b52862e09b8e6a963507b74bc2580787d171feda197badfa7034032c SHA512 c2d07c3cf9d687cb9b93e337c89df3f0055bd02bc8aa5ecd55d3ffb238b31a4308aeabc3c51a4f94ac76a1b00796f047513d02e427ed93ae8dd99f836fff7692 WHIRLPOOL 473566814a77237dbdd37a47980c1085f6cf39599c4d6b0120959fe80dadf65c4eaafd5f528dd86cea8815562faa204bedfe3b766c2ca4f2d2c99efc21dbca84
|
||||
DIST qt-everywhere-opensource-src-4.8.7.tar.gz 241075567 SHA256 e2882295097e47fe089f8ac741a95fef47e0a73a3f3cdf21b56990638f626ea0 SHA512 f9f81a2e7205e1fd05c8d923dc73244f29aa33f951fa6b7c5c8193449328b37084796b9b71ad0c317e4e6fd00017c10ea5d67b1b2032551cde00548522218125 WHIRLPOOL ad8f01172f5bdb3a3a69fe7b03862c4c411bc8d95211053ad66ed1d60a3c0577d073d1075a1e0a80b25d9b2721addda55a2967e6ccf5e194cec8d08770ac5fc2
|
||||
DIST qttools-opensource-src-5.6.1-1.tar.xz 9819548 SHA256 375a528bf7141eff38cdc00c322c6d4491c8f67203fd8ee6b9a7097504605141 SHA512 f66eabcb2c417a2adf2e6a7724da0663641aaac638a67c25aeb330536e66d8cb2674a3d54e22e185b7c21f1ff6bba3d43ef088ce9fac4f8538987661ca7bdf4e WHIRLPOOL 39b06ef27b66b6ccabbc3aec9aad3424606d9b81d5fc3f736e3b2ede385104b480a6ba2543d30b687a08ee6ce42075a922d22a8030b66746a947d3d1a5bc6625
|
||||
DIST qttools-opensource-src-5.6.2.tar.xz 9794512 SHA256 db2bb4318786257a47172c377d9c456d5d5ec760d5d69240a4693dc87989e1b7 SHA512 3b2a0d098e09353978ff1e54cfcc293b8c7b4ada323c3c98e6ce8d62cea4574d285fc169f9758ec019206184db0df39ac99971be0bcb335672b7f4f86c787327 WHIRLPOOL 7e4ab96eb762d4ea13fc19f5816f3b7633601746d6f4c83b7eefa7b9cecc65db0837bc85f9b69c6a69f13b0fac243d3491b6990a85d72ee24bee4d05a262e1fd
|
||||
DIST qttools-opensource-src-5.7.1.tar.xz 10011108 SHA256 64197022686c3d8b11a8639f102e2caf03cc325a30e7a32ba66881648ac2dfac SHA512 10e4e060943596602bae0f99091de0923d3ebc761d44a5d193bfd17b77cf8fdf3c4466fb19363bbd3a354955ed09db9132b23833557f5216c7b4df758c17406e WHIRLPOOL af661baeafa85e7af56bb8859415306d26fe7c0de8238d399a520623643de0e6c6ff6056715013d202285c6ef068f4c4c21fdf28098cb42ac6ec97cbfde127b2
|
||||
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
QT5_MODULE="qttools"
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Graphical tool that lets you introspect D-Bus objects and messages"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="amd64 arm hppa ppc64 x86"
|
||||
fi
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
~dev-qt/qtcore-${PV}
|
||||
~dev-qt/qtdbus-${PV}
|
||||
~dev-qt/qtgui-${PV}
|
||||
~dev-qt/qtwidgets-${PV}
|
||||
~dev-qt/qtxml-${PV}
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/qdbus/qdbusviewer
|
||||
)
|
@ -1,3 +1,2 @@
|
||||
DIST qttools-opensource-src-5.6.1-1.tar.xz 9819548 SHA256 375a528bf7141eff38cdc00c322c6d4491c8f67203fd8ee6b9a7097504605141 SHA512 f66eabcb2c417a2adf2e6a7724da0663641aaac638a67c25aeb330536e66d8cb2674a3d54e22e185b7c21f1ff6bba3d43ef088ce9fac4f8538987661ca7bdf4e WHIRLPOOL 39b06ef27b66b6ccabbc3aec9aad3424606d9b81d5fc3f736e3b2ede385104b480a6ba2543d30b687a08ee6ce42075a922d22a8030b66746a947d3d1a5bc6625
|
||||
DIST qttools-opensource-src-5.6.2.tar.xz 9794512 SHA256 db2bb4318786257a47172c377d9c456d5d5ec760d5d69240a4693dc87989e1b7 SHA512 3b2a0d098e09353978ff1e54cfcc293b8c7b4ada323c3c98e6ce8d62cea4574d285fc169f9758ec019206184db0df39ac99971be0bcb335672b7f4f86c787327 WHIRLPOOL 7e4ab96eb762d4ea13fc19f5816f3b7633601746d6f4c83b7eefa7b9cecc65db0837bc85f9b69c6a69f13b0fac243d3491b6990a85d72ee24bee4d05a262e1fd
|
||||
DIST qttools-opensource-src-5.7.1.tar.xz 10011108 SHA256 64197022686c3d8b11a8639f102e2caf03cc325a30e7a32ba66881648ac2dfac SHA512 10e4e060943596602bae0f99091de0923d3ebc761d44a5d193bfd17b77cf8fdf3c4466fb19363bbd3a354955ed09db9132b23833557f5216c7b4df758c17406e WHIRLPOOL af661baeafa85e7af56bb8859415306d26fe7c0de8238d399a520623643de0e6c6ff6056715013d202285c6ef068f4c4c21fdf28098cb42ac6ec97cbfde127b2
|
||||
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
QT5_MODULE="qttools"
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Qt documentation generator"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="amd64 arm hppa ppc ppc64 x86"
|
||||
fi
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
~dev-qt/qtcore-${PV}
|
||||
~dev-qt/qtxml-${PV}
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/qdoc
|
||||
)
|
@ -1,3 +1,2 @@
|
||||
DIST 5.6.1-1qt-everywhere-documentation-5.6.1.7z 125597447 SHA256 cf78e4f7dde039197c9962491fb13a99862fdc6eaf4c61b87388bf33e4071995 SHA512 65a7afada70489b382fcd5c7417f3ddb3c184eaa954042370bce26f96de98f9b068258239a0c5f14c73c802ce5428e214a6be4fb16010033f03a62f8f370f28d WHIRLPOOL 00ad1a4360f483dbdf8d6ce413c60fda0e4546c84fbdbb22de4d51a6ae9334e4c6de6bd402cb72cf088bb404d4836e87fa04147e784b373043fc6694c1162c07
|
||||
DIST 5.6.2-0qt-everywhere-documentation-5.6.2.7z 125390155 SHA256 3421b5a2fba1f6e134137e4c9f747303bc2218c46b314dae858499aab850931c SHA512 40026c69e6b2de8f84fc974bc307519016982cafe4006ef3663839c9bcf74f7c28679cf8f4ca5a82bfafc3cb455433fe3360c11a60192d8c6b75a8b1b56e7141 WHIRLPOOL edd591be964208467700c91a02eb345f73f4104820b3f605b8e2d4c2704faccc681320bcfef5bfa70cc084b10cf2ada09d5771b0ac578193fd7eaafe0ee86477
|
||||
DIST 5.7.1-0qt-everywhere-documentation-5.7.1.7z 173336041 SHA256 44eb231b5f961a9f11d05648431121bbdaa32ac65e6b563543d147c3b88eec41 SHA512 4fcbfcd29aa48937229d01d47569a5fcd81459b9444058c725bdbac14dd2b9c67c9e04944c74d351f4bca7d972e23c3832ba2dd8e979cc4e9fe677e2d51561e0 WHIRLPOOL 8a6e1857866e43f7f40ed4382e0d5b4f27520404a77f3a014834045117f207bb40a0a81aaa00afa39a4684584499f6957bf739a1f25d06c04019ef21dac1adfd
|
||||
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit versionator
|
||||
|
||||
MY_PV=$(get_version_component_range 1)$(get_version_component_range 2)
|
||||
MY_P=${PV/_p/-}qt-everywhere-documentation-${PV%%_p*}
|
||||
|
||||
DESCRIPTION="Documentation for Qt5, for use with Qt Creator and other tools"
|
||||
HOMEPAGE="https://www.qt.io/"
|
||||
SRC_URI="https://download.qt.io/online/qtsdkrepository/linux_x64/desktop/qt5_${MY_PV}_src_doc_examples/qt.${MY_PV}.doc/${MY_P}.7z"
|
||||
|
||||
LICENSE="FDL-1.3"
|
||||
SLOT="5"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
DEPEND="app-arch/p7zip"
|
||||
|
||||
S=${WORKDIR}/Docs/Qt-$(get_version_component_range 1-2)
|
||||
|
||||
src_install() {
|
||||
# ${PV} instead of ${PF} is intentional
|
||||
local dest=/usr/share/doc/qt-${PV%%_p*}
|
||||
insinto "${dest}"
|
||||
doins -r *
|
||||
docompress -x "${dest}"
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST qtconnectivity-opensource-src-5.6.1-1.tar.xz 2630312 SHA256 f1d714b8f359df069b9e94e72719bcb9f5340212d9ce223453b7100c6ed7266b SHA512 df35ed0ab1c49be65f90d4d724c829e1f6c508fdcf213c57939d16ef09f097d7d9e5330a2b84367d1e1d7823b7f0b439ac69f90bd484d731fee5d70e745c3a73 WHIRLPOOL 8608c7b1cabf4018787968ac74ef5fcad7346bb6442c419a73e800cdab8aba11e74f7759c8a770512010913e081848a6be88f96865430a3ee6c2666d8375d60a
|
||||
DIST qtconnectivity-opensource-src-5.6.2.tar.xz 2639772 SHA256 1b672923e0703d62f605ccec97b454b1a04c1f0db47f54b687d009e84eabedf9 SHA512 4cef0afa38679ca11550693ae9bb9ca70835ed129ba7aa3db868a06743d406cdf473173cc55bda7b1171499b58bdc860bc64838ae8d1f2a171c85a2b64756ff1 WHIRLPOOL 62b97e947af738ff80aa62ae1eb954968b520073e126dc8b33d84a105bf3d51397fc8e7f1d4ca3a4c1efa7f090d1105d1fe6abbd4e8a85c0382ef8bda0c4c310
|
||||
DIST qtconnectivity-opensource-src-5.7.1.tar.xz 2690688 SHA256 b3e8b9068304dc5605a8fdf0695102032fd1a216f2c2d4d53a7e4d4dda3ab966 SHA512 3550be2ce365c7eea2adb41b6db63d0867ff1eaae15d6f4d22345bfdd8e4ac9c2f3983e5d3e897d5c4d7d32e466929c2cfdfac0921c0927c3955f021d37d9e61 WHIRLPOOL 18776531aa22a060c73f6b3534060e38a6d5b7acb14834d7a531a22a246389753ce44e8de3dc3be476a21e2ddd6ca38746eee8a7e1e96c6a817f339fe9966051
|
||||
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
QT5_MODULE="qtconnectivity"
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Bluetooth support library for the Qt5 framework"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="amd64 arm x86"
|
||||
fi
|
||||
|
||||
IUSE="qml"
|
||||
|
||||
RDEPEND="
|
||||
~dev-qt/qtconcurrent-${PV}
|
||||
~dev-qt/qtcore-${PV}
|
||||
~dev-qt/qtdbus-${PV}
|
||||
>=net-wireless/bluez-5
|
||||
qml? ( ~dev-qt/qtdeclarative-${PV} )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
~dev-qt/qtnetwork-${PV}
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/nfc//' src/src.pro || die
|
||||
|
||||
qt_use_disable_mod qml quick src/src.pro
|
||||
|
||||
qt5-build_src_prepare
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST qtbase-opensource-src-5.6.1-1.tar.xz 46788436 SHA256 329678347ec5ebb404225345300a8deb1e7c991322a4c50584be550c69be7c39 SHA512 e9660bee2e0acd91c3232831e4f1a99ad30b82b8ff26850494efec89a525499b721adfb63f7ede586408489d3ebf727b842cd12eab665c58769001454e7f661d WHIRLPOOL e26cf72d9644dbcb08d1269bdaa633be2e24de813deb62a1c77e448b6578f6761769664fc95c4131c342f077c092a777af8fed62ea35e5fdb0f2576d82b3c499
|
||||
DIST qtbase-opensource-src-5.6.2.tar.xz 46825164 SHA256 2f6eae93c5d982fe0a387a01aeb3435571433e23e9d9d9246741faf51f1ee787 SHA512 ff55204e6f0b046ccb03430ac6a22bd743bc2f3822625f0c23a481a8a7acb5d93f5b8e900815c70f10554887fbe26b3ee79f6d702acfa5c370e4e3cbd1f2b321 WHIRLPOOL 4a68aae4e471b0cfac3abf3652bb18cac8ffce17c941c8589a154bf07eb8d26945fab535f2e1acb866a584584c1811e953aa19fb1b3709831d85a620f0b6dc5a
|
||||
DIST qtbase-opensource-src-5.7.1.tar.xz 44992616 SHA256 edcdf549d94d98aff08e201dcb3ca25bc3628a37b1309e320d5f556b6b66557e SHA512 0506a3a856f76e5ba182e3382a515282b6096f3900fbdc14cd5aec425105ab61922e0ada0361234387335ceb80b3c69e39cd34d75476c2946c4371e7b8c0827f WHIRLPOOL de5ff1380b3fd9cbcca741d212ac516e3f8a31366219605730cf5525a04e4efc9965a9b3cf8e99f50a2912bc7add83f61e7f90a85e176ad2830e4c1422b5d682
|
||||
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
QT5_MODULE="qtbase"
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Multi-threading concurrence support library for the Qt5 framework"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="amd64 arm ~arm64 hppa ppc ppc64 x86"
|
||||
fi
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
~dev-qt/qtcore-${PV}
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/concurrent
|
||||
)
|
@ -1,5 +1,4 @@
|
||||
DIST qt-everywhere-opensource-src-4.8.6.tar.gz 241623667 SHA256 8b14dd91b52862e09b8e6a963507b74bc2580787d171feda197badfa7034032c SHA512 c2d07c3cf9d687cb9b93e337c89df3f0055bd02bc8aa5ecd55d3ffb238b31a4308aeabc3c51a4f94ac76a1b00796f047513d02e427ed93ae8dd99f836fff7692 WHIRLPOOL 473566814a77237dbdd37a47980c1085f6cf39599c4d6b0120959fe80dadf65c4eaafd5f528dd86cea8815562faa204bedfe3b766c2ca4f2d2c99efc21dbca84
|
||||
DIST qt-everywhere-opensource-src-4.8.7.tar.gz 241075567 SHA256 e2882295097e47fe089f8ac741a95fef47e0a73a3f3cdf21b56990638f626ea0 SHA512 f9f81a2e7205e1fd05c8d923dc73244f29aa33f951fa6b7c5c8193449328b37084796b9b71ad0c317e4e6fd00017c10ea5d67b1b2032551cde00548522218125 WHIRLPOOL ad8f01172f5bdb3a3a69fe7b03862c4c411bc8d95211053ad66ed1d60a3c0577d073d1075a1e0a80b25d9b2721addda55a2967e6ccf5e194cec8d08770ac5fc2
|
||||
DIST qtbase-opensource-src-5.6.1-1.tar.xz 46788436 SHA256 329678347ec5ebb404225345300a8deb1e7c991322a4c50584be550c69be7c39 SHA512 e9660bee2e0acd91c3232831e4f1a99ad30b82b8ff26850494efec89a525499b721adfb63f7ede586408489d3ebf727b842cd12eab665c58769001454e7f661d WHIRLPOOL e26cf72d9644dbcb08d1269bdaa633be2e24de813deb62a1c77e448b6578f6761769664fc95c4131c342f077c092a777af8fed62ea35e5fdb0f2576d82b3c499
|
||||
DIST qtbase-opensource-src-5.6.2.tar.xz 46825164 SHA256 2f6eae93c5d982fe0a387a01aeb3435571433e23e9d9d9246741faf51f1ee787 SHA512 ff55204e6f0b046ccb03430ac6a22bd743bc2f3822625f0c23a481a8a7acb5d93f5b8e900815c70f10554887fbe26b3ee79f6d702acfa5c370e4e3cbd1f2b321 WHIRLPOOL 4a68aae4e471b0cfac3abf3652bb18cac8ffce17c941c8589a154bf07eb8d26945fab535f2e1acb866a584584c1811e953aa19fb1b3709831d85a620f0b6dc5a
|
||||
DIST qtbase-opensource-src-5.7.1.tar.xz 44992616 SHA256 edcdf549d94d98aff08e201dcb3ca25bc3628a37b1309e320d5f556b6b66557e SHA512 0506a3a856f76e5ba182e3382a515282b6096f3900fbdc14cd5aec425105ab61922e0ada0361234387335ceb80b3c69e39cd34d75476c2946c4371e7b8c0827f WHIRLPOOL de5ff1380b3fd9cbcca741d212ac516e3f8a31366219605730cf5525a04e4efc9965a9b3cf8e99f50a2912bc7add83f61e7f90a85e176ad2830e4c1422b5d682
|
||||
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
QT5_MODULE="qtbase"
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Cross-platform application development framework"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="amd64 arm ~arm64 hppa ppc ppc64 x86"
|
||||
fi
|
||||
|
||||
IUSE="icu systemd"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/glib:2
|
||||
>=dev-libs/libpcre-8.38[pcre16,unicode]
|
||||
>=sys-libs/zlib-1.2.5
|
||||
virtual/libiconv
|
||||
icu? ( dev-libs/icu:= )
|
||||
systemd? ( sys-apps/systemd:= )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/tools/bootstrap
|
||||
src/tools/moc
|
||||
src/tools/rcc
|
||||
src/corelib
|
||||
src/tools/qlalr
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
$(qt_use icu)
|
||||
$(qt_use systemd journald)
|
||||
)
|
||||
qt5-build_src_configure
|
||||
}
|
@ -1,5 +1,4 @@
|
||||
DIST qt-everywhere-opensource-src-4.8.6.tar.gz 241623667 SHA256 8b14dd91b52862e09b8e6a963507b74bc2580787d171feda197badfa7034032c SHA512 c2d07c3cf9d687cb9b93e337c89df3f0055bd02bc8aa5ecd55d3ffb238b31a4308aeabc3c51a4f94ac76a1b00796f047513d02e427ed93ae8dd99f836fff7692 WHIRLPOOL 473566814a77237dbdd37a47980c1085f6cf39599c4d6b0120959fe80dadf65c4eaafd5f528dd86cea8815562faa204bedfe3b766c2ca4f2d2c99efc21dbca84
|
||||
DIST qt-everywhere-opensource-src-4.8.7.tar.gz 241075567 SHA256 e2882295097e47fe089f8ac741a95fef47e0a73a3f3cdf21b56990638f626ea0 SHA512 f9f81a2e7205e1fd05c8d923dc73244f29aa33f951fa6b7c5c8193449328b37084796b9b71ad0c317e4e6fd00017c10ea5d67b1b2032551cde00548522218125 WHIRLPOOL ad8f01172f5bdb3a3a69fe7b03862c4c411bc8d95211053ad66ed1d60a3c0577d073d1075a1e0a80b25d9b2721addda55a2967e6ccf5e194cec8d08770ac5fc2
|
||||
DIST qtbase-opensource-src-5.6.1-1.tar.xz 46788436 SHA256 329678347ec5ebb404225345300a8deb1e7c991322a4c50584be550c69be7c39 SHA512 e9660bee2e0acd91c3232831e4f1a99ad30b82b8ff26850494efec89a525499b721adfb63f7ede586408489d3ebf727b842cd12eab665c58769001454e7f661d WHIRLPOOL e26cf72d9644dbcb08d1269bdaa633be2e24de813deb62a1c77e448b6578f6761769664fc95c4131c342f077c092a777af8fed62ea35e5fdb0f2576d82b3c499
|
||||
DIST qtbase-opensource-src-5.6.2.tar.xz 46825164 SHA256 2f6eae93c5d982fe0a387a01aeb3435571433e23e9d9d9246741faf51f1ee787 SHA512 ff55204e6f0b046ccb03430ac6a22bd743bc2f3822625f0c23a481a8a7acb5d93f5b8e900815c70f10554887fbe26b3ee79f6d702acfa5c370e4e3cbd1f2b321 WHIRLPOOL 4a68aae4e471b0cfac3abf3652bb18cac8ffce17c941c8589a154bf07eb8d26945fab535f2e1acb866a584584c1811e953aa19fb1b3709831d85a620f0b6dc5a
|
||||
DIST qtbase-opensource-src-5.7.1.tar.xz 44992616 SHA256 edcdf549d94d98aff08e201dcb3ca25bc3628a37b1309e320d5f556b6b66557e SHA512 0506a3a856f76e5ba182e3382a515282b6096f3900fbdc14cd5aec425105ab61922e0ada0361234387335ceb80b3c69e39cd34d75476c2946c4371e7b8c0827f WHIRLPOOL de5ff1380b3fd9cbcca741d212ac516e3f8a31366219605730cf5525a04e4efc9965a9b3cf8e99f50a2912bc7add83f61e7f90a85e176ad2830e4c1422b5d682
|
||||
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
QT5_MODULE="qtbase"
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="The D-Bus module for the Qt5 framework"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="amd64 arm ~arm64 hppa ppc ppc64 x86"
|
||||
fi
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
~dev-qt/qtcore-${PV}
|
||||
>=sys-apps/dbus-1.4.20
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/dbus
|
||||
src/tools/qdbusxml2cpp
|
||||
src/tools/qdbuscpp2xml
|
||||
)
|
||||
|
||||
QT5_GENTOO_CONFIG=(
|
||||
:dbus
|
||||
:dbus-linked:
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
-dbus-linked
|
||||
)
|
||||
qt5-build_src_configure
|
||||
}
|
@ -1,5 +1,4 @@
|
||||
DIST qt-everywhere-opensource-src-4.8.6.tar.gz 241623667 SHA256 8b14dd91b52862e09b8e6a963507b74bc2580787d171feda197badfa7034032c SHA512 c2d07c3cf9d687cb9b93e337c89df3f0055bd02bc8aa5ecd55d3ffb238b31a4308aeabc3c51a4f94ac76a1b00796f047513d02e427ed93ae8dd99f836fff7692 WHIRLPOOL 473566814a77237dbdd37a47980c1085f6cf39599c4d6b0120959fe80dadf65c4eaafd5f528dd86cea8815562faa204bedfe3b766c2ca4f2d2c99efc21dbca84
|
||||
DIST qt-everywhere-opensource-src-4.8.7.tar.gz 241075567 SHA256 e2882295097e47fe089f8ac741a95fef47e0a73a3f3cdf21b56990638f626ea0 SHA512 f9f81a2e7205e1fd05c8d923dc73244f29aa33f951fa6b7c5c8193449328b37084796b9b71ad0c317e4e6fd00017c10ea5d67b1b2032551cde00548522218125 WHIRLPOOL ad8f01172f5bdb3a3a69fe7b03862c4c411bc8d95211053ad66ed1d60a3c0577d073d1075a1e0a80b25d9b2721addda55a2967e6ccf5e194cec8d08770ac5fc2
|
||||
DIST qtdeclarative-opensource-src-5.6.1-1.tar.xz 18802904 SHA256 1cdf60b52509972ac001f5402a42d9b144b344010ec6e34f528f7dfc6be98f24 SHA512 ddff875d9567f71fd70f0353b27add05a0e2525adee61e46aa3cc896782053dd24276f25d51673e43bd8cf8a4c0e590f894dd92a244788c42d6e0630f48e8648 WHIRLPOOL 06d879413200edf4e23011781e0782da93b30d95b9bb8fe276b49556fe5f65fea9068fbd9c3d2cd33c8a29ef84120ad99395468224b8442c1c0307aac17aa0ed
|
||||
DIST qtdeclarative-opensource-src-5.6.2.tar.xz 18813016 SHA256 0086a986bc36b398ba518c404d08cdff0a0d7978c30aa3fa2ab73d71654209da SHA512 30870f6c40b8c8ecd3b960ece8175f98a42aebc3f4fcada06b4dcc0f844c4acfd955d550d7014fb441f65d7010ced8a6ef394ec3887dc543306b5ef15570c88d WHIRLPOOL ef4ae3f6cebd44528917bd571b1eaa55d07b96f3b005e25eb201ef52477a6dff742fe85b30f491793ea8256489349780adb79a93ccb7d64e1787a7d5d388041e
|
||||
DIST qtdeclarative-opensource-src-5.7.1.tar.xz 18976920 SHA256 fd13dd3059d20694a857ed30ee56a2ade908c0cb93246f9804a65f7a2d775d56 SHA512 8c56099a13103f4831a7ceb29223722c1f8efb0e9a87a4c1fdf0b55a3c5b4cedfdac6e06960ea5d03df4184b3d1c6bc3f21bdcdbd2400591143930aa8e32a2ab WHIRLPOOL 36fdf7de44aaef1b5f6a6b7719705422cc4593da1a79e156a797bc86389f96b0bd5658b00ebc7177ecb2e5e17c3beead4205ccb7fb0d0eb2ec8679c5a58ae6fa
|
||||
|
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="The QML and Quick modules for the Qt5 framework"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="amd64 arm ~arm64 hppa ppc ppc64 x86"
|
||||
fi
|
||||
|
||||
IUSE="gles2 +jit localstorage +widgets xml"
|
||||
|
||||
# qtgui[gles2=] is needed because of bug 504322
|
||||
DEPEND="
|
||||
~dev-qt/qtcore-${PV}
|
||||
~dev-qt/qtgui-${PV}[gles2=]
|
||||
~dev-qt/qtnetwork-${PV}
|
||||
~dev-qt/qttest-${PV}
|
||||
localstorage? ( ~dev-qt/qtsql-${PV} )
|
||||
widgets? ( ~dev-qt/qtwidgets-${PV}[gles2=] )
|
||||
xml? (
|
||||
~dev-qt/qtnetwork-${PV}
|
||||
~dev-qt/qtxmlpatterns-${PV}
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
use jit || PATCHES+=("${FILESDIR}/${PN}-5.4.2-disable-jit.patch")
|
||||
|
||||
use localstorage || sed -i -e '/localstorage/d' \
|
||||
src/imports/imports.pro || die
|
||||
|
||||
qt_use_disable_mod widgets widgets \
|
||||
src/src.pro \
|
||||
src/qmltest/qmltest.pro \
|
||||
tests/auto/auto.pro \
|
||||
tools/tools.pro \
|
||||
tools/qmlscene/qmlscene.pro \
|
||||
tools/qml/qml.pro
|
||||
|
||||
qt_use_disable_mod xml xmlpatterns \
|
||||
src/imports/imports.pro \
|
||||
tests/auto/quick/quick.pro \
|
||||
tests/auto/quick/examples/examples.pro
|
||||
|
||||
qt5-build_src_prepare
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST qttools-opensource-src-5.6.1-1.tar.xz 9819548 SHA256 375a528bf7141eff38cdc00c322c6d4491c8f67203fd8ee6b9a7097504605141 SHA512 f66eabcb2c417a2adf2e6a7724da0663641aaac638a67c25aeb330536e66d8cb2674a3d54e22e185b7c21f1ff6bba3d43ef088ce9fac4f8538987661ca7bdf4e WHIRLPOOL 39b06ef27b66b6ccabbc3aec9aad3424606d9b81d5fc3f736e3b2ede385104b480a6ba2543d30b687a08ee6ce42075a922d22a8030b66746a947d3d1a5bc6625
|
||||
DIST qttools-opensource-src-5.6.2.tar.xz 9794512 SHA256 db2bb4318786257a47172c377d9c456d5d5ec760d5d69240a4693dc87989e1b7 SHA512 3b2a0d098e09353978ff1e54cfcc293b8c7b4ada323c3c98e6ce8d62cea4574d285fc169f9758ec019206184db0df39ac99971be0bcb335672b7f4f86c787327 WHIRLPOOL 7e4ab96eb762d4ea13fc19f5816f3b7633601746d6f4c83b7eefa7b9cecc65db0837bc85f9b69c6a69f13b0fac243d3491b6990a85d72ee24bee4d05a262e1fd
|
||||
DIST qttools-opensource-src-5.7.1.tar.xz 10011108 SHA256 64197022686c3d8b11a8639f102e2caf03cc325a30e7a32ba66881648ac2dfac SHA512 10e4e060943596602bae0f99091de0923d3ebc761d44a5d193bfd17b77cf8fdf3c4466fb19363bbd3a354955ed09db9132b23833557f5216c7b4df758c17406e WHIRLPOOL af661baeafa85e7af56bb8859415306d26fe7c0de8238d399a520623643de0e6c6ff6056715013d202285c6ef068f4c4c21fdf28098cb42ac6ec97cbfde127b2
|
||||
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
QT5_MODULE="qttools"
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Tool for reporting diagnostic information about Qt and its environment"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc64 ~x86"
|
||||
fi
|
||||
|
||||
IUSE="+ssl"
|
||||
|
||||
DEPEND="
|
||||
~dev-qt/qtcore-${PV}
|
||||
~dev-qt/qtgui-${PV}
|
||||
~dev-qt/qtnetwork-${PV}[ssl=]
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/qtdiag
|
||||
)
|
@ -1,3 +1,2 @@
|
||||
DIST qtgraphicaleffects-opensource-src-5.6.1-1.tar.xz 14750956 SHA256 2b9cecf8eb3e12587788fa320119cf8d7b84775211cc1d78334d27e50040c014 SHA512 a5b29e562fbe637a4aa39510209a9f2b8e6a7dd9d77713e7f3d48760204047e1977fa6c96b688496147738cdce55a5c3348bcbc819fe5ab1ca50b49a822453f6 WHIRLPOOL d7802964f4243d2ce3c3a4590a411644bed32baed657cd5a2c7d8f5b14706d6dd7a11d0d8a4ddfb231c45705f2e49a63c9af4e0e571ca55839b434895dac8ef7
|
||||
DIST qtgraphicaleffects-opensource-src-5.6.2.tar.xz 14751100 SHA256 1e9f0fac2c72a812d396db74b2d9d12f513d2ec9135d5982ca85aee7f00be75e SHA512 2d2e9e9c4895bed92d3751038371fe653f40878388956585d058e5a87a32f88a4a41f8cc696d11a661cc845c3224b6f1ffa93adabc5a3d8758acc7297cf09e96 WHIRLPOOL 5056c59c3459fae131e73a545be61544690b847fa6804da6b6885c0bf9dcd564c8bfd696a0dddcb3f6cf4f433123834444f4c88d43a3f6d732874e8ad3fd988a
|
||||
DIST qtgraphicaleffects-opensource-src-5.7.1.tar.xz 14486948 SHA256 2c68fabe599fa2f318562dc22003df6797e91d00761dbf1f337cdc7fbacd4dc8 SHA512 2eb5fa078be65fbf1b57aca7106cd77c840aea3f13671445552ea4a5e0c6ff1625e30f58ca4919ea6dd76229931a307a77f172b604a55fc115569c4e446b5a3d WHIRLPOOL 33d2579a11da46a6564f6859f36681aead50ec7b4515f73834076e9c830126025de82f12942854272006de99bd3a5ab57528e363ed5b3ee7d01dc81c39d7bb5c
|
||||
|
@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
VIRTUALX_REQUIRED="test"
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Set of QML types for adding visual effects to user interfaces"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="amd64 arm hppa ~ppc ppc64 x86"
|
||||
fi
|
||||
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
~dev-qt/qtcore-${PV}
|
||||
~dev-qt/qtdeclarative-${PV}
|
||||
~dev-qt/qtgui-${PV}
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
@ -1,6 +1,5 @@
|
||||
DIST qt-everywhere-opensource-src-4.8.6.tar.gz 241623667 SHA256 8b14dd91b52862e09b8e6a963507b74bc2580787d171feda197badfa7034032c SHA512 c2d07c3cf9d687cb9b93e337c89df3f0055bd02bc8aa5ecd55d3ffb238b31a4308aeabc3c51a4f94ac76a1b00796f047513d02e427ed93ae8dd99f836fff7692 WHIRLPOOL 473566814a77237dbdd37a47980c1085f6cf39599c4d6b0120959fe80dadf65c4eaafd5f528dd86cea8815562faa204bedfe3b766c2ca4f2d2c99efc21dbca84
|
||||
DIST qt-everywhere-opensource-src-4.8.7.tar.gz 241075567 SHA256 e2882295097e47fe089f8ac741a95fef47e0a73a3f3cdf21b56990638f626ea0 SHA512 f9f81a2e7205e1fd05c8d923dc73244f29aa33f951fa6b7c5c8193449328b37084796b9b71ad0c317e4e6fd00017c10ea5d67b1b2032551cde00548522218125 WHIRLPOOL ad8f01172f5bdb3a3a69fe7b03862c4c411bc8d95211053ad66ed1d60a3c0577d073d1075a1e0a80b25d9b2721addda55a2967e6ccf5e194cec8d08770ac5fc2
|
||||
DIST qtbase-opensource-src-5.6.1-1.tar.xz 46788436 SHA256 329678347ec5ebb404225345300a8deb1e7c991322a4c50584be550c69be7c39 SHA512 e9660bee2e0acd91c3232831e4f1a99ad30b82b8ff26850494efec89a525499b721adfb63f7ede586408489d3ebf727b842cd12eab665c58769001454e7f661d WHIRLPOOL e26cf72d9644dbcb08d1269bdaa633be2e24de813deb62a1c77e448b6578f6761769664fc95c4131c342f077c092a777af8fed62ea35e5fdb0f2576d82b3c499
|
||||
DIST qtbase-opensource-src-5.6.2.tar.xz 46825164 SHA256 2f6eae93c5d982fe0a387a01aeb3435571433e23e9d9d9246741faf51f1ee787 SHA512 ff55204e6f0b046ccb03430ac6a22bd743bc2f3822625f0c23a481a8a7acb5d93f5b8e900815c70f10554887fbe26b3ee79f6d702acfa5c370e4e3cbd1f2b321 WHIRLPOOL 4a68aae4e471b0cfac3abf3652bb18cac8ffce17c941c8589a154bf07eb8d26945fab535f2e1acb866a584584c1811e953aa19fb1b3709831d85a620f0b6dc5a
|
||||
DIST qtbase-opensource-src-5.7.1.tar.xz 44992616 SHA256 edcdf549d94d98aff08e201dcb3ca25bc3628a37b1309e320d5f556b6b66557e SHA512 0506a3a856f76e5ba182e3382a515282b6096f3900fbdc14cd5aec425105ab61922e0ada0361234387335ceb80b3c69e39cd34d75476c2946c4371e7b8c0827f WHIRLPOOL de5ff1380b3fd9cbcca741d212ac516e3f8a31366219605730cf5525a04e4efc9965a9b3cf8e99f50a2912bc7add83f61e7f90a85e176ad2830e4c1422b5d682
|
||||
DIST qtgui-systemtrayicon-plugin-system.patch 51377 SHA256 e8582ebb2a5db99bf85789585516459ace42fc2b57fc7d5ff6156a2819bda282 SHA512 0d74b61e23af2e8ef0619ee616c4b775761514f53ba79bcb25b32b7e55beab3575c0d279ba1b016498804023bb78f8cff61964ce56f80642f648406f7c303679 WHIRLPOOL 03cc247a2a0e3b77fc541fa0b47abb125c8f7b304037f2067488861f12fdab25d3b3b3a7cf90626c229aa85a2d43ae4319c0f838b6eeb5ecdfe838a365ed8a58
|
||||
|
@ -1,174 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
QT5_MODULE="qtbase"
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="The GUI module and platform plugins for the Qt5 framework"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="amd64 arm ~arm64 hppa ppc ppc64 x86"
|
||||
fi
|
||||
|
||||
# TODO: linuxfb
|
||||
|
||||
IUSE="accessibility dbus egl eglfs evdev +gif gles2 gtkstyle
|
||||
ibus jpeg libinput +png tslib tuio +udev +xcb"
|
||||
REQUIRED_USE="
|
||||
|| ( eglfs xcb )
|
||||
accessibility? ( dbus xcb )
|
||||
eglfs? ( egl )
|
||||
ibus? ( dbus )
|
||||
libinput? ( udev )
|
||||
xcb? ( gles2? ( egl ) )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/glib:2
|
||||
~dev-qt/qtcore-${PV}
|
||||
media-libs/fontconfig
|
||||
>=media-libs/freetype-2.6.1:2
|
||||
>=media-libs/harfbuzz-1.0.6:=
|
||||
>=sys-libs/zlib-1.2.5
|
||||
virtual/opengl
|
||||
dbus? ( ~dev-qt/qtdbus-${PV} )
|
||||
egl? ( media-libs/mesa[egl] )
|
||||
eglfs? (
|
||||
media-libs/mesa[gbm]
|
||||
x11-libs/libdrm
|
||||
)
|
||||
evdev? ( sys-libs/mtdev )
|
||||
gtkstyle? (
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/pango
|
||||
!!x11-libs/cairo[qt4]
|
||||
)
|
||||
gles2? ( media-libs/mesa[gles2] )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
libinput? (
|
||||
dev-libs/libinput:=
|
||||
x11-libs/libxkbcommon
|
||||
)
|
||||
png? ( media-libs/libpng:0= )
|
||||
tslib? ( x11-libs/tslib )
|
||||
tuio? ( ~dev-qt/qtnetwork-${PV} )
|
||||
udev? ( virtual/libudev:= )
|
||||
xcb? (
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
>=x11-libs/libXi-1.7.4
|
||||
x11-libs/libXrender
|
||||
>=x11-libs/libxcb-1.10:=[xkb]
|
||||
>=x11-libs/libxkbcommon-0.4.1[X]
|
||||
x11-libs/xcb-util-image
|
||||
x11-libs/xcb-util-keysyms
|
||||
x11-libs/xcb-util-renderutil
|
||||
x11-libs/xcb-util-wm
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
evdev? ( sys-kernel/linux-headers )
|
||||
udev? ( sys-kernel/linux-headers )
|
||||
"
|
||||
PDEPEND="
|
||||
ibus? ( app-i18n/ibus )
|
||||
"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/gui
|
||||
src/openglextensions
|
||||
src/platformheaders
|
||||
src/platformsupport
|
||||
src/plugins/generic
|
||||
src/plugins/imageformats
|
||||
src/plugins/platforms
|
||||
src/plugins/platforminputcontexts
|
||||
src/plugins/platformthemes
|
||||
)
|
||||
|
||||
QT5_GENTOO_CONFIG=(
|
||||
accessibility:accessibility-atspi-bridge
|
||||
egl
|
||||
eglfs
|
||||
eglfs:eglfs_egldevice:
|
||||
eglfs:eglfs_gbm:
|
||||
evdev
|
||||
evdev:mtdev:
|
||||
:fontconfig
|
||||
:system-freetype:FREETYPE
|
||||
!:no-freetype:
|
||||
!gif:no-gif:
|
||||
gles2::OPENGL_ES
|
||||
gles2:opengles2:OPENGL_ES_2
|
||||
gtkstyle:gtkstyle:
|
||||
gtkstyle:gtk2:STYLE_GTK
|
||||
!:no-gui:
|
||||
:system-harfbuzz:HARFBUZZ
|
||||
!:no-harfbuzz:
|
||||
jpeg:system-jpeg:IMAGEFORMAT_JPEG
|
||||
!jpeg:no-jpeg:
|
||||
libinput
|
||||
libinput:xkbcommon-evdev:
|
||||
:opengl
|
||||
png:png:
|
||||
png:system-png:IMAGEFORMAT_PNG
|
||||
!png:no-png:
|
||||
tslib
|
||||
udev:libudev:
|
||||
xcb:xcb:
|
||||
xcb:xcb-glx:
|
||||
xcb:xcb-plugin:
|
||||
xcb:xcb-render:
|
||||
xcb:xcb-sm:
|
||||
xcb:xcb-xlib:
|
||||
xcb:xinput2:
|
||||
xcb::XKB
|
||||
xcb:xrender
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# egl_x11 is activated when both egl and xcb are enabled
|
||||
use egl && QT5_GENTOO_CONFIG+=(xcb:egl_x11) || QT5_GENTOO_CONFIG+=(egl:egl_x11)
|
||||
|
||||
# avoid automagic dep on qtdbus
|
||||
use dbus || sed -i -e 's/contains(QT_CONFIG, dbus)/false/' \
|
||||
src/platformsupport/platformsupport.pro || die
|
||||
|
||||
qt_use_disable_mod ibus dbus \
|
||||
src/plugins/platforminputcontexts/platforminputcontexts.pro
|
||||
|
||||
# avoid automagic dep on qtnetwork
|
||||
use tuio || sed -i -e '/SUBDIRS += tuiotouch/d' \
|
||||
src/plugins/generic/generic.pro || die
|
||||
|
||||
qt5-build_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
$(usex dbus -dbus-linked '')
|
||||
$(qt_use egl)
|
||||
$(qt_use eglfs)
|
||||
$(usex eglfs '-gbm -kms' '')
|
||||
$(qt_use evdev)
|
||||
$(qt_use evdev mtdev)
|
||||
-fontconfig
|
||||
-system-freetype
|
||||
$(usex gif '' -no-gif)
|
||||
$(qt_use gtkstyle)
|
||||
-system-harfbuzz
|
||||
$(qt_use jpeg libjpeg system)
|
||||
$(qt_use libinput)
|
||||
$(qt_use libinput xkbcommon-evdev)
|
||||
-opengl $(usex gles2 es2 desktop)
|
||||
$(qt_use png libpng system)
|
||||
$(qt_use tslib)
|
||||
$(qt_use udev libudev)
|
||||
$(qt_use xcb xcb system)
|
||||
$(qt_use xcb xkbcommon-x11 system)
|
||||
$(usex xcb '-xcb-xlib -xinput2 -xkb -xrender' '')
|
||||
)
|
||||
qt5-build_src_configure
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
QT5_MODULE="qttools"
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="The Help module for the Qt5 framework"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="amd64 arm hppa ppc64 x86"
|
||||
fi
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
~dev-qt/qtcore-${PV}
|
||||
~dev-qt/qtgui-${PV}
|
||||
~dev-qt/qtnetwork-${PV}
|
||||
~dev-qt/qtsql-${PV}[sqlite]
|
||||
~dev-qt/qtwidgets-${PV}
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/assistant/clucene
|
||||
src/assistant/help
|
||||
src/assistant/qcollectiongenerator
|
||||
src/assistant/qhelpconverter
|
||||
src/assistant/qhelpgenerator
|
||||
)
|
@ -1,3 +1,2 @@
|
||||
DIST qtimageformats-opensource-src-5.6.1-1.tar.xz 1909208 SHA256 cc45e481394dcc4eb4e565969c9bb50b87b1da23f006bf849a5f8daa375328dd SHA512 b0d9db5febcfb78b148cae4f33377895cd185643e056984bfbdcb5ec7b53b1a05dad2fa006d00a3524587399656bfb3c7f1b4b79e398d99a799bb33673a50eaf WHIRLPOOL 4e6cdd899fd33d0f5de4a740bbbbbe67e3447149480bf56d2642ea075bc48b2b75e921268849c4d8282d24e18e994cd5f077b59fb7b70907559dabc14046e6f0
|
||||
DIST qtimageformats-opensource-src-5.6.2.tar.xz 1909556 SHA256 4fb153be62dac393cbcebab65040b3b9d6edecd1ebbe5e543401b0e45bd147e4 SHA512 ef501cb0b6fc7f1a2fb9725d48950e87e847733bb8e296a5630cfa25365307bc5ee574cb7a69cef48b2c7c5b810d6f3363021e4e18eff0951ab0fc38c7b12c96 WHIRLPOOL 8398b30c1ad48d827550cf22d3721079856c492f5a7dde7cdf37ec820c870310398408e95ce13a8ec577f391831560bd44624b07dd798cb2b62da78c00358205
|
||||
DIST qtimageformats-opensource-src-5.7.1.tar.xz 2004376 SHA256 4f97a2a2b269f8a45576256ad9f452320c9c9de6d9c7cc1751fdeac36b0f77f4 SHA512 b70fe30b20da8f613f05ae68bf879956341206005d1eff3c34fc279da6b219ff7983d41c2c0c057c85500a2c5826286c63f4c209dc2db84d03848241257be553 WHIRLPOOL b9541ce413e908dea4ac70e62a53cb82b89df4feddd566f479e32ad473b7b320fad0eb8229e97a3d040f826e2513d5ee922b796d16e06b00243b9d96579b103e
|
||||
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Additional format plugins for the Qt image I/O system"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="amd64 arm hppa ppc64 x86"
|
||||
fi
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
~dev-qt/qtcore-${PV}
|
||||
~dev-qt/qtgui-${PV}
|
||||
media-libs/jasper:=
|
||||
media-libs/libmng:=
|
||||
media-libs/libwebp:=
|
||||
media-libs/tiff:0
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
@ -1,3 +1,2 @@
|
||||
DIST qtlocation-opensource-src-5.6.1-1.tar.xz 3046468 SHA256 c9cc21ba3dd3f13376a175b092256403589a52c7851603dbfe1e15d5d9bac457 SHA512 c3eb500d2bdc9ce360f01d414a98778a4a729256e18c5e5cdfe2351a0c195fadf7635c19658d2b6222dfa4090e70975c7202fab9678f4a57e16b47937a9c8cff WHIRLPOOL 4969c5ac4b10b298b349ee47f50b51e685bad911bdece4fcb0b876eff1c33e09a27cabc32587f51538175b1c21552a724dec81ab1ac325a79bb868b21bb50220
|
||||
DIST qtlocation-opensource-src-5.6.2.tar.xz 3148448 SHA256 7a8995206ed0220f943a33c037527a1a8243d5386f5ca77bf88152675c28d23a SHA512 10d87e9e546d52fc1813cbe244cb592033758460129854879b0d04600bd2285c2ae499bb131de77bf66b4989b45d14e9e656a30aaeee47628e41b026908ed97e WHIRLPOOL 4c4cb895d3cd5cf2ac6ad385374d0dce6e91a9b6f3f562bff5e2715896d108f9f1a60ff13a5d360238812b34523d50f0ede92211830e2d0eef6ccc5b28d82966
|
||||
DIST qtlocation-opensource-src-5.7.1.tar.xz 3194112 SHA256 f9e9e64e757008c2341504a1916a219ee0cf2b1b42bfa72156e62dfe9dfbf39f SHA512 a3e0318ad348edd6d9cb4762d4fc6230a47984fcf526f55cc2c9bc00e2e70fdb1380866ec8906e3f58669c62464f8747c948d85107a2d30be1e98da27c7739d4 WHIRLPOOL be30847a33b1bb356d6725202968e189abf4a5bcdc5c2decf9a7ffc14b2d3875dfde827b41b97bf11c9497ec584f351c567150d84bb93fedeb3cb15ce0ac0075
|
||||
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="The Location module for the Qt5 framework"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
fi
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
~dev-qt/qtcore-${PV}
|
||||
~dev-qt/qtdeclarative-${PV}
|
||||
~dev-qt/qtgui-${PV}
|
||||
~dev-qt/qtnetwork-${PV}
|
||||
~dev-qt/qtpositioning-${PV}
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/3rdparty
|
||||
src/location
|
||||
src/imports/location
|
||||
src/plugins/geoservices
|
||||
)
|
@ -1,5 +1,4 @@
|
||||
DIST qt-everywhere-opensource-src-4.8.6.tar.gz 241623667 SHA256 8b14dd91b52862e09b8e6a963507b74bc2580787d171feda197badfa7034032c SHA512 c2d07c3cf9d687cb9b93e337c89df3f0055bd02bc8aa5ecd55d3ffb238b31a4308aeabc3c51a4f94ac76a1b00796f047513d02e427ed93ae8dd99f836fff7692 WHIRLPOOL 473566814a77237dbdd37a47980c1085f6cf39599c4d6b0120959fe80dadf65c4eaafd5f528dd86cea8815562faa204bedfe3b766c2ca4f2d2c99efc21dbca84
|
||||
DIST qt-everywhere-opensource-src-4.8.7.tar.gz 241075567 SHA256 e2882295097e47fe089f8ac741a95fef47e0a73a3f3cdf21b56990638f626ea0 SHA512 f9f81a2e7205e1fd05c8d923dc73244f29aa33f951fa6b7c5c8193449328b37084796b9b71ad0c317e4e6fd00017c10ea5d67b1b2032551cde00548522218125 WHIRLPOOL ad8f01172f5bdb3a3a69fe7b03862c4c411bc8d95211053ad66ed1d60a3c0577d073d1075a1e0a80b25d9b2721addda55a2967e6ccf5e194cec8d08770ac5fc2
|
||||
DIST qtmultimedia-opensource-src-5.6.1-1.tar.xz 3487908 SHA256 4e28dcc696a9996b03a124b0f56fc86646bc2e9d29d383dc923b926040774e5d SHA512 d28e85752a2daa58293ffc4c36a83020fece7dad5c1e88567c0f2d2d66733ff93bfd86b0d94756dfa38ac57ad963f9aeae89f42d81e0145d14f02f3954645d3c WHIRLPOOL 4f2fe48c77d93a89a0eede5603dedd06abac3059304a5c85209230da7aeb153c5f313dd6fc3f6247ebe36dc5a513e60aad3f587bc4854886aadb2e03ba1f3064
|
||||
DIST qtmultimedia-opensource-src-5.6.2.tar.xz 3492628 SHA256 cb9a70a7c6c0eb5be4a3fcaf9590863479e95a255308bbf07d5b7aa303bb8caf SHA512 e4750b1033f4ffbc139c14475fa07019bbb51a373d72a608035da583e88979fc7cc8694be90661c3977f6a1e0be2c27a98b348a632f62b2d40c224af927f9ccc WHIRLPOOL 1a9872996146371e4bf7d877c18a829986db63fca3ce57b250d9282d884a1479a7309b981c29c7bfedd4d965c5b76e94cafd11ea9c0e3c1d07852ebabb58365d
|
||||
DIST qtmultimedia-opensource-src-5.7.1.tar.xz 3563676 SHA256 a52b177fbf02600a0c8bd995ce7c2041c673bc1332c02b60e0e95bb9ebab7def SHA512 1415a4c29416ead2528ddb040a3c69480408509c6ba573f44295513bfe2aa62b8e8bb97cbd33713e605f094e1c1e1337507904d2b0c6480ddf9cf75393d8e97f WHIRLPOOL 6d37e06443b6e6d3d55e35ccebe08bc2a7a4423afe3728db5b297f15e682af31f6085ab2ebf92f63d4bff4ec69b772b6e545149b260245d3d076d4c619b8d46f
|
||||
|
@ -1,76 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="The Multimedia module for the Qt5 framework"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="amd64 arm hppa ~ppc ppc64 x86"
|
||||
fi
|
||||
|
||||
IUSE="alsa gles2 gstreamer gstreamer010 openal pulseaudio qml widgets"
|
||||
REQUIRED_USE="?? ( gstreamer gstreamer010 )"
|
||||
|
||||
RDEPEND="
|
||||
~dev-qt/qtcore-${PV}
|
||||
~dev-qt/qtgui-${PV}[gles2=]
|
||||
~dev-qt/qtnetwork-${PV}
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
gstreamer? (
|
||||
dev-libs/glib:2
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-bad:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
)
|
||||
gstreamer010? (
|
||||
dev-libs/glib:2
|
||||
media-libs/gstreamer:0.10
|
||||
media-libs/gst-plugins-bad:0.10
|
||||
media-libs/gst-plugins-base:0.10
|
||||
)
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
qml? (
|
||||
~dev-qt/qtdeclarative-${PV}
|
||||
gles2? ( ~dev-qt/qtgui-${PV}[egl] )
|
||||
openal? ( media-libs/openal )
|
||||
)
|
||||
widgets? (
|
||||
~dev-qt/qtopengl-${PV}
|
||||
~dev-qt/qtwidgets-${PV}[gles2=]
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
gstreamer? ( x11-proto/videoproto )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on qtbase configuration
|
||||
sed -i -e 's/contains(QT_CONFIG, \(alsa\|pulseaudio\))://' \
|
||||
qtmultimedia.pro || die
|
||||
|
||||
qt_use_compile_test alsa
|
||||
qt_use_compile_test gstreamer
|
||||
qt_use_compile_test openal
|
||||
qt_use_compile_test pulseaudio
|
||||
|
||||
qt_use_disable_mod qml quick \
|
||||
src/src.pro \
|
||||
src/plugins/plugins.pro
|
||||
|
||||
qt_use_disable_mod widgets widgets \
|
||||
src/src.pro \
|
||||
src/gsttools/gsttools.pro \
|
||||
src/plugins/gstreamer/common.pri
|
||||
|
||||
qt5-build_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myqmakeargs=(
|
||||
$(usex gstreamer 'GST_VERSION=1.0' '')
|
||||
$(usex gstreamer010 'GST_VERSION=0.10' '')
|
||||
)
|
||||
qt5-build_src_configure
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST qtbase-opensource-src-5.6.1-1.tar.xz 46788436 SHA256 329678347ec5ebb404225345300a8deb1e7c991322a4c50584be550c69be7c39 SHA512 e9660bee2e0acd91c3232831e4f1a99ad30b82b8ff26850494efec89a525499b721adfb63f7ede586408489d3ebf727b842cd12eab665c58769001454e7f661d WHIRLPOOL e26cf72d9644dbcb08d1269bdaa633be2e24de813deb62a1c77e448b6578f6761769664fc95c4131c342f077c092a777af8fed62ea35e5fdb0f2576d82b3c499
|
||||
DIST qtbase-opensource-src-5.6.2.tar.xz 46825164 SHA256 2f6eae93c5d982fe0a387a01aeb3435571433e23e9d9d9246741faf51f1ee787 SHA512 ff55204e6f0b046ccb03430ac6a22bd743bc2f3822625f0c23a481a8a7acb5d93f5b8e900815c70f10554887fbe26b3ee79f6d702acfa5c370e4e3cbd1f2b321 WHIRLPOOL 4a68aae4e471b0cfac3abf3652bb18cac8ffce17c941c8589a154bf07eb8d26945fab535f2e1acb866a584584c1811e953aa19fb1b3709831d85a620f0b6dc5a
|
||||
DIST qtbase-opensource-src-5.7.1.tar.xz 44992616 SHA256 edcdf549d94d98aff08e201dcb3ca25bc3628a37b1309e320d5f556b6b66557e SHA512 0506a3a856f76e5ba182e3382a515282b6096f3900fbdc14cd5aec425105ab61922e0ada0361234387335ceb80b3c69e39cd34d75476c2946c4371e7b8c0827f WHIRLPOOL de5ff1380b3fd9cbcca741d212ac516e3f8a31366219605730cf5525a04e4efc9965a9b3cf8e99f50a2912bc7add83f61e7f90a85e176ad2830e4c1422b5d682
|
||||
|
@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
QT5_MODULE="qtbase"
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Network abstraction library for the Qt5 framework"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="amd64 arm ~arm64 hppa ppc ppc64 x86"
|
||||
fi
|
||||
|
||||
IUSE="bindist connman libproxy networkmanager +ssl"
|
||||
|
||||
DEPEND="
|
||||
~dev-qt/qtcore-${PV}
|
||||
>=sys-libs/zlib-1.2.5
|
||||
connman? ( ~dev-qt/qtdbus-${PV} )
|
||||
libproxy? ( net-libs/libproxy )
|
||||
networkmanager? ( ~dev-qt/qtdbus-${PV} )
|
||||
ssl? ( dev-libs/openssl:0[bindist=] )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
connman? ( net-misc/connman )
|
||||
networkmanager? ( net-misc/networkmanager )
|
||||
"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/network
|
||||
src/plugins/bearer/generic
|
||||
)
|
||||
|
||||
QT5_GENTOO_CONFIG=(
|
||||
libproxy
|
||||
ssl::SSL
|
||||
ssl::OPENSSL
|
||||
ssl:openssl-linked:LINKED_OPENSSL
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
use connman && QT5_TARGET_SUBDIRS+=(src/plugins/bearer/connman)
|
||||
use networkmanager && QT5_TARGET_SUBDIRS+=(src/plugins/bearer/networkmanager)
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
$(use connman || use networkmanager && echo -dbus-linked)
|
||||
$(qt_use libproxy)
|
||||
$(usex ssl -openssl-linked '')
|
||||
)
|
||||
qt5-build_src_configure
|
||||
}
|
@ -1,5 +1,4 @@
|
||||
DIST qt-everywhere-opensource-src-4.8.6.tar.gz 241623667 SHA256 8b14dd91b52862e09b8e6a963507b74bc2580787d171feda197badfa7034032c SHA512 c2d07c3cf9d687cb9b93e337c89df3f0055bd02bc8aa5ecd55d3ffb238b31a4308aeabc3c51a4f94ac76a1b00796f047513d02e427ed93ae8dd99f836fff7692 WHIRLPOOL 473566814a77237dbdd37a47980c1085f6cf39599c4d6b0120959fe80dadf65c4eaafd5f528dd86cea8815562faa204bedfe3b766c2ca4f2d2c99efc21dbca84
|
||||
DIST qt-everywhere-opensource-src-4.8.7.tar.gz 241075567 SHA256 e2882295097e47fe089f8ac741a95fef47e0a73a3f3cdf21b56990638f626ea0 SHA512 f9f81a2e7205e1fd05c8d923dc73244f29aa33f951fa6b7c5c8193449328b37084796b9b71ad0c317e4e6fd00017c10ea5d67b1b2032551cde00548522218125 WHIRLPOOL ad8f01172f5bdb3a3a69fe7b03862c4c411bc8d95211053ad66ed1d60a3c0577d073d1075a1e0a80b25d9b2721addda55a2967e6ccf5e194cec8d08770ac5fc2
|
||||
DIST qtbase-opensource-src-5.6.1-1.tar.xz 46788436 SHA256 329678347ec5ebb404225345300a8deb1e7c991322a4c50584be550c69be7c39 SHA512 e9660bee2e0acd91c3232831e4f1a99ad30b82b8ff26850494efec89a525499b721adfb63f7ede586408489d3ebf727b842cd12eab665c58769001454e7f661d WHIRLPOOL e26cf72d9644dbcb08d1269bdaa633be2e24de813deb62a1c77e448b6578f6761769664fc95c4131c342f077c092a777af8fed62ea35e5fdb0f2576d82b3c499
|
||||
DIST qtbase-opensource-src-5.6.2.tar.xz 46825164 SHA256 2f6eae93c5d982fe0a387a01aeb3435571433e23e9d9d9246741faf51f1ee787 SHA512 ff55204e6f0b046ccb03430ac6a22bd743bc2f3822625f0c23a481a8a7acb5d93f5b8e900815c70f10554887fbe26b3ee79f6d702acfa5c370e4e3cbd1f2b321 WHIRLPOOL 4a68aae4e471b0cfac3abf3652bb18cac8ffce17c941c8589a154bf07eb8d26945fab535f2e1acb866a584584c1811e953aa19fb1b3709831d85a620f0b6dc5a
|
||||
DIST qtbase-opensource-src-5.7.1.tar.xz 44992616 SHA256 edcdf549d94d98aff08e201dcb3ca25bc3628a37b1309e320d5f556b6b66557e SHA512 0506a3a856f76e5ba182e3382a515282b6096f3900fbdc14cd5aec425105ab61922e0ada0361234387335ceb80b3c69e39cd34d75476c2946c4371e7b8c0827f WHIRLPOOL de5ff1380b3fd9cbcca741d212ac516e3f8a31366219605730cf5525a04e4efc9965a9b3cf8e99f50a2912bc7add83f61e7f90a85e176ad2830e4c1422b5d682
|
||||
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
QT5_MODULE="qtbase"
|
||||
VIRTUALX_REQUIRED="test"
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="OpenGL support library for the Qt5 framework (deprecated)"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="amd64 arm ~arm64 hppa ppc ppc64 x86"
|
||||
fi
|
||||
|
||||
IUSE="gles2"
|
||||
|
||||
DEPEND="
|
||||
~dev-qt/qtcore-${PV}
|
||||
~dev-qt/qtgui-${PV}[gles2=]
|
||||
~dev-qt/qtwidgets-${PV}[gles2=]
|
||||
virtual/opengl
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/opengl
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
-opengl $(usex gles2 es2 desktop)
|
||||
)
|
||||
qt5-build_src_configure
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST qttools-opensource-src-5.6.1-1.tar.xz 9819548 SHA256 375a528bf7141eff38cdc00c322c6d4491c8f67203fd8ee6b9a7097504605141 SHA512 f66eabcb2c417a2adf2e6a7724da0663641aaac638a67c25aeb330536e66d8cb2674a3d54e22e185b7c21f1ff6bba3d43ef088ce9fac4f8538987661ca7bdf4e WHIRLPOOL 39b06ef27b66b6ccabbc3aec9aad3424606d9b81d5fc3f736e3b2ede385104b480a6ba2543d30b687a08ee6ce42075a922d22a8030b66746a947d3d1a5bc6625
|
||||
DIST qttools-opensource-src-5.6.2.tar.xz 9794512 SHA256 db2bb4318786257a47172c377d9c456d5d5ec760d5d69240a4693dc87989e1b7 SHA512 3b2a0d098e09353978ff1e54cfcc293b8c7b4ada323c3c98e6ce8d62cea4574d285fc169f9758ec019206184db0df39ac99971be0bcb335672b7f4f86c787327 WHIRLPOOL 7e4ab96eb762d4ea13fc19f5816f3b7633601746d6f4c83b7eefa7b9cecc65db0837bc85f9b69c6a69f13b0fac243d3491b6990a85d72ee24bee4d05a262e1fd
|
||||
DIST qttools-opensource-src-5.7.1.tar.xz 10011108 SHA256 64197022686c3d8b11a8639f102e2caf03cc325a30e7a32ba66881648ac2dfac SHA512 10e4e060943596602bae0f99091de0923d3ebc761d44a5d193bfd17b77cf8fdf3c4466fb19363bbd3a354955ed09db9132b23833557f5216c7b4df758c17406e WHIRLPOOL af661baeafa85e7af56bb8859415306d26fe7c0de8238d399a520623643de0e6c6ff6056715013d202285c6ef068f4c4c21fdf28098cb42ac6ec97cbfde127b2
|
||||
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
QT5_MODULE="qttools"
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Command line client to QStandardPaths"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="amd64 arm hppa ~ppc ppc64 x86"
|
||||
fi
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
~dev-qt/qtcore-${PV}
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/qtpaths
|
||||
)
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue