parent
16e904eb3d
commit
f6fc4c08fe
Binary file not shown.
Binary file not shown.
@ -0,0 +1,323 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
WANT_LIBTOOL="none"
|
||||
|
||||
inherit autotools check-reqs flag-o-matic pax-utils python-utils-r1 \
|
||||
toolchain-funcs
|
||||
|
||||
MY_P="Python-${PV/_alpha/a}"
|
||||
PYVER=$(ver_cut 1-2)
|
||||
PATCHSET="python-gentoo-patches-${PV}"
|
||||
|
||||
DESCRIPTION="An interpreted, interactive, object-oriented programming language"
|
||||
HOMEPAGE="https://www.python.org/"
|
||||
SRC_URI="https://www.python.org/ftp/python/${PV%_*}/${MY_P}.tar.xz
|
||||
https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="${PYVER}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="bluetooth build examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl test tk wininst +xml"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# Do not add a dependency on dev-lang/python to this ebuild.
|
||||
# If you need to apply a patch which requires python for bootstrapping, please
|
||||
# run the bootstrap code on your dev box and include the results in the
|
||||
# patchset. See bug 447752.
|
||||
|
||||
RDEPEND="app-arch/bzip2:=
|
||||
app-arch/xz-utils:=
|
||||
sys-apps/util-linux:=
|
||||
>=sys-libs/zlib-1.1.3:=
|
||||
virtual/libffi:=
|
||||
virtual/libintl
|
||||
gdbm? ( sys-libs/gdbm:=[berkdb] )
|
||||
ncurses? ( >=sys-libs/ncurses-5.2:= )
|
||||
readline? ( >=sys-libs/readline-4.1:= )
|
||||
sqlite? ( >=dev-db/sqlite-3.3.8:3= )
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:= )
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
)
|
||||
tk? (
|
||||
>=dev-lang/tcl-8.0:=
|
||||
>=dev-lang/tk-8.0:=
|
||||
dev-tcltk/blt:=
|
||||
dev-tcltk/tix
|
||||
)
|
||||
xml? ( >=dev-libs/expat-2.1:= )"
|
||||
# bluetooth requires headers from bluez
|
||||
DEPEND="${RDEPEND}
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
test? ( app-arch/xz-utils[extra-filters(+)] )
|
||||
virtual/pkgconfig
|
||||
!sys-devel/gcc[libffi(-)]"
|
||||
RDEPEND+=" !build? ( app-misc/mime-types )"
|
||||
PDEPEND=">=app-eselect/eselect-python-20140125-r1"
|
||||
|
||||
# large file tests involve a 2.5G file being copied (duplicated)
|
||||
CHECKREQS_DISK_BUILD=5500M
|
||||
|
||||
pkg_pretend() {
|
||||
use test && check-reqs_pkg_pretend
|
||||
|
||||
ewarn "This is an early developer preview of Python 3.9. New features"
|
||||
ewarn "can still be added up to 2020-05-18. It's not suitable for production"
|
||||
ewarn "use, and it is not supported for Gentoo packages."
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
use test && check-reqs_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Ensure that internal copies of expat, libffi and zlib are not used.
|
||||
rm -fr Modules/expat || die
|
||||
rm -fr Modules/_ctypes/libffi* || die
|
||||
rm -fr Modules/zlib || die
|
||||
|
||||
local PATCHES=(
|
||||
"${WORKDIR}/${PATCHSET}"
|
||||
)
|
||||
|
||||
default
|
||||
|
||||
sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
|
||||
setup.py || die "sed failed to replace @@GENTOO_LIBDIR@@"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local disable
|
||||
# disable automagic bluetooth headers detection
|
||||
use bluetooth || export ac_cv_header_bluetooth_bluetooth_h=no
|
||||
use gdbm || disable+=" gdbm"
|
||||
use ncurses || disable+=" _curses _curses_panel"
|
||||
use readline || disable+=" readline"
|
||||
use sqlite || disable+=" _sqlite3"
|
||||
use ssl || export PYTHON_DISABLE_SSL="1"
|
||||
use tk || disable+=" _tkinter"
|
||||
use xml || disable+=" _elementtree pyexpat" # _elementtree uses pyexpat.
|
||||
export PYTHON_DISABLE_MODULES="${disable}"
|
||||
|
||||
if ! use xml; then
|
||||
ewarn "You have configured Python without XML support."
|
||||
ewarn "This is NOT a recommended configuration as you"
|
||||
ewarn "may face problems parsing any XML documents."
|
||||
fi
|
||||
|
||||
if [[ -n "${PYTHON_DISABLE_MODULES}" ]]; then
|
||||
einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}"
|
||||
fi
|
||||
|
||||
if [[ "$(gcc-major-version)" -ge 4 ]]; then
|
||||
append-flags -fwrapv
|
||||
fi
|
||||
|
||||
filter-flags -malign-double
|
||||
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=50309
|
||||
if is-flagq -O3; then
|
||||
is-flagq -fstack-protector-all && replace-flags -O3 -O2
|
||||
use hardened && replace-flags -O3 -O2
|
||||
fi
|
||||
|
||||
# https://bugs.gentoo.org/700012
|
||||
if is-flagq -flto; then
|
||||
append-cflags $(test-flags-CC -ffat-lto-objects)
|
||||
fi
|
||||
|
||||
# Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
|
||||
tc-export CXX
|
||||
|
||||
# Set LDFLAGS so we link modules with -lpython3.2 correctly.
|
||||
# Needed on FreeBSD unless Python 3.2 is already installed.
|
||||
# Please query BSD team before removing this!
|
||||
append-ldflags "-L."
|
||||
|
||||
# Fix implicit declarations on cross and prefix builds. Bug #674070.
|
||||
use ncurses && append-cppflags -I"${ESYSROOT}"/usr/include/ncursesw
|
||||
|
||||
local dbmliborder
|
||||
if use gdbm; then
|
||||
dbmliborder+="${dbmliborder:+:}gdbm"
|
||||
fi
|
||||
|
||||
local myeconfargs=(
|
||||
--enable-shared
|
||||
$(use_enable ipv6)
|
||||
--infodir='${prefix}/share/info'
|
||||
--mandir='${prefix}/share/man'
|
||||
--with-computed-gotos
|
||||
--with-dbmliborder="${dbmliborder}"
|
||||
--with-libc=
|
||||
--enable-loadable-sqlite-extensions
|
||||
--without-ensurepip
|
||||
--with-system-expat
|
||||
--with-system-ffi
|
||||
)
|
||||
|
||||
OPT="" econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Ensure sed works as expected
|
||||
# https://bugs.gentoo.org/594768
|
||||
local -x LC_ALL=C
|
||||
|
||||
emake CPPFLAGS= CFLAGS= LDFLAGS=
|
||||
|
||||
# Work around bug 329499. See also bug 413751 and 457194.
|
||||
if has_version dev-libs/libffi[pax_kernel]; then
|
||||
pax-mark E python
|
||||
else
|
||||
pax-mark m python
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Tests will not work when cross compiling.
|
||||
if tc-is-cross-compiler; then
|
||||
elog "Disabling tests due to crosscompiling."
|
||||
return
|
||||
fi
|
||||
|
||||
# Skip failing tests.
|
||||
local skipped_tests="gdb"
|
||||
|
||||
for test in ${skipped_tests}; do
|
||||
mv "${S}"/Lib/test/test_${test}.py "${T}"
|
||||
done
|
||||
|
||||
# bug 660358
|
||||
local -x COLUMNS=80
|
||||
|
||||
local -x PYTHONDONTWRITEBYTECODE=
|
||||
|
||||
emake test EXTRATESTOPTS="-u-network" CPPFLAGS= CFLAGS= LDFLAGS= < /dev/tty
|
||||
local result=$?
|
||||
|
||||
for test in ${skipped_tests}; do
|
||||
mv "${T}/test_${test}.py" "${S}"/Lib/test
|
||||
done
|
||||
|
||||
elog "The following tests have been skipped:"
|
||||
for test in ${skipped_tests}; do
|
||||
elog "test_${test}.py"
|
||||
done
|
||||
|
||||
elog "If you would like to run them, you may:"
|
||||
elog "cd '${EPREFIX}/usr/lib/python${PYVER}/test'"
|
||||
elog "and run the tests separately."
|
||||
|
||||
if [[ ${result} -ne 0 ]]; then
|
||||
die "emake test failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local libdir=${ED}/usr/lib/python${PYVER}
|
||||
|
||||
emake DESTDIR="${D}" altinstall
|
||||
|
||||
# Remove static library
|
||||
rm "${ED}"/usr/$(get_libdir)/libpython*.a || die
|
||||
|
||||
sed \
|
||||
-e "s/\(CONFIGURE_LDFLAGS=\).*/\1/" \
|
||||
-e "s/\(PY_LDFLAGS=\).*/\1/" \
|
||||
-i "${libdir}/config-${PYVER}"*/Makefile || die "sed failed"
|
||||
|
||||
# Fix collisions between different slots of Python.
|
||||
rm "${ED}/usr/$(get_libdir)/libpython3.so" || die
|
||||
|
||||
# Cheap hack to get version with ABIFLAGS
|
||||
local abiver=$(cd "${ED}/usr/include"; echo python*)
|
||||
if [[ ${abiver} != python${PYVER} ]]; then
|
||||
# Replace python3.X with a symlink to python3.Xm
|
||||
rm "${ED}/usr/bin/python${PYVER}" || die
|
||||
dosym "${abiver}" "/usr/bin/python${PYVER}"
|
||||
# Create python3.X-config symlink
|
||||
dosym "${abiver}-config" "/usr/bin/python${PYVER}-config"
|
||||
# Create python-3.5m.pc symlink
|
||||
dosym "python-${PYVER}.pc" "/usr/$(get_libdir)/pkgconfig/${abiver/${PYVER}/-${PYVER}}.pc"
|
||||
fi
|
||||
|
||||
# python seems to get rebuilt in src_install (bug 569908)
|
||||
# Work around it for now.
|
||||
if has_version dev-libs/libffi[pax_kernel]; then
|
||||
pax-mark E "${ED}/usr/bin/${abiver}"
|
||||
else
|
||||
pax-mark m "${ED}/usr/bin/${abiver}"
|
||||
fi
|
||||
|
||||
use sqlite || rm -r "${libdir}/"{sqlite3,test/test_sqlite*} || die
|
||||
use tk || rm -r "${ED}/usr/bin/idle${PYVER}" "${libdir}/"{idlelib,tkinter,test/test_tk*} || die
|
||||
|
||||
dodoc Misc/{ACKS,HISTORY,NEWS}
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
find Tools -name __pycache__ -exec rm -fr {} + || die
|
||||
dodoc -r Tools
|
||||
fi
|
||||
insinto /usr/share/gdb/auto-load/usr/$(get_libdir) #443510
|
||||
local libname=$(printf 'e:\n\t@echo $(INSTSONAME)\ninclude Makefile\n' | \
|
||||
emake --no-print-directory -s -f - 2>/dev/null)
|
||||
newins "${S}"/Tools/gdb/libpython.py "${libname}"-gdb.py
|
||||
|
||||
newconfd "${FILESDIR}/pydoc.conf" pydoc-${PYVER}
|
||||
newinitd "${FILESDIR}/pydoc.init" pydoc-${PYVER}
|
||||
sed \
|
||||
-e "s:@PYDOC_PORT_VARIABLE@:PYDOC${PYVER/./_}_PORT:" \
|
||||
-e "s:@PYDOC@:pydoc${PYVER}:" \
|
||||
-i "${ED}/etc/conf.d/pydoc-${PYVER}" \
|
||||
"${ED}/etc/init.d/pydoc-${PYVER}" || die "sed failed"
|
||||
|
||||
# for python-exec
|
||||
local vars=( EPYTHON PYTHON_SITEDIR PYTHON_SCRIPTDIR )
|
||||
|
||||
# if not using a cross-compiler, use the fresh binary
|
||||
if ! tc-is-cross-compiler; then
|
||||
local -x PYTHON=./python
|
||||
local -x LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}${PWD}
|
||||
else
|
||||
vars=( PYTHON "${vars[@]}" )
|
||||
fi
|
||||
|
||||
python_export "python${PYVER}" "${vars[@]}"
|
||||
echo "EPYTHON='${EPYTHON}'" > epython.py || die
|
||||
python_domodule epython.py
|
||||
|
||||
# python-exec wrapping support
|
||||
local pymajor=${PYVER%.*}
|
||||
mkdir -p "${D}${PYTHON_SCRIPTDIR}" || die
|
||||
# python and pythonX
|
||||
ln -s "../../../bin/${abiver}" \
|
||||
"${D}${PYTHON_SCRIPTDIR}/python${pymajor}" || die
|
||||
ln -s "python${pymajor}" "${D}${PYTHON_SCRIPTDIR}/python" || die
|
||||
# python-config and pythonX-config
|
||||
# note: we need to create a wrapper rather than symlinking it due
|
||||
# to some random dirname(argv[0]) magic performed by python-config
|
||||
cat > "${D}${PYTHON_SCRIPTDIR}/python${pymajor}-config" <<-EOF || die
|
||||
#!/bin/sh
|
||||
exec "${abiver}-config" "\${@}"
|
||||
EOF
|
||||
chmod +x "${D}${PYTHON_SCRIPTDIR}/python${pymajor}-config" || die
|
||||
ln -s "python${pymajor}-config" \
|
||||
"${D}${PYTHON_SCRIPTDIR}/python-config" || die
|
||||
# 2to3, pydoc
|
||||
ln -s "../../../bin/2to3-${PYVER}" \
|
||||
"${D}${PYTHON_SCRIPTDIR}/2to3" || die
|
||||
ln -s "../../../bin/pydoc${PYVER}" \
|
||||
"${D}${PYTHON_SCRIPTDIR}/pydoc" || die
|
||||
# idle
|
||||
if use tk; then
|
||||
ln -s "../../../bin/idle${PYVER}" \
|
||||
"${D}${PYTHON_SCRIPTDIR}/idle" || die
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -0,0 +1,30 @@
|
||||
diff --git a/.cmake/Modules/PackageUtils.cmake b/.cmake/Modules/PackageUtils.cmake
|
||||
index 593f2d1..a771fd5 100644
|
||||
--- a/.cmake/Modules/PackageUtils.cmake
|
||||
+++ b/.cmake/Modules/PackageUtils.cmake
|
||||
@@ -50,9 +50,9 @@ function (cr_add_library _LIB)
|
||||
endforeach ()
|
||||
|
||||
install(TARGETS ${_LIB}
|
||||
- RUNTIME DESTINATION bin
|
||||
- LIBRARY DESTINATION lib
|
||||
- ARCHIVE DESTINATION lib ${install_flags}
|
||||
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} ${install_flags}
|
||||
)
|
||||
endfunction ()
|
||||
|
||||
diff --git a/src/criterion.pc.in b/src/criterion.pc.in
|
||||
index 18ac3d6..23737a4 100644
|
||||
--- a/src/criterion.pc.in
|
||||
+++ b/src/criterion.pc.in
|
||||
@@ -1,7 +1,7 @@
|
||||
prefix=@CMAKE_INSTALL_PREFIX@
|
||||
exec_prefix=${prefix}
|
||||
includedir=${prefix}/include
|
||||
-libdir=${prefix}/lib
|
||||
+libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
|
||||
|
||||
Name: @PROJECT_NAME@
|
||||
Description: A KISS, Cross platform unit testing framework for C and C++
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST XML_Util-1.4.2.tgz 18993 BLAKE2B b2667aed3b3ec75dd8fca1625c6fa3d03a7662c24ce0fce69cb983f42fc3f45bc0bf27bdee7353c1d29fe0eabc181f2cbd415883575f5d6cf7163097c10f6d9c SHA512 e0a328f92cdcd09277238e14d68b73cba319ab9b4e9c50ab102b43f73c889599f5933415dc228bd1feb56a48c1527e0e9a86999ee2209b2d84131691aee74cbe
|
||||
DIST XML_Util-1.4.3.tgz 18842 BLAKE2B 1cd0065b84e07a8cbc7f4d44c10362d40e71254b4964b3aa3d4d11cad5cb7e5bce780f926c69cc4fc871ac3c28d8239a428c145389950b4d6f6e626b6215dfc9 SHA512 c21a7cef90743e124c4bc8e0453b634de8f6a6b0aac060acc1a17f481a2eb8757d322b05c69151280b7651cea927b2c64b7d49b9fd815dcdc606d0472d967310
|
||||
DIST XML_Util-1.4.4.tgz 19069 BLAKE2B bd809d8a3250e5d08793f6d6ae50ebdbd0e95e46b667edf7176ac125b902cee8334bc6abe85704a945a508cba6a2146e5bbcb6039a40316ea8d2b1b30590d139 SHA512 3c2ae4492e76729da561398a43416cd540284297b497d2c1526515c00ba2918b9d520b580e21111cf9f9e133d473289cc9c896bc28ddd0c64a849ee66f897e42
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
MY_PN="${PN/PEAR-/}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="XML utility class"
|
||||
HOMEPAGE="https://pear.php.net/package/XML_Util"
|
||||
SRC_URI="https://pear.php.net/get/${MY_P}.tgz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="examples"
|
||||
|
||||
# PCRE is needed for a few calls to preg_replace and preg_match.
|
||||
RDEPEND="dev-lang/php:*[pcre(+)]"
|
||||
PDEPEND="dev-php/PEAR-PEAR"
|
||||
DEPEND=""
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/php
|
||||
doins -r XML
|
||||
|
||||
use examples && dodoc -r examples
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST igbinary-2.0.8.tar.gz 189726 BLAKE2B c4691cda07095c3907fc1caf86b1ba5a066a4d3cc4ca7274b9c825e1dd299ec6240bd703152510428cff8b7ca59571bc478a8679033c6fb852e54bae697d3180 SHA512 0161e05b246a3b749213fffafd74265e337fc657ea5e1390507a48865e9434aa3ac7e73bd9d04bfef0d8ceeae222a95cb9490d4705ad2b4607b3eaf2d05962c6
|
||||
DIST igbinary-3.0.1.tar.gz 170957 BLAKE2B 2250ef228b059d5d87615412ffae3242cd757df25dc9a1bfe2a4d1dc33a417a4389abb2ab613359537a6ee3947526caded0ec584049e3d42669532b4a930afc9 SHA512 4930670ecdc1796fa73184e8f12bf570f7b1a43cb422cede056ccd1ca28fc950b00a9418519c59a9c07e346a89153b6b105e873fcfccb1365d43d4abf98804da
|
||||
DIST igbinary-3.1.0.tar.gz 210822 BLAKE2B ecc662ca5d1f762dfc5d8e660a7ce7caa1ea2c26e42326d55072d20c4310cc67e977ceab5dd7b8adb331b7ebd63b84aecaf0af2c722e72866b44d3d25ae48d24 SHA512 7b20048b2923ebf760b9743cd08aab04b90f02f3e6ddf840e829db9e6c5335cf936a5218b1590b31b1b553e7748e393d3aee83214b83532b722f4590a36f5b38
|
||||
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PHP_EXT_NAME="${PN}"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
DOCS=( CREDITS NEWS README.md )
|
||||
PHP_EXT_ECONF_ARGS=( --enable-${PN} )
|
||||
|
||||
USE_PHP="php7-1 php7-2 php7-3 php7-4"
|
||||
|
||||
inherit php-ext-source-r3
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
|
||||
DESCRIPTION="A fast drop-in replacement for the standard PHP serialize"
|
||||
HOMEPAGE="https://github.com/igbinary/igbinary"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
#IUSE=""
|
||||
|
||||
#DEPEND=""
|
||||
#RDEPEND=""
|
@ -1 +1,2 @@
|
||||
DIST uuid-1.0.4.tgz 14900 BLAKE2B d653329fbac1bec66d842e048b290ac6b0382f78e6ccd6f2158bafaaa375ae4e951f794d4b70c139b23a28d6ddbc1f44be47cf2af0bd2fd09de33beb17b0f837 SHA512 989d993f8158a13026b8e5c02f4aa50489b1a946d12da81dd1fff6091839a45b180562f74c8af368a498c495477374ec9e1d536e7de0178c1f288e3abe360164
|
||||
DIST uuid-1.1.0.tgz 15225 BLAKE2B 0a5a326076707e0d3e7c779151a13853e52d026ebdf62c9ab147cf5d00bbc68a3d82e15101c1d4a232d96ea7e988304a25517723adb3127938474172dfab16c2 SHA512 aea814a12e266e4a9e36c58bae78927fa9de6d2b7bf9c75a911710b26958aeecd31d972f56519cf4882a4b13864bc0740ad968b06e704ce7642279253009e76d
|
||||
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PHP_EXT_NAME="uuid"
|
||||
PHP_EXT_INIT="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
DOCS=( CREDITS )
|
||||
|
||||
USE_PHP="php7-1 php7-2 php7-3 php7-4"
|
||||
|
||||
inherit php-ext-pecl-r3
|
||||
|
||||
DESCRIPTION="A wrapper around libuuid"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="sys-apps/util-linux"
|
||||
RDEPEND="${DEPEND}"
|
||||
PHP_EXT_ECONF_ARGS=()
|
@ -1,2 +1,3 @@
|
||||
DIST phpunit-5.7.15.tar.gz 205474 BLAKE2B 0220edd59fc3f191b7621f275d3e4ee8f8bf514f74533d99bfb925e11cc54a235fb292ffd1bb54f6bec1e038c06e35a0dc43c1227618590f99e7e85638a7de28 SHA512 6a836e1ad1656fd1d1c5a58ced3c1826b4decc01798b6a804b487c9b4e094ec32f6eb8a84058e268eade62a2fe19d7bd1e760b8b9433299d9fe9c09afdf2bdd3
|
||||
DIST phpunit-8.5.0.tar.gz 311500 BLAKE2B 1b21b898f8a933a228bb6f0197e1a884fe1ab67e7774194d32d23393b2ee649a307e0d00cc6a3b89bad19ab5abc22de8fbc99ff41dc69a006117eabe626cd86a SHA512 3f2c615fbe05c2c04db71b237716ffa3a9ac2c0a5e490fea5db9780efe7f825d47ebb04e81dcdbd4c55f2c3667caf2de79cdbeece6c10ec999c9786fee245721
|
||||
DIST phpunit-8.5.1.tar.gz 311607 BLAKE2B be746b70df855dd53a7faf61801258e2a3ec4f1ea008575328505e174193990d60d35533a220e03c93a4a013bcf177de71c3f8c1b856767a7cc52ab6aaaef0d6 SHA512 ab2d01d924ed34fc843f33f917e8aab6987ec547e02cdc662ce1f6d6ee383b064bb63a6f71420daee49ef87499471aa4e98b99ab6fc585229738efcbfb87fd46
|
||||
|
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="A PHP Unit Testing framework"
|
||||
HOMEPAGE="http://phpunit.de"
|
||||
SRC_URI="https://github.com/sebastianbergmann/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-php/fedora-autoloader
|
||||
>=dev-php/File_Iterator-2.0.2
|
||||
<dev-php/File_Iterator-3.0
|
||||
>=dev-php/Text_Template-1.2.1
|
||||
<dev-php/Text_Template-2.0
|
||||
>=dev-php/PHP_CodeCoverage-7.0.7
|
||||
<dev-php/PHP_CodeCoverage-8.0
|
||||
>=dev-php/PHP_Timer-2.1.2
|
||||
<dev-php/PHP_Timer-3.0
|
||||
>=dev-php/doctrine-instantiator-1.2
|
||||
<dev-php/doctrine-instantiator-2.0
|
||||
>=dev-php/myclabs-deepcopy-1.9.1
|
||||
<dev-php/myclabs-deepcopy-2.0
|
||||
>=dev-php/phar-io-manifest-1.0.3
|
||||
<dev-php/phar-io-manifest-2.0
|
||||
>=dev-php/phar-io-version-2.0.1
|
||||
<dev-php/phar-io-version-3.0
|
||||
>=dev-php/phpspec-prophecy-1.8.1
|
||||
<dev-php/phpspec-prophecy-2.0
|
||||
>=dev-php/sebastian-comparator-3.0.2
|
||||
<dev-php/sebastian-comparator-4.0
|
||||
>=dev-php/sebastian-diff-3.0.2
|
||||
<dev-php/sebastian-diff-4.0
|
||||
>=dev-php/sebastian-environment-4.2.2
|
||||
<dev-php/sebastian-environment-5.0
|
||||
>=dev-php/sebastian-exporter-3.1.1
|
||||
<dev-php/sebastian-exporter-4.0
|
||||
>=dev-php/sebastian-global-state-3.0
|
||||
<dev-php/sebastian-global-state-4.0
|
||||
>=dev-php/sebastian-object-enumerator-3.0.3
|
||||
<dev-php/sebastian-object-enumerator-4.0
|
||||
>=dev-php/sebastian-resource-operations-2.0.1
|
||||
<dev-php/sebastian-resource-operations-3.0
|
||||
<dev-php/sebastian-type-2.0
|
||||
<dev-php/sebastian-version-3.0
|
||||
>=dev-lang/php-7.2:*[cli(-),json(-),unicode(-),xml(-),xmlwriter(-)]
|
||||
!dev-php/phpunit-mock-objects
|
||||
"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/php/PHPUnit
|
||||
doins -r src/*
|
||||
insinto /usr/share/php/PHPUnit/vendor
|
||||
newins "${FILESDIR}/autoload-8.5.0.php" autoload.php
|
||||
exeinto /usr/share/php/PHPUnit
|
||||
doexe phpunit
|
||||
dosym ../share/php/PHPUnit/phpunit /usr/bin/phpunit
|
||||
insinto /usr/share/php
|
||||
doins phpunit.xsd
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "${PN} can optionally use json, pdo-sqlite and pdo-mysql features."
|
||||
elog "If you want those, emerge dev-lang/php with USE=\"json pdo sqlite mysql\"."
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST swoole-4.2.13.tgz 1305634 BLAKE2B bb30180f7ca7b024a2aab8aff1149f6b19035315c9518dfc9e9e2e02acde09aa4cd09fbe146aefd39fc09c25af68347a5c188ca8a21677926b1adea5b549858b SHA512 f2438ce761766d20a24279a2d6f2094c718324585b1d396344f64e8a4facc1cc025a3afb2deff3b1accd5266763bdaa0a2b15e831ea4b9bdb107c83b0046636d
|
||||
DIST swoole-4.4.12.tgz 1436554 BLAKE2B cc9e64e108aa9b393265708a6922f53824c2e9941c0f47f4f6aacf93239829381cdf4625af8f30e2ca8ceb1663047c6be8b2d7808dbc29d27100135288f7ac85 SHA512 8899bb048b85c048903c80fe1af045ea4f82a25b3b4fd9995d51c8a2ab144306f9f5651276776e3f6a29c83322fb0aeee2822d131247070fe9e2e87b26f2e0e9
|
||||
DIST swoole-4.4.14.tgz 1440095 BLAKE2B 8a893604a84f750b95bb63a3c6ce9869a80a700b58e744e0da588dcdb88b9d9ae8fa5b73548cc182e255d7fe4e49139c3da9bcec40a54af94c35d355ee4cbfe0 SHA512 73b598069d38dcc3201a31fdd93c1bcf0ce31ab5399bade8c31f6decae25ef6e9c0aefe0412409158c1dd0fe502751c8e669e0a34561cb1b36448366708572c6
|
||||
|
@ -0,0 +1,74 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PHP_EXT_NAME="swoole"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
PHP_EXT_SAPIS="cli"
|
||||
DOCS=( README.md )
|
||||
|
||||
USE_PHP="php7-1 php7-2 php7-3 php7-4"
|
||||
|
||||
inherit php-ext-pecl-r3
|
||||
|
||||
HOMEPAGE="https://www.swoole.co.uk"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DESCRIPTION="Event-driven asynchronous & concurrent & coroutine networking engine"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
# Tests can hang. Disable until this no longer happens
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="
|
||||
app-arch/brotli:0=
|
||||
dev-libs/libaio
|
||||
dev-libs/boost:0=
|
||||
dev-libs/libpcre
|
||||
sys-libs/zlib:0=
|
||||
http2? ( net-libs/nghttp2:0= )
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)
|
||||
php_targets_php7-1? ( dev-lang/php:7.1[cli,sockets?] )
|
||||
php_targets_php7-2? ( dev-lang/php:7.2[cli,sockets?] )
|
||||
php_targets_php7-3? ( dev-lang/php:7.3[cli,sockets?] )
|
||||
php_targets_php7-4? ( dev-lang/php:7.4[cli,sockets?] )
|
||||
mysql? (
|
||||
php_targets_php7-1? ( dev-lang/php:7.1[mysql,mysqli(+)] )
|
||||
php_targets_php7-2? ( dev-lang/php:7.2[mysql,mysqli(+)] )
|
||||
php_targets_php7-3? ( dev-lang/php:7.3[mysql,mysqli(+)] )
|
||||
php_targets_php7-4? ( dev-lang/php:7.4[mysql,mysqli(+)] )
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
IUSE="debug http2 libressl mysql sockets ssl"
|
||||
|
||||
src_configure() {
|
||||
# JEMalloc not included as it refuses to find a ${EROOT}/usr/includes/jemalloc subdirectory
|
||||
local PHP_EXT_ECONF_ARGS=(
|
||||
--enable-swoole
|
||||
$(use_enable debug)
|
||||
$(use_enable http2)
|
||||
$(use_enable mysql mysqlnd)
|
||||
$(use_enable ssl openssl)
|
||||
$(use_with ssl openssl-dir "${EROOT}/usr")
|
||||
$(use_enable sockets)
|
||||
)
|
||||
|
||||
php-ext-source-r3_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local slot
|
||||
for slot in $(php_get_slots); do
|
||||
php_init_slot_env "${slot}"
|
||||
[[ -f tests/template.phpt ]] && rm tests/template.phpt
|
||||
SKIP_ONLINE_TESTS="yes" NO_INTERACTION="yes" emake test
|
||||
done
|
||||
}
|
Binary file not shown.
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python3_{5,6,7} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="https://pypi.org/project/awscli/"
|
||||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
# requires network access
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-1.13.46[${PYTHON_USEDEP}]
|
||||
<dev-python/colorama-0.3.9.0[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
<dev-python/rsa-3.5.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.2.0[${PYTHON_USEDEP}]
|
||||
<dev-python/pyyaml-5.2.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
BDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
S="${WORKDIR}/aws-cli-${PV}"
|
||||
|
||||
python_test() {
|
||||
nosetests -vv || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python2_7 python3_5 python3_6 python3_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Low-level, data-driven core of boto 3."
|
||||
HOMEPAGE="https://github.com/boto/botocore"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="doc test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/boto/botocore"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
RDEPEND="
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/jmespath[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
dev-python/urllib3[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? (
|
||||
dev-python/guzzle_sphinx_theme[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
)
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch" )
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
PYTHONPATH="${BUILD_DIR}/lib" nosetests -v tests/unit || die "unit tests failed under ${EPYTHON}"
|
||||
PYTHONPATH="${BUILD_DIR}/lib" nosetests -v tests/functional || die "functional tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/build/html/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,73 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
if [ "${PV}" == "9999" ]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/python/${PN}"
|
||||
SRC_URI=""
|
||||
else
|
||||
TYPESHED_COMMIT="a06abc5"
|
||||
SRC_URI="https://github.com/python/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://api.github.com/repos/python/typeshed/tarball/${TYPESHED_COMMIT} -> mypy-typeshed-${PV}-${TYPESHED_COMMIT}.tar.gz"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Optional static typing for Python"
|
||||
HOMEPAGE="http://www.mypy-lang.org/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/flake8[${PYTHON_USEDEP}] )
|
||||
doc? (
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
CDEPEND="
|
||||
!dev-util/stubgen
|
||||
>=dev-python/psutil-4[${PYTHON_USEDEP}]
|
||||
>=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}]
|
||||
<dev-python/typed-ast-1.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/typing-extensions-3.7.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}]
|
||||
<dev-python/mypy_extensions-0.5.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
src_unpack() {
|
||||
if [ "${PV}" == "9999" ]; then
|
||||
git-r3_src_unpack
|
||||
else
|
||||
unpack ${A}
|
||||
rmdir "${S}/mypy/typeshed"
|
||||
mv "${WORKDIR}/python-typeshed-${TYPESHED_COMMIT}" "${S}/mypy/typeshed"
|
||||
fi
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local PYTHONPATH="$(pwd)"
|
||||
|
||||
"${PYTHON}" runtests.py || die "tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/build/html/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST mypy_extensions-0.4.1.tar.gz 3548 BLAKE2B 48ded2fefa384242f7feaabe8be840afa623ec89b53c91c51d403684fdae8c6a25e4f88cc9f30c31537958df551a5da42fdb13b49881266da62006843824cc84 SHA512 e862a17b07d2c922b460012798d27d925cdeed4b8dbe9a1e38cb125df5546ca87039ebf32ad4151820d3444ba729fb0eb01c59576084724eb4ca19c5c2a52ac9
|
||||
DIST mypy_extensions-0.4.3.tar.gz 5545 BLAKE2B 8f1f988562390ee1ba3d90cafafec73c6fe080eef6b4321252d3b3aeffebf1ad13bdcae7ae75c69eac7bef91dcf3f846ae7f9a3f2ad6bad9de2bc8cfe5eed29f SHA512 22d8dc538cf6f77d97f4113dd34fce8095dd98944c7613fab2b3e71a3e9b7df1374654af41ead5c934f789ef1b72f54d980ab06f3ca28b8b4c6bb14ba1ca3ce2
|
||||
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python3_6 python3_7 python3_8 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Optional static typing for Python"
|
||||
HOMEPAGE="http://www.mypy-lang.org/"
|
||||
SRC_URI="https://github.com/python/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
if [ "${PV}" == "9999" ]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/python/${PN}"
|
||||
EGIT_COMMIT="master"
|
||||
else
|
||||
EGIT_REPO_URI="${PV}"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
doc? (
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
DEPEND="
|
||||
test? ( dev-python/flake8[${PYTHON_USEDEP}] )
|
||||
${RDEPEND}
|
||||
"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local PYTHONPATH="$(pwd)"
|
||||
|
||||
"${PYTHON}" runtests.py || die "tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/build/html/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,7 +1,8 @@
|
||||
DIST python-2.7.14-docs-html.tar.bz2 4604956 BLAKE2B 743f3cf0c741916d2efbf8ebdee077800dad7d9e38fc7a2f60e2fb8f0e3dd3978fda8b286fccd6cbba87ed3e6fd289401019131c00a03809a1528533cd29488d SHA512 3a8c0e8d083880e5e174090eb39514b27b0f00021b3874a2ffcfcaf4d43020764d9d8415d2387e0ce8e59e6e193571cbad06dbfdd1d30f8be06e1f27b375bc10
|
||||
DIST python-3.4.5-docs-html.tar.bz2 5521895 BLAKE2B 59a9e1dfc6339edf2d8de498013383fdf8c132dd4f2e58c9054ea22229a305a2aa140d8d4e1703297c089ac206081d97fd0100bb6f90c0b7353f30f9df3d3274 SHA512 241a2bf46a2ae6606bcdf60c456e909d5c84c8c82661f38b621a91869c51dd0be980a5d7023d12fe98c2eb60b0ad913c67e7f94698c7ad1015d56c6592504bc2
|
||||
DIST python-3.4.6-docs-html.tar.bz2 5517260 BLAKE2B c8e605a3b27358c22e2047241a4b92b3918a6fff0ef3b8cc8153ca6fd8d17eb38e58f83f47e27a0b19ef73f3a8339f28dfcce7df621c1deeadc6fb746522d2e9 SHA512 a561ca54fe3fd8b9f1a419eb95ffd6001eaa303bf0b5ba75f726915d94926d3ddde0b918cd7ac8897e202b61226832d332aeb748ea1cda22db09132ce64c7c0d
|
||||
DIST python-3.5.4-docs-html.tar.bz2 5747840 BLAKE2B 013791c8d0023ffa3d3e07ecfbb82dd36d2fc3e14514f4e14ba90e3d65d05aa4c3ec7cf7c86fe88090dfa0323c444acdefafa36aa315c98db1b5f7af9c0bd5fe SHA512 b1c6028e91bdb0a85a6765ab66c50574804f0aa799c6d13ed4163e6aaba98eeecfacd8576fbb6a721028fe84049ac1718497ad491f993973e3e410a660a10084
|
||||
DIST python-2.7.17-docs-html.tar.bz2 4605137 BLAKE2B 40d67a1443fd8df792e6721354efd62116352980e9353f7d334d4f8f1fba64ed7fd87b011cf1ebf47822607bb0ae970d47246bb83370cc922a51a85fd433357e SHA512 e0f1b2c75297dfb7b0b8913423db0d6ee9fde171b346831244fae5a783c2f834ef49dd137d835d4f052bb65a5962e051835b298271ad679dcf19b1d9118d968b
|
||||
DIST python-3.6.10-docs-html.tar.bz2 5994263 BLAKE2B 5491942b7b19af3a880dabd146cdc5c1fdab583eab8cec38554c92afc824dd8d011553cfad957fb68abcea102f41436f25a716a28356ed7f18e6f70337d2734b SHA512 67a0e7973da0314031d9a8993cef4947b8bcab86c2c557364a3acebcc9047529acf22a26f16a26d3126489bc813d6bb7bf39d3e283c490bad434f215af92f754
|
||||
DIST python-3.6.3-docs-html.tar.bz2 5945784 BLAKE2B 88473f63c6a0d533d568184b8459353bea3bc49c24a0a0e5f3ea240556971f3a76018f08f18371b8c7cdeaee93c4cf466fb20eb774db96ad4e63fb45ce730e26 SHA512 ffd6ea459ba36b19c788638f7e2f72ecd286218ed7eb29493819137c4bc25c02714128f07b781ad642eb08826d00924bd1b90a236ba46107bbe17de6633fa1ad
|
||||
DIST python-3.6.4-docs-html.tar.bz2 5955729 BLAKE2B 71e6e198069297860ac84be125586cb5757a34e2b342358517d62656734545fc221812f3c54cdbdb877188648551c3e1cc9331f159d011ca2b0bef587847a471 SHA512 a4cf51ec0e7127f417b066e2727258395954dfc5f1aaa0ad1d25e81dae40ace0d51b18413600fce0f5b1002e4b130a3914b7c9244025375e8fe5332c8d86635d
|
||||
DIST python-3.7.0-docs-html.tar.bz2 6222504 BLAKE2B 150382e6ce9c241bf8654efc2c7515e1399291eca38b91c44c51d24302fc239a764af7d22dcc69378338cb3c0f7e2d7e517af238f8c38f32be8a76037880206c SHA512 f5583e8d2792932ff3c90575ce98446f0f11eab3a78a1ea8df0203f29583ff9c2831879817ae5fb23cfdb32238d385361b7956c352c6431e9801e6509d3c5f09
|
||||
DIST python-3.7.6-docs-html.tar.bz2 6248802 BLAKE2B b2baff27bf3fc61ebe521b5bf621c265a50336d63ec8c2e14f8f2fa75b552fa4f959b3448ed39ebf18bece46cdc14f8a7a62cae3fcdd4f44e3db09489807bf4f SHA512 52657627dfe088184afbc0827731cf919884f21ae483c934a84e1e93bd1b03fe7b948da8ea8dfc1ba80e0557504d14eab729d22b7230000ba34731e1b866a253
|
||||
DIST python-3.8.1-docs-html.tar.bz2 6527362 BLAKE2B b13fb15b93f7a244e082b7cc8ceac6fffac5b81bffa5c183c546e19dcf8839ad227d3263cc5662717e46f1daccca7dc1299260c1cadf601ac43dd61d501e256f SHA512 5cfcdce2fc12824d512e59689b070541f461404ff74aa5ab980576af95449c18c9340687a405af6ea48f7f1826f85a26cd86dfbe07acdb984687bc0fdb5a8edd
|
||||
|
@ -1,26 +1,23 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eapi7-ver
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="HTML documentation for Python"
|
||||
HOMEPAGE="https://www.python.org/doc/"
|
||||
SRC_URI="https://www.python.org/ftp/python/doc/${PV}/python-${PV}-docs-html.tar.bz2"
|
||||
S="${WORKDIR}/python-${PV}-docs-html"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="$(ver_cut 1-2)"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/python-${PV}-docs-html"
|
||||
|
||||
src_install() {
|
||||
rm -r _sources || die
|
||||
docinto html
|
||||
dodoc -r .
|
||||
|
||||
echo "PYTHONDOCS_${SLOT//./_}=\"${EPREFIX}/usr/share/doc/${PF}/html/library\"" > "60python-docs-${SLOT}" || die
|
||||
doenvd "60python-docs-${SLOT}"
|
||||
newenvd - 60python-docs-${SLOT} <<-EOF
|
||||
PYTHONDOCS_${SLOT//./_}="${EPREFIX}/usr/share/doc/${PF}/html/library"
|
||||
EOF
|
||||
}
|
@ -1,26 +1,23 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eapi7-ver
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="HTML documentation for Python"
|
||||
HOMEPAGE="https://www.python.org/doc/"
|
||||
SRC_URI="https://www.python.org/ftp/python/doc/${PV}/python-${PV}-docs-html.tar.bz2"
|
||||
S="${WORKDIR}/python-${PV}-docs-html"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="$(ver_cut 1-2)"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/python-${PV}-docs-html"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
|
||||
src_install() {
|
||||
rm -r _sources || die
|
||||
docinto html
|
||||
dodoc -r .
|
||||
|
||||
echo "PYTHONDOCS_${SLOT//./_}=\"${EPREFIX}/usr/share/doc/${PF}/html/library\"" > "60python-docs-${SLOT}" || die
|
||||
doenvd "60python-docs-${SLOT}"
|
||||
newenvd - 60python-docs-${SLOT} <<-EOF
|
||||
PYTHONDOCS_${SLOT//./_}="${EPREFIX}/usr/share/doc/${PF}/html/library"
|
||||
EOF
|
||||
}
|
@ -1,26 +1,23 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eapi7-ver
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="HTML documentation for Python"
|
||||
HOMEPAGE="https://www.python.org/doc/"
|
||||
SRC_URI="https://www.python.org/ftp/python/doc/${PV}/python-${PV}-docs-html.tar.bz2"
|
||||
S="${WORKDIR}/python-${PV}-docs-html"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="$(ver_cut 1-2)"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/python-${PV}-docs-html"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
|
||||
src_install() {
|
||||
rm -r _sources || die
|
||||
docinto html
|
||||
dodoc -r .
|
||||
|
||||
echo "PYTHONDOCS_${SLOT//./_}=\"${EPREFIX}/usr/share/doc/${PF}/html/library\"" > "60python-docs-${SLOT}" || die
|
||||
doenvd "60python-docs-${SLOT}"
|
||||
newenvd - 60python-docs-${SLOT} <<-EOF
|
||||
PYTHONDOCS_${SLOT//./_}="${EPREFIX}/usr/share/doc/${PF}/html/library"
|
||||
EOF
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="HTML documentation for Python"
|
||||
HOMEPAGE="https://www.python.org/doc/"
|
||||
SRC_URI="https://www.python.org/ftp/python/doc/${PV}/python-${PV}-docs-html.tar.bz2"
|
||||
S="${WORKDIR}/python-${PV}-docs-html"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="$(ver_cut 1-2)"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
|
||||
src_install() {
|
||||
rm -r _sources || die
|
||||
docinto html
|
||||
dodoc -r .
|
||||
|
||||
newenvd - 60python-docs-${SLOT} <<-EOF
|
||||
PYTHONDOCS_${SLOT//./_}="${EPREFIX}/usr/share/doc/${PF}/html/library"
|
||||
EOF
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST statsmodels-0.10.2.tar.gz 14065612 BLAKE2B 0df1268de5e4108b3cc541df87a5b9d2321bd3062d4daf1cc1aa62ab08ee777bace2f10bdfb51f088a66f15287c62cf851b3f43efa7eb1227e71c06632e80d55 SHA512 bd1c0784b0b17a3ca69fef5848f5eea8dcf76b1943599a5e5c285e45b7fcc7e44c0e388f007913d420ff6f3cb66a653d1c43e6e8addef534ff5572fa69ffb54a
|
||||
DIST statsmodels-0.9.0.tar.gz 12658359 BLAKE2B 1b451edc281ac8bfd35441d7f31ff02c7068b854c06a5e50fcb6fb2ff3c023bbee264a25407078f99ca08e467676a32c1a0156dec668673bad3e8d7a46a95154 SHA512 a0310129ee915dce5006e4e40190d19c3a09facad398ff089fa4a244d51a035f9591267fd8d34a00ce82e4cab893df96787596f9d350d878e97a0bb3305f1bd5
|
||||
|
@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
DESCRIPTION="Statistical computations and models for use with SciPy"
|
||||
HOMEPAGE="https://www.statsmodels.org/stable/index.html"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc examples test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
>=dev-python/pandas-0.23.0[${PYTHON_USEDEP}]
|
||||
dev-python/patsy[${PYTHON_USEDEP}]
|
||||
sci-libs/scipy[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="dev-python/cython[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? (
|
||||
dev-python/ipykernel[${PYTHON_USEDEP}]
|
||||
dev-python/jupyter_client[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
dev-python/nbconvert[${PYTHON_USEDEP}]
|
||||
dev-python/nbformat[${PYTHON_USEDEP}]
|
||||
dev-python/numpydoc[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
)
|
||||
test? (
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
python_prepare_all() {
|
||||
# Prevent un-needed d'loading
|
||||
sed -e "/sphinx.ext.intersphinx/d" -i docs/source/conf.py || die
|
||||
export VARTEXFONTS="${T}"/fonts
|
||||
export MPLCONFIGDIR="${T}"
|
||||
echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && esetup.py build_sphinx -b html --build-dir=docs/build
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cd "${BUILD_DIR}" || die
|
||||
${EPYTHON} -c 'import statsmodels; statsmodels.test()' || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/build/html/. )
|
||||
if use examples; then
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
dodoc -r examples
|
||||
fi
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "Plotting functionality" "dev-python/matplotlib"
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,4 +1,3 @@
|
||||
DIST dosbox-0.74-3.tar.gz 1326339 BLAKE2B bc25e6aba29747d4060269809d729904d8d187527c59953125c8591c0a91cf4583223c1bcf1224a041d44bfe5efcfe9034d6572954cf26870a290ff1b27e7d9d SHA512 3770f1578e71730168fba01809585f2a05cf8c4d420524687ba28791d242faad294401bb9cd268bba725798e1db853551f274dc00a4024331f5dcef9f87f8f5f
|
||||
DIST dosbox-code-0-3989-dosbox-trunk.zip 1327592 BLAKE2B 7a9eccd381c1ce7a08d6e650d94de9e82aa5fb1b63abd23b0f42d10d95df4ca2ba4b2c319f3375e030c1578f032ee7bde528f9c4bbc27b665733f7d035865376 SHA512 625eacc1a1190d87d56713f7af54e6a7886e7666ba9f7f0b1d553c96a2eb02ec7810ac2da73d014d5ea3b69f2a7658bdd445532abe030e7f6ef85a3c20bdd3c7
|
||||
DIST dosbox-code-0-r4302-dosbox-trunk.zip 1443140 BLAKE2B 91e7c5ceb90baa09fd30cf0d8799d900d6bcd94f2b1eead8493ee276b1ee038e093fde56874c58d379218b60e1b510f1d493d72fc275f206912304312ce58d0b SHA512 57758950fd3f0440f4e4d59191a059387a0c7c4559376a2ba826537423ac63d266defe2da37be81450bfece3e0d1caa79b7097ea7fcd3cf96cd04d8899123c69
|
||||
DIST dosbox_glide-841e1071597b64ead14dd08c25a03206b2d1d1b6.diff 96801 BLAKE2B d24d1f4262129899d807c275b1ae2d6c09056a126441665f37359302428f30576f399c4778b55f4eaec674e714d85243f576bfa3064887c5801daddc9e507aad SHA512 4cbe0ede9c4242aa346ca6c609b7a4d8e4e1d204d79d93ff741d58d3ca14e43a2e49cd696bd4bd54c13e62d1080320ee233963bac26f25bb0b4fada86e813ca2
|
||||
|
@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools desktop
|
||||
|
||||
PATCH=3989
|
||||
DESCRIPTION="DOS emulator"
|
||||
HOMEPAGE="http://dosbox.sourceforge.net/"
|
||||
SRC_URI="mirror://gentoo/dosbox-code-0-${PATCH}-dosbox-trunk.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ppc64 x86"
|
||||
IUSE="alsa debug hardened opengl"
|
||||
|
||||
RDEPEND="alsa? ( media-libs/alsa-lib )
|
||||
opengl? ( virtual/glu virtual/opengl )
|
||||
debug? ( sys-libs/ncurses:0 )
|
||||
media-libs/libpng:0
|
||||
media-libs/libsdl[joystick,video,X]
|
||||
media-libs/sdl-net
|
||||
media-libs/sdl-sound"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip"
|
||||
|
||||
S=${WORKDIR}/${PN}-code-0-${PATCH}-dosbox-trunk
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.74-gcc46.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable alsa alsa-midi) \
|
||||
$(use_enable !hardened dynamic-core) \
|
||||
$(use_enable !hardened dynamic-x86) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable opengl)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
make_desktop_entry dosbox DOSBox /usr/share/pixmaps/dosbox.ico
|
||||
doicon src/dosbox.ico
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
--- a/include/dos_inc.h 2011-04-28 08:46:04.505011354 +0200
|
||||
+++ b/include/dos_inc.h 2011-04-28 08:46:27.104408178 +0200
|
||||
@@ -21,6 +21,7 @@
|
||||
#ifndef DOSBOX_DOS_INC_H
|
||||
#define DOSBOX_DOS_INC_H
|
||||
|
||||
+#include <cstddef>
|
||||
#ifndef DOSBOX_DOS_SYSTEM_H
|
||||
#include "dos_system.h"
|
||||
#endif
|
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST dunelegacy-0.96.3-no-autoreconf.patch.xz 8908 BLAKE2B eb1c0a5a155851e199ad2c1f0cbd8f7c583ac148f92e1b2829607c0960bf09a6d8bea8e34749df726f394b3cf796f0c457086d993ace2b3336ce99ed36fb77e1 SHA512 fc17c771a19611057b2990b76eda0eea08e011dcac455bdf7e26bba1f2e2aa6cec120f2dcbce488a2318553f9e58b4a2b5ea24c7e1e27ada9ec5740f2b66ca4c
|
||||
DIST dunelegacy-0.96.3-src.tar.bz2 1652302 BLAKE2B 4502300f1364027f1734a0738a648a9ac473a142e8091d08f5c44996fa41a26e91ab030f90d3f961b95b44e7e2bcb72a376915dc014aafee5e3d0dc4f6c8915b SHA512 c84281b44bdac4eec360d90e2f23aa75468cf08c6edd6a5002c539e609312fd39e3284518ef5498201f2b0433d11cf2478cd13a2159af7c6bbef326e680fa241
|
||||
DIST dunelegacy-0.96.4-src.tar.bz2 2513167 BLAKE2B 119ccabc319a54fbc85906a215ccb44079dabf82568dbd446447bbc6fade873c4760da83a50351acf63aec49bf8364c50386eef2b0681bc7a895db870673340f SHA512 d6e152da4bc526ed05ac89fafc2e3467b1a95b3670987eeca262b7207e7dbe67dd228483cb5a432fe08232e34a52d4cb500b42cd186adb4bcde5da17419f7db0
|
||||
|
@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# do not use autotools related stuff in stable ebuilds
|
||||
# unless you like random breakage: 469796, 469798, 424041
|
||||
|
||||
EAPI=5
|
||||
inherit eutils gnome2-utils games # STABLE ARCH
|
||||
#inherit autotools eutils gnome2-utils games # UNSTABLE ARCH
|
||||
|
||||
DESCRIPTION="Updated clone of Westood Studios' Dune2"
|
||||
HOMEPAGE="http://dunelegacy.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.bz2"
|
||||
SRC_URI="${SRC_URI} https://dev.gentoo.org/~hasufell/distfiles/${P}-no-autoreconf.patch.xz" # STABLE ARCH
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="+alsa pulseaudio"
|
||||
|
||||
RDEPEND="media-libs/libsdl[X,alsa?,sound,pulseaudio?,video]
|
||||
media-libs/sdl-mixer[midi,mp3,vorbis]"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
# exits on start without libsdl[alsa] or libsdl[pulseaudio]
|
||||
REQUIRED_USE="|| ( alsa pulseaudio )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${DISTDIR}"/${P}-no-autoreconf.patch.xz # STABLE ARCH
|
||||
# epatch "${FILESDIR}"/${P}-build.patch # UNSTABLE ARCH
|
||||
# eautoreconf # UNSTABLE ARCH
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
doicon -s scalable ${PN}.svg
|
||||
doicon -s 48 ${PN}.png
|
||||
make_desktop_entry ${PN} "Dune Legacy"
|
||||
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
games_pkg_preinst
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit desktop xdg
|
||||
|
||||
DESCRIPTION="Updated clone of Westood Studios' Dune II"
|
||||
HOMEPAGE="http://dunelegacy.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.bz2"
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
|
||||
RDEPEND="media-libs/libsdl2[sound,threads,video]
|
||||
media-libs/sdl2-mixer[midi]"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-init-mid.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Prepend upstream flags.
|
||||
sed -i -r 's/^(C.*FLAGS)=[^$]+$/\0" ${\1}"/' configure{,.ac} || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
doicon -s scalable ${PN}.svg
|
||||
doicon -s 48 ${PN}.png
|
||||
newicon -s 128 ${PN}-128x128.png ${PN}.png
|
||||
make_desktop_entry ${PN} "Dune Legacy"
|
||||
}
|
@ -1,60 +0,0 @@
|
||||
Author: hasufell <hasufell@gentoo.org>
|
||||
Date: Thu Aug 9 18:57:40 2012 +0200
|
||||
|
||||
respect flags
|
||||
use pkg-config
|
||||
use LDADD instead of LDFLAGS for libs
|
||||
|
||||
--- configure.ac
|
||||
+++ configure.ac
|
||||
@@ -16,14 +16,6 @@
|
||||
|
||||
AC_SUBST(dunelegacydatadir)
|
||||
|
||||
-dnl Some flags for gcc
|
||||
-CXXFLAGS="-O3 -pipe -pedantic -Wall -Wextra -Wno-unused-parameter -DNDEBUG"
|
||||
-dnl Additional flags: -Wconversion -Wno-sign-conversion
|
||||
-
|
||||
-dnl Some flags for clang
|
||||
-dnl CXXFLAGS="-O3 -pipe -pedantic -Weverything -Wno-sign-conversion -Wno-conversion -Wno-shadow -Wno-missing-noreturn -Wno-padded -Wno-packed -Wno-weak-vtables -Wno-c++11-narrowing -Wno-cast-align -Wno-unreachable-code -Wno-missing-prototypes -Wno-float-equal -Wno-global-constructors -Wno-exit-time-destructors -Wno-format-nonliteral -Wno-unused-macros -Wextra -Wno-unused-parameter"
|
||||
-
|
||||
-
|
||||
dnl test for -ffp-contract=off (gcc >= 4.6) and use -mno-fused-madd instead
|
||||
oldCFLAGS="$CFLAGS"
|
||||
CFLAGS="-ffp-contract=off"
|
||||
@@ -33,34 +25,14 @@
|
||||
)
|
||||
CFLAGS="$oldCFLAGS"
|
||||
|
||||
-case "$target_cpu" in
|
||||
-i*86) CXXFLAGS="$CXXFLAGS -mfpmath=sse -msse";;
|
||||
-esac
|
||||
-
|
||||
-AC_ARG_ENABLE([debug],
|
||||
- [AS_HELP_STRING([--enable-debug],
|
||||
- [compile with debug information @<:@default=disabled@:>@])],
|
||||
- [],
|
||||
- [])
|
||||
-
|
||||
-if test "$enable_debug" = "yes" ; then
|
||||
- CXXFLAGS="$CXXFLAGS -g"
|
||||
-fi
|
||||
|
||||
dnl Check for SDL library
|
||||
SDL_VERSION=1.2.0
|
||||
-AM_PATH_SDL($SDL_VERSION, : , AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!]))
|
||||
+PKG_CHECK_MODULES([SDL], [sdl >= $SDL_VERSION SDL_mixer])
|
||||
CFLAGS="$CFLAGS $SDL_CFLAGS"
|
||||
CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
|
||||
LIBS="$LIBS $SDL_LIBS"
|
||||
|
||||
-dnl Check for SDL_mixer library.
|
||||
-AC_CHECK_LIB(SDL_mixer,
|
||||
- Mix_OpenAudio,
|
||||
- LIBS="$LIBS -lSDL_mixer",
|
||||
- AC_MSG_ERROR([*** SDL_mixer library not found!])
|
||||
-)
|
||||
-
|
||||
dnl enet defines
|
||||
AC_CHECK_FUNC(gethostbyaddr_r, [AC_DEFINE(HAS_GETHOSTBYADDR_R)])
|
||||
AC_CHECK_FUNC(gethostbyname_r, [AC_DEFINE(HAS_GETHOSTBYNAME_R)])
|
@ -0,0 +1,50 @@
|
||||
From e227fc26ffff199a6a659dbe954ff7b764658d4d Mon Sep 17 00:00:00 2001
|
||||
From: Richard Schaller <richard.schaller@gmx.de>
|
||||
Date: Sat, 30 Mar 2019 18:07:28 +0100
|
||||
Subject: [PATCH] Support for SDL_mixer 2.0.2 or higher: MIX_INIT_FLUIDSYNTH
|
||||
was renamed to MIX_INIT_MID
|
||||
|
||||
---
|
||||
src/FileClasses/music/DirectoryPlayer.cpp | 4 ++++
|
||||
src/FileClasses/music/XMIPlayer.cpp | 6 ++++++
|
||||
2 files changed, 10 insertions(+)
|
||||
|
||||
diff --git a/src/FileClasses/music/DirectoryPlayer.cpp b/src/FileClasses/music/DirectoryPlayer.cpp
|
||||
index 531d971..05d800c 100644
|
||||
--- a/src/FileClasses/music/DirectoryPlayer.cpp
|
||||
+++ b/src/FileClasses/music/DirectoryPlayer.cpp
|
||||
@@ -59,7 +59,11 @@ DirectoryPlayer::DirectoryPlayer() : MusicPlayer(settings.audio.playMusic, setti
|
||||
|
||||
music = nullptr;
|
||||
|
||||
+#if SDL_VERSIONNUM(SDL_MIXER_MAJOR_VERSION, SDL_MIXER_MINOR_VERSION, SDL_MIXER_PATCHLEVEL) >= SDL_VERSIONNUM(2,0,2)
|
||||
+ Mix_Init(MIX_INIT_MID | MIX_INIT_FLAC | MIX_INIT_MP3 | MIX_INIT_OGG);
|
||||
+#else
|
||||
Mix_Init(MIX_INIT_FLUIDSYNTH | MIX_INIT_FLAC | MIX_INIT_MP3 | MIX_INIT_OGG);
|
||||
+#endif
|
||||
}
|
||||
|
||||
DirectoryPlayer::~DirectoryPlayer() {
|
||||
diff --git a/src/FileClasses/music/XMIPlayer.cpp b/src/FileClasses/music/XMIPlayer.cpp
|
||||
index a7e5150..0fcfa8f 100644
|
||||
--- a/src/FileClasses/music/XMIPlayer.cpp
|
||||
+++ b/src/FileClasses/music/XMIPlayer.cpp
|
||||
@@ -30,9 +30,15 @@
|
||||
XMIPlayer::XMIPlayer() : MusicPlayer(settings.audio.playMusic, settings.audio.musicVolume) {
|
||||
music = nullptr;
|
||||
|
||||
+#if SDL_VERSIONNUM(SDL_MIXER_MAJOR_VERSION, SDL_MIXER_MINOR_VERSION, SDL_MIXER_PATCHLEVEL) >= SDL_VERSIONNUM(2,0,2)
|
||||
+ if((Mix_Init(MIX_INIT_MID) & MIX_INIT_MID) == 0) {
|
||||
+ SDL_Log("XMIPlayer: Failed to init required midi support: %s", SDL_GetError());
|
||||
+ }
|
||||
+#else
|
||||
if((Mix_Init(MIX_INIT_FLUIDSYNTH) & MIX_INIT_FLUIDSYNTH) == 0) {
|
||||
SDL_Log("XMIPlayer: Failed to init required midi support: %s", SDL_GetError());
|
||||
}
|
||||
+#endif
|
||||
}
|
||||
|
||||
XMIPlayer::~XMIPlayer() {
|
||||
--
|
||||
2.24.1
|
||||
|
Binary file not shown.
@ -1,2 +1,4 @@
|
||||
DIST ImageMagick-6.9.10-84.tar.xz 9072724 BLAKE2B 489d5f9e659f3bd7ad32f58780a5f2e2b95772801b8674f4591120d7643627717572c0b01d011fc5cf7b5592723467e331ca02a0fcfb54d41be482a952b5a7f7 SHA512 bb574cd322a57a79e90021e4e5868792d0005b268a282ecf6c6a0e58c79dbc20e422e6a491c2adf1e50841570a69405f8771245cc2f545f5e7f2150cdf84faae
|
||||
DIST ImageMagick-7.0.9-14.tar.xz 9485404 BLAKE2B be449bc258841eafc83571891c545ba3cecdf6ec8019e665c680ca7dcfb9639db0cf9aee1e53c63ddad03c57549b523e81b926e2613b559baafc833606169a8c SHA512 eaeac3820943c5ed941a5adfa1a5549864d9ac748523eea7b352c8b51e4eb1189586ed0c69e21b1ce2431203ff43973817d45b293f9e85ecbdf35569ef838c3f
|
||||
DIST imagemagick-6.9.10.78.tar.gz 13522518 BLAKE2B 1eab0f7bc6bbecc44b3f25a752ae2b6ad8f026fe700c78d0b914aa23e5737485c8c41785859035002e1dbd16e7d19af823ea71425cb56f732fbee08419212d7d SHA512 8ab6c91afcf2b8c1bd0a4f130d35abae914599ddf7e0c85d6bf57ace8822cdf1cc57929e047350b06532546827856420a484fc9754ae403684db9df04d0f66a9
|
||||
DIST imagemagick-7.0.9.8.tar.gz 13678831 BLAKE2B 3e5189fa244577fdc7d9e674ef0b2385a67dbfc4a0c80fac66a7224b31805925c97fe1955b8386e6d622dd64ffed1cc888657ba5f885d66fb0e8df32703b4ce8 SHA512 3797978e6da49bd6129a437110d9b2b15e1963178c5c62fd228e68295645b469f5cf7d3bb0974ce74a320094973137adfb7409f47248383fe63abc4a49a90ddf
|
||||
|
@ -0,0 +1,250 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit eapi7-ver eutils flag-o-matic libtool perl-functions toolchain-funcs multilib
|
||||
|
||||
MY_PV="$(ver_rs 3 '-')"
|
||||
MY_P="ImageMagick-${MY_PV}"
|
||||
|
||||
DESCRIPTION="A collection of tools and libraries for many image formats"
|
||||
HOMEPAGE="https://www.imagemagick.org/"
|
||||
SRC_URI="mirror://imagemagick/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="imagemagick"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="bzip2 corefonts cxx djvu fftw fontconfig fpx graphviz hdri heif jbig jpeg jpeg2k lcms lqr lzma opencl openexr openmp pango perl png postscript q32 q8 raw static-libs svg test tiff truetype webp wmf X xml zlib"
|
||||
|
||||
REQUIRED_USE="corefonts? ( truetype )
|
||||
test? ( corefonts )"
|
||||
|
||||
RESTRICT="perl? ( userpriv )
|
||||
!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libltdl:0
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
corefonts? ( media-fonts/corefonts )
|
||||
djvu? ( app-text/djvu )
|
||||
fftw? ( sci-libs/fftw:3.0 )
|
||||
fontconfig? ( media-libs/fontconfig )
|
||||
fpx? ( >=media-libs/libfpx-1.3.0-r1 )
|
||||
graphviz? ( media-gfx/graphviz )
|
||||
heif? ( media-libs/libheif:= )
|
||||
jbig? ( >=media-libs/jbigkit-2:= )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
jpeg2k? ( >=media-libs/openjpeg-2.1.0:2 )
|
||||
lcms? ( media-libs/lcms:2= )
|
||||
lqr? ( media-libs/liblqr )
|
||||
opencl? ( virtual/opencl )
|
||||
openexr? ( media-libs/openexr:0= )
|
||||
pango? ( x11-libs/pango )
|
||||
perl? ( >=dev-lang/perl-5.8.8:0= )
|
||||
png? ( media-libs/libpng:0= )
|
||||
postscript? ( app-text/ghostscript-gpl )
|
||||
raw? ( media-libs/libraw:= )
|
||||
svg? ( gnome-base/librsvg )
|
||||
tiff? ( media-libs/tiff:0= )
|
||||
truetype? (
|
||||
media-fonts/urw-fonts
|
||||
>=media-libs/freetype-2
|
||||
)
|
||||
webp? ( media-libs/libwebp:0= )
|
||||
wmf? ( media-libs/libwmf )
|
||||
X? (
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libXext
|
||||
x11-libs/libXt
|
||||
)
|
||||
xml? ( dev-libs/libxml2:= )
|
||||
lzma? ( app-arch/xz-utils )
|
||||
zlib? ( sys-libs/zlib:= )"
|
||||
DEPEND="${RDEPEND}
|
||||
!media-gfx/graphicsmagick[imagemagick]
|
||||
virtual/pkgconfig
|
||||
X? ( x11-base/xorg-proto )"
|
||||
|
||||
#S="${WORKDIR}/${MY_P}"
|
||||
S="${WORKDIR}/ImageMagick6-${MY_PV}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Apply hardening #664236
|
||||
cp "${FILESDIR}"/policy-hardening.snippet "${S}" || die
|
||||
sed -i -e '/^<policymap>$/ {
|
||||
r policy-hardening.snippet
|
||||
d
|
||||
}' \
|
||||
config/policy.xml || \
|
||||
die "Failed to apply hardening of policy.xml"
|
||||
einfo "policy.xml hardened"
|
||||
|
||||
elibtoolize # for Darwin modules
|
||||
|
||||
# For testsuite, see https://bugs.gentoo.org/show_bug.cgi?id=500580#c3
|
||||
local mesa_cards ati_cards nvidia_cards render_cards
|
||||
shopt -s nullglob
|
||||
ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g')
|
||||
if test -n "${ati_cards}"; then
|
||||
addpredict "${ati_cards}"
|
||||
fi
|
||||
mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
|
||||
if test -n "${mesa_cards}"; then
|
||||
addpredict "${mesa_cards}"
|
||||
fi
|
||||
nvidia_cards=$(echo -n /dev/nvidia** | sed 's/ /:/g')
|
||||
if test -n "${nvidia_cards}"; then
|
||||
addpredict "${nvidia_cards}"
|
||||
fi
|
||||
render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g')
|
||||
if test -n "${render_cards}"; then
|
||||
addpredict "${render_cards}"
|
||||
fi
|
||||
shopt -u nullglob
|
||||
addpredict /dev/nvidiactl
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local depth=16
|
||||
use q8 && depth=8
|
||||
use q32 && depth=32
|
||||
|
||||
local openmp=disable
|
||||
use openmp && { tc-has-openmp && openmp=enable; }
|
||||
|
||||
use perl && perl_check_env
|
||||
|
||||
[[ ${CHOST} == *-solaris* ]] && append-ldflags -lnsl -lsocket
|
||||
|
||||
local myeconfargs=(
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable hdri)
|
||||
$(use_enable opencl)
|
||||
--with-threads
|
||||
--with-modules
|
||||
--with-quantum-depth=${depth}
|
||||
$(use_with cxx magick-plus-plus)
|
||||
$(use_with perl)
|
||||
--with-perl-options='INSTALLDIRS=vendor'
|
||||
--with-gs-font-dir="${EPREFIX}"/usr/share/fonts/urw-fonts
|
||||
$(use_with bzip2 bzlib)
|
||||
$(use_with X x)
|
||||
$(use_with zlib)
|
||||
--without-autotrace
|
||||
$(use_with postscript dps)
|
||||
$(use_with djvu)
|
||||
--with-dejavu-font-dir="${EPREFIX}"/usr/share/fonts/dejavu
|
||||
$(use_with fftw)
|
||||
$(use_with fpx)
|
||||
$(use_with fontconfig)
|
||||
$(use_with truetype freetype)
|
||||
$(use_with postscript gslib)
|
||||
$(use_with graphviz gvc)
|
||||
$(use_with heif heic)
|
||||
$(use_with jbig)
|
||||
$(use_with jpeg)
|
||||
$(use_with jpeg2k openjp2)
|
||||
$(use_with lcms)
|
||||
$(use_with lqr)
|
||||
$(use_with lzma)
|
||||
$(use_with openexr)
|
||||
$(use_with pango)
|
||||
$(use_with png)
|
||||
$(use_with raw)
|
||||
$(use_with svg rsvg)
|
||||
$(use_with tiff)
|
||||
$(use_with webp)
|
||||
$(use_with corefonts windows-font-dir "${EPREFIX}"/usr/share/fonts/corefonts)
|
||||
$(use_with wmf)
|
||||
$(use_with xml)
|
||||
--${openmp}-openmp
|
||||
--with-gcc-arch=no-automagic
|
||||
)
|
||||
CONFIG_SHELL=$(type -P bash) econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Install default (unrestricted) policy in $HOME for test suite #664238
|
||||
local _im_local_config_home="${HOME}/.config/ImageMagick"
|
||||
mkdir -p "${_im_local_config_home}" || \
|
||||
die "Failed to create IM config dir in '${_im_local_config_home}'"
|
||||
cp "${FILESDIR}"/policy.test.xml "${_im_local_config_home}/policy.xml" || \
|
||||
die "Failed to install default blank policy.xml in '${_im_local_config_home}'"
|
||||
|
||||
local im_command= IM_COMMANDS=()
|
||||
IM_COMMANDS+=( "identify -version | grep -q -- \"${MY_PV}\"" ) # Verify that we are using version we just built
|
||||
IM_COMMANDS+=( "identify -list policy" ) # Verify that policy.xml is used
|
||||
IM_COMMANDS+=( "emake check" ) # Run tests
|
||||
|
||||
for im_command in "${IM_COMMANDS[@]}"; do
|
||||
eval "${S}"/magick.sh \
|
||||
${im_command} || \
|
||||
die "Failed to run \"${im_command}\""
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Ensure documentation installation files and paths with each release!
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
DOCUMENTATION_PATH="${EPREFIX}"/usr/share/doc/${PF}/html \
|
||||
install
|
||||
|
||||
rm -f "${ED%/}"/usr/share/doc/${PF}/html/{ChangeLog,LICENSE,NEWS.txt}
|
||||
dodoc {AUTHORS,README}.txt ChangeLog
|
||||
|
||||
if use perl; then
|
||||
find "${ED}" -type f -name perllocal.pod -exec rm -f {} +
|
||||
find "${ED}" -depth -mindepth 1 -type d -empty -exec rm -rf {} +
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} +
|
||||
|
||||
if use opencl; then
|
||||
cat <<-EOF > "${T}"/99${PN}
|
||||
SANDBOX_PREDICT="/dev/nvidiactl:/dev/nvidia-uvm:/dev/ati/card:/dev/dri/card:/dev/dri/renderD128"
|
||||
EOF
|
||||
|
||||
insinto /etc/sandbox.d
|
||||
doins "${T}"/99${PN} #472766
|
||||
fi
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins config/*icm
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local _show_policy_xml_notice=
|
||||
|
||||
if [[ -z "${REPLACING_VERSIONS}" ]]; then
|
||||
# This is a new installation
|
||||
_show_policy_xml_notice=yes
|
||||
else
|
||||
local v
|
||||
for v in ${REPLACING_VERSIONS}; do
|
||||
if ! ver_test "${v}" -gt "6.9.10.10-r2"; then
|
||||
# This is an upgrade
|
||||
_show_policy_xml_notice=yes
|
||||
|
||||
# Show this elog only once
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
if [[ -n "${_show_policy_xml_notice}" ]]; then
|
||||
elog "For security reasons, a policy.xml file was installed in /etc/ImageMagick-6"
|
||||
elog "which will prevent the usage of the following coders by default:"
|
||||
elog ""
|
||||
elog " - PS"
|
||||
elog " - PS2"
|
||||
elog " - PS3"
|
||||
elog " - EPS"
|
||||
elog " - PDF"
|
||||
elog " - XPS"
|
||||
fi
|
||||
}
|
@ -0,0 +1,262 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit flag-o-matic libtool perl-functions toolchain-funcs multilib
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/ImageMagick/ImageMagick.git"
|
||||
inherit git-r3
|
||||
MY_P="imagemagick-9999"
|
||||
else
|
||||
MY_PV="$(ver_rs 3 '-')"
|
||||
MY_P="ImageMagick-${MY_PV}"
|
||||
SRC_URI="mirror://imagemagick/${MY_P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A collection of tools and libraries for many image formats"
|
||||
HOMEPAGE="https://www.imagemagick.org/"
|
||||
|
||||
LICENSE="imagemagick"
|
||||
SLOT="0/7.0.9"
|
||||
IUSE="bzip2 corefonts cxx djvu fftw fontconfig fpx graphviz hdri heif jbig jpeg jpeg2k lcms lqr lzma opencl openexr openmp pango perl png postscript q32 q8 raw static-libs svg test tiff truetype webp wmf X xml zlib"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
REQUIRED_USE="corefonts? ( truetype )
|
||||
test? ( corefonts )"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libltdl:0
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
corefonts? ( media-fonts/corefonts )
|
||||
djvu? ( app-text/djvu )
|
||||
fftw? ( sci-libs/fftw:3.0 )
|
||||
fontconfig? ( media-libs/fontconfig )
|
||||
fpx? ( >=media-libs/libfpx-1.3.0-r1 )
|
||||
graphviz? ( media-gfx/graphviz )
|
||||
heif? ( media-libs/libheif:= )
|
||||
jbig? ( >=media-libs/jbigkit-2:= )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
jpeg2k? ( >=media-libs/openjpeg-2.1.0:2 )
|
||||
lcms? ( media-libs/lcms:2= )
|
||||
lqr? ( media-libs/liblqr )
|
||||
opencl? ( virtual/opencl )
|
||||
openexr? ( media-libs/openexr:0= )
|
||||
pango? ( x11-libs/pango )
|
||||
perl? ( >=dev-lang/perl-5.8.8:0= )
|
||||
png? ( media-libs/libpng:0= )
|
||||
postscript? ( app-text/ghostscript-gpl )
|
||||
raw? ( media-libs/libraw:= )
|
||||
svg? ( gnome-base/librsvg )
|
||||
tiff? ( media-libs/tiff:0= )
|
||||
truetype? (
|
||||
media-fonts/urw-fonts
|
||||
>=media-libs/freetype-2
|
||||
)
|
||||
webp? ( media-libs/libwebp:0= )
|
||||
wmf? ( media-libs/libwmf )
|
||||
X? (
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libXext
|
||||
x11-libs/libXt
|
||||
)
|
||||
xml? ( dev-libs/libxml2:= )
|
||||
lzma? ( app-arch/xz-utils )
|
||||
zlib? ( sys-libs/zlib:= )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
!media-gfx/graphicsmagick[imagemagick]
|
||||
X? ( x11-base/xorg-proto )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Apply hardening #664236
|
||||
cp "${FILESDIR}"/policy-hardening.snippet "${S}" || die
|
||||
sed -i -e '/^<policymap>$/ {
|
||||
r policy-hardening.snippet
|
||||
d
|
||||
}' \
|
||||
config/policy.xml || \
|
||||
die "Failed to apply hardening of policy.xml"
|
||||
einfo "policy.xml hardened"
|
||||
|
||||
elibtoolize # for Darwin modules
|
||||
|
||||
# For testsuite, see https://bugs.gentoo.org/show_bug.cgi?id=500580#c3
|
||||
local ati_cards mesa_cards nvidia_cards render_cards
|
||||
shopt -s nullglob
|
||||
ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g')
|
||||
if test -n "${ati_cards}"; then
|
||||
addpredict "${ati_cards}"
|
||||
fi
|
||||
mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
|
||||
if test -n "${mesa_cards}"; then
|
||||
addpredict "${mesa_cards}"
|
||||
fi
|
||||
nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g')
|
||||
if test -n "${nvidia_cards}"; then
|
||||
addpredict "${nvidia_cards}"
|
||||
fi
|
||||
render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g')
|
||||
if test -n "${render_cards}"; then
|
||||
addpredict "${render_cards}"
|
||||
fi
|
||||
shopt -u nullglob
|
||||
addpredict /dev/nvidiactl
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local depth=16
|
||||
use q8 && depth=8
|
||||
use q32 && depth=32
|
||||
|
||||
local openmp=disable
|
||||
use openmp && { tc-has-openmp && openmp=enable; }
|
||||
|
||||
use perl && perl_check_env
|
||||
|
||||
[[ ${CHOST} == *-solaris* ]] && append-ldflags -lnsl -lsocket
|
||||
|
||||
local myeconfargs=(
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable hdri)
|
||||
$(use_enable opencl)
|
||||
--with-threads
|
||||
--with-modules
|
||||
--with-quantum-depth=${depth}
|
||||
$(use_with cxx magick-plus-plus)
|
||||
$(use_with perl)
|
||||
--with-perl-options='INSTALLDIRS=vendor'
|
||||
--with-gs-font-dir="${EPREFIX}"/usr/share/fonts/urw-fonts
|
||||
$(use_with bzip2 bzlib)
|
||||
$(use_with X x)
|
||||
$(use_with zlib)
|
||||
--without-autotrace
|
||||
$(use_with postscript dps)
|
||||
$(use_with djvu)
|
||||
--with-dejavu-font-dir="${EPREFIX}"/usr/share/fonts/dejavu
|
||||
$(use_with fftw)
|
||||
$(use_with fpx)
|
||||
$(use_with fontconfig)
|
||||
$(use_with truetype freetype)
|
||||
$(use_with postscript gslib)
|
||||
$(use_with graphviz gvc)
|
||||
$(use_with heif heic)
|
||||
$(use_with jbig)
|
||||
$(use_with jpeg)
|
||||
$(use_with jpeg2k openjp2)
|
||||
--without-jxl
|
||||
$(use_with lcms)
|
||||
$(use_with lqr)
|
||||
$(use_with lzma)
|
||||
$(use_with openexr)
|
||||
$(use_with pango)
|
||||
$(use_with png)
|
||||
$(use_with raw)
|
||||
$(use_with svg rsvg)
|
||||
$(use_with tiff)
|
||||
$(use_with webp)
|
||||
$(use_with corefonts windows-font-dir "${EPREFIX}"/usr/share/fonts/corefonts)
|
||||
$(use_with wmf)
|
||||
$(use_with xml)
|
||||
--${openmp}-openmp
|
||||
--with-gcc-arch=no-automagic
|
||||
)
|
||||
CONFIG_SHELL=$(type -P bash) econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Install default (unrestricted) policy in $HOME for test suite #664238
|
||||
local _im_local_config_home="${HOME}/.config/ImageMagick"
|
||||
mkdir -p "${_im_local_config_home}" || \
|
||||
die "Failed to create IM config dir in '${_im_local_config_home}'"
|
||||
cp "${FILESDIR}"/policy.test.xml "${_im_local_config_home}/policy.xml" || \
|
||||
die "Failed to install default blank policy.xml in '${_im_local_config_home}'"
|
||||
|
||||
local im_command= IM_COMMANDS=()
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
IM_COMMANDS+=( "magick -version" ) # Show version we are using -- cannot verify because of live ebuild
|
||||
else
|
||||
IM_COMMANDS+=( "magick -version | grep -q -- \"${MY_PV}\"" ) # Verify that we are using version we just built
|
||||
fi
|
||||
IM_COMMANDS+=( "magick -list policy" ) # Verify that policy.xml is used
|
||||
IM_COMMANDS+=( "emake check" ) # Run tests
|
||||
|
||||
for im_command in "${IM_COMMANDS[@]}"; do
|
||||
eval "${S}"/magick.sh \
|
||||
${im_command} || \
|
||||
die "Failed to run \"${im_command}\""
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Ensure documentation installation files and paths with each release!
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
DOCUMENTATION_PATH="${EPREFIX}"/usr/share/doc/${PF}/html \
|
||||
install
|
||||
|
||||
rm -f "${ED}"/usr/share/doc/${PF}/html/{ChangeLog,LICENSE,NEWS.txt}
|
||||
dodoc {AUTHORS,README}.txt ChangeLog
|
||||
|
||||
if use perl; then
|
||||
find "${ED}" -type f -name perllocal.pod -exec rm -f {} +
|
||||
find "${ED}" -depth -mindepth 1 -type d -empty -exec rm -rf {} +
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} +
|
||||
|
||||
if use opencl; then
|
||||
cat <<-EOF > "${T}"/99${PN}
|
||||
SANDBOX_PREDICT="/dev/nvidiactl:/dev/nvidia-uvm:/dev/ati/card:/dev/dri/card:/dev/dri/renderD128"
|
||||
EOF
|
||||
|
||||
insinto /etc/sandbox.d
|
||||
doins "${T}"/99${PN} #472766
|
||||
fi
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins config/*icm
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local _show_policy_xml_notice=
|
||||
|
||||
if [[ -z "${REPLACING_VERSIONS}" ]]; then
|
||||
# This is a new installation
|
||||
_show_policy_xml_notice=yes
|
||||
else
|
||||
local v
|
||||
for v in ${REPLACING_VERSIONS}; do
|
||||
if ! ver_test "${v}" -gt "7.0.8.10-r2"; then
|
||||
# This is an upgrade
|
||||
_show_policy_xml_notice=yes
|
||||
|
||||
# Show this elog only once
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
if [[ -n "${_show_policy_xml_notice}" ]]; then
|
||||
elog "For security reasons, a policy.xml file was installed in /etc/ImageMagick-7"
|
||||
elog "which will prevent the usage of the following coders by default:"
|
||||
elog ""
|
||||
elog " - PS"
|
||||
elog " - PS2"
|
||||
elog " - PS3"
|
||||
elog " - EPS"
|
||||
elog " - PDF"
|
||||
elog " - XPS"
|
||||
fi
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,3 +1,4 @@
|
||||
DIST kodi-vfs-rar-2.0.5.tar.gz 132264 BLAKE2B 1c092fcc45a9b540ab43da9d93028bf3ecca5342fbe99e0380ccf1945be2bbe931e0c93454b69c8091c5919ea52347ab24ee27a72e96e202e6c38775640c016b SHA512 46c17952b1933a5958082ecc6d904b3300acfc6982ef42fd63a15c68ce60c79528a52369fb7e5d0a912cd4346c7701b1aa07dedd882bec618d9e7343ffcbef73
|
||||
DIST kodi-vfs-rar-2.0.6.tar.gz 132265 BLAKE2B 686e9e47680f701f68c44c597035ddc1051b16b2048f81060b656217497ebc368428462f7edbcebdcccf7275e6bde57ab8889644e265ebcd5aabba4f2cf364b9 SHA512 73112865d4c66653b565f7f52d557b68548b2077264088a03d8b2a49c9b84b366f5424bcc88bfc91d484f77424944a7191d4275f00255511b0c91ebdb3a30350
|
||||
DIST kodi-vfs-rar-2.0.7.tar.gz 132225 BLAKE2B 62f75acba3b06a7eb179eedf31fffa2397f614dab64c0004058db4908e51a2e70cd0dd177e64eff12e54ad1eb57d315abde646604305dbd83e7f4fd897ad6b6a SHA512 40245b9869bb37b1df0822337b7028c4583d0de08338c8bbca2732d71413fa76490250eae50aa805ebbe654798cf8c232794e561e9650f16e9866714d6bce5b3
|
||||
DIST kodi-vfs-rar-2.0.8.tar.gz 333280 BLAKE2B ae6f382a1b8bf0f80b4c32bba9144597319b32a691872c3c4012f2d7450178d7a4103c64fc837bcd0c173a5f6149f732d5b932c98c19807bd6aa910f1573548f SHA512 702bfb0fbd6c4165bdb396565154a3979d611e91d306917dd54c6dff315108f51a23cfb270bd161ea169e59dae3b7d445fb612b222c84a8d3b70c25966f697b0
|
||||
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils kodi-addon
|
||||
|
||||
DESCRIPTION="RAR VFS addon for Kodi"
|
||||
HOMEPAGE="https://github.com/xbmc/vfs.rar"
|
||||
SRC_URI=""
|
||||
|
||||
case ${PV} in
|
||||
9999)
|
||||
SRC_URI=""
|
||||
EGIT_REPO_URI="https://github.com/xbmc/vfs.rar.git"
|
||||
inherit git-r3
|
||||
;;
|
||||
*)
|
||||
CODENAME="Leia"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="https://github.com/xbmc/vfs.rar/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/vfs.rar-${PV}-${CODENAME}"
|
||||
;;
|
||||
esac
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
=dev-libs/libplatform-2*
|
||||
=media-libs/kodi-platform-18*
|
||||
=media-tv/kodi-18*
|
||||
"
|
Binary file not shown.
@ -0,0 +1 @@
|
||||
DIST strawberry-0.6.8.tar.xz 9303276 BLAKE2B 852696846d0ce4632fc95482742ca244eda10462577c77d1bc333b3a5dcd0d5e51f6cdaaae0f8c791d2b72c86783a7a183dbde22157b522ff78e25041af73cfb SHA512 1e6ec4802188007b8624705af3ab1a4f48016a174762696e73c3fd23f0d16e88225a72962049819869237f25e630cf6f2cbefa31cec1fe15e415b9aa46e6631d
|
@ -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>polynomial-c@gentoo.org</email>
|
||||
<name>Lars Wendler</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>sound@gentoo.org</email>
|
||||
<name>Gentoo Sound project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">jonaski/strawberry</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,114 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake flag-o-matic l10n virtualx xdg
|
||||
|
||||
PLOCALES="de es fr id it nb ru"
|
||||
|
||||
DESCRIPTION="Modern music player and library organizer based on Clementine and Qt"
|
||||
HOMEPAGE="https://www.strawbs.org/"
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/jonaski/strawberry.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/jonaski/strawberry/releases/download/${PV}/${P}.tar.xz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="cdda +dbus debug ipod mms mtp pulseaudio +udisks"
|
||||
|
||||
REQUIRED_USE="
|
||||
udisks? ( dbus )
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
>=dev-cpp/gtest-1.8.0
|
||||
dev-qt/linguist-tools:5
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
COMMON_DEPEND="
|
||||
app-crypt/qca:2[qt5(+)]
|
||||
dev-db/sqlite:=
|
||||
dev-libs/glib:2
|
||||
dev-libs/libxml2
|
||||
dev-libs/protobuf:=
|
||||
dev-qt/qtconcurrent:5
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5[ssl]
|
||||
dev-qt/qtsql:5[sqlite]
|
||||
dev-qt/qtwidgets:5
|
||||
media-libs/alsa-lib
|
||||
media-libs/chromaprint:=
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
>=media-libs/libmygpo-qt-1.0.9[qt5(+)]
|
||||
>=media-libs/taglib-1.11.1_p20181028
|
||||
media-video/vlc
|
||||
sys-libs/zlib
|
||||
virtual/glu
|
||||
x11-libs/libX11
|
||||
cdda? ( dev-libs/libcdio:= )
|
||||
dbus? ( dev-qt/qtdbus:5 )
|
||||
ipod? ( >=media-libs/libgpod-0.8.0 )
|
||||
mtp? ( >=media-libs/libmtp-1.0.0 )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
"
|
||||
# Note: sqlite driver of dev-qt/qtsql is bundled, so no sqlite use is required; check if this can be overcome someway;
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
media-plugins/gst-plugins-meta:1.0
|
||||
media-plugins/gst-plugins-soup:1.0
|
||||
media-plugins/gst-plugins-taglib:1.0
|
||||
mms? ( media-plugins/gst-plugins-libmms:1.0 )
|
||||
mtp? ( gnome-base/gvfs[mtp] )
|
||||
udisks? ( sys-fs/udisks:2 )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-libs/boost:=
|
||||
dev-qt/qtopengl:5
|
||||
dev-qt/qtx11extras:5
|
||||
dev-qt/qtxml:5
|
||||
"
|
||||
|
||||
DOCS=( Changelog README.md )
|
||||
|
||||
src_prepare() {
|
||||
l10n_find_plocales_changes "src/translations" "" ".po"
|
||||
|
||||
cmake_src_prepare
|
||||
rm -r 3rdparty/taglib || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# spotify is not in portage
|
||||
local mycmakeargs=(
|
||||
-DBUILD_WERROR=OFF
|
||||
# avoid automagically enabling of ccache (bug #611010)
|
||||
-DCCACHE_EXECUTABLE=OFF
|
||||
-DENABLE_GIO=ON
|
||||
-DLINGUAS="$(l10n_get_locales)"
|
||||
-DENABLE_AUDIOCD="$(usex cdda)"
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_Qt5DBus=$(usex !dbus)
|
||||
-DENABLE_LIBGPOD="$(usex ipod)"
|
||||
-DENABLE_LIBMTP="$(usex mtp)"
|
||||
-DENABLE_LIBPULSE="$(usex pulseaudio)"
|
||||
-DENABLE_UDISKS2="$(usex udisks)"
|
||||
)
|
||||
|
||||
use !debug && append-cppflags -DQT_NO_DEBUG_OUTPUT
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
|
||||
elog "Note that list of supported formats is controlled by media-plugins/gst-plugins-meta "
|
||||
elog "USE flags. You may be interested in setting aac, flac, mp3, ogg or wavpack USE flags "
|
||||
elog "depending on your preferences"
|
||||
}
|
@ -0,0 +1,114 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake flag-o-matic l10n virtualx xdg
|
||||
|
||||
PLOCALES="de es fr id it nb ru"
|
||||
|
||||
DESCRIPTION="Modern music player and library organizer based on Clementine and Qt"
|
||||
HOMEPAGE="https://www.strawbs.org/"
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/jonaski/strawberry.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/jonaski/strawberry/releases/download/${PV}/${P}.tar.xz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="cdda +dbus debug ipod mms mtp pulseaudio +udisks"
|
||||
|
||||
REQUIRED_USE="
|
||||
udisks? ( dbus )
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
>=dev-cpp/gtest-1.8.0
|
||||
dev-qt/linguist-tools:5
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
COMMON_DEPEND="
|
||||
app-crypt/qca:2[qt5(+)]
|
||||
dev-db/sqlite:=
|
||||
dev-libs/glib:2
|
||||
dev-libs/libxml2
|
||||
dev-libs/protobuf:=
|
||||
dev-qt/qtconcurrent:5
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5[ssl]
|
||||
dev-qt/qtsql:5[sqlite]
|
||||
dev-qt/qtwidgets:5
|
||||
media-libs/alsa-lib
|
||||
media-libs/chromaprint:=
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
>=media-libs/libmygpo-qt-1.0.9[qt5(+)]
|
||||
>=media-libs/taglib-1.11.1_p20181028
|
||||
media-video/vlc
|
||||
sys-libs/zlib
|
||||
virtual/glu
|
||||
x11-libs/libX11
|
||||
cdda? ( dev-libs/libcdio:= )
|
||||
dbus? ( dev-qt/qtdbus:5 )
|
||||
ipod? ( >=media-libs/libgpod-0.8.0 )
|
||||
mtp? ( >=media-libs/libmtp-1.0.0 )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
"
|
||||
# Note: sqlite driver of dev-qt/qtsql is bundled, so no sqlite use is required; check if this can be overcome someway;
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
media-plugins/gst-plugins-meta:1.0
|
||||
media-plugins/gst-plugins-soup:1.0
|
||||
media-plugins/gst-plugins-taglib:1.0
|
||||
mms? ( media-plugins/gst-plugins-libmms:1.0 )
|
||||
mtp? ( gnome-base/gvfs[mtp] )
|
||||
udisks? ( sys-fs/udisks:2 )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-libs/boost:=
|
||||
dev-qt/qtopengl:5
|
||||
dev-qt/qtx11extras:5
|
||||
dev-qt/qtxml:5
|
||||
"
|
||||
|
||||
DOCS=( Changelog README.md )
|
||||
|
||||
src_prepare() {
|
||||
l10n_find_plocales_changes "src/translations" "" ".po"
|
||||
|
||||
cmake_src_prepare
|
||||
rm -r 3rdparty/taglib || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# spotify is not in portage
|
||||
local mycmakeargs=(
|
||||
-DBUILD_WERROR=OFF
|
||||
# avoid automagically enabling of ccache (bug #611010)
|
||||
-DCCACHE_EXECUTABLE=OFF
|
||||
-DENABLE_GIO=ON
|
||||
-DLINGUAS="$(l10n_get_locales)"
|
||||
-DENABLE_AUDIOCD="$(usex cdda)"
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_Qt5DBus=$(usex !dbus)
|
||||
-DENABLE_LIBGPOD="$(usex ipod)"
|
||||
-DENABLE_LIBMTP="$(usex mtp)"
|
||||
-DENABLE_LIBPULSE="$(usex pulseaudio)"
|
||||
-DENABLE_UDISKS2="$(usex udisks)"
|
||||
)
|
||||
|
||||
use !debug && append-cppflags -DQT_NO_DEBUG_OUTPUT
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
|
||||
elog "Note that list of supported formats is controlled by media-plugins/gst-plugins-meta "
|
||||
elog "USE flags. You may be interested in setting aac, flac, mp3, ogg or wavpack USE flags "
|
||||
elog "depending on your preferences"
|
||||
}
|
Binary file not shown.
@ -1,4 +1,3 @@
|
||||
DIST mpv-0.29.1.tar.gz 3059503 BLAKE2B 231e7c184d441c126c6b6b7199810552981816e5afd59bce4b423c7b4f3739b540f26a4de947cb3cf87a31a7d3ce03a11a6d1247158250afde596f490321a537 SHA512 ec57c9ceaaf2915ee237dd5a1c5ea5d22725d8611e28a9b998e5bb0d8ab5bdf3631d0267fc7b54da31cb1eaa145ef35841e68846bd41c3b9e1024902e92fd086
|
||||
DIST mpv-0.30.0.tar.gz 3085141 BLAKE2B 314f6830f91e7dc11d3627688415c7535ef0ae462378d2c29cf036d5b851c55025ea5e9d5b0aa3f07ac6ec8c87350be65c882932bd908eab7c4f40b3840bf1a3 SHA512 2b3cc626575b5e56308f5f9ecf926957a36c861c85f700a4a3ede72cf7f7ea08729d20f810693117e21aeeff649f08718e73ead7d117521bf88d746708a72c66
|
||||
DIST mpv-0.31.0.tar.gz 3142672 BLAKE2B 62a24a2bde2929047e061522147a6e823dfea9b5e7f1f739ad65bc0c82742e98743fb9ff7f0c3f74218cf50a32d0dc37c5e786fdcc951d649499f74efc3a641c SHA512 5199183d35bc2d7fffde1af250edf829fe768cedd7aa00f424d2a11a11d82cdb451c62886159ba3e1efc407b242c25e2485f4ebffd13b1da9c70defbd1f4c309
|
||||
DIST waf-2.0.9 103104 BLAKE2B c7e996aa49662da3ff941d076fc7e2dd23e867ade92a3b2ae07560b76d63a69e495184a1f9c76be5c51977ddb1713f9247f62e672033ecb988ac559e3a47e546 SHA512 0755170ded115b03e78a2096f197cd9fff62b5036db764153d26ce426f182ea7d7b8231cfa1a10b4a564a8480428502f3691851df66e7b83c7bca8e5fe26de7d
|
||||
|
@ -1,28 +0,0 @@
|
||||
player: make ffmpeg/libav version check non-fatal
|
||||
|
||||
We already enforce mpv rebuilds when ffmpeg/libav SONAME changes.
|
||||
|
||||
diff --git a/player/main.c b/player/main.c
|
||||
index f56191a297..4e51aebd66 100644
|
||||
--- a/player/main.c
|
||||
+++ b/player/main.c
|
||||
@@ -387,13 +387,12 @@ int mp_initialize(struct MPContext *mpctx, char **options)
|
||||
// Distro maintainers who patch this out should be aware that mpv
|
||||
// intentionally ignores ABI in some places where it's not possible to
|
||||
// get by without violating it.
|
||||
- print_libav_versions(mpctx->log, MSGL_FATAL);
|
||||
- MP_FATAL(mpctx, "\nmpv was compiled against a different version of "
|
||||
- "FFmpeg/Libav than the shared\nlibrary it is linked against. "
|
||||
- "This is most likely a broken build and could\nresult in "
|
||||
- "misbehavior and crashes.\n\nmpv does not support this "
|
||||
- "configuration and will not run - rebuild mpv instead.\n");
|
||||
- return -1;
|
||||
+ print_libav_versions(mpctx->log, MSGL_WARN);
|
||||
+ MP_WARN(mpctx, "\nmpv was compiled against a different version of "
|
||||
+ "FFmpeg/Libav than the shared\nlibrary it is linked against. "
|
||||
+ "This could result in misbehavior and crashes.\n\n"
|
||||
+ "Upstream does not support this configuration.\n"
|
||||
+ "Please rebuild mpv in case of any problems.\n");
|
||||
}
|
||||
|
||||
if (!mpctx->playlist->first && !opts->player_idle_mode) {
|
@ -1,27 +0,0 @@
|
||||
From f726b368da87024a0cfe82627e0730ffe4578716 Mon Sep 17 00:00:00 2001
|
||||
From: Marvin Schmidt <marv@exherbo.org>
|
||||
Date: Wed, 18 Sep 2019 17:07:29 +0200
|
||||
Subject: [PATCH] build: lower version requirement for EGL
|
||||
|
||||
`egl.pc` can be provided either by mesa or libglvnd. The latter doesn't
|
||||
follow the same version scheme as mesa but instead uses the API version
|
||||
that the library exposes, which is 1.5 for EGL[1]
|
||||
|
||||
[1] https://github.com/NVIDIA/libglvnd/commit/0dfaea2bcb7cdcc785f95e244223bd004a2d7fba#diff-b58a140c00ea99fb9a708e15afaade62R8
|
||||
---
|
||||
wscript | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/wscript b/wscript
|
||||
index 3569dbf060..97a4d9196b 100644
|
||||
--- a/wscript
|
||||
+++ b/wscript
|
||||
@@ -636,7 +636,7 @@ video_output_features = [
|
||||
'deps': 'wayland',
|
||||
'groups': [ 'gl' ],
|
||||
'func': check_pkg_config('wayland-egl', '>= 9.0.0',
|
||||
- 'egl', '>= 9.0.0')
|
||||
+ 'egl', '>= 1.5')
|
||||
} , {
|
||||
'name': '--gl-win32',
|
||||
'desc': 'OpenGL Win32 Backend',
|
@ -1,367 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_6,3_7} )
|
||||
PYTHON_REQ_USE='threads(+)'
|
||||
|
||||
WAF_PV=2.0.9
|
||||
|
||||
inherit eapi7-ver flag-o-matic gnome2-utils pax-utils python-r1 toolchain-funcs waf-utils xdg-utils
|
||||
|
||||
DESCRIPTION="Media player based on MPlayer and mplayer2"
|
||||
HOMEPAGE="https://mpv.io/"
|
||||
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
SRC_URI="https://github.com/mpv-player/mpv/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ppc ppc64 x86 ~amd64-linux"
|
||||
DOCS=( RELEASE_NOTES )
|
||||
else
|
||||
EGIT_REPO_URI="https://github.com/mpv-player/mpv.git"
|
||||
inherit git-r3
|
||||
DOCS=(); SRC_URI=""
|
||||
fi
|
||||
SRC_URI+=" https://waf.io/waf-${WAF_PV}"
|
||||
DOCS+=( README.md DOCS/{client-api,interface}-changes.rst )
|
||||
|
||||
# See Copyright in sources and Gentoo bug 506946. Waf is BSD, libmpv is ISC.
|
||||
LICENSE="LGPL-2.1+ GPL-2+ BSD ISC samba? ( GPL-3+ )"
|
||||
SLOT="0"
|
||||
IUSE="+alsa aqua archive bluray cdda +cli coreaudio cplugins cuda doc drm dvb
|
||||
dvd +egl gbm +iconv jack javascript jpeg lcms +libass libcaca libmpv +lua
|
||||
luajit openal +opengl oss pulseaudio raspberry-pi rubberband samba sdl
|
||||
selinux test tools +uchardet v4l vaapi vdpau vulkan wayland +X +xv zlib
|
||||
zsh-completion"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
REQUIRED_USE="
|
||||
|| ( cli libmpv )
|
||||
aqua? ( opengl )
|
||||
cuda? ( opengl )
|
||||
egl? ( || ( gbm X wayland ) )
|
||||
gbm? ( drm egl opengl )
|
||||
lcms? ( opengl )
|
||||
luajit? ( lua )
|
||||
opengl? ( || ( aqua egl X raspberry-pi !cli ) )
|
||||
raspberry-pi? ( opengl )
|
||||
test? ( opengl )
|
||||
tools? ( cli )
|
||||
uchardet? ( iconv )
|
||||
v4l? ( || ( alsa oss ) )
|
||||
vaapi? ( || ( gbm X wayland ) )
|
||||
vdpau? ( X )
|
||||
vulkan? ( || ( X wayland ) )
|
||||
wayland? ( egl )
|
||||
X? ( egl? ( opengl ) )
|
||||
xv? ( X )
|
||||
zsh-completion? ( cli )
|
||||
${PYTHON_REQUIRED_USE}
|
||||
"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=media-video/ffmpeg-4.0:0=[encode,threads,vaapi?,vdpau?]
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.18 )
|
||||
archive? ( >=app-arch/libarchive-3.0.0:= )
|
||||
bluray? ( >=media-libs/libbluray-0.3.0:= )
|
||||
cdda? ( dev-libs/libcdio-paranoia )
|
||||
drm? ( x11-libs/libdrm )
|
||||
dvd? (
|
||||
>=media-libs/libdvdnav-4.2.0:=
|
||||
>=media-libs/libdvdread-4.1.0:=
|
||||
)
|
||||
egl? ( media-libs/mesa[egl,gbm(-)?,wayland(-)?] )
|
||||
iconv? (
|
||||
virtual/libiconv
|
||||
uchardet? ( app-i18n/uchardet )
|
||||
)
|
||||
jack? ( virtual/jack )
|
||||
javascript? ( >=dev-lang/mujs-1.0.0 )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
lcms? ( >=media-libs/lcms-2.6:2 )
|
||||
libass? (
|
||||
>=media-libs/libass-0.12.1:=[fontconfig,harfbuzz]
|
||||
virtual/ttf-fonts
|
||||
)
|
||||
libcaca? ( >=media-libs/libcaca-0.99_beta18 )
|
||||
lua? (
|
||||
!luajit? ( <dev-lang/lua-5.3:= )
|
||||
luajit? ( dev-lang/luajit:2 )
|
||||
)
|
||||
openal? ( >=media-libs/openal-1.13 )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
raspberry-pi? ( >=media-libs/raspberrypi-userland-0_pre20160305-r1 )
|
||||
rubberband? ( >=media-libs/rubberband-1.8.0 )
|
||||
samba? ( net-fs/samba )
|
||||
sdl? ( media-libs/libsdl2[sound,threads,video] )
|
||||
v4l? ( media-libs/libv4l )
|
||||
vaapi? ( x11-libs/libva:=[drm?,X?,wayland?] )
|
||||
vdpau? ( x11-libs/libvdpau )
|
||||
vulkan? (
|
||||
media-libs/shaderc
|
||||
media-libs/vulkan-loader[X?,wayland?]
|
||||
)
|
||||
wayland? (
|
||||
>=dev-libs/wayland-1.6.0
|
||||
>=dev-libs/wayland-protocols-1.14
|
||||
>=x11-libs/libxkbcommon-0.3.0
|
||||
)
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/libXext
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXrandr
|
||||
opengl? (
|
||||
x11-libs/libXdamage
|
||||
virtual/opengl
|
||||
)
|
||||
xv? ( x11-libs/libXv )
|
||||
)
|
||||
zlib? ( sys-libs/zlib )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
${PYTHON_DEPS}
|
||||
dev-python/docutils
|
||||
virtual/pkgconfig
|
||||
cuda? ( >=media-libs/nv-codec-headers-8.1.24.1 )
|
||||
doc? ( dev-python/rst2pdf )
|
||||
dvb? ( virtual/linuxtv-dvb-headers )
|
||||
test? ( >=dev-util/cmocka-1.0.0 )
|
||||
v4l? ( virtual/os-headers )
|
||||
zsh-completion? ( dev-lang/perl )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
cuda? ( x11-drivers/nvidia-drivers[X] )
|
||||
selinux? ( sec-policy/selinux-mplayer )
|
||||
tools? ( ${PYTHON_DEPS} )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.29.0-make-ffmpeg-version-check-non-fatal.patch"
|
||||
"${FILESDIR}/${PN}-0.29.1-egl-bound.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
cp "${DISTDIR}/waf-${WAF_PV}" "${S}"/waf || die
|
||||
chmod +x "${S}"/waf || die
|
||||
default_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
python_setup
|
||||
tc-export CC PKG_CONFIG AR
|
||||
|
||||
if use raspberry-pi; then
|
||||
append-cflags -I"${SYSROOT%/}${EPREFIX}/opt/vc/include"
|
||||
append-ldflags -L"${SYSROOT%/}${EPREFIX}/opt/vc/lib"
|
||||
fi
|
||||
|
||||
# Prevent access violations from zsh completion generation.
|
||||
# See Gentoo bug 656086.
|
||||
use zsh-completion && addpredict /dev/dri
|
||||
|
||||
local mywafargs=(
|
||||
--confdir="${EPREFIX}/etc/${PN}"
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}"
|
||||
--htmldir="${EPREFIX}/usr/share/doc/${PF}/html"
|
||||
|
||||
$(usex cli '' '--disable-cplayer')
|
||||
$(use_enable libmpv libmpv-shared)
|
||||
|
||||
--disable-libmpv-static
|
||||
--disable-static-build
|
||||
# See deep down below for build-date.
|
||||
--disable-optimize # Don't add '-O2' to CFLAGS.
|
||||
--disable-debug-build # Don't add '-g' to CFLAGS.
|
||||
--enable-html-build
|
||||
|
||||
$(use_enable doc pdf-build)
|
||||
$(use_enable cplugins)
|
||||
$(use_enable zsh-completion zsh-comp)
|
||||
$(use_enable test)
|
||||
|
||||
--disable-android
|
||||
$(use_enable iconv)
|
||||
$(use_enable samba libsmbclient)
|
||||
$(use_enable lua)
|
||||
$(usex luajit '--lua=luajit' '')
|
||||
$(use_enable javascript)
|
||||
$(use_enable libass)
|
||||
$(use_enable libass libass-osd)
|
||||
$(use_enable zlib)
|
||||
$(use_enable bluray libbluray)
|
||||
$(use_enable dvd dvdread)
|
||||
$(use_enable dvd dvdnav)
|
||||
$(use_enable cdda)
|
||||
$(use_enable uchardet)
|
||||
$(use_enable rubberband)
|
||||
$(use_enable lcms lcms2)
|
||||
--disable-vapoursynth # Only available in overlays.
|
||||
--disable-vapoursynth-lazy
|
||||
$(use_enable archive libarchive)
|
||||
|
||||
--enable-libavdevice
|
||||
|
||||
# Audio outputs:
|
||||
$(use_enable sdl sdl2) # Listed under audio, but also includes video.
|
||||
$(use_enable oss oss-audio)
|
||||
--disable-rsound # Only available in overlays.
|
||||
--disable-sndio # Only available in overlays.
|
||||
$(use_enable pulseaudio pulse)
|
||||
$(use_enable jack)
|
||||
$(use_enable openal)
|
||||
--disable-opensles
|
||||
$(use_enable alsa)
|
||||
$(use_enable coreaudio)
|
||||
|
||||
# Video outputs:
|
||||
$(use_enable aqua cocoa)
|
||||
$(use_enable drm)
|
||||
$(use_enable gbm)
|
||||
$(use_enable wayland wayland-scanner)
|
||||
$(use_enable wayland wayland-protocols)
|
||||
$(use_enable wayland)
|
||||
$(use_enable X x11)
|
||||
$(use_enable xv)
|
||||
$(usex opengl "$(use_enable aqua gl-cocoa)" '--disable-gl-cocoa')
|
||||
$(usex opengl "$(use_enable X gl-x11)" '--disable-gl-x11')
|
||||
$(usex egl "$(use_enable X egl-x11)" '--disable-egl-x11')
|
||||
$(usex egl "$(use_enable gbm egl-drm)" '--disable-egl-drm')
|
||||
$(usex opengl "$(use_enable wayland gl-wayland)" '--disable-gl-wayland')
|
||||
$(use_enable vdpau)
|
||||
$(usex vdpau "$(use_enable opengl vdpau-gl-x11)" '--disable-vdpau-gl-x11')
|
||||
$(use_enable vaapi) # See below for vaapi-glx, vaapi-x-egl.
|
||||
$(usex vaapi "$(use_enable X vaapi-x11)" '--disable-vaapi-x11')
|
||||
$(usex vaapi "$(use_enable wayland vaapi-wayland)" '--disable-vaapi-wayland')
|
||||
$(usex vaapi "$(use_enable gbm vaapi-drm)" '--disable-vaapi-drm')
|
||||
$(use_enable libcaca caca)
|
||||
$(use_enable jpeg)
|
||||
$(use_enable vulkan shaderc)
|
||||
$(use_enable raspberry-pi rpi)
|
||||
$(usex libmpv "$(use_enable opengl plain-gl)" '--disable-plain-gl')
|
||||
--disable-mali-fbdev # Only available in overlays.
|
||||
$(usex opengl '' '--disable-gl')
|
||||
$(use_enable vulkan)
|
||||
|
||||
# HWaccels:
|
||||
# Automagic Video Toolbox HW acceleration. See Gentoo bug 577332.
|
||||
$(use_enable cuda cuda-hwaccel)
|
||||
|
||||
# TV features:
|
||||
$(use_enable v4l tv)
|
||||
$(use_enable v4l tv-v4l2)
|
||||
$(use_enable v4l libv4l2)
|
||||
$(use_enable v4l audio-input)
|
||||
$(use_enable dvb dvbin)
|
||||
|
||||
# Miscellaneous features:
|
||||
--disable-apple-remote # Needs testing first. See Gentoo bug 577332.
|
||||
)
|
||||
|
||||
if use vaapi && use X; then
|
||||
mywafargs+=(
|
||||
$(use_enable opengl vaapi-glx)
|
||||
$(use_enable egl vaapi-x-egl)
|
||||
)
|
||||
fi
|
||||
|
||||
# Create reproducible non-live builds.
|
||||
[[ ${PV} != *9999* ]] && mywafargs+=(--disable-build-date)
|
||||
|
||||
waf-utils_src_configure "${mywafargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
waf-utils_src_install
|
||||
|
||||
if use lua; then
|
||||
insinto /usr/share/${PN}
|
||||
doins -r TOOLS/lua
|
||||
fi
|
||||
|
||||
if use cli && use luajit; then
|
||||
pax-mark -m "${ED}"usr/bin/${PN}
|
||||
fi
|
||||
|
||||
if use tools; then
|
||||
dobin TOOLS/{mpv_identify.sh,umpv}
|
||||
newbin TOOLS/idet.sh mpv_idet.sh
|
||||
python_replicate_script "${ED}"usr/bin/umpv
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local rv softvol_0_18_1=0 osc_0_21_0=0 txtsubs_0_24_0=0 opengl_0_25_0=0
|
||||
|
||||
for rv in ${REPLACING_VERSIONS}; do
|
||||
ver_test ${rv} -lt 0.18.1 && softvol_0_18_1=1
|
||||
ver_test ${rv} -lt 0.21.0 && osc_0_21_0=1
|
||||
ver_test ${rv} -lt 0.24.0 && txtsubs_0_24_0=1
|
||||
ver_test ${rv} -lt 0.25.0 && ! use opengl && opengl_0_25_0=1
|
||||
done
|
||||
|
||||
if [[ ${softvol_0_18_1} -eq 1 ]]; then
|
||||
elog "Since version 0.18.1 the software volume control is always enabled."
|
||||
elog "This means that volume controls don't change the system volume,"
|
||||
elog "e.g. per-application volume with PulseAudio."
|
||||
elog "If you want to restore the previous behaviour, please refer to"
|
||||
elog
|
||||
elog "https://wiki.gentoo.org/wiki/Mpv#Volume_in_0.18.1"
|
||||
elog
|
||||
fi
|
||||
|
||||
if [[ ${osc_0_21_0} -eq 1 ]]; then
|
||||
elog "In version 0.21.0 the default OSC layout was changed."
|
||||
elog "If you want to restore the previous layout, please refer to"
|
||||
elog
|
||||
elog "https://wiki.gentoo.org/wiki/Mpv#OSC_in_0.21.0"
|
||||
elog
|
||||
fi
|
||||
|
||||
if [[ ${txtsubs_0_24_0} -eq 1 ]]; then
|
||||
elog "Since version 0.24.0 subtitles with .txt extension aren't autoloaded."
|
||||
elog "If you want to restore the previous behaviour, please refer to"
|
||||
elog
|
||||
elog "https://wiki.gentoo.org/wiki/Mpv#Subtitles_with_.txt_extension_in_0.24.0"
|
||||
elog
|
||||
fi
|
||||
|
||||
if [[ ${opengl_0_25_0} -eq 1 ]]; then
|
||||
elog "Since version 0.25.0 the 'opengl' USE flag is mapped to"
|
||||
elog "the 'opengl' video output and no longer explicitly requires"
|
||||
elog "X11 or Mac OS Aqua. Consider enabling the 'opengl' USE flag."
|
||||
fi
|
||||
|
||||
if use cli && ! has_version 'app-shells/mpv-bash-completion'; then
|
||||
elog "If you want to have command-line completion via bash-completion,"
|
||||
elog "please install app-shells/mpv-bash-completion."
|
||||
fi
|
||||
|
||||
if use cli && [[ -n ${REPLACING_VERSIONS} ]] &&
|
||||
has_version 'app-shells/mpv-bash-completion'; then
|
||||
elog "If command-line completion doesn't work after mpv update,"
|
||||
elog "please rebuild app-shells/mpv-bash-completion."
|
||||
fi
|
||||
|
||||
elog "If you want URL support, please install net-misc/youtube-dl."
|
||||
|
||||
gnome2_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${S}"/build/test || die
|
||||
local test
|
||||
for test in *; do
|
||||
if [[ -x ${test} ]]; then
|
||||
./"${test}" || die "Test suite failed"
|
||||
fi
|
||||
done
|
||||
}
|
Binary file not shown.
@ -1 +1 @@
|
||||
Sun, 05 Jan 2020 17:08:48 +0000
|
||||
Mon, 06 Jan 2020 04:38:49 +0000
|
||||
|
@ -1 +1 @@
|
||||
Sun, 05 Jan 2020 17:08:48 +0000
|
||||
Mon, 06 Jan 2020 04:38:49 +0000
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,16 @@
|
||||
BDEPEND=>=app-portage/elt-patches-20170815 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69
|
||||
DEFINED_PHASES=compile configure install prepare pretend setup test
|
||||
DEPEND=app-arch/bzip2:= app-arch/xz-utils:= sys-apps/util-linux:= >=sys-libs/zlib-1.1.3:= virtual/libffi:= virtual/libintl gdbm? ( sys-libs/gdbm:=[berkdb] ) ncurses? ( >=sys-libs/ncurses-5.2:= ) readline? ( >=sys-libs/readline-4.1:= ) sqlite? ( >=dev-db/sqlite-3.3.8:3= ) ssl? ( !libressl? ( dev-libs/openssl:= ) libressl? ( dev-libs/libressl:= ) ) tk? ( >=dev-lang/tcl-8.0:= >=dev-lang/tk-8.0:= dev-tcltk/blt:= dev-tcltk/tix ) xml? ( >=dev-libs/expat-2.1:= ) bluetooth? ( net-wireless/bluez ) test? ( app-arch/xz-utils[extra-filters(+)] ) virtual/pkgconfig !sys-devel/gcc[libffi(-)]
|
||||
DESCRIPTION=An interpreted, interactive, object-oriented programming language
|
||||
EAPI=7
|
||||
HOMEPAGE=https://www.python.org/
|
||||
IUSE=bluetooth build examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl test tk wininst +xml
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86
|
||||
LICENSE=PSF-2
|
||||
PDEPEND=>=app-eselect/eselect-python-20140125-r1
|
||||
RDEPEND=app-arch/bzip2:= app-arch/xz-utils:= sys-apps/util-linux:= >=sys-libs/zlib-1.1.3:= virtual/libffi:= virtual/libintl gdbm? ( sys-libs/gdbm:=[berkdb] ) ncurses? ( >=sys-libs/ncurses-5.2:= ) readline? ( >=sys-libs/readline-4.1:= ) sqlite? ( >=dev-db/sqlite-3.3.8:3= ) ssl? ( !libressl? ( dev-libs/openssl:= ) libressl? ( dev-libs/libressl:= ) ) tk? ( >=dev-lang/tcl-8.0:= >=dev-lang/tk-8.0:= dev-tcltk/blt:= dev-tcltk/tix ) xml? ( >=dev-libs/expat-2.1:= ) !build? ( app-misc/mime-types )
|
||||
RESTRICT=!test? ( test )
|
||||
SLOT=3.9
|
||||
SRC_URI=https://www.python.org/ftp/python/3.9.0/Python-3.9.0a2.tar.xz https://dev.gentoo.org/~mgorny/dist/python/python-gentoo-patches-3.9.0_alpha2.tar.xz
|
||||
_eclasses_=autotools ea7865c8fba1ea8d3639f355fffe1a3c check-reqs 5e40a693d9c828e8f3655184116e8b73 eutils fcb2aa98e1948b835b5ae66ca52868c5 flag-o-matic cabe101302b461f32ecbc3767dfb9e23 libtool f143db5a74ccd9ca28c1234deffede96 multilib 1d91b03d42ab6308b5f4f6b598ed110e pax-utils a41d1fd1c111289ffa04490de6ee79d7 python-utils-r1 611c493a4cfef5254350fabc04b606f5 toolchain-funcs 512eb3367f507ebaa1d1d43ab7d66e6c
|
||||
_md5_=042461cf02bcf41fb638c7aea0989307
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,12 @@
|
||||
DEFINED_PHASES=install
|
||||
DESCRIPTION=XML utility class
|
||||
EAPI=7
|
||||
HOMEPAGE=https://pear.php.net/package/XML_Util
|
||||
IUSE=examples
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86
|
||||
LICENSE=BSD
|
||||
PDEPEND=dev-php/PEAR-PEAR
|
||||
RDEPEND=dev-lang/php:*[pcre(+)]
|
||||
SLOT=0
|
||||
SRC_URI=https://pear.php.net/get/XML_Util-1.4.4.tgz
|
||||
_md5_=c974698a0f8c82ecd01330564f809e83
|
@ -0,0 +1,15 @@
|
||||
BDEPEND=>=app-portage/elt-patches-20170815 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 sys-devel/m4 sys-devel/libtool php_targets_php7-1? ( dev-lang/php:7.1 ) php_targets_php7-2? ( dev-lang/php:7.2 ) php_targets_php7-3? ( dev-lang/php:7.3 ) php_targets_php7-4? ( dev-lang/php:7.4 )
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=php_targets_php7-1? ( dev-lang/php:7.1 ) php_targets_php7-2? ( dev-lang/php:7.2 ) php_targets_php7-3? ( dev-lang/php:7.3 ) php_targets_php7-4? ( dev-lang/php:7.4 )
|
||||
DESCRIPTION=A fast drop-in replacement for the standard PHP serialize
|
||||
EAPI=7
|
||||
HOMEPAGE=https://github.com/igbinary/igbinary
|
||||
IUSE=php_targets_php7-1 php_targets_php7-2 php_targets_php7-3 php_targets_php7-4
|
||||
KEYWORDS=~amd64 ~arm ~arm64 ~x86
|
||||
LICENSE=BSD
|
||||
RDEPEND=php_targets_php7-1? ( dev-lang/php:7.1 ) php_targets_php7-2? ( dev-lang/php:7.2 ) php_targets_php7-3? ( dev-lang/php:7.3 ) php_targets_php7-4? ( dev-lang/php:7.4 )
|
||||
REQUIRED_USE=|| ( php_targets_php7-1 php_targets_php7-2 php_targets_php7-3 php_targets_php7-4 )
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/igbinary/igbinary/archive/3.1.0.tar.gz -> igbinary-3.1.0.tar.gz
|
||||
_eclasses_=autotools ea7865c8fba1ea8d3639f355fffe1a3c libtool f143db5a74ccd9ca28c1234deffede96 multilib 1d91b03d42ab6308b5f4f6b598ed110e php-ext-source-r3 dd53cd94748f9e498bea0f9480ba8d77 toolchain-funcs 512eb3367f507ebaa1d1d43ab7d66e6c
|
||||
_md5_=2992155ca4436f204c32961b1425b7e5
|
@ -0,0 +1,15 @@
|
||||
BDEPEND=>=app-portage/elt-patches-20170815 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 sys-devel/m4 sys-devel/libtool php_targets_php7-1? ( dev-lang/php:7.1 ) php_targets_php7-2? ( dev-lang/php:7.2 ) php_targets_php7-3? ( dev-lang/php:7.3 ) php_targets_php7-4? ( dev-lang/php:7.4 )
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=sys-apps/util-linux php_targets_php7-1? ( dev-lang/php:7.1 ) php_targets_php7-2? ( dev-lang/php:7.2 ) php_targets_php7-3? ( dev-lang/php:7.3 ) php_targets_php7-4? ( dev-lang/php:7.4 )
|
||||
DESCRIPTION=A wrapper around libuuid
|
||||
EAPI=7
|
||||
HOMEPAGE=https://pecl.php.net/uuid
|
||||
IUSE=php_targets_php7-1 php_targets_php7-2 php_targets_php7-3 php_targets_php7-4
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=LGPL-2.1
|
||||
RDEPEND=sys-apps/util-linux php_targets_php7-1? ( dev-lang/php:7.1 ) php_targets_php7-2? ( dev-lang/php:7.2 ) php_targets_php7-3? ( dev-lang/php:7.3 ) php_targets_php7-4? ( dev-lang/php:7.4 )
|
||||
REQUIRED_USE=|| ( php_targets_php7-1 php_targets_php7-2 php_targets_php7-3 php_targets_php7-4 )
|
||||
SLOT=0
|
||||
SRC_URI=https://pecl.php.net/get/uuid-1.1.0.tgz
|
||||
_eclasses_=autotools ea7865c8fba1ea8d3639f355fffe1a3c libtool f143db5a74ccd9ca28c1234deffede96 multilib 1d91b03d42ab6308b5f4f6b598ed110e php-ext-pecl-r3 a59741d3df8ea9f17afcdcfb7edaee6d php-ext-source-r3 dd53cd94748f9e498bea0f9480ba8d77 toolchain-funcs 512eb3367f507ebaa1d1d43ab7d66e6c
|
||||
_md5_=623e005129b32c6734ffeeb81e401c24
|
@ -0,0 +1,10 @@
|
||||
DEFINED_PHASES=install postinst
|
||||
DESCRIPTION=A PHP Unit Testing framework
|
||||
EAPI=7
|
||||
HOMEPAGE=http://phpunit.de
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86
|
||||
LICENSE=BSD
|
||||
RDEPEND=dev-php/fedora-autoloader >=dev-php/File_Iterator-2.0.2 <dev-php/File_Iterator-3.0 >=dev-php/Text_Template-1.2.1 <dev-php/Text_Template-2.0 >=dev-php/PHP_CodeCoverage-7.0.7 <dev-php/PHP_CodeCoverage-8.0 >=dev-php/PHP_Timer-2.1.2 <dev-php/PHP_Timer-3.0 >=dev-php/doctrine-instantiator-1.2 <dev-php/doctrine-instantiator-2.0 >=dev-php/myclabs-deepcopy-1.9.1 <dev-php/myclabs-deepcopy-2.0 >=dev-php/phar-io-manifest-1.0.3 <dev-php/phar-io-manifest-2.0 >=dev-php/phar-io-version-2.0.1 <dev-php/phar-io-version-3.0 >=dev-php/phpspec-prophecy-1.8.1 <dev-php/phpspec-prophecy-2.0 >=dev-php/sebastian-comparator-3.0.2 <dev-php/sebastian-comparator-4.0 >=dev-php/sebastian-diff-3.0.2 <dev-php/sebastian-diff-4.0 >=dev-php/sebastian-environment-4.2.2 <dev-php/sebastian-environment-5.0 >=dev-php/sebastian-exporter-3.1.1 <dev-php/sebastian-exporter-4.0 >=dev-php/sebastian-global-state-3.0 <dev-php/sebastian-global-state-4.0 >=dev-php/sebastian-object-enumerator-3.0.3 <dev-php/sebastian-object-enumerator-4.0 >=dev-php/sebastian-resource-operations-2.0.1 <dev-php/sebastian-resource-operations-3.0 <dev-php/sebastian-type-2.0 <dev-php/sebastian-version-3.0 >=dev-lang/php-7.2:*[cli(-),json(-),unicode(-),xml(-),xmlwriter(-)] !dev-php/phpunit-mock-objects
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/sebastianbergmann/phpunit/archive/8.5.1.tar.gz -> phpunit-8.5.1.tar.gz
|
||||
_md5_=5e39bb9b65e3c7c1ecc8675dfa377a1a
|
@ -0,0 +1,16 @@
|
||||
BDEPEND=>=app-portage/elt-patches-20170815 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 sys-devel/m4 sys-devel/libtool php_targets_php7-1? ( dev-lang/php:7.1 ) php_targets_php7-2? ( dev-lang/php:7.2 ) php_targets_php7-3? ( dev-lang/php:7.3 ) php_targets_php7-4? ( dev-lang/php:7.4 )
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=app-arch/brotli:0= dev-libs/libaio dev-libs/boost:0= dev-libs/libpcre sys-libs/zlib:0= http2? ( net-libs/nghttp2:0= ) ssl? ( !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:0= ) ) php_targets_php7-1? ( dev-lang/php:7.1[cli,sockets?] ) php_targets_php7-2? ( dev-lang/php:7.2[cli,sockets?] ) php_targets_php7-3? ( dev-lang/php:7.3[cli,sockets?] ) php_targets_php7-4? ( dev-lang/php:7.4[cli,sockets?] ) mysql? ( php_targets_php7-1? ( dev-lang/php:7.1[mysql,mysqli(+)] ) php_targets_php7-2? ( dev-lang/php:7.2[mysql,mysqli(+)] ) php_targets_php7-3? ( dev-lang/php:7.3[mysql,mysqli(+)] ) php_targets_php7-4? ( dev-lang/php:7.4[mysql,mysqli(+)] ) ) php_targets_php7-1? ( dev-lang/php:7.1 ) php_targets_php7-2? ( dev-lang/php:7.2 ) php_targets_php7-3? ( dev-lang/php:7.3 ) php_targets_php7-4? ( dev-lang/php:7.4 )
|
||||
DESCRIPTION=Event-driven asynchronous & concurrent & coroutine networking engine
|
||||
EAPI=7
|
||||
HOMEPAGE=https://www.swoole.co.uk
|
||||
IUSE=debug http2 libressl mysql sockets ssl php_targets_php7-1 php_targets_php7-2 php_targets_php7-3 php_targets_php7-4
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=Apache-2.0
|
||||
RDEPEND=app-arch/brotli:0= dev-libs/libaio dev-libs/boost:0= dev-libs/libpcre sys-libs/zlib:0= http2? ( net-libs/nghttp2:0= ) ssl? ( !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:0= ) ) php_targets_php7-1? ( dev-lang/php:7.1[cli,sockets?] ) php_targets_php7-2? ( dev-lang/php:7.2[cli,sockets?] ) php_targets_php7-3? ( dev-lang/php:7.3[cli,sockets?] ) php_targets_php7-4? ( dev-lang/php:7.4[cli,sockets?] ) mysql? ( php_targets_php7-1? ( dev-lang/php:7.1[mysql,mysqli(+)] ) php_targets_php7-2? ( dev-lang/php:7.2[mysql,mysqli(+)] ) php_targets_php7-3? ( dev-lang/php:7.3[mysql,mysqli(+)] ) php_targets_php7-4? ( dev-lang/php:7.4[mysql,mysqli(+)] ) ) php_targets_php7-1? ( dev-lang/php:7.1 ) php_targets_php7-2? ( dev-lang/php:7.2 ) php_targets_php7-3? ( dev-lang/php:7.3 ) php_targets_php7-4? ( dev-lang/php:7.4 )
|
||||
REQUIRED_USE=|| ( php_targets_php7-1 php_targets_php7-2 php_targets_php7-3 php_targets_php7-4 )
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
SRC_URI=https://pecl.php.net/get/swoole-4.4.14.tgz
|
||||
_eclasses_=autotools ea7865c8fba1ea8d3639f355fffe1a3c libtool f143db5a74ccd9ca28c1234deffede96 multilib 1d91b03d42ab6308b5f4f6b598ed110e php-ext-pecl-r3 a59741d3df8ea9f17afcdcfb7edaee6d php-ext-source-r3 dd53cd94748f9e498bea0f9480ba8d77 toolchain-funcs 512eb3367f507ebaa1d1d43ab7d66e6c
|
||||
_md5_=0552fbeecf41e691c2e81301fe2372c7
|
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue