parent
0c6b70f67e
commit
fafc56c992
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29454 BLAKE2B 729e46e063b280b72de15f83fa44f228e30a72dea0c38071607f2c195a6507d99333d59ba8645313002086e6272435f3dcb506679bb51d9b8fbfcf04e7425c91 SHA512 f96f1b8d83493c82bbdf2fbb15f15bf7344177205551d9c9d4543b3a6d2dc73ac923b72e989b9e7b85de43750102b96e5f46a4b13dc71b7e90eddbaaaebfafc3
|
||||
TIMESTAMP 2020-01-05T17:08:52Z
|
||||
MANIFEST Manifest.files.gz 29464 BLAKE2B d775be9df656a7fc774a1953c47a739494cbc135460f3521d84382a8aec6f8872209a48974d2df98cf3aeb46c298b228f04b50168348ca63f958a8e5daa76120 SHA512 5b0baca7a618ee22fc38900c7b923b4a5256777cbb362c4719c5ed0d33b03851331092329e2614edde1588ea8239f3fa6d6f80683cb72472646c38e4f39c0ad2
|
||||
TIMESTAMP 2020-01-06T04:38:54Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAl4SGCRfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAl4Sud5fFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klDysg/9HTCTkC62+mo1ntNCa/ZkhFe30SzFXVPlIbnGKS+5tG27ejvUs1wBGS0O
|
||||
ZtVKxQngDaS12fTHR/JJWyUEogEEuiO8aURAu5gk4Erpid8krjifl+J6ZN0sBjcD
|
||||
8d4APsmvraZ/IFiU4G0g5/Xm3fY0rIQCsix7gUmIn8x5nuH6VDaNUxl2HX9VNGAc
|
||||
KZaNA8a3JSgG2aHmugFV6tTKIPTJuDysqIt3tHPYQTF1VYqm8iqGeJeDaHJntfBj
|
||||
3/gjpOBDOKstkBgeeADqruQUbv9ztvCKTIovI9ltMfV7VTFEKHAiIbiogUgjtrqA
|
||||
3M6KhqjEw3TC4W4k3Kx72rLIs2ek07I/p9sTBt5+Hm+xellC1yppRAcsHHLl6tN1
|
||||
/xH4rGeBvBtkAffpOiO7cS8qXTTbasLIWql7TZCAerg8paFwjblcSiOs0cna1gau
|
||||
ftEd4LIcF1t4OcE4WKU5sHg5MR/DyM0iQlQrXWg96j46T8F8lfxWUmOdDcYM2kLV
|
||||
lUVHYLkL83c1SW48+55uCVtU8vZHbdKzJzH1w2Vf4R+33bqMHvDQc6UUUdaM4+cQ
|
||||
WYPF7AG0pnwvmb7duZN+PibUFHDlqIk2FjP2B/X4YHpG+ILvTQRnPxki8QFYwc2L
|
||||
deUuDNRu8hpy4JggdgHYJhjTTD08lHrcLI6NgNwxn6sqx+bN2xQ=
|
||||
=zzng
|
||||
klDjSQ//beWiaNwnI1X7TmEannMMqZMIbsr/EYWv4FkqhKsYZIA7y5KEmnO0cGkL
|
||||
0EJ/fvl+4jXQ0io7rpAXKW0fboefe3OewTcdME4QWwWm3uYkq13wrGAanWJfvgUL
|
||||
RhAlXQxiQGDSxaYguCWjmRYNAxxKxjGaHRpnBkMpnTUYt9uNvAFHVhgjMyeDP9IY
|
||||
gjpgJ0WlQbxUVeRmxRPvBXwZDTNj/uG2K2bNSwAZtEv+qkTU7mcxzDTCXRdBTb23
|
||||
SYIWBKs//VCm/1YOqQBY2koZsrgx8FHrWFDQ3gK3g8YW+B9T9pL5S6SWMufRRl4q
|
||||
laKWjOw8Vf5MMPZmRRTcrMq2QKBvrBV3lyoT+NVo2w3ftcpyQEiLGnuEbVFy9zcX
|
||||
VsCS9U8hZy/6eNiMrXXYa1CrFft0gnr6d2bn0VOSl3gGuxj8MXylZaaZydQQF2fJ
|
||||
dVKLzVsfmnwPozcc1PWD9txNoVaVlFiBo6R+E7LM2TFbsL621tIbruk1HCiGtLX+
|
||||
ggzCczx8d7pS/MmaN2dnT+53RLRtfVF2/de0xLs6VnZPNQd4wHJ7bQh4D95npGOX
|
||||
+xrlhbdkA4fWSxKGz2zl2puhofExJ40Zz/jMynPXj3wiDbnmcj24uGDe9nrhdU7D
|
||||
G+KC3kpcbLYkQXFqXJ7mDrGEVsIYtBq38+96xIZejn/w+HV6Syg=
|
||||
=uUA5
|
||||
-----END PGP SIGNATURE-----
|
||||
|
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.
@ -1,3 +1,4 @@
|
||||
AUX criterion-libdir.patch 977 BLAKE2B 4d8c3510563d32a0b9bb8d61d90379173403f51046b87345e41f3f85014c8f88ff90b8c15fa0de1d99f4440c4d6d1a6f2735f73bf3e2f49bb87e6618ac16a97f SHA512 ff63aa827deb529c8e87978af9646cb52cc632edb7cd31fe398a989786303fef3830af3fbcedc59b1aa09268abc6c697f31355d084387e28067ebd3a1ad2c792
|
||||
DIST criterion-v2.3.3.tar.bz2 1821413 BLAKE2B 7972bf03870ae07da57252f7d62f3f5818755ad9ea2a0bed7b73d42649fbf5069c1a9af16bd8da9366d0506bbc86ec93a12904809bf91e36618d53f5d8674c18 SHA512 bf53716ff90421a42dd4d1bbd61451a4183aa6436af901c222e43e9e9b3e008008a891157a1c982b80c04e7e68aadc287392503094a3c4ad9c2066432d548e16
|
||||
EBUILD criterion-2.3.3.ebuild 1119 BLAKE2B c4b038c5f50c529838fdf08d69223c9ff56d6fba871c0c7603480f0df980d446dd760b8972958cd7f371fcc63c3090a9fb4d90188213bdba773279d30fafffa0 SHA512 4dc0884d22efd6e8b31584338ed406a0c8cc161b5d185f17249370ae5f653345b0e2b5b66150ccc6c9a38b47af7fa67f565e3341fe994f564e14feb07fc534c2
|
||||
EBUILD criterion-2.3.3.ebuild 1072 BLAKE2B 11263468ead77bec500b65fad1873f37f11d01041843e1aa137812d4e1385b706920d397c32b9c23671a0a061b4ef0eaf38cd70e75ca8b31037cd69ba02f5b04 SHA512 1592287e01a1ebebfd13658db3de23a5c10d8ed162da81460519d522de23a898c994660861ba825ee57b6863f1aeb01930d98bfaf096f370d33de40c6eabc2e7
|
||||
MISC metadata.xml 464 BLAKE2B 336514e525410272f84e05c76be4fad57be4198bc88ebcc5f048615f233a0b69035b27728e15b2190ba04c13671aee6756be24b4fe8a5b09118b78abef918529 SHA512 42131d0130a9d260ac5f305a261c883a3c6222c21abdeef290d9f71f3080932acbd4127eb44266b4c69c782eb63f18df4fcf4a5a97829d9f8483fc1d3d853a1c
|
||||
|
@ -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,5 +1,7 @@
|
||||
DIST XML_Util-1.4.2.tgz 18993 BLAKE2B b2667aed3b3ec75dd8fca1625c6fa3d03a7662c24ce0fce69cb983f42fc3f45bc0bf27bdee7353c1d29fe0eabc181f2cbd415883575f5d6cf7163097c10f6d9c SHA512 e0a328f92cdcd09277238e14d68b73cba319ab9b4e9c50ab102b43f73c889599f5933415dc228bd1feb56a48c1527e0e9a86999ee2209b2d84131691aee74cbe
|
||||
DIST XML_Util-1.4.3.tgz 18842 BLAKE2B 1cd0065b84e07a8cbc7f4d44c10362d40e71254b4964b3aa3d4d11cad5cb7e5bce780f926c69cc4fc871ac3c28d8239a428c145389950b4d6f6e626b6215dfc9 SHA512 c21a7cef90743e124c4bc8e0453b634de8f6a6b0aac060acc1a17f481a2eb8757d322b05c69151280b7651cea927b2c64b7d49b9fd815dcdc606d0472d967310
|
||||
EBUILD PEAR-XML_Util-1.4.2.ebuild 647 BLAKE2B 04623b2faa2b6de6d4f23884683140a6ee7df25a9f277265158ddf2e97a791face02be24530fb0e0eec005654752c9d99064c270ae634cd114ce34946d010b43 SHA512 54407454802ebb44055aed49822bfcb5a5d8178f049ba5069adccad13389a0bf3cdf8b69bfa0a8d2030f78c8587a3fbdd44c24bdaac7e6aa3e27d3a28e6b42b2
|
||||
EBUILD PEAR-XML_Util-1.4.3.ebuild 657 BLAKE2B c7976641cfe84013451b6cceb4feab0c4c0b35cae69a4a8239fdcfcbc6146bb271f843d2572fb978a8d2752c6e36ed1e697760f38103bb87fb6749a449f93313 SHA512 8cc94051b3775dc11e5f55cc21154185863fc47e38bcded9613bfed444b5502726aef9d6dfd28b69ad194cfa5d27692eca753442e3f910af6b4a104df4a16fdf
|
||||
DIST XML_Util-1.4.4.tgz 19069 BLAKE2B bd809d8a3250e5d08793f6d6ae50ebdbd0e95e46b667edf7176ac125b902cee8334bc6abe85704a945a508cba6a2146e5bbcb6039a40316ea8d2b1b30590d139 SHA512 3c2ae4492e76729da561398a43416cd540284297b497d2c1526515c00ba2918b9d520b580e21111cf9f9e133d473289cc9c896bc28ddd0c64a849ee66f897e42
|
||||
EBUILD PEAR-XML_Util-1.4.2.ebuild 647 BLAKE2B 7fda91830bb003fa4c85c7aa60a7c165b2ea0d78d65c04c18577694f40efe00ec071f656bf87e2a522fb898539f36aa248779c120da46cc952b8b3729a8de0c7 SHA512 d9042e3142a596a4594eb11106bf45c532e8e5b87fdf70318c91ab467760d033b1aa5b4deedacc7a0b44c023ba6a3b7f2ed54254d1f8a5fe2c7837ca947f05b8
|
||||
EBUILD PEAR-XML_Util-1.4.3.ebuild 657 BLAKE2B cc6b49689d3af6cd1da56bc6ddf18967959936a8d5a937d52f6b4ad0800d257d60489049a51c68372e3556c4369253e4f7d4859c43338eb055cc22c7bc93c920 SHA512 5f4633e7b102d5ece34a90939b79bce7e1c0527245222ddae9c0ed81ba5ce77527c97239d64452c096c899f9a0930c39ae4f624def3caed7298c8b7db5256806
|
||||
EBUILD PEAR-XML_Util-1.4.4.ebuild 657 BLAKE2B cc6b49689d3af6cd1da56bc6ddf18967959936a8d5a937d52f6b4ad0800d257d60489049a51c68372e3556c4369253e4f7d4859c43338eb055cc22c7bc93c920 SHA512 5f4633e7b102d5ece34a90939b79bce7e1c0527245222ddae9c0ed81ba5ce77527c97239d64452c096c899f9a0930c39ae4f624def3caed7298c8b7db5256806
|
||||
MISC metadata.xml 310 BLAKE2B d264a3ec20fb493c77b95f1225895c3a77d0abbe96f7c5240b804b785211d9aa0b2b26e1efd39e2592d96fd6f2ba42568e97428f944ee6952e101d577bb3e99b SHA512 a0726d245546336d0efa22151520fc51461ec1bdb31f2a4012ffcd5fd94858168f621aa903e489e44c43023c8d1a2b3f8aa05d995975b1abf7332e7cf3eed5e8
|
||||
|
@ -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,6 +1,8 @@
|
||||
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
|
||||
EBUILD igbinary-2.0.8.ebuild 601 BLAKE2B be19ce53c022c99316a8b58d4094689359de8616cac2ba89a28358d1e30923f29ac3d4e5e019a757eb60e94ff01ccfab156372658c3c741b5708f56747f76e2f SHA512 c7def1965ca0b8eea4f787ba6c72fc728aa4570aa44245052c70821f6e9dbec802d352f3700ce9e3756f7273183fe6591adc732cd1447f0ba93fc48c837f2340
|
||||
EBUILD igbinary-3.0.1-r1.ebuild 599 BLAKE2B 436b3d1e411a78fa4eef6a748053b099518b18e1b3bd23e83710c2994bac9f3d0a109d795b252bda500f0c3b13a39f6b52a6df660102863bc38986ab19d53135 SHA512 bfa32a3041fef61a754224b95ad997bc8ff9bbda66a030d1ef76e94f0ce91023dcfaf09f1cdb69d6ab21e588a5988e6501f28d54e3d847073ddf7b08f26cad37
|
||||
EBUILD igbinary-3.0.1.ebuild 587 BLAKE2B dab9e2e17bc509e6b0d393df5c04c6bb8e5213cc8548c7936d5ecad8f115a95cf426166163fc2ad4b7d92af5f550c9a666eee3bbe30fb39ea110af83a9fc6602 SHA512 7b7f68a8c261c7304f8ad056c275912d95938ff2c5c29823c21e13c757eac4ce93fc4078f404c7329e38406548e191f3b122df9365f089198b0dae0451fe3e07
|
||||
EBUILD igbinary-3.1.0.ebuild 599 BLAKE2B 574cbbe31a4aba26a815825345c778b203bb63d96f92a8b42bcbefefa388607d06c8c528626650cf2e48b1e53a1c29da6e27538a7a22f36228b55e1cfa6a28ac SHA512 f02a4c2ec35240862a7532c41d556eb01c68be7dc3d2b912bd185529a0bb7b82f965cb2fbcabd1dee86d54c278b4b1a68f8269a304b6dda349786e041b719e74
|
||||
MISC metadata.xml 331 BLAKE2B 4187300236aa128879679c7cb4a8ddfa19dfd512a76466e835224c30323f2fafd55189228bdced507ababd5b90f561f6bb44c1554392eb0682b6ba5c7a20b681 SHA512 86f467f549b36915940e45a4e151742f2925293106dd3da2958e6153aaa8fed378b2eb563bf69da0d38101409858a4abe308f608bd94de6b4517daf9da092405
|
||||
|
@ -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,3 +1,5 @@
|
||||
DIST uuid-1.0.4.tgz 14900 BLAKE2B d653329fbac1bec66d842e048b290ac6b0382f78e6ccd6f2158bafaaa375ae4e951f794d4b70c139b23a28d6ddbc1f44be47cf2af0bd2fd09de33beb17b0f837 SHA512 989d993f8158a13026b8e5c02f4aa50489b1a946d12da81dd1fff6091839a45b180562f74c8af368a498c495477374ec9e1d536e7de0178c1f288e3abe360164
|
||||
DIST uuid-1.1.0.tgz 15225 BLAKE2B 0a5a326076707e0d3e7c779151a13853e52d026ebdf62c9ab147cf5d00bbc68a3d82e15101c1d4a232d96ea7e988304a25517723adb3127938474172dfab16c2 SHA512 aea814a12e266e4a9e36c58bae78927fa9de6d2b7bf9c75a911710b26958aeecd31d972f56519cf4882a4b13864bc0740ad968b06e704ce7642279253009e76d
|
||||
EBUILD pecl-uuid-1.0.4-r2.ebuild 436 BLAKE2B 717097531095519f887f0e4b69a5e6ef160f93534247f0d4772dfd3dac4010ad89ba56f14ca3adb82d02f8222a3b094c90e477e90cdb22d352e1de82b00db9ab SHA512 fc172fe056960e705eb50280391ff01511a5dbd3d637ec78683166913af03cfff67fc6815e3773212c1a2f1afd63b2bc6acdcbb9e0b06ec5c778f5f4e51caf59
|
||||
EBUILD pecl-uuid-1.1.0.ebuild 422 BLAKE2B 9365759899e4c20d1c12e2b54c19f1f9bdd981f8ece3e0ef187cda55144581b2f6779fa372e7f8dbe1d1b1b87c3f3e651d0d1765373fad29648f5d8138b6514b SHA512 269853f1eb67f90e89b2ed2a6155cacd1c2f55627cbc75c5fd2e4ffd3e8185d55dc93c7e29d4e3113127641afe957bbd0166de6bbedbd75b9bf0f48bee9b1f07
|
||||
MISC metadata.xml 245 BLAKE2B 7d88a41bb224d6e6c8bc6ed766d24c4141ff7079307fc4e2dadd0d2300b565f5d8332f5a61ad49896af208f136f102bbfedb7b1f61241a82f21cbb6b0d9cc7e9 SHA512 81a613ac5d1bbcb88aad55e16c2b878dcc3a985a8c0d3b802a302067d94c3f878fa8b10aa4804a799a4180464b523eac2ee1bd6547d8baca8647e1e5cce38897
|
||||
|
@ -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=()
|
@ -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,5 +1,7 @@
|
||||
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
|
||||
EBUILD swoole-4.2.13.ebuild 1789 BLAKE2B 043b1bf3d91ef7f60c7a659c7c9ba0795bd3d8cbfdb8abab88e5ea78234368ce2c793684f18b537831c34ca02148c58e27b253794398470bb9ba8de4a8a4889c SHA512 ccba3090b0f05821e5c8784672c787545774e138b5ad94098be81d535158f551648c81dc790846106caa690417a3d7480c2f709e740dd3e5c8b2760f235e822a
|
||||
EBUILD swoole-4.4.12.ebuild 1872 BLAKE2B fd616184c677b17df98f51216296eb7d0bf3e1262ead010c18da737638a8bc5a4709117770148a5fb361cff41e26df075ca1573d92e3d58f4c2dce37a3c50471 SHA512 35c05d7c7719498e1056af08ab9ab0d76ebdb38632836447294709feb0201a3c4adac45f7b4ce94e653afaa90afa1f9df9c56a1c0dcac1e85d16348a0dbce54e
|
||||
EBUILD swoole-4.4.14.ebuild 1872 BLAKE2B 35afca5e687dcf37f1fb24d478d174d6c77d440ec0afdcbb02cd49bedf377378544fe6cc0db714dc217339a21514c51e5ff49ef95e338fd42c0a7e75aeb17e3a SHA512 7bfd6458d0ac351eb266004c754d6219c796d906fa25c430bcc565b4e0da799f86380440929804c93c5149308afb92e32cd9e1dcae482d7cf0352f096cf586df
|
||||
MISC metadata.xml 344 BLAKE2B b6bba613a547a33d17c214859118a6f8c499b65763a8373dde96b955efc9609ddb2f2de6cf678a5f0f1552ac1b054661d2771b68cc007327950721b9e36417aa SHA512 8fe672a189916bf935ff0bc312b617658d3fd789bceb0305dbe9745600690cc2b9d93d2bf60b1bd517c1824c5cef2ea8ebe4eab69716ecba5763742b15cf61c0
|
||||
|
@ -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
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
DIST py-filelock-3.0.10.tar.gz 587469 BLAKE2B 8a116f038f344f282540243a757524bd2e72ab8419a0cbdc35910245b8794cab0f96f93d7d8e3b267018054aa1459892506edc9cbfe1099d141a44be9eaa937a SHA512 1fa4594eaba6689ea61149a60a71e86007297614a1c22dc6c94b4774520d396ff8ad03076dfdbb2ce49d2b6e42c374af065a115c167d81cf6107918abfbe52ef
|
||||
DIST py-filelock-3.0.12.tar.gz 587613 BLAKE2B 3eb765e4cb251ace50fcaf3b7cf52939e697d5a710b87eb2f0ea0cf66f554b90bda2e95754b82e1544e45d0abd8dea861f52cdf9c7de0f1e91a8f5c8e0f9759c SHA512 0f30b54b9de2540f023855effcc582b18fedcee6681f21e1733f1b60dbd39eb148e3830bc798a44c5e8c22e7ea8ca26b6d4547fae79dacc78c62b819a3d84683
|
||||
EBUILD filelock-3.0.10.ebuild 1007 BLAKE2B 262c18c5972a245e06cc3f8d9a3cdbf98092bc193af0308aca8b9b87ce5ba5ac88edf1dadf300c9a3037bbce4f1972be6e32bf9885c9d724cfdebf39e5fce757 SHA512 d04bec2a3e414751440bb46c04b0c92db2b96f4659184b856ac30a29c86cb955fe06e5fa1ac1a6366701270ea6677fe1eacd8574016919f373f5200c71eb9ab0
|
||||
EBUILD filelock-3.0.12.ebuild 673 BLAKE2B 95dc1cdbf590f90e60194d1cfe0552cabd6954a9470c10eb778aaeb2de65f5ea944ffca8d2f9556db234311ebbe21f3f611abef84b0735c754b60464e68d26fb SHA512 c910d0569b4d79d23c7f7657b064f6d71e0b628865a1147bd442436ae0087aca9a7781258dcee28cdc859245d75b9d0511bf44b48d85375af5ca441955396665
|
||||
EBUILD filelock-3.0.12.ebuild 671 BLAKE2B 0bfaf5f2576f02d59cf7427055d19d2bd757ab82db91854a5b84b5ff56c44b0b090a526cce3fc94d912e3b168a80beb67ff50032b12570fd8e4c08bf3fdd1e12 SHA512 e12d08ace64f79f24f2e62cdbf918967afb7af8110ab2259228151ad204e9889d2c9a4db7d4acf541198740ada1330cc472d3df1b4464078b7fdc4d57e10ec6e
|
||||
MISC metadata.xml 356 BLAKE2B 795142cf645edcb80e9a087e62fadbab50c5db359946ec290dc0c0b1c4ae12a666a0dbba4b2212a27310339c783f0c13e0a28a42df45a4cc9e781674d9514fc2 SHA512 3617ad60e67b84ce0d36bb1caef8a6b1dfac31d487ead4887b70f575726974b27d73208cc8ca0039a2334c6deb6609cf8ed85c8404c6b3a4efe0ad7bbc69507a
|
||||
|
@ -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,3 +1,5 @@
|
||||
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
|
||||
EBUILD mypy_extensions-0.4.1.ebuild 1030 BLAKE2B a39d1bc195dbde421382fe34d27d5985359c03e31323b5df51622ac97fbb89096d78e351744b2aded138d90ec2a05ef5e729143e86232edf7a68f9ebc1560828 SHA512 fa403ab867dbaa172cb247c8c2f180fb5def2f63b486fee2b38ce2665caf400d4503ec17fa7e29a93c54fa3d7f6a4d8cd7cb960ceb7cc82f667ed2422ceef66c
|
||||
EBUILD mypy_extensions-0.4.3.ebuild 1040 BLAKE2B aabc6d0e793c6847aed2b1aa04095ba1505c58a7478908df93d1b1f5f6d89ef6ed22dce0dae0029e5542f419985a53a936eefd5edd5961bdf58f623f03d9b46b SHA512 e207e0c4deaee2d1bf605a07bf4b11e8aaadf923325e3db5656d967cf6cddc1b98812ec5cc02196f42274159930d59406e5f4d7de946e68ae02cb5c6b804268c
|
||||
MISC metadata.xml 418 BLAKE2B a413884e5865ee7a5ef3fc286911cb613b197aff249a7779d9bcf5c38499faa4b27590534639c4bf57a11c80748d33bf12348e020b1090a3b7c07e773f11c6fc SHA512 dd73868a30b6a1de998c0636037a431ecd9fae5b767be78e4103e2aa8fd2a5dc6c6679a8e082a20508537060f56751616fd53842974b0935817b2b9126ddaf0b
|
||||
|
@ -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,5 +1,5 @@
|
||||
DIST pyRFC3339-1.0.tar.gz 9325 BLAKE2B 4a02f2b128c34315def13500c2864d3198ba327fe3a39f04e14085d5dd945ffb31487c12d07e63e18c5946a14d8e380be8d85e7bea6b4df39f50550e6121379c SHA512 abcfcfcf516ab60214dc11de618d37415da2177387f51f85da99ef18b8cc0d37ed55f0ea6ba3e61292ce5a319838f322e01c1c9f3c0c4edb8341b4b135e575e3
|
||||
DIST pyRFC3339-1.1.tar.gz 5290 BLAKE2B d3094a22b6903937ae5cfee1210f04b65eb05dd606fe1d3245dca8ec0719ca1a079b720568d8c8e87fea691cebe1944098f99913b97a04570f06354a883e5694 SHA512 958b7761fab590aa42bb57a955c5d834441f717796a452b60df21663099dcf2fc046afe60f8157fd0f1edfd95c5e9c9c5349ab10ca4078d210fc63d848496a2f
|
||||
EBUILD pyrfc3339-1.0.ebuild 689 BLAKE2B 316dab17e317c07cd0e41940a30b961ed35e0fa8e4ec4e405cb4e2a0297e17ecf5f2f680b0dc65db2f722df4d3ffc863e35908166f2b1433e7e80fab85110fc0 SHA512 a1ad1d51dee185609ee3fe129a703443a92746851e881f947c2122d0bb243f1c6fab028c6624ed92d35eb9a61cea2bb13ab32845ab06792a4a4c3d3f511fd667
|
||||
EBUILD pyrfc3339-1.1.ebuild 689 BLAKE2B f2a4405cd6a971658bfcee5bf4b7f34610336a105b8522d1fb33ea1b4d2a5b07ce7f1b69cfb65f34dc12900f95509dcf3f24248ff570e4a0d93c198e1cde97e3 SHA512 0a87f5cb652f82ac5e1f37d398d8ad3af4e3c2b5bd89ae26ffaa7acab59b29253af08e7741282b3ebccaafe41a1660e783ad02779f7351266d45fb4c9ca6db96
|
||||
EBUILD pyrfc3339-1.1.ebuild 693 BLAKE2B 1e260088c61d405a79e62b26a4bde0739217990e20847e9c782505ecad1fa0e6ec63b0b9e4de9d864aa6dd37799446a2c0e121a513391ea0295fb2a15249835a SHA512 95c2f1a6286269cad3440383ec14e960c807aae6e0903f3ebd320b8b32187e6186954df62c0737e8023a418f102f444dd29bdcc71bb957db759d57440abbbc66
|
||||
MISC metadata.xml 373 BLAKE2B c047241275de0ee6411fa663ffe331d1fa4cbccb622680120d5c1b96b4fe07ffdde9b36a67bd2708dfc086e893c14f071b51b3f1b292e63c9a7a054ea841a6b4 SHA512 0f0ef1e95f7cf557a90cbf2493f0f1ba51c29cbe10769dc40b1dd56eb24e91c7ca6579feaa3afc65c9d90724c726f6d1bb4f978d6485018e19f39ecf81782a87
|
||||
|
@ -1,15 +1,17 @@
|
||||
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
|
||||
EBUILD python-docs-2.7.14.ebuild 685 BLAKE2B cdc451f37cdd1248b589b5c922d0eb754b6c8cbb0f62624a31c1ae5f97687e97392c415fdade1b49eba3c3eaa384ab19b29f574ba691f75bec707263db85df33 SHA512 6b1a75583c9a74bf486039dc504519b7e659af37b2d87585c49af4ca01a72634e38ec9973ef0d24b2d9923cd94c285a3fc0720439ac31acf4b701c1071f4962b
|
||||
EBUILD python-docs-3.4.5.ebuild 685 BLAKE2B cdc451f37cdd1248b589b5c922d0eb754b6c8cbb0f62624a31c1ae5f97687e97392c415fdade1b49eba3c3eaa384ab19b29f574ba691f75bec707263db85df33 SHA512 6b1a75583c9a74bf486039dc504519b7e659af37b2d87585c49af4ca01a72634e38ec9973ef0d24b2d9923cd94c285a3fc0720439ac31acf4b701c1071f4962b
|
||||
EBUILD python-docs-3.4.6.ebuild 698 BLAKE2B 78d13344db43878ba36e7965152894ce1c6ff0de794e822792dd8b029bc5bd4642ac12f5640bfa407ccc3674cd74094752d65c1e943353ac459877051cb91a15 SHA512 35652bd2cbd136cd7cec9bfe268df42382cf70e29f310cff8153237c5bdc8e168c7072ed037de4b00fd538e98a96d8026d49a838ec07565e7347f68a0adbbce3
|
||||
EBUILD python-docs-3.5.4.ebuild 688 BLAKE2B 5bc29f99ad36e829cd47d60bce58ea1bb7dbd428365f0048051cd8810cd008b4f3b12a04c01420bfc956fec73426bbd0d0bbac511205d25a8403fcbcbeb3d2af SHA512 aa71c54cb695c7ae87957b7bb752e9b26a7beaf996ae8887d3169e9dc93a7b201fd310af28c26d17dae1718f4252bf8acfa770299687848ceed09d0305aa7795
|
||||
EBUILD python-docs-2.7.17.ebuild 639 BLAKE2B 90fe3bf4b5f2a85cc6690cb2e3ecff8f971309aaee674fa24693e0e17c139c3aa3366e0808af5d8d2c2fdf277da5765919d0bc8bcee905e8fa3c79b8e72727d5 SHA512 82276743d65be4eccd83a1c11d78182cefbc680e47a0c5969eb5ae25d1c3f23ea0a924a7c27e7c769860b68ac8c4ea6bf98eeb432119da3ed1a572a488419814
|
||||
EBUILD python-docs-3.6.10.ebuild 639 BLAKE2B 90fe3bf4b5f2a85cc6690cb2e3ecff8f971309aaee674fa24693e0e17c139c3aa3366e0808af5d8d2c2fdf277da5765919d0bc8bcee905e8fa3c79b8e72727d5 SHA512 82276743d65be4eccd83a1c11d78182cefbc680e47a0c5969eb5ae25d1c3f23ea0a924a7c27e7c769860b68ac8c4ea6bf98eeb432119da3ed1a572a488419814
|
||||
EBUILD python-docs-3.6.3.ebuild 689 BLAKE2B 43bad539aac8c7859cfe282ea0f45f377473cd71785b15c011f38a42b230ace2857bcf6d5855155cbbe3dda1edbb885e6b1f16cefa0821e57b2f97c779fade27 SHA512 1c6592ea8ddbdfb25fb17342d9db9213dda79a97f75ba9b6bd5b43bd708e03ded813c2d38a501bbc4ade7b994ef82252a383875d93e899bc68409c8bff9adb21
|
||||
EBUILD python-docs-3.6.4.ebuild 698 BLAKE2B 78d13344db43878ba36e7965152894ce1c6ff0de794e822792dd8b029bc5bd4642ac12f5640bfa407ccc3674cd74094752d65c1e943353ac459877051cb91a15 SHA512 35652bd2cbd136cd7cec9bfe268df42382cf70e29f310cff8153237c5bdc8e168c7072ed037de4b00fd538e98a96d8026d49a838ec07565e7347f68a0adbbce3
|
||||
EBUILD python-docs-3.7.0.ebuild 698 BLAKE2B 78d13344db43878ba36e7965152894ce1c6ff0de794e822792dd8b029bc5bd4642ac12f5640bfa407ccc3674cd74094752d65c1e943353ac459877051cb91a15 SHA512 35652bd2cbd136cd7cec9bfe268df42382cf70e29f310cff8153237c5bdc8e168c7072ed037de4b00fd538e98a96d8026d49a838ec07565e7347f68a0adbbce3
|
||||
EBUILD python-docs-3.7.6.ebuild 639 BLAKE2B 90fe3bf4b5f2a85cc6690cb2e3ecff8f971309aaee674fa24693e0e17c139c3aa3366e0808af5d8d2c2fdf277da5765919d0bc8bcee905e8fa3c79b8e72727d5 SHA512 82276743d65be4eccd83a1c11d78182cefbc680e47a0c5969eb5ae25d1c3f23ea0a924a7c27e7c769860b68ac8c4ea6bf98eeb432119da3ed1a572a488419814
|
||||
EBUILD python-docs-3.8.1.ebuild 639 BLAKE2B 90fe3bf4b5f2a85cc6690cb2e3ecff8f971309aaee674fa24693e0e17c139c3aa3366e0808af5d8d2c2fdf277da5765919d0bc8bcee905e8fa3c79b8e72727d5 SHA512 82276743d65be4eccd83a1c11d78182cefbc680e47a0c5969eb5ae25d1c3f23ea0a924a7c27e7c769860b68ac8c4ea6bf98eeb432119da3ed1a572a488419814
|
||||
MISC metadata.xml 236 BLAKE2B 167eb58da19caba0e03167e2f209e118ce8a468851bca2790a0353112848fffcd72522497e5f951bf5c6eafa9691fa2a1ad980843cb4170a8194f3b8178ebe16 SHA512 0f2c2a0401b53543eac90eafdd4d11c5913be07f47b968e2892ca92c265adbd9564f02a491ff2607d7031194ba3e50c7720851537341b1541120821c487147a3
|
||||
|
@ -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,5 +1,5 @@
|
||||
DIST python-mpd-0.5.5.tar.gz 46334 BLAKE2B b0345c6ac2027e3881f3f2aaa6d7bc01dcf67b71de9bdd6d6a8b1bbd6f72ff9463100a0850db4320ce7ee818a1212537be68ecb624984e3f40f1ef4102eca075 SHA512 d5eec60045561a8a0e29eda2ec2fc341c9b81d61363260c884f0863e931077c31c32534e3c98a488ef31aa61cd3d21bdcfa625b7b062ef24bf3e8024dc1e7c5a
|
||||
DIST python-mpd-1.0.0.tar.gz 60032 BLAKE2B 9293dfc85363f83041b1d73046dabe6a3243a63de495ba630eedbda96d1b080cfb1cc635801794a91103bbd4b9145733d63ce3ad252748d01ed596cd3b0f7895 SHA512 5fab12d082be39ac4a3477ea10b5d1fa350ceac23c97fb12a46f6cd0cfa6a83999f31528d6d7f74c1ffe67f4e63dfbe8fd3debcf917a6e3705bcf84a55a458ce
|
||||
EBUILD python-mpd-0.5.5.ebuild 715 BLAKE2B 7e849feebbdce0ce03f530fa2f2b7390117a003a94e47d0e388e1f13726f462288a56e27cd44d683944a98145f860ebccc4d2473e7928d3487b44e0b51a3b247 SHA512 c80145d5a64a23be48da46234be100235fe1dbffec7146fded5289ea3adc0a3aae6c025d1dc11c9e933135620e75caebb11cd56c4ef0a8793e85ab7998bbfc27
|
||||
EBUILD python-mpd-1.0.0.ebuild 995 BLAKE2B d837717fcba4e3b2ba5222dab366766dcdefd571e9dc5f86267aa75bd053bb74ab1e242c71a22e0f872b2111c68f2873202b9ba05fa530ddf14fba5d30620600 SHA512 c710ec8c3ef53c4fafe97851f0e15b608de3d9c64ba7a6b73b6f5cbc96e3c8ce55a14b9213e096c61d8c17bf7b7591c0c08b07988f3a622c9a8b0baca309993b
|
||||
EBUILD python-mpd-1.0.0.ebuild 993 BLAKE2B 41cd02d3ea90f50ac2b35c2ff98f3279f5c76e8a3cb2ed180f9ea904307ed5554c47c2fa73df0f964858bbdee28c754dd8b949b9d91c3487c714507856ea0bcc SHA512 0664161f0441834070670a3ce5c18b488a01aa4674a2ac86ba3cf9aee1d3e5e0568c30cdea9b55a405253e5c0dfd81769cd299fe191549add7e3fffbf4af6ac0
|
||||
MISC metadata.xml 438 BLAKE2B 5429aa3c88046640fb1349404a60f1508f5d86f698ef410210507df39fd5b2d2502d8d2dafde32c8a6f02c2d01e92cca1dc37255435066dfb3a41d26850a367b SHA512 1101d7830907a54a4ccfa1a1db8e6abea802fddd3ee0827770d9e15157be6a3e9b491eebd4b80eab38074fba743fc0671686806c27accd060bf3948736a86c44
|
||||
|
@ -1,4 +1,6 @@
|
||||
DIST statsmodels-0.10.2.tar.gz 14065612 BLAKE2B 0df1268de5e4108b3cc541df87a5b9d2321bd3062d4daf1cc1aa62ab08ee777bace2f10bdfb51f088a66f15287c62cf851b3f43efa7eb1227e71c06632e80d55 SHA512 bd1c0784b0b17a3ca69fef5848f5eea8dcf76b1943599a5e5c285e45b7fcc7e44c0e388f007913d420ff6f3cb66a653d1c43e6e8addef534ff5572fa69ffb54a
|
||||
DIST statsmodels-0.9.0.tar.gz 12658359 BLAKE2B 1b451edc281ac8bfd35441d7f31ff02c7068b854c06a5e50fcb6fb2ff3c023bbee264a25407078f99ca08e467676a32c1a0156dec668673bad3e8d7a46a95154 SHA512 a0310129ee915dce5006e4e40190d19c3a09facad398ff089fa4a244d51a035f9591267fd8d34a00ce82e4cab893df96787596f9d350d878e97a0bb3305f1bd5
|
||||
EBUILD statsmodels-0.10.2.ebuild 1855 BLAKE2B 37e32e5ed9b3789267632eddceddcefedb2b7821bb3527f4f57bc2eaface01c37f0d6e55abb1f1c1b96abeedc2ef777a931efba858c9b2cdf93d5e8e92cbc2b5 SHA512 df131133e2fb36f017cfa65dc9bd0e5b213d7c4b3080c439c7c1b6882303882c413ad1b98d22a73e4ad55b2fc046c54b9ec7ec015060e370ccb42210947ffdfe
|
||||
EBUILD statsmodels-0.9.0.ebuild 3443 BLAKE2B 033ffca5c8b09358d1d5b845b90ff09fa7e8e6de0999a1de27c23ddfe262132a208068519e2a5044e3662e4ca75ef9d048dd158018f13d799009e8062976c18c SHA512 e0fd866ba0fad317d3511585c40e0eba57d69a057a9a9bfad063ae686744733cc68ba74b70c85a5b0b1f5b87fb5b242834531cd5c5b6ca017a21fcd948a9ac80
|
||||
EBUILD statsmodels-9999.ebuild 1994 BLAKE2B 3f9ab2f7c4c6abe4b0cb7d24d2e53612b90bab1a924a758d28257ef37de024f1072ac0ea6bb2f2ccd43e7b57ba88bbc2c48fcc6312089a3476077037422b84ed SHA512 5bc45cc5e06314e60ac847b8fdd8d25291a956643e2e64fbe5ac6fa92063b61c22ff6be51561d8a330e0c3838b8d13bd67679655874604f2099cd962294362e5
|
||||
MISC metadata.xml 1318 BLAKE2B fda44c0af74692331673e5e440e4180d9610cbf50d96c19da4ff19728bcd31ec6cd30a48fb382da3489904b2f361957af54c7bc6983320b9b6fca04ca561aa52 SHA512 30d166a37e102503c22ca6112f297cb6db6d2f795062657f23d7c98cf1871275c28faea7be4bcc117817aae122eb5bbed1d5da1a327058980a3f87ce083fcb13
|
||||
|
@ -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,11 +1,8 @@
|
||||
AUX dosbox-0.74-gcc46.patch 274 BLAKE2B 6375a8c0752eed6481cfc987ac3b7c7f699d745498e619862223dcbf660eef21f7619ef5b8e2034d20ad09716714988875e30d1959fe29393fd96559a2d710df SHA512 3175ba75be568d24286501844073bebbd2ae2e770ca6bdd9d409b290ca7b9f98a8406b5b92b89a9965eeda8045f2ac9634aacf8eb01917cbf02087996de53177
|
||||
AUX dosbox-0.74-ncurses.patch 2863 BLAKE2B 5fbd9c3ec77384406f2c79d3f57ab5529829e2438fba54aee70bcdcea87e1a7b8f6dd8e6b64d7ab54292995e3cce13b4ddf26b23a1245ed8e7895395f4dbdc15 SHA512 934a0ef73f700caf7e3714f8f6fa2d60a7c6e443aeb38b8d34f9c78b31fd066f6b2de6cda5f6684579174c92fe5ad7307be6c389dd3650f4d2c44bf3c13495ae
|
||||
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
|
||||
EBUILD dosbox-0.74.3.ebuild 1525 BLAKE2B e30fd3e81b567571c64b7ecd57a8cfa508bb8befde60ae77b395801fa6a7956177c9cc0295807aca760a795325e691f6520eeed619c65dbfeda86887a3e5e5dc SHA512 c4896b6a8d9defb549888d4710791dfae5f0a5972f4e89da614b42411a6aac69041ac9653264f8326a66675dece1be6e34da1134fa31eb4c5336c9fc8cae2fd0
|
||||
EBUILD dosbox-0.74_p20160629.ebuild 1076 BLAKE2B e0ca5a03e6817622ef09305464a4a98661fe97d94ffe0ddb021073af2d1fe4bb31ae3fd967e4fc03c08848e2abb2a6465364bcbee1a09f0a415b0077144a9724 SHA512 ba8f55ede135d0e8a024d72b8db79db0816f845452b54e71cc7ad3460e0b1152bad67f0800b5c8a0a506a26959a606f8f57159b37b0a4dc465fd95897a083529
|
||||
EBUILD dosbox-0.74.3.ebuild 1522 BLAKE2B bc38f48859f1d96aa2244924dbcf62f16ee45cd078f99161e381be6f0edb2760295e20f700d296f9408c5af109d5df86a1fda9a8458f4b6f799eb14f3db6edfd SHA512 e8123c54e12c80a67ad742c2e0c78ba4db54f992ae6e6922e265642de19e4b5ceedefc83c689e4ea7f96ca63ccd30d700b70e3eded8a575d755381d52066d318
|
||||
EBUILD dosbox-0.75_pre4302.ebuild 2233 BLAKE2B 17260fcc7663f8180a0eda18ca9c7b37a020cdd60e0b0140e8250be7986070f6990ce1cdeb67afc4020b52d911a0178e36c946c083f3eeb0e1f591a36a421208 SHA512 7fc8b528db76f303768526dac2be4088b0c6e1fb6b7c8149f351dbfaa29c75263143d3ada86fc57e543094a6795522c3fb3a41a40a912f48bf3df5d36b2e0249
|
||||
EBUILD dosbox-9999.ebuild 2205 BLAKE2B 93e0fcacb561aa8370473c2c3b9386623d773b5aaaf5ae8465d46a773c7d654d696c7b7df5f494fb001bf184d7c0c29e0409f78ca549e5fd42b2be8ccc668cb1 SHA512 a70753a9b49b7d46afd28a9c2d4826777b8730108bbdfa374c15bd2275e890cbbba4ea209de1c5ec5cd6dda450ebda7097310515a2b588096dc014302b10efcd
|
||||
MISC metadata.xml 742 BLAKE2B 1b36ebc57b143b7fb214632f79c3f51f812ac96de39e6f8886efd5c13cf1ee86d905c2cef3d46e58171ee00cc8515852bfb177726aaab196415e47b876d28a12 SHA512 0c9ad19d1512236023a349545c8bb8790388ac49ef62b30d03a81f84407aae2b9b199f7041a513af5b34a61bc5a439d663be2cdb3cd59a7e23830f78633285b5
|
||||
|
@ -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,5 +1,4 @@
|
||||
AUX dunelegacy-0.96.3-build.patch 1942 BLAKE2B 8a230ae20884b11b4608437c03466a856b66e49136574ee5c55c5e90de34efbbb0bab7ed4fe90e2653b44fa1f5adb94d002e7d51912732d22bc5e891e593515c SHA512 fa3ffaa26ba1d85bc65d646347ef9c725bfb4f8b7e78c3ca13429356def201bb255d31c6ec684ca99dd0928bf9a3b83af547a7cb865ba1c2475ce03401fa91bb
|
||||
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
|
||||
EBUILD dunelegacy-0.96.3.ebuild 1392 BLAKE2B 38f15a59aa1cbded27c61a6f5250e494228c2c1591cebe3abfaab5b27ea024d92ed6d9f7b5c0f0f82e71af305a4455cb99cbf35a6b60fa8538b74f81d77e5e32 SHA512 29ec490705192497ca8e4d27a491d70afb56af253e3e73f230a37255dc0f263de3e3acf75b3836931ae96da73f0fa3e061a9d545c6fa9d6851abc0563cbfc240
|
||||
MISC metadata.xml 1103 BLAKE2B 0c07587dff0530955a552cf5dee9835ab0c8b3478e994c0b75524ceb6914a4714e02ad13ab52fba10b401a98a068aae9990ea936333014e8c7226c07aef8983c SHA512 de8920f2cb074e969cb3b8310bf2fb111c52c90a2675833fdefc895cafac79091cee0696b52a40065cd81289d80796cb0b0e40bd8db0e349ba92ec180091edcb
|
||||
AUX dunelegacy-0.96.4-init-mid.patch 1926 BLAKE2B 47c2f502e9428f0534a1684db50aa1a41103464770f8da66f69b0add7687f42e07e4f5e612f3c425f3d0f932da29d7a6049342b6bbd0b0166cbec4d5076703c6 SHA512 a10fb87b3bceb367e53dd3687354871fc8bec3dff2025b37c4426994a206c7afbd416c003f2eddfe3d1cef7e845942d2a8db4529e84c38d4b29d75d016fa8729
|
||||
DIST dunelegacy-0.96.4-src.tar.bz2 2513167 BLAKE2B 119ccabc319a54fbc85906a215ccb44079dabf82568dbd446447bbc6fade873c4760da83a50351acf63aec49bf8364c50386eef2b0681bc7a895db870673340f SHA512 d6e152da4bc526ed05ac89fafc2e3467b1a95b3670987eeca262b7207e7dbe67dd228483cb5a432fe08232e34a52d4cb500b42cd186adb4bcde5da17419f7db0
|
||||
EBUILD dunelegacy-0.96.4.ebuild 812 BLAKE2B dc9084b3207fc22d7ff75e4f6ec40432b577aba80ed36f7b9a664640e68ff0e44046e84103bf0390a5fa28a81289c5ad67bbcac523e532584183e8e227619072 SHA512 0652f0ddf2fb9be34aa8c86581875b7b527295ad80a26f0643ea52e7d1d0cb70f155603b7be501c541b8ae84871e210f56289413e32547aabd84e0720c7605a3
|
||||
MISC metadata.xml 989 BLAKE2B bfaf381dc676d28e93858a0322e8f5aa8453fd7aa0d8c832cc9aa4d5857dd6abfe9ba1b545f419732c0d15cca724dabe3799f45532645be08c5adcfd95b8e3dd SHA512 b0863ae1a4847b6c9b6486666328f3a97bba2a360c16bc219ca4a2099c3c6eebea64c51b9253c9fba2c3e4431b7254932ec5ba44072e6f80b52ac965729c4e79
|
||||
|
@ -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,8 +1,12 @@
|
||||
AUX policy-hardening.snippet 442 BLAKE2B d79fdbddab418fc9d8391e78992e3dda844e096052115113ff6f759c1a54541bcd7d7793547bc7140776659c98379a9e9f004aa46f757300a33f445d396fbf14 SHA512 e9e723c40d5b8c52bbc2f2b9a3ad7c7e2aee493bc37b6c3940e8486b92a1c6659e47b1e12ee2fb11c8a8b6ee48a7fc10354617ae12c36181a58e9e73b239368d
|
||||
AUX policy.test.xml 746 BLAKE2B 6bfa073606469b81cf517d9b069e48794cbda9272d12c3abb8ae3456aaf30cd1923510baddb7d813aa8ccde84e161de0b29314cef7b1a37730c7ad5236d1f5dc SHA512 22f66004324e3777393446a3df738ecd2aa405df088d39137008514cd86b436765b48ccd4355d670a42061ce4e5a7b2fd8e4be5852cd914f62ff0250a4a7ae57
|
||||
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
|
||||
EBUILD imagemagick-6.9.10.78.ebuild 7016 BLAKE2B 1fc57792a076b612b0849bb540f17f19c194e03c1f741a8e4bc56c562acea94364caf1ed0828457839169f179ef9e6ab7166cbb90a69bfc3ff19186c6c691f90 SHA512 22bc07e091f90331801c24a3d734669ad30afcb178084b7be7677522d85b165bcb0b22f725abdba3baddeebda1970744d3a98213f7d879f5baba9149f22f152f
|
||||
EBUILD imagemagick-6.9.10.84.ebuild 6931 BLAKE2B d3745b951ff6b65eb5e50c08433c05de1e145f58fb85e2be366f7ae3d7b84bf28a7797ece60dcc7e165aa389c1fbf9d656874203ea97f32842385a6ad3eb44f7 SHA512 fd0cc166172dea6d3ba8d8787385c8a933c4ce83b9f2ccd89015cb3e72782f7f5f8e20f7e2838711d7ad0c6931b76da1a5025ca4e7664435f16579e2237dca5b
|
||||
EBUILD imagemagick-7.0.9.14.ebuild 7207 BLAKE2B 004df3bd1f94e9e8c082bc82bbdf949d1d981c8517c5f5033f0ed55c3e9d472565ed8a088292b389325922925dc57733c7a39e14d4d987bb20f50ede87789be4 SHA512 e03e1322c70b842799ce7e90984d940007cf75895ba6d35bd7cb32b39599bebf83feefa67704225d845c82c7f789cc1f9cc7a4269c7a49c48b8336aa350e4c58
|
||||
EBUILD imagemagick-7.0.9.8.ebuild 7291 BLAKE2B fb478ef6f2c8d871b1182f52f0afbce521787d2ea212d95002fc682667d3450c76536987c4293963de727fefef15169f6ea9f92fe31282eeeb83ea7b237721ce SHA512 a58ba9780324df8af23db6dea87122a6820afc8f2b9352000b54fdd24d0c2820a366f1db4b396b61cf0cd4c7187fcf660bbb60ee7768edfbfeb817ee5c1fd898
|
||||
EBUILD imagemagick-9999.ebuild 7207 BLAKE2B 4fc6e4d61f5e851d55546614830dbc3d9a23003033f55ac521bbe990d845aa2b7b7623c66da431f896df16ee71d6539bac7fdf0204c61f00d010c9013b92fef5 SHA512 97ebbef19227007aa32140de833e25d49c9a8f648fda30a9a0abe8073329b0df5a79a74968d5056b3d342e87d435072d64d360ec4270aca53491938c4cfb7f42
|
||||
MISC metadata.xml 1111 BLAKE2B 3592f2d81f67d91239152d723c736437a5e8056f8dba1fc5c97e2ead08efd4e913400b441eb6d6b90f26cccf3b89f115c18a5551bc070d1fd81e68dd218493c9 SHA512 33bd68bc4f88cd6029528b0feab9cc9fde0d60475ba5fad8c4f92ff6d373666628e6525d54268735e99182abd2658aa32c7c72ff22106c65f81ed8af5e4f7ea2
|
||||
|
@ -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.
@ -1,6 +1,6 @@
|
||||
DIST libplacebo-v1.21.0.tar.gz 326918 BLAKE2B fe9500de23487d7d5dfc51d9f94dd3d33d22bdac3005fc3334814c53a76a46cebd40655675b5172f058d02dd865385a993b3c52a863b9e9b32ac0bc4801e0126 SHA512 5de95b8cc48ba4ec9bc3afb8c8f2c4fae0d53ce6e69ffb53884c3a3ee2580998bae46b8934e462740b6c9c2e66e3c5d5f009f9b0f8ad2cb7b4fba829891cf333
|
||||
DIST libplacebo-v1.29.1.tar.gz 330673 BLAKE2B 3094f167afb45097ef6e494d7f6f6d61b7ee4ed00bab9f1d33bfd27b032020489eb43005a30a44934416dc52577eb7fc66baf367fdfda71652e97214d87023df SHA512 9f09560832a88e670d6c31e9f5b9cbc03de437bfb19ceb0985140307b5cdf20e2050a1dab5d07f18258dfa3e5429a51f1d3d54532099be4bfc6a0dafe3ffd516
|
||||
EBUILD libplacebo-1.21.0-r1.ebuild 1315 BLAKE2B 6f07c094d183b1e7a001ef98e109625d7efcd3b3effbe635a848fa179641022e946cfcf27d986f79dde07e9881f4cfae26a6810b2b1ab5faaf7332999ce99266 SHA512 2d7a8ffd725a7d77021bf0728caab1b2c2b6586f9104615022d7c9f3ebbd0e77d6e81cbdfbbaadba4427f4f075e68bb64f83c284fb1e1d99f27b60063a8f3e76
|
||||
EBUILD libplacebo-1.21.0-r1.ebuild 1313 BLAKE2B 2acee78d091349c05b03b55b3d95139f9aa66415ba0552193e33bc4a17d5a733606658c5877b6a4531aab0c3d107399ce7369b9395c0fd49ff38a6cc8b7377dd SHA512 974c4f9bc20fdb4d5b6ba160bd2f5a14bb8bf66cbac6d47a9593b11da1bd08ec47f28f7ba8d6ea8fb73cbe001b7465029c1e6f3a127b1dcda5b1e6bd18b47ce5
|
||||
EBUILD libplacebo-1.29.1.ebuild 1352 BLAKE2B 5cf388f4558397830d49861aa3c5ae68f5a7a0897e655f1a9b4555691b3bc43138a8eef79ebe390eb98928e086cdf16272040f6951f2fb4b26be45d52add9f93 SHA512 cb3ac24c758b608dbfc7531c160d7176031c62e6d6cff7cf6cc3e66267006842936a7586173af2f03f533b7f7a730e34097feb8a73525dbded67c09a81fd52a1
|
||||
EBUILD libplacebo-9999.ebuild 1382 BLAKE2B d794c5b51c899763c67fcf463c65b4e4e303cc0e608d8c724d1e07cbd3370b781791f4da2bbcb1635270778fc323a2e634b1198417d2f942b5fda155733864ae SHA512 da4e1fb4cff1fca7f2b81b5436b7764c6a11abdc7185f7e404c785cefbba0a5526e07bdca4c8622d2caaf69d69ccfabbddc4f8080e2043d7fa8fc7b7021b732d
|
||||
MISC metadata.xml 807 BLAKE2B f04df70a40523ad668bfa7dda7c841ce098f2105d2bc94ab6291bb194bf1fec18445b779952db33614d685ee0964c7ac6b7666b3d8cf89f8bd9391b1ccd2c553 SHA512 48d5e93ca7e964d80dc579789c6f626f9590d102b451c4f0fced538aed1301e0cb7f93fce4d03deaddb72dcad22489aa3846d8fa8ac443fcdbc4fcb90ef19040
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST nv-codec-headers-8.1.24.2.tar.gz 53627 BLAKE2B 482c86824f81652b439fba1b765261de107d51a3bd780d3f0c58e1cdd53cd21ddad3fea59e8ab5d920fb34c73e43c10c007a5efe32024bfd3523ed8d4ad26f44 SHA512 daa45ae8bcc11eb6b8d671c2d720d5c3edce9e4ef68f913ed25a8c4d1a4b165e0576b03eff9ce2fe355156ab5a5d8d74573158ef190feec5cfb5ac0838e0caa7
|
||||
DIST nv-codec-headers-9.0.18.1.tar.gz 58850 BLAKE2B 8e940ffb929f67c4e459cfd55113298527cf8430b94d20e9bb7148cf532dbed798138e63801f29d168d0b4b465c0eb6ef3c58596289063f461b7d5e8832ce7e8 SHA512 4306ee3c6e72e9e3172b28c5e6166ec3fb9dfdc32578aebda0588afc682f56286dd6f616284c9892907cd413f57770be3662572207a36d6ac65c75a03d381f6f
|
||||
EBUILD nv-codec-headers-8.1.24.2.ebuild 791 BLAKE2B 1a30ee929c9619f0497c4912b709b3e860227ef5daf466e9319bb4799aaf6de7b377324f779d674b78b45ae23041d65188a4ede6827a1cf35cd913ad36a2c9fb SHA512 258ad2e47ed9dcfabe870010f15670e318d064e35bbc1ed60347b48b91d0be65c941125794e817df013851263657628ee844e08d1c000390ad244960f5b58675
|
||||
EBUILD nv-codec-headers-9.0.18.1.ebuild 793 BLAKE2B 997d73669a55c2a20c137352617fbe1464abc5780292956142140564b93c2f5892ea6823e90471275f736cce50469a720f31af63f246410369659c5b7e45e1a2 SHA512 62085b502bbd0e034241c8a2c05f9535ec82908eab2cdfb634ec6286fa01be56587575518b49c6572776dfaa1d8d49b353adfc1558f0206107a48e0b2022d6a8
|
||||
EBUILD nv-codec-headers-9.0.18.1.ebuild 791 BLAKE2B 883e69bfc8304eff9f48c6095f2356df69ad16f6cfcfe2f4ef23cc648641a69ea9a3f50740e1f1b8305e00d72e10812d69714603bd96c8f2dc42e0322a5b66b4 SHA512 0a947197e469c989d2fe76adc2f303c96ce6e9d441521daa7ca87c4aaf99d7890d19b59c3727d83be54bef1b2279097033d5441ba274b9212958289086e453e6
|
||||
MISC metadata.xml 319 BLAKE2B 227369d173003d904c042ec479371e9a483e6d7d58af0f8f1a03317e773bbbd0a06250e06583cf2cbbbe9020a1d7cd416b51467dc96649ead55f51785c79a019 SHA512 c1815f8f72b994c4f4fbd3edf1a856c89848e092b3b6515e706ef26b6b09d0096582219b7670b2b822ccecdfeefcbbbe768141acc3f4e55ca8879045a8ed51cd
|
||||
|
@ -1,6 +1,6 @@
|
||||
DIST zimg-2.8.tar.gz 265363 BLAKE2B a8982c64325e0089617136fcd5d6ee429ab861e3b9445b9cc0292bd3bbd3abb5783e94983e3e802fd9e59c2c7089eeea176d1eda4f3a850379cfc4fb36cbc408 SHA512 1e89087a756798a7ae3bfae3bc8244b29ae8ae7f04f53bdf6c4d4de3cb11412dc1eecd95a4a121bb9077437e633f8fbb665522ff8112ade806d9191ea4b5f7bf
|
||||
DIST zimg-2.9.2.tar.gz 266049 BLAKE2B 214a6afec061dc7cc7c751f2a57e56951e44b78fea6a0c0dc71235d3dd286fb811303b0a5198ab82165ee78d993caabaf39d7ec17db4c4e5ffca9a3475b49781 SHA512 b688f8e93a2e4549f2c844cd58c6e0714e6494d6fc8c800dc1b0cdf2278fb9925a646fc332350c1b5d77cef2134bf35e18a873c24ea1979c1adce57bfef68ebe
|
||||
EBUILD zimg-2.8.ebuild 777 BLAKE2B 4d602fb564c63ce60390c22b32fd528fb15b8bb1da34ba59dab12bde8ce5bed22af81013caa7cf91da5f9de461bb9f5c61b5b9ca2da8f47771a568103873e01b SHA512 3eb6b7514c5c93b611fb7992b0c174e705492a26366bf18b1adf2484ba3580d4fd3515956f51426dcac93e7ceb6bac18b587532c7ae7efa731aff2d610bb76a3
|
||||
EBUILD zimg-2.9.2.ebuild 845 BLAKE2B 7610be50c9ae4d842cbed4ba71371bad69a83875f6649d0fabb9ab72affab557a0e078e784096622777101d149bc4771e2ccd9ee7318bd25e31792e96b68809f SHA512 80806f48183a73c0c01c84baeef298f676d00beb03ed1e16ddbb7ec41bbf8ea3bbbd7c57bb52d0a6bdfec725758652c77775a7e84b3b87c58564f53951c019ee
|
||||
EBUILD zimg-2.9.2.ebuild 835 BLAKE2B 91df42ee57c4b3e4d017d669525ec265b42f9555ac51ce1c1e27291ca55b6b6ba81eae0f049103f0d18db16f4335dc5088af331debc83b7d672283d5f2ed3b91 SHA512 e723804c12387baf927520c7aa46c2384541b8f813421db087e765c5129db2621c98345d89da160f755914bfd6437ace96d343939bc029b5a814d854a7fc1322
|
||||
EBUILD zimg-9999.ebuild 845 BLAKE2B 7610be50c9ae4d842cbed4ba71371bad69a83875f6649d0fabb9ab72affab557a0e078e784096622777101d149bc4771e2ccd9ee7318bd25e31792e96b68809f SHA512 80806f48183a73c0c01c84baeef298f676d00beb03ed1e16ddbb7ec41bbf8ea3bbbd7c57bb52d0a6bdfec725758652c77775a7e84b3b87c58564f53951c019ee
|
||||
MISC metadata.xml 311 BLAKE2B 35db707f7a5c1e20c662525b306a018a6cc2a5cfec6e6f316c5d532566e85710d8223f9a7478569e78c476dce30f357986a66ffde04112113c389b6198de59f3 SHA512 a46022cde358c89be1d423501630b15ea56d2012e022ba8e91800d834bae267bff5a79c115e0fcfd632da6b9031d3c68948f1cd83e3f27699895b7de548f95b2
|
||||
|
Binary file not shown.
@ -1,8 +1,10 @@
|
||||
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
|
||||
EBUILD kodi-vfs-rar-2.0.5.ebuild 652 BLAKE2B b36b05c304dd57e616c1f8d30024a34f6eacb9bbebf4f40ff9c8a92f7bffa8f9252e289a1e4d32536ed13c7836be14c14fcae036e469337393b0f6f02edc826c SHA512 923b6dcae197faa632bef703cce6959f10c5480a76bddd3e188667859b4ee265ad3f1fee57ca91b6caeacc08315cb5f1fcf53598d792de46e5d5539d1844c5fa
|
||||
EBUILD kodi-vfs-rar-2.0.6.ebuild 652 BLAKE2B a3c9536ae1c17c721ff0a69fb3c54e4f7626122dfae57a633ee10ac33de556578c3a53a614c0500a96050bae184bc07bc66cc853cdd6bc91adc6cee3b0847b4d SHA512 deafe614fc3c89790f3d3b5c52c888f4a41969ac98afacbb0f616aacd7bd3f8ceea573d7b59ef5d8ef7a268e8926f00e34046e007f98eb00e058393bd0454dd3
|
||||
EBUILD kodi-vfs-rar-2.0.7.ebuild 652 BLAKE2B a3c9536ae1c17c721ff0a69fb3c54e4f7626122dfae57a633ee10ac33de556578c3a53a614c0500a96050bae184bc07bc66cc853cdd6bc91adc6cee3b0847b4d SHA512 deafe614fc3c89790f3d3b5c52c888f4a41969ac98afacbb0f616aacd7bd3f8ceea573d7b59ef5d8ef7a268e8926f00e34046e007f98eb00e058393bd0454dd3
|
||||
EBUILD kodi-vfs-rar-2.0.8.ebuild 652 BLAKE2B 012ef8381ac0e688359ef347a107a1db38526a6b173d51198fa9dbf56cf473c17eebec13d44cd71fbcf6ca40bfd11ef34ecbf47a789482ec50b00864292533b7 SHA512 aa00d4a4b24edaa4445e420921f1e11c39693433a14a559ee5a38f3b364ec7197a3d841ff5b451bbed4f0c84c2b0e4cf214684c066eaf014c94f818dd98aaef4
|
||||
EBUILD kodi-vfs-rar-9999.ebuild 648 BLAKE2B 6a1287939cff3d59f0ef2b27378797f4cd8b5d16313088c2161dd47a8d9e7362341054711ab52d6ef64e3c01e12e9d77f197b134bc42ad5a101629d46c39a134 SHA512 43ca2cd66315cecc689f01ea517f8b5dd7bb404ab5c5e8cb4b557d8719bf9a76b4c065ec3f90855f3c38a05d518c4b7532f65af9d1507ac163d0398262c5595a
|
||||
MISC metadata.xml 417 BLAKE2B 848739e38b8064c10732cc179fd55c24c49fa32bd9067706443b0efec47f697a66d330a52733033271638d3b0ba7ef1661f372052bb6dc1a25f5e0dd745f83ed SHA512 70d2ec7f4f00ef2c208db31180e4520f26bd059cd12084e7764297542f75798d2bbe55a3558971fde8709b403968da29011f271bc6f3c4b4a63ae2589c0ae76f
|
||||
|
@ -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,4 @@
|
||||
DIST strawberry-0.6.8.tar.xz 9303276 BLAKE2B 852696846d0ce4632fc95482742ca244eda10462577c77d1bc333b3a5dcd0d5e51f6cdaaae0f8c791d2b72c86783a7a183dbde22157b522ff78e25041af73cfb SHA512 1e6ec4802188007b8624705af3ab1a4f48016a174762696e73c3fd23f0d16e88225a72962049819869237f25e630cf6f2cbefa31cec1fe15e415b9aa46e6631d
|
||||
EBUILD strawberry-0.6.8.ebuild 2829 BLAKE2B 0aaf2f69347feb7d3520797a05f0334666ac379ea45fe6901ea215cbe98adf9f058ce9d5905f3fa5eb0f6a6edad5fc0400621b7abab2748f63390e33073b4ed5 SHA512 436d3f8762844a0a2d7ac3c6cb37c68ad4af010881a8d41f9d39967f1eb8245aefba02d01a97a92bb861587c6e4afbdafd79f0063e68cae1f11710617cf29d4e
|
||||
EBUILD strawberry-9999.ebuild 2829 BLAKE2B 0aaf2f69347feb7d3520797a05f0334666ac379ea45fe6901ea215cbe98adf9f058ce9d5905f3fa5eb0f6a6edad5fc0400621b7abab2748f63390e33073b4ed5 SHA512 436d3f8762844a0a2d7ac3c6cb37c68ad4af010881a8d41f9d39967f1eb8245aefba02d01a97a92bb861587c6e4afbdafd79f0063e68cae1f11710617cf29d4e
|
||||
MISC metadata.xml 448 BLAKE2B b29c1b35e64c59667f04698cb2d1c039fc7557aa7ad99fb1a8625b68d960b0e7af62e016aaf1ec68d5c44c77126f71047b046164c29a0e80d49cdcda0973ca6d SHA512 2c5af38b8518b1de981bae14422bf5931b76831c0b52b1fce29e187d9ceb25a947d8d0f7db1e7844e90ec14657cc8ab484726b31c89667e89d9fcfb6d2e7dfe7
|
@ -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,11 +1,7 @@
|
||||
AUX mpv-0.29.0-make-ffmpeg-version-check-non-fatal.patch 1463 BLAKE2B 94343df8eb4b64462fdf5003bf3cfd028b44e1d5dbf43e2879dc371b0eb71e2569925d7d8b5a988ab38b22ed7ec9375b73d73b9ce7396793d3d96665a4469711 SHA512 7d82e578f9e8bd486f309abd3131cbd98e8f48ce7cc696105f860db032741621498a937b8bf887ee9fee0a4f36d5b476e1722a5c639a0d2842bf82712cd8de86
|
||||
AUX mpv-0.29.1-egl-bound.patch 1060 BLAKE2B 3e2c59c4e4c2929cce59735e37059fb3d6b42396287241bc0875fe14dbf2b415571c58af89e8328cb99ab5294e7ca0010ddc18581e36c999aef9f858dd05f0df SHA512 259c9711e33821103ed12c1e07c695d2b93e1d730499abf78352be395e72d870d3ce526504559cd3b69d5854e74acd995cf5a481383fa36e20927bf7a99c6213
|
||||
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
|
||||
EBUILD mpv-0.29.1-r1.ebuild 10363 BLAKE2B 51db98edcd93de3597474c87463d2bf476b7de4c9d8ffa59c8d15d31228aac65d3ec361c034be4b8c6ba3aa6c837d9684413056dd34bc1f4da9c327cd543b9c1 SHA512 b415e6d8bc58d1126e32f6d1a5857ac347569bbf9a03170f6e7e07ffec32c5fe05b948bf0530564e068cde114b682a5154d7a1fabb771a5235318e89769db576
|
||||
EBUILD mpv-0.30.0.ebuild 10040 BLAKE2B c7aaac83bcbdaff538ac0c25220d96d1f54dccc27c08088a9584c76ab7c541a280158e7fdc4dc8efecc71069f220d12e6591d716ae6096c3ba10e8accc65cff9 SHA512 0e5d48eb0ce80f19622f990ec5ed981f363814384cedd24035d5c3a221b466759db06729ea5ec2a0065c28da621075ee78c5320fa40ad02e7cfc3b427ebf8c4b
|
||||
EBUILD mpv-0.31.0.ebuild 10046 BLAKE2B a9280861456e8e400c1ac745d1262fe133613c96f123cce324eb1e7556fa91d4838c5b44c8f27ccf95eeb4da2b19a123ec0c777cae2f9118b3545eac8d26ad74 SHA512 c0476f1f18c60b9827d15dcf8bd2d1b8da006e62b69e8b35d3094fd118d6a23588f0833eb37038a7f32dba554ec77b75e2a2b3c590c9937e66ea5c809a6cbd57
|
||||
EBUILD mpv-9999.ebuild 10046 BLAKE2B a9280861456e8e400c1ac745d1262fe133613c96f123cce324eb1e7556fa91d4838c5b44c8f27ccf95eeb4da2b19a123ec0c777cae2f9118b3545eac8d26ad74 SHA512 c0476f1f18c60b9827d15dcf8bd2d1b8da006e62b69e8b35d3094fd118d6a23588f0833eb37038a7f32dba554ec77b75e2a2b3c590c9937e66ea5c809a6cbd57
|
||||
EBUILD mpv-0.30.0.ebuild 10024 BLAKE2B b6e0daffd7daa55250357159a4c8b01784a5c467abc5f5314d1e57a645b27a858099a33cb2b36985b2b12064148741b7387e03448eb4405d7a8b855bbe976890 SHA512 6a9a424fb35590a338d5717a361d8e44c9674b240a209816bdc741ff88b2864fc6d7bab83680023f8ba18d553ab3e9182cb98a63910065cef13f1f20c723d99b
|
||||
EBUILD mpv-0.31.0.ebuild 10034 BLAKE2B 7677e8389016a0c2b781ac71a543bfcde5108854b2a105db6904d65f0f573499ff57e24876527cd74a88f317629850b2e0e82d061df83be782107acf8f3ad1b1 SHA512 a8c59c76cc5c3862ec4be9a35e3a4a7fc736b483972ef596a24b86762e8a2a3dd9cc4a5494c6b3954a4e3411504976fc3a6983338d89e1c0f3c6de0c5db3f4c4
|
||||
EBUILD mpv-9999.ebuild 10034 BLAKE2B 7677e8389016a0c2b781ac71a543bfcde5108854b2a105db6904d65f0f573499ff57e24876527cd74a88f317629850b2e0e82d061df83be782107acf8f3ad1b1 SHA512 a8c59c76cc5c3862ec4be9a35e3a4a7fc736b483972ef596a24b86762e8a2a3dd9cc4a5494c6b3954a4e3411504976fc3a6983338d89e1c0f3c6de0c5db3f4c4
|
||||
MISC metadata.xml 2325 BLAKE2B ea9ce00b54f9aabf4f37dcbf20c94f6583e219638f6831e0f8f3292df0768d7e6c597a9072903604f8dbb7f88ef15cad87b2cbe57a41d22554e554cc6e9663b1 SHA512 84802287f2655571923a44c7383bac2f70838890b18222d0b060a371a79dbe5022bb7c186bb1ac6496b930c62dacafbc132178b60b0746bd2cce4eb08a5c6be7
|
||||
|
@ -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.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue