parent
ab58ac0bf3
commit
c8ee9251e9
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29606 BLAKE2B d1d807557786302abcafd0768f4e0ac0c4a257bba0d1f058eca32939f1da89055a9caa0bf90f85c68a9fb7151b2714a7e47cebff6dc01763367cdd349b9e63a7 SHA512 330a10e660880631a4346cd540e0646ff24b30a3959eb68d27c48e1451ca9110d699cb4a27fa92d4d2f900a5ffb329776660dd21edffb1a18a73d652486a6275
|
||||
TIMESTAMP 2022-03-14T17:09:19Z
|
||||
MANIFEST Manifest.files.gz 29589 BLAKE2B 7e481d4ec984029a50162ed7fdc8cd3233014d5513eb0abd0869368b0c79b6bf83789ed20d31ef8a1a6fad62b43e775695970c681728e65433cc17421e376add SHA512 ae9c942ea87edc504a32bf6fb4bd09bdc180bb638bb99f8c781d00731d0658a3618c60870c96f0950cd3603fa398b28fc26fcde1f7d18114e5ce1681678c0569
|
||||
TIMESTAMP 2022-03-15T05:09:16Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmIvdr9fFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmIwH3xfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klDi5Q//XZEOiqmB4rES+9WhLXnDdpaI2mj3iCVppvNf+EhWVuCQ36GDcqe1udPT
|
||||
OHFAAc4JXB0vmQZ9NRclCXLo/hzNMQoxMxXEidFsUrMnGewEmdZ477dKmeIEwd01
|
||||
8s884Z6fQxNVw0LQ3UadqVE7zkGzAOT54zhuCEEl6G2A5pJh0Fx4oiena0LmNxI6
|
||||
Ku+Rf7ojTMemGl+sGDb+QDEx33JxmC0acm8VHZFwS6vh8/GxzcDf+oY+oEsbUASS
|
||||
FLh3MyX/JVHji4AhuguZa6cK0i01DHlfQG2ah2/1yFT0WRFi7FzF0XpIzYwNn7Da
|
||||
9PW4vZ2Iqis+DmRyInMFsCN37Pg46aQlAOKzlFAXUnomGtwQT8XcKSKT4BfXPXUY
|
||||
mrhFdgJg5UuxOsHtSJvoReLKYcZ0Nys4n9VrL4aQZxebxl/WkWZxE2BPyDHhGGJG
|
||||
WfpB4z4D7r/p6Txg7pvIvGH4HFL4N/CAmFX0W0eLTVQroKZX7aUKDHxslmMlCjEL
|
||||
ROomjn6JRgt7nju8KPtfR5RVxt6ScGJE+mbx47x//TShqis6IPG1+GAoDyoYWFKn
|
||||
p5U8fPGIdGNfmar1LfPaHSDkneprfFFw34yA/AlNNo65JDEPC9paEjZGzD9kf42b
|
||||
mDXFSLsXSplO0kQDK6wFS71RNoo1tx0r1AFz1uLFgeoUnV7jt1w=
|
||||
=qDcn
|
||||
klAaphAAq8oQ15vqv3A0eypmdS1YrepF0c/DvnqzTSSFxpSUb2KT0F4WsZepyrRd
|
||||
w/7c6CgcgKpUZvB1CamRCnQerjkAP5QXKo9P/RZXeopn/IPb2jCYtNfJCUZ1LU7o
|
||||
sYhuMeKfxa0ksGyAgwEP+f9Hb244Np6IVaOeKzISNEWKYSJzr+nSoeY1PWDWE2Gn
|
||||
yFYUf52CmPDVsiYGLOGKMDwjvpsqFfEmDcjgJSVotD8wNZ/7yqIrNX7l0cI2XSb/
|
||||
k4A483z/8gl1iLDjtYhipwfZiLjfNY6+03p4vSawDEloWmzOx94mpm1gMbOrB++F
|
||||
v6E1b2F2k9AdtKC2eC9iKsOL+xy2osQnoDjcU1KB2isxYblLHxj++kcq57HzFB/5
|
||||
r9L2WHXBmACgpUzImU93VAlgImcobrO6IoWY3NovBuM+XeJCOtNijNRH8bi0lqyl
|
||||
nbXRydHncW1btzHp0a//Vu+3k+1yZ/f5CEEcigq01oLFbQ+D44MIOVVkL3Y6gzIP
|
||||
qDY5wvRbezmFqUn1vZW8C0GDsngcKcm/zrqiBC9WWMmu4AZjIARpe4Rp/v8WuW+8
|
||||
08a5g527jSUvtEksEAoU0WuE7VxTAa/0+0D5AfyvhClU71S2vqN35KHh2zc8USF3
|
||||
XVsxJFB/UiK1GOF7bnkSZ1swYti0imJm0e5JRJX8RZvuuh3iOZA=
|
||||
=2+hl
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
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"
|
||||
S="${WORKDIR}/aws-cli-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
# awscli 1.22.55 → botocore 1.24.0
|
||||
# so botocore is x.(y+2).(z-55)
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(( $(ver_cut 3-) - 55))"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} \
|
||||
-n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
|
||||
}
|
||||
|
||||
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
|
||||
}
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
AUX lkrg-0.9.2-systemd-coredump-umh-whitelist.patch 1052 BLAKE2B 6cf0af6b59026b1526f85f6db4a6c6b936add6b0f612a38a06eefb1de9363e57417c03c69e770be1c5e3da0fdb1f0382e862154e84c9828526dbca7c813bdadb SHA512 daba60c48e68ea8c0102424fd20c1eca360ffb1ce8eec25bd52935b5f2b5c0b6936fb3476fc941a27cef7fe4dc3be3446a8424f48e3bedf856e70fb56bd267c8
|
||||
DIST lkrg-0.9.2.tar.gz 125976 BLAKE2B c3da2d4599c9dd5b7d6fbec426fd93d802715f6c8566471f82c8f1c7d31621ebb4a2cc4c285d076aad6a6ee6b1bb790debbb365cfc6220192df049ac1d3c67a9 SHA512 5fec807618817bcb516e1a6779def6979badbdac6fe9b38fcce8425a0c7ebe3fb55c05d3080d8cac2d67cac6e8b7d2d77b3a1be450227299e2a02a311e223331
|
||||
DIST lkrg-0.9.2.tar.gz.sign 801 BLAKE2B 0cd8b18c8a0fbcca61ffa868b406d048461ddf9189fb08f15faa45e01b8731906a6b14105dfcf92bb5124373860f6695594063ee8d138c94c70adf471bc15e0a SHA512 18b547ca84a7fd2957484857e17983408e92fd005d58b77b399c5156ecb09fc5e9e6c910337654a2655883d103098c1769b1993017eec753bd21e63d6491ad04
|
||||
EBUILD lkrg-0.9.2.ebuild 966 BLAKE2B a3f5f70063d0bc42f2d1765844f88906660775574d0e26bb45d63f2b59903791d09eaec75bc05c69c053612f7b66dba28a3f53a25d9ec3b0a18d90ccc368e3b8 SHA512 29a99f1f7adbb41902f2290922c7e29f4755faedb3b17da1fa29ab65c04c3bc45876f61784147f4026ecf9cd2cd3d9b942cedc105dcfa1bd805169d5e5cc614d
|
||||
EBUILD lkrg-0.9.2.ebuild 1026 BLAKE2B 6fb93f1537b995dc893095d87b8a40b531f39486ccfca6cb5f58a371ae4bd9d620757a5040d6697860ba48010952f1999b3fb26249c2f5be2ad0961beb80f169 SHA512 d69194399c394b528e51b4e9f2a63ebe80f92bbf6eca3208d43b51c3931975f1fc15eb3b0cc5e31c58895a2aeedf13ab2eab00a527c363eceec9b1940cc3facd
|
||||
MISC metadata.xml 326 BLAKE2B 01848278e317c44c65d36ffb73d68b87981796f69301447a32ea47f93bc1fda9ca82e7b8036310e733bf1f0ab67a4e31868e48e0c720023a016ae9f743b72f59 SHA512 afa115a36eeb4290c82de2be302f5432294beb26e3d4709de0c67df693694bcdd73573ca24b404493af492e958698c257f4b48395c29d4ab46a9796e871bcc3a
|
||||
|
Binary file not shown.
@ -1,6 +1,4 @@
|
||||
DIST tmux-mem-cpu-load-3.4.0.tar.gz 19483 BLAKE2B eeaabcd4447b326dbf77d3e5844971d2b466c93169993d4a16912bc4d0f777b07db1b0c2973dfaef9e0cd5b4f0dfd132043aed20170a1a7856d7a3c1f6a96ba8 SHA512 f963683faa86ff7b20a658787978ce3c4c36c41fabe297e18e4b1483e680d71a3b10c220dbae5c29bc7f7cb65e79839041b53c9aaee75a17bdc78bf0b76e8dc1
|
||||
DIST tmux-mem-cpu-load-3.5.1.tar.gz 23020 BLAKE2B 2bbe2441c0fd687fee4ed2f27b8cea0fdbb0596c36fe8c791be110b880abe5d8c28a14960a9836552cf49b4f92d32a127be9271954853c5310f1628791138f7a SHA512 e08a3ad088021d4f4a3fb671a15cc8468a833501202391a63f57d3b53ea65934dc32869c3b7bbe47bce7d8ff2c9d1d35a5823a70c80d1218392aac82ed96e68f
|
||||
EBUILD tmux-mem-cpu-load-3.4.0.ebuild 587 BLAKE2B 46bc85383bc264bc90fe66ac5cc63e0f8278107537956ea38e7b589c3746ccb86f66d4c34ab4342358eaa39b88b4e1310ef65324c7b7a8bbb6fc2fcefdfd3547 SHA512 176ec93db0ba68004002dcc297b31dd804a13602f08c6967c143633b2ac0640a7749150cc17b95d936e034165f8f67412e5131227b44d52a6a7a89fc52ece5f9
|
||||
EBUILD tmux-mem-cpu-load-3.5.1.ebuild 543 BLAKE2B 76164c9a863654c25ad08875777ac2404eeec72596d85485e5b101b8e79375ff05ed2edfa6aca6aa0ec0fe56201d051973fa08ed446862698be7360ff6987946 SHA512 11ea3b55417f9aeffc3adf5c8b3b3a26bfd210f8166e303cd8eb32505c874024d5bc657a9971d3f3d2d0a1a46bad6719c5a09eeec19a12ec5b845233d3c65508
|
||||
EBUILD tmux-mem-cpu-load-9999.ebuild 545 BLAKE2B 316949a74bb2db6c7d9c485a10795369b31aa3387258365d2f2f8be9657a601bfd6986b0a34f87a49741e54e0fb1705f6025254a773a3837f6ed75abc4857beb SHA512 a86af4da3c65fca2c4333e4169442d6b8f639266533d1300f0851761c5dc443cf16963d1802f19ffbb307c803a17f84af0748ec0699e4cfde621be84fef3d0c9
|
||||
MISC metadata.xml 261 BLAKE2B c72b9ffeda4ffe9423279540d7ea84bb499eec367dfa01288393aada1561ccdf01f08f89d5574d4beb7cd197cb3b123d2602ccce6288bbafe4e6c25a1ffe6e67 SHA512 99c6f01dba5cb14a98d96480e02dc49a3399ba679dc83a11f39d9847e472ff830470b0881f7944aba24c6fd7827a5c19bf8c1001f53627fc3eaf3f8d92840cd8
|
||||
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
IUSE=""
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI=${EGIT_REPO_URI:-"https://github.com/thewtex/tmux-mem-cpu-load.git"}
|
||||
SRC_URI=""
|
||||
else
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
SRC_URI="https://github.com/thewtex/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
|
||||
DESCRIPTION="CPU, RAM memory, and load monitor for use with tmux"
|
||||
HOMEPAGE="https://github.com/thewtex/tmux-mem-cpu-load/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
DOCS=( AUTHORS README.rst )
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST gnumeric-1.12.50.tar.xz 18062104 BLAKE2B 46d15e5fe540cce904de07b263707d7fd8c29d9a2611105cdb117a3acd6693651e588b4d281038b48fbc36bba100d162c2c2ab1be589ea206272155cbd9046df SHA512 d5896cb8390c99fb3871c722116cc085b93b788fab91bf44d24f20228b8290170a0adc906160a6aa46431ae43b04079621c370dcda42658fa9ae3c1d8baf1730
|
||||
DIST gnumeric-1.12.51.tar.xz 18117120 BLAKE2B 7d30dc01cda93a99ef8d47ccdf6bcfd1b6b6964a806599c7ade486f9bbfb61a876ef942174425cb2f59e018f5ec95a9df36a9deb0cd67d23e1801c2c289d83bd SHA512 c46164d9deb29831ab059613548743d84cb15461ac363305a28097832eb69d3fbf3cf8784c420c777bd09e32212b2ef6237bfa56ca28a7e08fd3befde9dfed36
|
||||
EBUILD gnumeric-1.12.50.ebuild 2292 BLAKE2B 2275ed4505ea2616dc9009517949d38df177f882b6ce283bc79069e3c94260d419f6b22d798a8431f3130a63cdfb565ce80541f8c8822c253158ba9d6d838225 SHA512 77cc54a618e47a3d9942bec85edefa18947c97891d2a60f28b629a554a02d80b8c2a73292f4a2e3385fd7e67df7de37614aa6002dd59118ae911241498aba7ca
|
||||
EBUILD gnumeric-1.12.51.ebuild 2293 BLAKE2B db7d57d45a050d7f3be9d5c929b40fa1d9b896e5d239d18d6d31cc267d3650181060d759117793ac692335c47ddac8e54e057291f96cb0f17d2ac214481ad88c SHA512 104ee61620b59326211a0d8cf89e6c7cebc5a7689c08fbe4e673ac3c8d0f6bb9befb6153d9d0fe5a8e2ec35de4a31598a1ed31c038137f56531c20cc387daf2f
|
||||
EBUILD gnumeric-1.12.51.ebuild 2310 BLAKE2B 596b8f26ca17cdd5b4df825ab988e97ad4a50488d9a5bad498f0b1c2d97998dc4cbb705ef82172ad96efc6cbb5f8161dceec217a7f335294d7d50b211dd01a52 SHA512 62b9b4ef2482d04463eeb37742b21c46e7cba452a8a890094e27f651d91b178319baf1226c990b8633f687260ad435601f9c47e911453ad0884a855003f3fe11
|
||||
MISC metadata.xml 520 BLAKE2B cdd4d61e6b2192b820c122370c47ea2ff0c8b4130474a1273f59ccb83d74decccc174632d0a605b17c5d2efd3312409f4afeb45b66adb332b5c5b1fbce305ef9 SHA512 50a15120cea4f1b2cdadac5819bd215175fb4e9e468647f2228b229c1b50fc01c3a35f125b2404ab0c45e4174c028e39873bb91c8a53f7cbb8d0ec488b5c96e7
|
||||
|
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
DIST mgorny-dev-scripts-13.tar.gz 8162 BLAKE2B 0ac4b8d61119b64d3d6420861ac466f975606972e5274be76a3a66210536783077ab4c066167553e11d5f913ea32ce49536f6757e2b806a355f85e2698c858f9 SHA512 53bb2fcc99f9bd048adf14b6b760a1293bb87e5b48ec1959d3037cd2b8a09583150309632451444e6048abfe9296f3a63346720c4a5de6c6103a9807f13874cc
|
||||
EBUILD mgorny-dev-scripts-13.ebuild 654 BLAKE2B baba17e3a919df43de031001d0165f43b52a4d0c930def9c6bf0c1372ca7f9e5c7a7ca65a26262baa0b5e3523ad5fdeccfada1c1a7244de3b890c0195ab1a5bb SHA512 07f33036b0cc1ec2c9399b282f0bb495c9c70de8ccb79501740c131143b00ad3a24d29cae4367a50bd039e93585e502f00f53a70a5a4dd94679bdf8a0c68ddca
|
||||
DIST mgorny-dev-scripts-14.tar.gz 10869 BLAKE2B 674f20874b1815d6c5e2e507f33e86da8dce5c2024cc77b66a47bfd0203718ae149729c3ed5d70714f89e5e754b3b68f2d0c2f0cbc40505e51fc2d352e823e7c SHA512 57822f981db90b9e4b1ea14a6117e14ab8d6668b6d01e63c719637b870e5ddae3c1fd9bf7aed27618c42c12df8c40476c96de36d6c753dfbae92a1d0bf7d3b8b
|
||||
EBUILD mgorny-dev-scripts-13-r1.ebuild 675 BLAKE2B e04bb5b1253c790d68c2566458eebb4dd02ec2971cab0140ddbd6d7734d32ca8a02098910fc5afbe1ce9946dae4255421af83f5924c4ca637b10675cd2987f4f SHA512 febefd52c6747ad3695d18ae6f03e0b31984ff80dfd5d4ca6d7f10e1c18abb6db07a0a1b1e8b0522da429dd7b8db44ccde696bf36b5aa69ca816cb4d76622668
|
||||
EBUILD mgorny-dev-scripts-14.ebuild 659 BLAKE2B 357641acbf5864e216858116b6e1efd3ef672d37d3b60bace922a79f72b8f11ace506c7b5f41b2a8dfc17eeb2741fa3d4c65997639060f0dace96c4f21db6b5d SHA512 c4dd773ce868cd8416af70c9fc51b867600403f3a7f57ce97d480ebd816c34e7f8fbdb54fc8f38121a73317ce84270c694484962313b6f6767917802e4e7d36d
|
||||
MISC metadata.xml 272 BLAKE2B 583272860b0b9615e8d57fed7ced1a93035bf0c25285d230412ac7af2e48a8156c2e9d9c0581da80f913a2748eb76579b64648fd1e22ce0bc89da66aafa30809 SHA512 19c90c888b76564e32674364a753ba2d6a0b9ce6f3a97f45bb876c32f83c8206e6ec318e0960747b2003a4c3a426994f25c6b83da8b294d575f45e80c6105d89
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 2019-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Handy scripts for ebuild development and more"
|
||||
HOMEPAGE="https://github.com/mgorny/mgorny-dev-scripts"
|
||||
SRC_URI="https://github.com/mgorny/mgorny-dev-scripts/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
|
||||
|
||||
RDEPEND="
|
||||
app-portage/gentoolkit
|
||||
dev-perl/URI
|
||||
dev-util/pkgcheck
|
||||
dev-vcs/git
|
||||
net-misc/wget
|
||||
sys-apps/portage
|
||||
x11-misc/xdg-utils
|
||||
!dev-util/pkgdiff
|
||||
"
|
||||
|
||||
src_install() {
|
||||
dodoc README.rst
|
||||
rm -f COPYING README.rst || die
|
||||
dobin *
|
||||
}
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST jboss-jms-api-1.0.1.tar.gz 63730 BLAKE2B d97bea2fe9a61bed91552479f6ec37646afcade7a723d10bccd78d6f8e38f1dde11619a1543d00589065df5e5a9e4896a66abb4a9cb1d34406b153456966f137 SHA512 0cbf656fc450983730f2e168da9558eefdff696426caf4bfa61ec5db1051573635aa32bfa87b705f675e61df5d787771ed1d884e6713e1eb454969de92e98902
|
||||
EBUILD jboss-jms-api-1.0.1.ebuild 1081 BLAKE2B 8735b67cbdfe162e06e39f5756d5d4efbfcb51a62b462b894df3da9ebd55a9cdcbde26f7111fc7f6fa667bdcfe50a8c96b4d1dade48ad406cabc557474317b01 SHA512 b2856150a00b38c8dcc4ff7fef6fed677010ad9c418b49b5fa2f6f37b8dd8576845838f6ee4ecf044416ddc1cac3c46eb6946225f0809261194599332cf446f1
|
||||
EBUILD jboss-jms-api-1.0.1.ebuild 1079 BLAKE2B 57f1c66381eddcd08ac27f86d694daaa582f7580a6283e4513950d0a69652236bcfbbc80fbe38bb5b7056d19de2c5a6e12486b5bd829fadb03e778279caf542f SHA512 a7841de5c50af6496ed7eb977eb5c2024511c04a1a9c4ed49a23f6e26d1dbf3788ee847587482bef04429bbf442fa734183d1c8a0e4ce1735276bc8d9522f4e7
|
||||
MISC metadata.xml 217 BLAKE2B cb41a7bd7e5c55319465d67551eae75371cc72d58629c61f70a7f54c388645d5ab1427c66dfdd5954e36ca40f0d3209f871d476cacd61516dd57e3297aaa601f SHA512 4df8395dcf07c52adadee71ad7dfa9f611ade8485cc9869397d0037272ae9add9b40d90669da8b80e578b4ee14c512da01ba096abe39a5859ac71c5316e425b6
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST jctools-core-2.0.2.tar.gz 4136573 BLAKE2B 6ca4c276422b24b18256b35606b6e59e8be53b77fe0b757e4f46dc4e0bdab0ea8fbb8c58e84794c689aa1df29a80aa847b6baf7cda430f2657720ecb5d60e99f SHA512 734905d6847664a08557fa9807766bfe2cd57e9562f1dc0d908c9fffc627c1cb7576ac079715004da9a1f2ee958c8373caf60c110ef3de8f7da5bb04775f6f7f
|
||||
EBUILD jctools-core-2.0.2.ebuild 2138 BLAKE2B c43da6893420ab11d71adb8f099e4f50ca2a63594323c2a933262831fe1c095425ac58b5529b2fc3ce4bb69b9dc0138845902b129c76b6f113991d7307da53cf SHA512 3b62d3d89b95b7f12cccdc58b8afa5e9fdca0a1f74f5ef1e7ea8314589b7a9577fdbad272ea7b54e814ae972ef30a19f1e10e1384add554095b8c3e39a1dc6da
|
||||
EBUILD jctools-core-2.0.2.ebuild 2136 BLAKE2B 9801d6930b9d09a9d4825dd6086fd2f8775526a4a1e1a7ea5c6e60d59937828475e22a0ab1f367754f03b18f1db360da94dbb231774a440419e0e42a5213badc SHA512 ff75bfd7d92b3b79e03d31070970dd81760b295278613a771467329bc151c873e0ab25797f653e2c6ff4d9c63aeccc04ca19a77a09d3de98159850a8461f78b5
|
||||
MISC metadata.xml 305 BLAKE2B 4ac1a7216894d3a7be6d9b4bbc034c2cb571ce0e9ec4f401eb4921f9c56b00296494be04d33b052d7f89684ac9a8d9b80385f7b33d7cb0a92b2ddb4bcc323835 SHA512 3ce5145f2b40c8a5bc7cd89c14ce33d6d194809ab70bec23c0726636ed516693f3cfdfe231e79fc1e3f3591ad950ff27f2632545fd69213a878be1b27d6f1f9d
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST sjsxp-1.0.2-sources.jar 531127 BLAKE2B d3088b89537027d8b6b5dd2a07af7713ada83fad36ffa0dee5a882db67ff20389d72185376a3da491258e5d76743ff2efcfa7f76a032b849f7f74e31ecdc4ac6 SHA512 bc6f051e72b9785d7f1352464ed620282c8e4e190f66c9825e92b9409f21f5dc046a6fa678808dbffa2f8dfdb47d622dce7699c811a2afd60e57007a7b43f17a
|
||||
EBUILD sjsxp-1.0.2.ebuild 1049 BLAKE2B 0b4090e6e92293856e52a50863f3bfe1755b2dbec2fbf234d703b9e1c3947e342385b9d2dcef6366260190d177ea91ee2465a25081e4cd0ef2f513cba285a603 SHA512 8676358a965e961c9d2e7ae5c9a0e88f274cc261de9924d1ea9a969ac8be30cde7d87cba795f55149dad217bcf39610f4d60b408fdb1646d1327173ec1495d29
|
||||
EBUILD sjsxp-1.0.2.ebuild 1047 BLAKE2B 496b6e22391f8e8c78558f2012a6a6dc64c2a2824a3bf3278b54ce2d455fac3853f689ed668e0e8cb7c1b38f942893d363fc01558946a317532325d3d4f5bea1 SHA512 966a03aa0da9d8d3573bdd6b5e522628239813a181c35dac199ad95cdb8e1919bf8dbb91a426ba85497f8454fc55f4f039089b47a4b32984f8ff787a291e9670
|
||||
MISC metadata.xml 217 BLAKE2B cb41a7bd7e5c55319465d67551eae75371cc72d58629c61f70a7f54c388645d5ab1427c66dfdd5954e36ca40f0d3209f871d476cacd61516dd57e3297aaa601f SHA512 4df8395dcf07c52adadee71ad7dfa9f611ade8485cc9869397d0037272ae9add9b40d90669da8b80e578b4ee14c512da01ba096abe39a5859ac71c5316e425b6
|
||||
|
Binary file not shown.
@ -1,9 +1,7 @@
|
||||
DIST gjs-1.64.4.tar.xz 422496 BLAKE2B a96211f7240336dbb30c6965e405f59ee72e4288842837da8da8c6d3c59b7e04ebb6c7a8b0b02d38601c162ffdf1a1fef9f13e4db720c4c483f4a39dffd5dbb4 SHA512 21a15d7106ad6584fb1f02cb0a0a4cab211a3540adb8f2c03d35c211e3946b81935000a52351fedd95a18a7ff6b7f96e665fcafa3c411ff79f2b6cb332c82b42
|
||||
DIST gjs-1.68.4.tar.xz 559768 BLAKE2B 0e5f2cbb5b93c7ddc05916c95f23d9438c8e76bc2eb35c11eca5414d9f4327e0c99ec9c85795880bd478de5e3655da0f7e9223ba4c3f7c8d5685bdb4a00920d5 SHA512 c610abfa701c0a61ffa6916ec5ebcd07b1dcb04607d74ab0b6d30583da27d60f9993e037fab73e66e1580d644d3a57f0a479f55a09e3bf56fea7f17367c787b3
|
||||
DIST gjs-1.70.0.tar.xz 595292 BLAKE2B fc06f4b397350daf19a532a3ec3c2851e106bc76dda41d4a9c32b2718a6f5add1bf0c1066ba9cc5aaeeb192cb4f0a0e3dba1c16826fb3157c0a1e0a8bfe88606 SHA512 e32ee511c34fa9af210061a106d42de67d40c20f398dfacc541db0323bb4a499f2552aa28028eba16ec42afd4dec5a0cea4292155a66b966c3731ded45b23cb4
|
||||
DIST gjs-1.64.5.tar.xz 422548 BLAKE2B dcc0b7327cbc6a1108be031c8807e61ebd3c8392916750078aaa0d82cb3bf9f7ff0e1876c250e5ddf6e9d7bb6a17d9d1fe34c1c77ff534b7ec1dd54fa05a2d1b SHA512 41a3c79888792674b2bccbf254507ed02497eb571c8ca7f47aab406d2ee29b73c98b1c7d59c33ed33bad90c6989df944d78b86d2f7e9824d598b62e29769b6dc
|
||||
DIST gjs-1.70.1.tar.xz 598444 BLAKE2B 7d5f1b82e9edd20b9b3d3b03511d3cb8e19715d5dcaaa5375867c1c8754895db33089c41e17f28b732183ce510fff868399cd2174062684e0b3072cd599bc12b SHA512 194d8efeb37ecf7f3ea65c0bf0bbe2120524a11448423888d0785868297ebdea12b0ea4b28cb49d2596c7a3d73f13eb216072db8dca5e209193ba3dbbad78b6b
|
||||
EBUILD gjs-1.64.4.ebuild 1121 BLAKE2B 98e74cb7ab03be98f02cd62a684c804ea40dff1df80632b13ef2ce357ecd5cd3030a3816258317977e1fce9021e87650d6128d71f773704b7340b6319c419f5b SHA512 229e77055f686debdebdd32e667ad59e706a77346772c8fa6164425bd3e60cb4947d477af9925aa4da8f90eaf55807ebea6c05c85acc594367bb4745f73a576a
|
||||
EBUILD gjs-1.68.4.ebuild 1120 BLAKE2B 19bcb66930e48d86adcc80fb753b5cd97b26c137e0a35ff98ddae38dba162a7dd82522e5f25ea2e4f62ccf46829ad89e654cae583bc0d2628bcebce63426461a SHA512 211799f2a201f419f6122fad8f98bfa3cfc904b566dffb6ab2c1a6195c5651834b0f60738d4f7c654f49782ace3c9f5d6c103153ad523e306fdc07383654e93e
|
||||
EBUILD gjs-1.70.0.ebuild 1194 BLAKE2B 00aa3100d501b511e59433f64d36599c9fc3b91aec2ee11d518dfbf50973a7739e52a1dcf7b83ba29871f92c101ba0ce471e02979c92739b808d59a4fa2ca1c9 SHA512 d677bfc08464fa806251a89e3b13f3b12b9a72bc5c950a3cf0e2b7fdc67d7b2bf0ebb7ecb9ed14e9c6092c973046b18da0e7b889b646e3bda6d55525232f8251
|
||||
EBUILD gjs-1.64.5.ebuild 1182 BLAKE2B b9b3ac973aa78bfcf7093fdcd01820094e055b5a52368788521cb9eebecf0ea36fe0deb74bd9bac314303cea3c9f24e1cb1438c20abf035a9e86160560557ae9 SHA512 6a4b489a7bb48db88d22a5c2f847d6c6c469af609fa877f95fc1e62ac6c1db0bf5c2b3782d5c31b13538536dae44da27c106e7b54f6e52652c11b20dd1c80305
|
||||
EBUILD gjs-1.70.1.ebuild 1189 BLAKE2B f5d195a50c4fb8f270368d87cac25c50ed74fb13ff2f6d9213de4c1ac940a86c9a9a693b539f2a4320e11bd50613c899879fcabbef0a41182b62b8e4a4e194bc SHA512 c3d2524695c7f58d78f3e58f0e7f260b497e6783446bd216a0c1f0abfab91e423f7959d492507abd5b820d7296d5f7d4e235f58c7f7ebe4686a82fef776717be
|
||||
MISC metadata.xml 389 BLAKE2B 68d318dc917f5072b08e83506e14d0f4b8f25bdb90b95701013466112f8fdd77c2cc193257eee82fbce517e41056eeff61cd20137b697f6d1d688d943bafb8cc SHA512 bc4b0c94d58f3f67cbe481c45fdedb5d601e3ca40b5dcc88ef8c7ad9b214e7cd0d5c47d94599f85c11cd1c21dfd57770fd64d442f4b3f960ebc70a8e16f8e8eb
|
||||
|
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit flag-o-matic gnome.org meson virtualx
|
||||
|
||||
DESCRIPTION="Javascript bindings for GNOME"
|
||||
HOMEPAGE="https://wiki.gnome.org/Projects/Gjs"
|
||||
|
||||
LICENSE="MIT || ( MPL-1.1 LGPL-2+ GPL-2+ )"
|
||||
SLOT="0"
|
||||
IUSE="+cairo examples gtk readline sysprof test"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.66.0
|
||||
dev-libs/libffi:=
|
||||
>=dev-libs/gobject-introspection-1.66.1:=
|
||||
>=dev-lang/spidermonkey-78.2.0:78
|
||||
cairo? ( x11-libs/cairo[X,glib,svg] )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
|
||||
test? ( sys-apps/dbus
|
||||
>=x11-libs/gtk+-3.20:3[introspection] )
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
append-cppflags -DG_DISABLE_CAST_CHECKS
|
||||
|
||||
# FIXME: add systemtap/dtrace support, like in glib:2
|
||||
local emesonargs=(
|
||||
$(meson_feature cairo)
|
||||
$(meson_feature readline)
|
||||
$(meson_feature sysprof profiler)
|
||||
-Dinstalled_tests=false
|
||||
$(meson_use !test skip_dbus_tests)
|
||||
$(meson_use !test skip_gtk_tests)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx meson_src_test
|
||||
}
|
@ -1,10 +1,8 @@
|
||||
AUX liborcus-0.15.4-gcc11.patch 1874 BLAKE2B b01e145fc9204e1504e34959c0c1c97101eed287e7291734e32e81a1e219a3bbcb6487ad7cc8c248019feccbebc94e03e3b3f7346c38074c9f284a159eb1d55e SHA512 61cd9afe40f6a3da6fc1177627fb17716286d48168d282fc90de3729f46bcd4cf22cb4fa9ed2962b59806d58d0569365f80b633e74225257ff9beb5eab01ad7a
|
||||
AUX liborcus-0.17.0-test-fix.patch 1691 BLAKE2B eff681313577d7964eb9c58bf9e2e68951ea6430303b81cefc26ef1e63337188f415b4a5f2b44cbe44111776c99ade992aa40ca6692e126608a9d15bd89fb44b SHA512 fb46233985a69fc9b5991efddf9e855217b4641eb558aa1b5df7bed4d1639e702500b03ce8526cdcee9cd22f139b4efabef18aa36367f840754aee49b3ec9f66
|
||||
DIST liborcus-0.16.1.tar.xz 1805436 BLAKE2B 7df89da5a175daa6fcf759d28f8a0eaebf3db6405af3b06a01b8dad41c7706acedc74876a0b68ff9cabd5780bb7cb311cd7c98390c9ecd265e62513eadde81eb SHA512 6d75591820af65181dd3a418f051a359695083f29c7d9c77edbcab3e89d9ea367824be0b19f27a31267525f446936145f5780a0ce3c6ee2d89823742837d4739
|
||||
DIST liborcus-0.17.0.tar.xz 1826696 BLAKE2B 4cab8696f698510de6c995aa6a3e59a8407297d6a60bac89ca7ffa1f74576de555c69a38de97eac63e2aed1817a3377ec7e15b1da7b5c01b49d049092d8756ff SHA512 1ac24f3c10973d0e0f6e3db7982391434631ec998ae07bb011fa8e000e48ca430c07a0c2588871a93b6d9bf7a19e30d4f05d34aef699dfce1f59a4556c7727e8
|
||||
DIST liborcus-0.17.2.tar.xz 1839188 BLAKE2B d274e3af71df16866e305403d63d3978613915753412ac9de19d7de7802930c3886d8653d6d48a8d9a971dc0ee284f8f83af8dc07850b5f28fcdab2815b6d9b2 SHA512 8ad8db46c23673260057aff555286d95ebfeff0a027bdeae24f11f8aa12456284f7f4446edddb91936b3011eb1227cfe1618ab3c4d909f8356c8c151f5739d79
|
||||
EBUILD liborcus-0.16.1.ebuild 1477 BLAKE2B af207820355c3f6839538034fd406335d1cf2ac1e426ceb4aac19baadd953e2ffc45ccff7c965779bd21b22aa7e0a5a235ce0505ac7a59dcdf5c55775a146f62 SHA512 cb189f615cf0c5f040f5cefbc832c4ca3322de32015907454d479e9c1e60048f8c1db912a74ef0e2b6e003ba6645936c73b5b4338181fd375328dbabba934117
|
||||
EBUILD liborcus-0.17.0.ebuild 1448 BLAKE2B fb6c7dec3e460f1d8f3963541221fcf81a810bee065339b7c584c5e294b7554e44190d55f55610012a2425d294678c1bbc5d7aaf2d5d378a4e8aa3d59e983e01 SHA512 d5c208118bacfbe05bf501dfc9bfcba1da11f9a01bba26e13d75669d84096f1cac298c42671a9f66aaeaabe81967fcc46daf4711293a1ce3123e5aa24f719b76
|
||||
EBUILD liborcus-0.17.2.ebuild 1450 BLAKE2B 1be9c57d1b4e412ef7e00fcd4992f8c8a7408fa589e8634a41b6d1a8a83810ef72e10a34ba9615c1d2e905fd8bcec2aa10648d2faed7bfaf1cf54b8f013b0fe8 SHA512 ee78ba3089f6ef2e34b146fc45bc61e464bf38403c135ae0712c903f3677b3169a72c311bff3419ebe34d3257c841166f4aab720bdb9cb7401a2411b94d3730c
|
||||
EBUILD liborcus-0.17.2.ebuild 1458 BLAKE2B 86c55feee736e9fc96aab3ec1081334831dd4e9dd763656dd17261d46c6509cc8f0e6ec280d89da38aedd0390ce0d28e9f87c3f92e6c29b571df07fd0fc859a4 SHA512 f4c01b9aafe21079858a96ca664ea71dc14421166f95d0d5679b136ea476addb83835b41a94f3bd034fdc3183c817bf01184e1353ddeb9eb7b05e68d4bd94e02
|
||||
EBUILD liborcus-9999.ebuild 1449 BLAKE2B c993233e271bb4cfc885bcae0bdf8422267e949ccf0bc3f411edaa2a0773c1c8e8980387710c87c3d1605a86a60e8011df471cf04574e74c14a59da9cf82f6ae SHA512 89e0d1acb0be5ab01e179f43f9dae77ce1f3a161f7e28adec10961ceda4201eefb5e1ea9c6bb303f31fdc2efecff381f2a081cb192ec43f938b1d169a01d3b02
|
||||
MISC metadata.xml 557 BLAKE2B b8dd01b0df50a1c6dafedc40f4cebbbd7851ee67fd1ac94f4c8107f052db8721ce12b0ae486e42f459e0b5d337525edc0359e9e94b8da1261e3521c11f66ef64 SHA512 2eca4f5fd25121bdb3ecb9470b66c2c5373ab266c53bf7af55b3f46245ad6973f3cd65ff80c6d1c33cb738136cddf22489b61dc1863701225842ca9dfa4e2c9d
|
||||
|
@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8,9} )
|
||||
|
||||
inherit autotools python-single-r1
|
||||
|
||||
DESCRIPTION="Standalone file import filter library for spreadsheet documents"
|
||||
HOMEPAGE="https://gitlab.com/orcus/orcus/blob/master/README.md"
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
MDDS_SLOT="1/9999"
|
||||
EGIT_REPO_URI="https://gitlab.com/orcus/orcus.git"
|
||||
inherit git-r3
|
||||
else
|
||||
MDDS_SLOT="1/2.0"
|
||||
SRC_URI="https://kohei.us/files/orcus/src/${P}.tar.xz"
|
||||
# Unkeyworded while libreoffice has no release making use of this slot
|
||||
# KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/0.17" # based on SONAME of liborcus.so
|
||||
IUSE="python +spreadsheet-model test tools"
|
||||
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/boost:=[zlib(+)]
|
||||
sys-libs/zlib
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
spreadsheet-model? ( dev-libs/libixion:${SLOT} )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/mdds:${MDDS_SLOT}
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# bug 713586
|
||||
use test && eapply "${FILESDIR}/${P}-test-fix.patch"
|
||||
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--disable-static
|
||||
--disable-werror
|
||||
$(use_enable python)
|
||||
$(use_enable spreadsheet-model)
|
||||
$(use_with tools)
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${D}" -name '*.la' -type f -delete || die
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A Python package that generates fake data for you"
|
||||
HOMEPAGE="https://github.com/joke2k/faker"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}]
|
||||
!dev-ruby/faker"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP},tiff]
|
||||
dev-python/random2[${PYTHON_USEDEP}]
|
||||
dev-python/validators[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
Binary file not shown.
@ -1,5 +1,7 @@
|
||||
DIST alembic-1.7.5.tar.gz 1229596 BLAKE2B dbedcc43f60b2b28adc17b1c0c753b22993127acd5aab04bbf4a47920e11894498618d353eb544b48c0c5698d7cf6f96fba39a98df723a611810e71e24809b0e SHA512 4223116c3610f3196335c1fb2032a9a236c3e6ec4e4ca5cb85ccc3667d614e77d51d9fee1ee0173a32451198929428c1fcf39afd90b6df32584b076e0a4ab1a4
|
||||
DIST alembic-1.7.6.tar.gz 1235649 BLAKE2B 5e12cf09927c7851ad5c95b7047865eec6ca01d3ce94045be3601855370e1cce8371d16ee4141a953a8ea0ffaafaa68c08499416283c7996b086b7b5967c8790 SHA512 dca97722ac70654dfa23d673b776d064af13bf1e59219131d7716d7ce183508361bad713d7d0986c8a56dd66c58a59fafc1c3b3ef80507eaf6368e48f9c1a059
|
||||
DIST alembic-1.7.7.tar.gz 1247590 BLAKE2B 9906a266b71d658bd66b00b237bc21bb092646077584ddb5c245f73709087f0e476e86eb022bf041e57a68e16ee89e5a3a047dc7ec2d43ffa941b2e803aef0fe SHA512 dcb4ba2faafc3ee789981931e0548f7328c1118938150789218e720f39386fd5e7e2543ab241838bcc1faaf36db07900fd065963496e68ced0896a5f4795d63d
|
||||
EBUILD alembic-1.7.5.ebuild 884 BLAKE2B f3d62f2ebf0e5c87be25aa30761108b2f0210ae2508026b354c9431ea73ff51f0878c38ca3f1a6a38632834e83b49c9bed94a277d2646b7d684d0fb1c9adc93b SHA512 eec90de5278a58c0c1e42c60b36a6074d738cf9b6dde86b22e4a8edf56ea748491e4b1af4d7f14b9654ce4ff63e3b36db2de743f237ac7edfb3591aabb254027
|
||||
EBUILD alembic-1.7.6.ebuild 925 BLAKE2B 59970ccde5f3fcf3646b5d507ca5388ae5083f903060c0c5d32f66c7844a0a6eaf85a4913763473af52e540b0e84e9c7ab90fc1e257a2eb3f8776ec147bcbbfb SHA512 df196708b8ea242cb6798f2c924aa1f26a78cea7f0ff9e7d1ae599d2c1a245a208d73e7456034b0bb45e8a5cc5c598a8038d6a327eb545a879340196ec009dc9
|
||||
EBUILD alembic-1.7.7.ebuild 925 BLAKE2B 59970ccde5f3fcf3646b5d507ca5388ae5083f903060c0c5d32f66c7844a0a6eaf85a4913763473af52e540b0e84e9c7ab90fc1e257a2eb3f8776ec147bcbbfb SHA512 df196708b8ea242cb6798f2c924aa1f26a78cea7f0ff9e7d1ae599d2c1a245a208d73e7456034b0bb45e8a5cc5c598a8038d6a327eb545a879340196ec009dc9
|
||||
MISC metadata.xml 516 BLAKE2B 08b11ebed2913b00e0a8c0044a50e3ca7bc0e51fcad180725c90445227fed1aed58ed89b4bed58ef5c050c3eee3c19da33aabce5cd1f7835f4b560e67ccc7744 SHA512 b4afb6af57562e6065f03db71da0dbdfc9c4337e54cbaddfa257ee7bad48dbeecfaccd765901bf65279e34cf96be3975f983017858904716a36bf8c18f33db79
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( pypy3 python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="database migrations tool, written by the author of SQLAlchemy"
|
||||
HOMEPAGE="https://github.com/sqlalchemy/alembic"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/sqlalchemy-1.1.0[${PYTHON_USEDEP}]
|
||||
dev-python/mako[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-editor-0.3[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/importlib_metadata[${PYTHON_USEDEP}]
|
||||
dev-python/importlib_resources[${PYTHON_USEDEP}]
|
||||
' pypy3 python3_8)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST async_generator-1.10.tar.gz 29870 BLAKE2B 7f1bea82b1ed9ed87774f1fb42af2c58d8f9e34a02f067fad018680d46c94b811075107396b29e948fa5f72131c79f3b45544fae5aeca9f990e809db85bb28dd SHA512 3874b4e474cc7febec981f704672e233512a999e00e1672e46fe3a18e45168373fabc83142926763b7c6fcaf16948e031702d5854694aab4b5cae96b9b1ef819
|
||||
EBUILD async_generator-1.10-r1.ebuild 710 BLAKE2B 4d969972e84172090a114099de18c4d4b278b1923e2c65cdb48fa12736a0be28bfc39f0e0fd83e2670b74d31fe7b21fc94a0d76bf08ebeb7ab8058f660333ce3 SHA512 e6d099f225d7aeb275459b84d68ca46589e5ddf21462b2827036eefe9eb2ee2677c2cff3ce916013aac5701a4b14a2ffb5b82180f76feb23571d052c06785c61
|
||||
EBUILD async_generator-1.10-r1.ebuild 573 BLAKE2B ee725037b9f86c759469de14cdf3afad41a8d1cee4a5363c5759729d160cd2e93ca6dccb52edfe09216ee51efdfc17ba9245d0b6fe7e32372be115b468e5882a SHA512 cbc6de80702ae9264dd8f8df3d693cd24a94253eeb40fb2d9f80b50e4f8c7e7cc644ba80937f927484d958c91ffa51a652fd620bdd76478d19578cd5649ca27b
|
||||
MISC metadata.xml 467 BLAKE2B 15e6bd812ec1d295024c92b3b8ce29d38b04dfb727321bb21a709b2cc29be2ed92e50eb327b6acb90fb2f393531f1abe0bbcb632050aea5ee471e5b3cee6b526 SHA512 857311284927e0c1517174b0ded3fe800c42d6649d7c958044c97c72bf48d27ad2357c1b28682ae2c3c85e4ee7535b36a24f062ab0487ea07fbc9d00ac248135
|
||||
|
@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1 multiprocessing
|
||||
|
||||
DESCRIPTION="The AWS SDK for Python"
|
||||
HOMEPAGE="https://github.com/boto/boto3"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/boto/boto3"
|
||||
inherit git-r3
|
||||
BOTOCORE_PV=${PV}
|
||||
else
|
||||
SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
# botocore is x.(y+3).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)"
|
||||
fi
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
>=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_sphinx docs/source \
|
||||
'dev-python/guzzle_sphinx_theme'
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# don't lock versions to narrow ranges
|
||||
sed -e '/botocore/ d' \
|
||||
-e '/jmespath/ d' \
|
||||
-e '/s3transfer/ d' \
|
||||
-i setup.py || die
|
||||
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
epytest tests/{functional,unit} \
|
||||
-n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
|
||||
}
|
@ -0,0 +1,68 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1 multiprocessing
|
||||
|
||||
DESCRIPTION="Low-level, data-driven core of boto 3"
|
||||
HOMEPAGE="https://github.com/boto/botocore"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
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 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
RDEPEND="
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/jmespath[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
>=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch"
|
||||
)
|
||||
|
||||
distutils_enable_sphinx docs/source \
|
||||
'dev-python/guzzle_sphinx_theme'
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# unpin deps
|
||||
sed -i -e "s:>=.*':':" setup.py || die
|
||||
|
||||
# unbundle deps
|
||||
rm -r botocore/vendored || die
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# rely on bundled six
|
||||
tests/functional/test_six_imports.py::test_no_bare_six_imports
|
||||
tests/functional/test_six_threading.py::test_six_thread_safety
|
||||
)
|
||||
|
||||
epytest tests/{functional,unit} \
|
||||
-n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
DIST cppy-1.1.0.tar.gz 11777 BLAKE2B 3bdeba7ee9bb478b51090a52077abc44ee74f72439c3cf2bca898bfc84bd97993bf4dd20d641a1952e2738e3f6b89434f7435fe0a5a8302f91ebef9d02729686 SHA512 9ef4db580c963219a111ab10bc263cdf2c4386e27fce8ffe5c785fc7e8f6c6b60cb23ce918959c6f17194fd6977cc65fa64d167a0b62e6cff0cf662154bc734c
|
||||
DIST cppy-1.2.0.tar.gz 16701 BLAKE2B 0d77f742f5436145ef5923253c1e4949352b6dce904519d655943eb9e9293a47ef19471fde0aefd914309677db0aa5ca1ddb81a2b1e6541b2ff5724b734f8c5b SHA512 074496bc08b1e163610fcd8fc15225a6110ea874a1e1680ec85e449fb8de77dda548d170c631fc90c3cb81d8fa090d2e1d8f19c156e34b0fa1da2b1f20b531fa
|
||||
EBUILD cppy-1.1.0.ebuild 491 BLAKE2B d5f29ce79782ee4cfdb30edde2cf50ee7b37896eda936d013fcfc7b5a6158f606fad45c98ebdc4a89163edfcac40a0cf1b1f16b62094f5ae74adbdd7c21663ed SHA512 4472c1c1539cb7043016a4d93a235ceb4020963dc8a766690db941216000566c179a015b2f719e153df8f2ce87dc21396a76c3888737adc7d02bdbb1c1bf4371
|
||||
EBUILD cppy-1.2.0.ebuild 531 BLAKE2B 9cc712c26c3206976ff4a4740ca5e0eed7ae5c63d144b6c6c194459b6a88071a6651a1c8beeb328aed374795ff41f6233792adf1d4d58d7262c16233343800fc SHA512 294052aae039af136ab705136db907e51da43b26178a81fe75e85a1034dac43a365faa4a9086d6f67139ae600ec143b8b286c9b41c47f25530e6b6b26cc0b4be
|
||||
MISC metadata.xml 602 BLAKE2B fc0deb89e55e63a036cc7eee611ded9481592777d978e9bdaec313b838574bbc7a21bd71e28f99121d2166f28fd2f0cc6d37786790a75344467708fc7203ab8e SHA512 61f35eb674dc1eef1258dcc8ebe128c004f3843bc17bdb828b83d5f719430746922518494686d13825c4e0644fbd4d0f907e78c1b6405e9547dab7ae2ed653c8
|
||||
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="C++ header library which makes it easier to write Python extension modules"
|
||||
HOMEPAGE="https://pypi.org/project/cppy"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
distutils_enable_tests pytest
|
@ -0,0 +1,91 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Mock library for boto"
|
||||
HOMEPAGE="https://github.com/spulec/moto"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/aws-xray-sdk-python-0.93[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/backports-tempfile[${PYTHON_USEDEP}]' python3_{6,7})
|
||||
dev-python/boto[${PYTHON_USEDEP}]
|
||||
dev-python/cfn-lint[${PYTHON_USEDEP}]
|
||||
>=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}]
|
||||
dev-python/cookies[${PYTHON_USEDEP}]
|
||||
>=dev-python/docker-py-2.5.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/idna-2.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja-2.10.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}]
|
||||
dev-python/boto3[${PYTHON_USEDEP}]
|
||||
dev-python/botocore[${PYTHON_USEDEP}]
|
||||
dev-python/flask[${PYTHON_USEDEP}]
|
||||
dev-python/flask-cors[${PYTHON_USEDEP}]
|
||||
dev-python/more-itertools[${PYTHON_USEDEP}]
|
||||
dev-python/pretty-yaml[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
dev-python/python-jose[${PYTHON_USEDEP}]
|
||||
dev-python/python-sshpubkeys[${PYTHON_USEDEP}]
|
||||
>=dev-python/responses-0.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.5[${PYTHON_USEDEP}]
|
||||
dev-python/xmltodict[${PYTHON_USEDEP}]
|
||||
dev-python/werkzeug[${PYTHON_USEDEP}]
|
||||
dev-python/zipp[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
||||
dev-python/responses[${PYTHON_USEDEP}]
|
||||
>=dev-python/sure-1.4.11[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# TODO
|
||||
tests/test_firehose/test_firehose_put.py::test_put_record_http_destination
|
||||
tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination
|
||||
tests/test_sqs/test_sqs_cloudformation.py::test_describe_stack_subresources
|
||||
tests/test_swf/responses/test_decision_tasks.py::test_respond_decision_task_completed_with_schedule_activity_task_boto3
|
||||
tests/test_swf/responses/test_timeouts.py::test_activity_task_heartbeat_timeout_boto3
|
||||
tests/test_swf/responses/test_timeouts.py::test_decision_task_start_to_close_timeout_boto3
|
||||
tests/test_swf/responses/test_timeouts.py::test_workflow_execution_start_to_close_timeout_boto3
|
||||
# broken code (local variable used referenced before definition)
|
||||
tests/test_appsync/test_appsync_schema.py
|
||||
# Needs network (or docker?) but not marked as such, bug #807031
|
||||
# TODO: report upstream
|
||||
tests/test_batch/test_batch_jobs.py::test_terminate_job
|
||||
tests/test_batch/test_batch_jobs.py::test_cancel_running_job
|
||||
tests/test_batch/test_batch_jobs.py::test_dependencies
|
||||
tests/test_batch/test_batch_jobs.py::test_container_overrides
|
||||
tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed
|
||||
tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function
|
||||
tests/test_sqs/test_integration.py::test_invoke_function_from_sqs_exception
|
||||
tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_exception
|
||||
# broken by new expat
|
||||
tests/test_sts/test_sts.py::test_assume_role_with_saml
|
||||
tests/test_sts/test_sts.py::test_assume_role_with_saml_should_not_rely_on_attribute_order
|
||||
tests/test_sts/test_sts.py::test_assume_role_with_saml_should_respect_xml_namespaces
|
||||
tests/test_sts/test_sts.py::test_assume_role_with_saml_should_retrieve_attribute_value_from_text_when_xml_tag_contains_xmlns_attributes
|
||||
tests/test_sts/test_sts.py::test_assume_role_with_saml_should_default_session_duration_to_3600_seconds_when_saml_attribute_not_provided
|
||||
)
|
||||
|
||||
# pytest-django causes freezegun try to mangle stuff inside django
|
||||
# which fails when django is not really used
|
||||
epytest -p no:django -m 'not network'
|
||||
}
|
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1 multiprocessing
|
||||
|
||||
DESCRIPTION="Optional static typing for Python"
|
||||
HOMEPAGE="http://www.mypy-lang.org/"
|
||||
SRC_URI="https://github.com/python/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
# stubgen collides with this package: https://bugs.gentoo.org/585594
|
||||
RDEPEND="
|
||||
!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}]
|
||||
dev-python/tomli[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-python/attrs-18.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/lxml-4.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-6.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-xdist-1.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/py-1.5.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/virtualenv-16.0.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme
|
||||
distutils_enable_tests pytest
|
||||
|
||||
# this requires packaging a lot of type stubs
|
||||
export MYPY_USE_MYPYC=0
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# Fails with pytest-xdist 2.3.0
|
||||
# https://github.com/python/mypy/issues/11019
|
||||
mypy/test/teststubtest.py
|
||||
# fails due to setuptools deprecation warnings
|
||||
mypyc/test/test_run.py::TestRun::run-imports.test::testImports
|
||||
)
|
||||
|
||||
[[ "${EPYTHON}" == "python3.10" ]] && EPYTEST_DESELECT+=(
|
||||
# https://github.com/python/mypy/issues/11018
|
||||
mypyc/test/test_commandline.py::TestCommandLine::testErrorOutput
|
||||
)
|
||||
|
||||
# Some mypy/test/testcmdline.py::PythonCmdlineSuite tests
|
||||
# fail with high COLUMNS values
|
||||
local -x COLUMNS=80
|
||||
epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
AUX myst_parser-0.17.0-32-bit-test-fix.patch 1273 BLAKE2B d1d46785f723a61bdeb6e4fa62b2d61aebc4e525128b488c749956708f5b51e23ae265d6811d4ced35a4b10e8565abb9358518dd27ed6b494706bf8ad1bf5ae7 SHA512 315e9b82a13bf599313e431d57b75308689a7ba649d8eec08c0bf489691399badab68ca449ca0c5d2fff96f96bd8e4ce8d18880781ddb9d0e393fa05cd515c51
|
||||
DIST MyST-Parser-0.17.0.gh.tar.gz 877372 BLAKE2B 00dea98fa9cd8770480047a824e18a903098600dd52cea427e1cf3a4ff0a4930502967e136a3c6e9ccb4a7f6c54c8c4c8f9c5bfc701e1b24a0006b867f8ce74a SHA512 e9f4ea05ab55b0979b26f0211603aee0835a30fb37a0ca23f23b96e0b47670b6b8e443ee9759df5011d009e20d817eaffd4066c4be4920f96786c283aa206239
|
||||
EBUILD myst_parser-0.17.0.ebuild 1375 BLAKE2B baac36632a1208105af775912dd173e44d3358e96c6c06d40b77e8c8672d6f132aee4d2b566ad82d5edf826cd92ed0543f745d9955cf41918bf2f845df2c08ae SHA512 e4049c2c8ecd14f9518838023e3610b5185e117264932872e7e2c9b161bc9304a4560fb6cb42181c09c5c2ce93fa7a57dd4e83d03e78f35975ef8e01f1c89ebf
|
||||
EBUILD myst_parser-0.17.0.ebuild 1374 BLAKE2B 663f07ab0e2e928bdf44b1d4e410ff15ad1a8d7970d140a9ca8e39bc5db34299c2247efdd89bae3c2ed733a9fe4d30cf5b330cd419b9e922461665800fa0cd6c SHA512 078061220a4d3604bb3a44a8c2b4e0fb634b47812e60b33fad95118811d41c9e24945413e90afbe263e7016e1b74773e2b01a470702c83efdddb0029ad676c66
|
||||
MISC metadata.xml 406 BLAKE2B d8a974be3dd4fef4800958dcb1eef3124dc8e3ec49e6678d0db7d6096ef290019aa025796c4f7c38bc11b750d1667ba97d4429b64e7271009da707cd945e113f SHA512 acdc27a39e068c487306002342b9c0c5910d61ed34a7b62878272054ea458d5aad46fe24095a52666ed77ffcb6e703687cc83de0c9e2cef395a1decf9003d918
|
||||
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1 flag-o-matic optfeature
|
||||
|
||||
DESCRIPTION="Python to native compiler"
|
||||
HOMEPAGE="https://www.nuitka.net"
|
||||
SRC_URI="https://nuitka.net/releases/${P^}.tar.gz"
|
||||
S="${WORKDIR}/${P^}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="dev-util/scons[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
test? ( dev-util/ccache )
|
||||
"
|
||||
|
||||
DOCS=( Changelog.pdf Developer_Manual.pdf README.pdf )
|
||||
|
||||
distutils-r1_src_prepare() {
|
||||
# remove vendored version of SCons that is Python2 only
|
||||
# this should be removed when upstream removes support for Python2
|
||||
rm -vR "${PN}/build/inline_copy/lib/scons-2.3.2/SCons" || die
|
||||
eapply_user
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
doman doc/nuitka3.1 doc/nuitka3-run.1
|
||||
}
|
||||
|
||||
python_test() {
|
||||
append-ldflags -Wl,--no-warn-search-mismatch
|
||||
./tests/basics/run_all.py search || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "support for stand-alone executables" app-admin/chrpath
|
||||
}
|
@ -0,0 +1,145 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||
PYTHON_REQ_USE="ssl(+),threads(+)"
|
||||
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
# setuptools & wheel .whl files are required for testing,
|
||||
# the exact version is not very important.
|
||||
SETUPTOOLS_WHL="setuptools-57.4.0-py3-none-any.whl"
|
||||
WHEEL_WHL="wheel-0.36.2-py2.py3-none-any.whl"
|
||||
# upstream still requires virtualenv-16 for testing, we are now fetching
|
||||
# it directly to avoid blockers with virtualenv-20
|
||||
VENV_PV=16.7.11
|
||||
|
||||
DESCRIPTION="Installs python packages -- replacement for easy_install"
|
||||
HOMEPAGE="
|
||||
https://pip.pypa.io/en/stable/
|
||||
https://pypi.org/project/pip/
|
||||
https://github.com/pypa/pip/"
|
||||
SRC_URI="
|
||||
https://github.com/pypa/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
test? (
|
||||
https://files.pythonhosted.org/packages/py3/s/setuptools/${SETUPTOOLS_WHL}
|
||||
https://files.pythonhosted.org/packages/py2.py3/w/wheel/${WHEEL_WHL}
|
||||
https://github.com/pypa/virtualenv/archive/${VENV_PV}.tar.gz
|
||||
-> virtualenv-${VENV_PV}.tar.gz
|
||||
)
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
SLOT="0"
|
||||
IUSE="test vanilla"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
||||
dev-python/pretend[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/scripttest[${PYTHON_USEDEP}]
|
||||
dev-python/tomli-w[${PYTHON_USEDEP}]
|
||||
dev-python/werkzeug[${PYTHON_USEDEP}]
|
||||
dev-python/wheel[${PYTHON_USEDEP}]
|
||||
!alpha? ( !hppa? ( !ia64? (
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
) ) )
|
||||
)
|
||||
"
|
||||
|
||||
python_prepare_all() {
|
||||
local PATCHES=(
|
||||
"${FILESDIR}/${PN}-21.3-no-coverage.patch"
|
||||
)
|
||||
if ! use vanilla; then
|
||||
PATCHES+=( "${FILESDIR}/pip-20.0.2-disable-system-install.patch" )
|
||||
fi
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
|
||||
if use test; then
|
||||
mkdir tests/data/common_wheels/ || die
|
||||
cp "${DISTDIR}"/{${SETUPTOOLS_WHL},${WHEEL_WHL}} \
|
||||
tests/data/common_wheels/ || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
if [[ ${EPYTHON} == pypy* ]]; then
|
||||
ewarn "Skipping tests on ${EPYTHON} since they are very broken"
|
||||
return 0
|
||||
fi
|
||||
|
||||
local EPYTEST_DESELECT=(
|
||||
tests/functional/test_install.py::test_double_install_fail
|
||||
tests/functional/test_list.py::test_multiple_exclude_and_normalization
|
||||
'tests/unit/test_commands.py::test_index_group_handle_pip_version_check[False-False-True-download]'
|
||||
'tests/unit/test_commands.py::test_index_group_handle_pip_version_check[False-False-True-install]'
|
||||
'tests/unit/test_commands.py::test_index_group_handle_pip_version_check[False-False-True-list]'
|
||||
'tests/unit/test_commands.py::test_index_group_handle_pip_version_check[False-False-True-wheel]'
|
||||
tests/functional/test_install.py::test_install_pip_does_not_modify_pip_when_satisfied
|
||||
# Internet
|
||||
tests/functional/test_install.py::test_install_editable_with_prefix_setup_cfg
|
||||
tests/functional/test_install.py::test_editable_install__local_dir_no_setup_py_with_pyproject
|
||||
tests/functional/test_install.py::test_editable_install__local_dir_setup_requires_with_pyproject
|
||||
)
|
||||
|
||||
[[ ${EPYTHON} == python3.10 ]] && EPYTEST_DESELECT+=(
|
||||
tests/lib/test_lib.py::test_correct_pip_version
|
||||
# uses vendored packaging that uses deprecated distutils
|
||||
tests/functional/test_warning.py::test_pip_works_with_warnings_as_errors
|
||||
)
|
||||
|
||||
if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then
|
||||
EPYTEST_DESELECT+=(
|
||||
tests/functional/test_install.py::test_install_sends_client_cert
|
||||
tests/functional/test_install_config.py::test_do_not_prompt_for_authentication
|
||||
tests/functional/test_install_config.py::test_prompt_for_authentication
|
||||
tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed
|
||||
)
|
||||
fi
|
||||
|
||||
distutils_install_for_testing
|
||||
pushd "${WORKDIR}/virtualenv-${VENV_PV}" >/dev/null || die
|
||||
distutils_install_for_testing
|
||||
popd >/dev/null || die
|
||||
# prevent it from being installed
|
||||
rm -r "${BUILD_DIR}"/lib/virtualenv* || die
|
||||
|
||||
local -x GENTOO_PIP_TESTING=1 \
|
||||
PATH="${TEST_DIR}/scripts:${PATH}" \
|
||||
PYTHONPATH="${TEST_DIR}/lib:${BUILD_DIR}/lib"
|
||||
epytest -m "not network"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
# Prevent dbus auto-launch
|
||||
# https://bugs.gentoo.org/692178
|
||||
export DBUS_SESSION_BUS_ADDRESS="disabled:"
|
||||
|
||||
local DOCS=( AUTHORS.txt docs/html/**/*.rst )
|
||||
distutils-r1_python_install_all
|
||||
|
||||
COMPLETION="${T}"/completion.tmp
|
||||
|
||||
# 'pip completion' command embeds full $0 into completion script, which confuses
|
||||
# 'complete' and causes QA warning when running as "${PYTHON} -m pip".
|
||||
# This trick sets correct $0 while still calling just installed pip.
|
||||
local pipcmd='import sys; sys.argv[0] = "pip"; __file__ = ""; from pip._internal.cli.main import main; sys.exit(main())'
|
||||
|
||||
"${EPYTHON}" -c "${pipcmd}" completion --bash > "${COMPLETION}" || die
|
||||
newbashcomp "${COMPLETION}" ${PN}
|
||||
|
||||
"${EPYTHON}" -c "${pipcmd}" completion --zsh > "${COMPLETION}" || die
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins "${COMPLETION}" _pip
|
||||
}
|
@ -1,4 +1,6 @@
|
||||
DIST tempest-29.2.0.tar.gz 1092824 BLAKE2B cad7284ab5a5a39a1a5bdf9f2365a85d337e4ebe17243bc3692a98402ef7f11b27b94e0252d9d427f358c343b736b500db5386098950c88b09f23d87de9ad856 SHA512 4042bce9c5d7cd26d652189d82ee91ac43d73a515b690820dfe05b70c2e792ec6f3bb0be5566bb37e81965015f62773414c8a16cc77512b1e52f141eafbd542d
|
||||
DIST tempest-30.0.0.tar.gz 1110715 BLAKE2B b697ecbced21124719e6b1d7ebd2c4f8ba83528a84da0b8f8109c155b61124581b97c180bbdc6885ae53850fb28daed25772d12be5026c44ecc3fe4f0dad98a3 SHA512 fa9be713ccb130ad065628592f59bebda3dc1fa8222ab3c382ec5b299504dc0a730f2110ef80f98bbdd1288b5785ab745fe39b721b77f7343983c1bc0a036f19
|
||||
EBUILD tempest-29.2.0-r1.ebuild 2083 BLAKE2B b7dfd73418ce1b7421e9603f345970011ad0e418f8f40140b6587803e1f89275b8e5be2867c527a8c3a1ac0c467710e8fa61eb25bdcaf21d4b3d3441e3b44848 SHA512 9bae7147ffa34b9126d8e2c2fb4acd1b2ad38abbf249537dd255f45232cc27eb97f65be3f0e7a6eccee4ab9add9802e99fd0a5e1e514dcadcc9f930f1193f8fb
|
||||
EBUILD tempest-29.2.0.ebuild 2072 BLAKE2B a49c534b16aa4c138274636e0768bde40baa83e18adf7ab2c4dcadb3ac6fbae72dc9731e1f7232db167be6dd22809885be6fc32e572ec1167594135c769dfa6b SHA512 b4263e8b54261bcb63397995c7afd21cca4027c6a6d9d43d08cf99b7092284a69f18c8b0e96931d9e3347ce69bbdd0eb75d8f5691b646a56a2d991cab0fb2a36
|
||||
EBUILD tempest-30.0.0.ebuild 2083 BLAKE2B b7dfd73418ce1b7421e9603f345970011ad0e418f8f40140b6587803e1f89275b8e5be2867c527a8c3a1ac0c467710e8fa61eb25bdcaf21d4b3d3441e3b44848 SHA512 9bae7147ffa34b9126d8e2c2fb4acd1b2ad38abbf249537dd255f45232cc27eb97f65be3f0e7a6eccee4ab9add9802e99fd0a5e1e514dcadcc9f930f1193f8fb
|
||||
MISC metadata.xml 402 BLAKE2B 9a28d185d29e8844299c1f6276b80759cb0ba7d0b9de14f70cb92f4bd69a4604aaffb7ed0cd0e65764099007a87de3e15c519dbdbc8a247d8ffe884613c7af5e SHA512 e9ef089f055cb4d6bb527f58d2e386d7796b2df34a8bb850c90f86cb98d08259b5ecd5e785389cfa6351f1319502c6822e3cf6a6250ac7dcd1838923b3deac87
|
||||
|
@ -0,0 +1,69 @@
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="OpenStack Integration Testing"
|
||||
HOMEPAGE="https://pypi.org/project/tempest/ https://docs.openstack.org/tempest/latest/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>dev-python/pbr-2.1.0[${PYTHON_USEDEP}]
|
||||
>dev-python/cliff-2.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/paramiko-2.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-concurrency-3.26.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-utils-4.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-3.12[${PYTHON_USEDEP}]
|
||||
>=dev-python/subunit-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/urllib3-1.21.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
>dev-python/pbr-2.1.0[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}]
|
||||
dev-python/stestr[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
src_prepare() {
|
||||
# Small subset of tests, which fail as result of not using specific
|
||||
# testing environment. Others expect to run suite using stestr.
|
||||
rm -r tempest/tests/lib/services/volume/v3/ || die
|
||||
rm tempest/tests/test_list_tests.py || die
|
||||
rm tempest/tests/lib/cmd/test_check_uuid.py || die
|
||||
|
||||
# remove dep on hacking
|
||||
rm tempest/tests/test_hacking.py || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local -x OS_LOG_CAPTURE=1 OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_TEST_TIMEOUT=320
|
||||
eunittest -b -s tempest/tests -t .
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
mv "${ED}/usr/etc" "${ED}/etc" || die
|
||||
}
|
@ -1,7 +1,9 @@
|
||||
DIST uvicorn-0.17.3.tar.gz 706936 BLAKE2B f96f1707fc966f2972392a413517ba4f3f65097c83134bd648a759ef65496ffa166507d64a2c51d5c301adab4203e0766ab2b359d1182dceeb31dd70e6bbf8e3 SHA512 d2a35a69420b2715c2688be341860958b8697c1565d5b2665d4b9c6fa7bf72060e61f72bfd99fb7c346df48f4a962e3c7a7118dd1d0782bc35ac0fcc57cb4e1d
|
||||
DIST uvicorn-0.17.4.tar.gz 706950 BLAKE2B 51d30a97f70984929bc4d4eb3934a16514307ff3e504f86813d0b5ea81467cc5fcc06da6aaa298f0319b2ccddf88b02ee4006ba9f1d573da50365cc4455f5da3 SHA512 4e61d712551ee6e6471f88f511e31b5543ef16d8ebe960447f5de6d02753bdbc38fd5fbae0d736b54b01a61d8519ef3891db2bbc1c7440806650b92a765d1d23
|
||||
DIST uvicorn-0.17.5.tar.gz 707840 BLAKE2B 70a5aa4c084f63231b2c4f11c9a4add6a84362789243fe59b4c954665b67f859dcd92076454cac7b960d30c878bccb52e6da5232e052d70ca0a71f4035804b96 SHA512 b73c99d03957bf5f37957386da77cad68e0c9603fb0bfe48ab81f1066953ca01bc75b2eb458a20a587df4f2e1f591fe1c56f26d8df84070c833ccbb912d55ca2
|
||||
DIST uvicorn-0.17.6.tar.gz 708048 BLAKE2B 83b06907c8109b38e13930d8b73584682fa4e34fe7e51fe14b6ca1ddc7ef8122d950a09e31cb364a02f5f12eead5d0522b41cbf428509c6900604d4e2776dfb2 SHA512 d5c5223759d59648f279e22f7e6af728fe8117ed75488d125c1db3e5e9d385a50d574cff72ac46db4eb0a78d0e4f690096cfe78c774674dfba61860e55b7494e
|
||||
EBUILD uvicorn-0.17.3.ebuild 1312 BLAKE2B 03651167c34134c500685afd9f5dd6c29ce322367a8c408190221d758ccf43ff440c2471c874e9774d0e47a0b071e8e63ee0c26b0cb7d37132404a643f84ff9d SHA512 a1c1334f98b9e09d5ca68ebd06af9c11ec6f3ed93948097b5e2369aafc5abd11d0a50e695905216b8d07e0fd4b292ca020720ea005cd7414248171eabf05fd3f
|
||||
EBUILD uvicorn-0.17.4.ebuild 1320 BLAKE2B f7e25afddfae3b0f855db7e9807d4276c544a5e977b41563c8c79008a425a9cde192794ad91aa0a2cf9da6c402f6ad3ef52cdb14a94ff56e5932fac45cccbcb7 SHA512 17e84c1f6de6fe04a5855c00e83eeb37646c1092b003b6aba9fc0d129b0fa5de920647cd7e559a57b85807d697cc3ff1bf84c70dc760db1480fb91f6a1ca5f49
|
||||
EBUILD uvicorn-0.17.5.ebuild 1371 BLAKE2B 70aeade3b603aee7cd0cbf7d950e239266244988c87be680721d6a9b445786806d44b9448e443e03ce72d0102f41e21dd7f537104f72b39ce6e22626002183b1 SHA512 7ad8597c4f52836352df486cb68e8ee6ec00156e9c2d51c584be9e4cdba5f9445127a24d3c27fe284ca786b24a738736379e1b27a54567c54e9d0f1d9c74e7e2
|
||||
EBUILD uvicorn-0.17.6.ebuild 1371 BLAKE2B 70aeade3b603aee7cd0cbf7d950e239266244988c87be680721d6a9b445786806d44b9448e443e03ce72d0102f41e21dd7f537104f72b39ce6e22626002183b1 SHA512 7ad8597c4f52836352df486cb68e8ee6ec00156e9c2d51c584be9e4cdba5f9445127a24d3c27fe284ca786b24a738736379e1b27a54567c54e9d0f1d9c74e7e2
|
||||
MISC metadata.xml 451 BLAKE2B af9be617c95128297e3455b503e198e13c373244094f6aa9c80837945c3f9f023f1874efa28d4ffa8b241feb9a4e8c7f3d3534e96966733bd5593bffb90904a5 SHA512 4d76bab5c20f7cad81fa56a28c9be07bf2c2ebc412fc647f073215d437a2550eca247b8419df71d04200d0fdf545520684db0b6f4953e73848f69a4f4ad6931e
|
||||
|
@ -0,0 +1,47 @@
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Lightning-fast ASGI server implementation"
|
||||
HOMEPAGE="https://www.uvicorn.org/"
|
||||
SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/asgiref-3.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/click-7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/h11-0.8[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/httpx[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||
dev-python/python-dotenv[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/trustme[${PYTHON_USEDEP}]
|
||||
>=dev-python/websockets-10.0[${PYTHON_USEDEP}]
|
||||
dev-python/watchgod[${PYTHON_USEDEP}]
|
||||
dev-python/wsproto[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# too long path for unix socket
|
||||
tests/test_config.py::test_bind_unix_socket_works_with_reload_or_workers
|
||||
# need unpackaged httptools
|
||||
"tests/middleware/test_logging.py::test_trace_logging_on_http_protocol[httptools]"
|
||||
tests/protocols/test_http.py::test_fragmentation
|
||||
)
|
@ -1,5 +1,5 @@
|
||||
DIST watchgod-0.7.gh.tar.gz 14362 BLAKE2B 0c16b7ef2a7e1d0ca2c9d27b1503a9710662364318d5021e916aabf90c8f917b0bf69559a545658f839953832edc579b0014a0736b3b155f097d1d29c2e4b4f7 SHA512 afa225b30cf796ce95861c61fbe8eb22ed72011522de53d53c41148311793db10e41b66e9eb1237c4372f142edaec992de79715c568e435ddb1695666be1cdd8
|
||||
DIST watchgod-0.8.gh.tar.gz 15354 BLAKE2B 1325f452593e54e8cc40eca0fc9867aff0c93d89de767b9512508fee02efe94e43284b30c316b2cce31a15acc2ee9ff19ca7f9cc6fb46cfffdb0458e502d85ca SHA512 0e86d9dd3eba0cd3aaeccc009ebdba8528ba23d63ad19ff789dffda075b4a01c32be0dfabf38f15e7966bc09e7fb5ae3a94a9dd89a55358a95622aaf5cad0947
|
||||
EBUILD watchgod-0.7.ebuild 960 BLAKE2B df5acdbe3b1c759bc22af4451b872aa8a3b7f442350aa6e494768a7c55c5c874c335e4087b8b38078f6ccb8012b3f5f3e42d664def636f28f1a51e66a7afab90 SHA512 c0115f54f24d59c04829326d41a1ff09857609f308dfa99ef7c34fe4642fbb54d1d70c6cb96a739fd848461b1f9a8c26df2546980c82758a73dafc4f199917d8
|
||||
EBUILD watchgod-0.8.ebuild 1027 BLAKE2B 3c43f889953ee271ea78bef229842025ccfba6af8d60c6c3e894dbcc334ef0e77bb7eed27aa0bc124786dad2aa08a9e3f001fdd02dd9fb623e1e127d144b35d2 SHA512 fa44e77ec47b4f9515c8d14c08cb7316078ce43312a1d6489cd067d73090ded9995f58cb90184a55e5ba58de17e821e7b87c5b14040294e389037baed3d6872e
|
||||
EBUILD watchgod-0.8.ebuild 1063 BLAKE2B 333335738be460dcab637d582bf28558a46c72b783926308850ee8654629f57c226a917058be3f2775b4616b2009e649b2def7d6d8483b9c721f4aa92122c568 SHA512 a4c0e6143ef15c30415fb388735e9d050a786e4b237fa144de4d73ca46f9fb4f91a4bce376deaab341b435f5907111f3851cac7f5ef2b53aafc69e54a895b862
|
||||
MISC metadata.xml 351 BLAKE2B 07e1d5205c2ec59e8fe690449302a0cc7d75b6b3171669bdd4e0476e1c1e389b9af36a331d18f8d45b3b8486372e52558b2a6f48545b78a87eeca092c899837a SHA512 261367cd6511a897955e85335dfa158ee9441bb2e61592e2bbe964fc0f8219e271e764b7c65c659d3ed1dc4d87896dafab83abfc0708715c749e2fdf16a4c9ec
|
||||
|
Binary file not shown.
@ -0,0 +1,405 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_9 python3_10 )
|
||||
|
||||
inherit check-reqs cmake flag-o-matic pax-utils python-single-r1 toolchain-funcs xdg-utils
|
||||
|
||||
DESCRIPTION="3D Creation/Animation/Publishing System"
|
||||
HOMEPAGE="https://www.blender.org"
|
||||
|
||||
if [[ ${PV} = *9999* ]] ; then
|
||||
# Subversion is needed for downloading unit test files
|
||||
inherit git-r3 subversion
|
||||
EGIT_REPO_URI="https://git.blender.org/blender.git"
|
||||
else
|
||||
SRC_URI="https://download.blender.org/source/${P}.tar.xz"
|
||||
SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-3.0.1-ffmpeg-5.0.patch.bz2"
|
||||
|
||||
TEST_TARBALL_VERSION=2.93.0
|
||||
SRC_URI+=" test? ( https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-${TEST_TARBALL_VERSION}-tests.tar.bz2 )"
|
||||
KEYWORDS="amd64 ~arm ~arm64"
|
||||
fi
|
||||
|
||||
SLOT="${PV%.*}"
|
||||
LICENSE="|| ( GPL-3 BL )"
|
||||
IUSE="+bullet +dds +fluid +openexr +system-python +system-numpy +tbb \
|
||||
alembic collada +color-management cuda +cycles \
|
||||
debug doc +embree +ffmpeg +fftw +gmp headless jack jemalloc jpeg2k \
|
||||
man ndof nls openal opencl +oidn +openimageio +openmp +opensubdiv \
|
||||
+openvdb +osl +pdf +potrace +pugixml pulseaudio sdl +sndfile standalone test +tiff valgrind"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}
|
||||
alembic? ( openexr )
|
||||
cuda? ( cycles )
|
||||
cycles? ( openexr tiff openimageio )
|
||||
fluid? ( tbb )
|
||||
opencl? ( cycles )
|
||||
openvdb? ( tbb )
|
||||
osl? ( cycles )
|
||||
standalone? ( cycles )
|
||||
test? ( color-management )"
|
||||
|
||||
# Library versions for official builds can be found in the blender source directory in:
|
||||
# build_files/build_environment/install_deps.sh
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-libs/boost:=[nls?,threads(+)]
|
||||
dev-libs/lzo:2=
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
')
|
||||
media-libs/freetype:=
|
||||
media-libs/glew:*
|
||||
media-libs/libpng:=
|
||||
media-libs/libsamplerate
|
||||
sys-libs/zlib:=
|
||||
virtual/glu
|
||||
virtual/jpeg
|
||||
virtual/libintl
|
||||
virtual/opengl
|
||||
alembic? ( >=media-gfx/alembic-1.8.3-r2[boost(+),hdf(+)] )
|
||||
collada? ( >=media-libs/opencollada-1.6.68 )
|
||||
color-management? ( >=media-libs/opencolorio-2.1.1-r7:= )
|
||||
cuda? ( dev-util/nvidia-cuda-toolkit:= )
|
||||
embree? ( >=media-libs/embree-3.10.0[raymask] )
|
||||
ffmpeg? ( media-video/ffmpeg:=[x264,mp3,encode,theora,jpeg2k?,vpx,vorbis,opus,xvid] )
|
||||
fftw? ( sci-libs/fftw:3.0= )
|
||||
gmp? ( dev-libs/gmp )
|
||||
!headless? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXi
|
||||
x11-libs/libXxf86vm
|
||||
)
|
||||
jack? ( virtual/jack )
|
||||
jemalloc? ( dev-libs/jemalloc:= )
|
||||
jpeg2k? ( media-libs/openjpeg:2= )
|
||||
ndof? (
|
||||
app-misc/spacenavd
|
||||
dev-libs/libspnav
|
||||
)
|
||||
nls? ( virtual/libiconv )
|
||||
openal? ( media-libs/openal )
|
||||
opencl? ( virtual/opencl )
|
||||
oidn? ( >=media-libs/oidn-1.3.0 )
|
||||
openimageio? ( >=media-libs/openimageio-2.3.12.0-r3:= )
|
||||
openexr? (
|
||||
>=dev-libs/imath-3.1.4-r2:=
|
||||
>=media-libs/openexr-3:0=
|
||||
)
|
||||
opensubdiv? ( >=media-libs/opensubdiv-3.4.0[cuda=,opencl=] )
|
||||
openvdb? (
|
||||
>=media-gfx/openvdb-8.2.0-r2:=
|
||||
dev-libs/c-blosc:=
|
||||
)
|
||||
osl? ( >=media-libs/osl-1.11.16.0-r3:= )
|
||||
pdf? ( media-libs/libharu )
|
||||
potrace? ( media-gfx/potrace )
|
||||
pugixml? ( dev-libs/pugixml )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
sdl? ( media-libs/libsdl2[sound,joystick] )
|
||||
sndfile? ( media-libs/libsndfile )
|
||||
tbb? ( <dev-cpp/tbb-2021.4.0:= )
|
||||
tiff? ( media-libs/tiff )
|
||||
valgrind? ( dev-util/valgrind )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-cpp/eigen:=
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
app-doc/doxygen[dot]
|
||||
dev-python/sphinx[latex]
|
||||
dev-texlive/texlive-bibtexextra
|
||||
dev-texlive/texlive-fontsextra
|
||||
dev-texlive/texlive-fontutils
|
||||
dev-texlive/texlive-latex
|
||||
dev-texlive/texlive-latexextra
|
||||
)
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.0.0-intern-ghost-fix-typo-in-finding-XF86VMODE.patch
|
||||
"${FILESDIR}"/${PN}-3.0.1-openexr.patch
|
||||
"${FILESDIR}"/${PN}-3.0.1-openimageio-2.3.patch
|
||||
"${WORKDIR}"/${PN}-3.0.1-ffmpeg-5.0.patch
|
||||
)
|
||||
|
||||
blender_check_requirements() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
|
||||
if use doc; then
|
||||
CHECKREQS_DISK_BUILD="4G" check-reqs_pkg_pretend
|
||||
fi
|
||||
}
|
||||
|
||||
blender_get_version() {
|
||||
# Get blender version from blender itself.
|
||||
BV=$(grep "BLENDER_VERSION " source/blender/blenkernel/BKE_blender_version.h | cut -d " " -f 3; assert)
|
||||
if ((${BV:0:1} < 3)) ; then
|
||||
# Add period (290 -> 2.90).
|
||||
BV=${BV:0:1}.${BV:1}
|
||||
else
|
||||
# Add period and strip last number (300 -> 3.0)
|
||||
BV=${BV:0:1}.${BV:1:1}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
blender_check_requirements
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
blender_check_requirements
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} = *9999* ]] ; then
|
||||
git-r3_src_unpack
|
||||
else
|
||||
default
|
||||
fi
|
||||
|
||||
if use test; then
|
||||
mkdir -p lib || die
|
||||
mv "${WORKDIR}"/blender-${TEST_TARBALL_VERSION}-tests/tests lib || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
blender_get_version
|
||||
|
||||
# Disable MS Windows help generation. The variable doesn't do what it
|
||||
# it sounds like.
|
||||
sed -e "s|GENERATE_HTMLHELP = YES|GENERATE_HTMLHELP = NO|" \
|
||||
-i doc/doxygen/Doxyfile || die
|
||||
|
||||
# Prepare icons and .desktop files for slotting.
|
||||
sed -e "s|blender.svg|blender-${BV}.svg|" -i source/creator/CMakeLists.txt || die
|
||||
sed -e "s|blender-symbolic.svg|blender-${BV}-symbolic.svg|" -i source/creator/CMakeLists.txt || die
|
||||
sed -e "s|blender.desktop|blender-${BV}.desktop|" -i source/creator/CMakeLists.txt || die
|
||||
sed -e "s|blender-thumbnailer.py|blender-${BV}-thumbnailer.py|" -i source/creator/CMakeLists.txt || die
|
||||
|
||||
sed -e "s|Name=Blender|Name=Blender ${PV}|" -i release/freedesktop/blender.desktop || die
|
||||
sed -e "s|Exec=blender|Exec=blender-${BV}|" -i release/freedesktop/blender.desktop || die
|
||||
sed -e "s|Icon=blender|Icon=blender-${BV}|" -i release/freedesktop/blender.desktop || die
|
||||
|
||||
mv release/freedesktop/icons/scalable/apps/blender.svg release/freedesktop/icons/scalable/apps/blender-${BV}.svg || die
|
||||
mv release/freedesktop/icons/symbolic/apps/blender-symbolic.svg release/freedesktop/icons/symbolic/apps/blender-${BV}-symbolic.svg || die
|
||||
mv release/freedesktop/blender.desktop release/freedesktop/blender-${BV}.desktop || die
|
||||
mv release/bin/blender-thumbnailer.py release/bin/blender-${BV}-thumbnailer.py || die
|
||||
|
||||
if use test; then
|
||||
# Without this the tests will try to use /usr/bin/blender and /usr/share/blender/ to run the tests.
|
||||
sed -e "s|string(REPLACE.*|set(TEST_INSTALL_DIR ${ED}/usr/)|g" -i tests/CMakeLists.txt || die
|
||||
sed -e "s|string(REPLACE.*|set(TEST_INSTALL_DIR ${ED}/usr/)|g" -i build_files/cmake/Modules/GTestTesting.cmake || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-lfs-flags
|
||||
|
||||
local mycmakeargs=(
|
||||
-DBUILD_SHARED_LIBS=OFF
|
||||
-DPYTHON_INCLUDE_DIR="$(python_get_includedir)"
|
||||
-DPYTHON_LIBRARY="$(python_get_library_path)"
|
||||
-DPYTHON_VERSION="${EPYTHON/python/}"
|
||||
-DWITH_ALEMBIC=$(usex alembic)
|
||||
-DWITH_ASSERT_ABORT=$(usex debug)
|
||||
-DWITH_BOOST=ON
|
||||
-DWITH_BULLET=$(usex bullet)
|
||||
-DWITH_CODEC_FFMPEG=$(usex ffmpeg)
|
||||
-DWITH_CODEC_SNDFILE=$(usex sndfile)
|
||||
-DWITH_CXX_GUARDEDALLOC=$(usex debug)
|
||||
-DWITH_CYCLES=$(usex cycles)
|
||||
-DWITH_CYCLES_DEVICE_CUDA=$(usex cuda TRUE FALSE)
|
||||
-DWITH_CYCLES_DEVICE_OPENCL=$(usex opencl)
|
||||
-DWITH_CYCLES_EMBREE=$(usex embree)
|
||||
-DWITH_CYCLES_OSL=$(usex osl)
|
||||
-DWITH_CYCLES_STANDALONE=$(usex standalone)
|
||||
-DWITH_CYCLES_STANDALONE_GUI=$(usex standalone)
|
||||
-DWITH_DOC_MANPAGE=$(usex man)
|
||||
-DWITH_FFTW3=$(usex fftw)
|
||||
-DWITH_GMP=$(usex gmp)
|
||||
-DWITH_GTESTS=$(usex test)
|
||||
-DWITH_HARU=$(usex pdf)
|
||||
-DWITH_HEADLESS=$(usex headless)
|
||||
-DWITH_INSTALL_PORTABLE=OFF
|
||||
-DWITH_IMAGE_DDS=$(usex dds)
|
||||
-DOPENEXR_ROOT_DIR="${ESYSROOT}/usr/$(get_libdir)/OpenEXR-3"
|
||||
-DWITH_IMAGE_OPENEXR=$(usex openexr)
|
||||
-DWITH_IMAGE_OPENJPEG=$(usex jpeg2k)
|
||||
-DWITH_IMAGE_TIFF=$(usex tiff)
|
||||
-DWITH_INPUT_NDOF=$(usex ndof)
|
||||
-DWITH_INTERNATIONAL=$(usex nls)
|
||||
-DWITH_JACK=$(usex jack)
|
||||
-DWITH_MEM_JEMALLOC=$(usex jemalloc)
|
||||
-DWITH_MEM_VALGRIND=$(usex valgrind)
|
||||
-DWITH_MOD_FLUID=$(usex fluid)
|
||||
-DWITH_MOD_OCEANSIM=$(usex fftw)
|
||||
-DWITH_NANOVDB=OFF
|
||||
-DWITH_OPENAL=$(usex openal)
|
||||
-DWITH_OPENCOLLADA=$(usex collada)
|
||||
-DWITH_OPENCOLORIO=$(usex color-management)
|
||||
-DWITH_OPENIMAGEDENOISE=$(usex oidn)
|
||||
-DWITH_OPENIMAGEIO=$(usex openimageio)
|
||||
-DWITH_OPENMP=$(usex openmp)
|
||||
-DWITH_OPENSUBDIV=$(usex opensubdiv)
|
||||
-DWITH_OPENVDB=$(usex openvdb)
|
||||
-DWITH_OPENVDB_BLOSC=$(usex openvdb)
|
||||
-DWITH_POTRACE=$(usex potrace)
|
||||
-DWITH_PUGIXML=$(usex pugixml)
|
||||
-DWITH_PULSEAUDIO=$(usex pulseaudio)
|
||||
-DWITH_PYTHON_INSTALL=$(usex system-python OFF ON)
|
||||
-DWITH_PYTHON_INSTALL_NUMPY=$(usex system-numpy OFF ON)
|
||||
-DWITH_SDL=$(usex sdl)
|
||||
-DWITH_STATIC_LIBS=OFF
|
||||
-DWITH_SYSTEM_EIGEN3=ON
|
||||
-DWITH_SYSTEM_GLEW=ON
|
||||
-DWITH_SYSTEM_LZO=ON
|
||||
-DWITH_TBB=$(usex tbb)
|
||||
-DWITH_USD=OFF
|
||||
-DWITH_XR_OPENXR=OFF
|
||||
)
|
||||
append-flags $(usex debug '-DDEBUG' '-DNDEBUG')
|
||||
|
||||
if tc-is-gcc ; then
|
||||
# These options only exist when GCC is detected.
|
||||
# We disable these to respect the user's choice of linker.
|
||||
mycmakeargs+=(
|
||||
-DWITH_LINKER_GOLD=OFF
|
||||
-DWITH_LINKER_LLD=OFF
|
||||
)
|
||||
fi
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# A lot of tests needs to have access to the installed data files.
|
||||
# So install them into the image directory now.
|
||||
cmake_src_install
|
||||
|
||||
blender_get_version
|
||||
# Define custom blender data/script file paths not be able to find them otherwise during testing.
|
||||
# (Because the data is in the image directory and it will default to look in /usr/share)
|
||||
export BLENDER_SYSTEM_SCRIPTS=${ED}/usr/share/blender/${BV}/scripts
|
||||
export BLENDER_SYSTEM_DATAFILES=${ED}/usr/share/blender/${BV}/datafiles
|
||||
|
||||
cmake_src_test
|
||||
|
||||
# Clean up the image directory for src_install
|
||||
rm -fr ${ED}/* || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
blender_get_version
|
||||
|
||||
# Pax mark blender for hardened support.
|
||||
pax-mark m "${BUILD_DIR}"/bin/blender
|
||||
|
||||
if use standalone; then
|
||||
dobin "${BUILD_DIR}"/bin/cycles
|
||||
fi
|
||||
|
||||
cmake_src_install
|
||||
|
||||
if use man; then
|
||||
# Slot the man page
|
||||
mv "${ED}/usr/share/man/man1/blender.1" "${ED}/usr/share/man/man1/blender-${BV}.1" || die
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
# Define custom blender data/script file paths. Otherwise Blender will not be able to find them during doc building.
|
||||
# (Because the data is in the image directory and it will default to look in /usr/share)
|
||||
export BLENDER_SYSTEM_SCRIPTS=${ED}/usr/share/blender/${BV}/scripts
|
||||
export BLENDER_SYSTEM_DATAFILES=${ED}/usr/share/blender/${BV}/datafiles
|
||||
|
||||
# Workaround for binary drivers.
|
||||
addpredict /dev/ati
|
||||
addpredict /dev/dri
|
||||
addpredict /dev/nvidiactl
|
||||
|
||||
einfo "Generating Blender C/C++ API docs ..."
|
||||
cd "${CMAKE_USE_DIR}"/doc/doxygen || die
|
||||
doxygen -u Doxyfile || die
|
||||
doxygen || die "doxygen failed to build API docs."
|
||||
|
||||
cd "${CMAKE_USE_DIR}" || die
|
||||
einfo "Generating (BPY) Blender Python API docs ..."
|
||||
"${BUILD_DIR}"/bin/blender --background --python doc/python_api/sphinx_doc_gen.py -noaudio || die "sphinx failed."
|
||||
|
||||
cd "${CMAKE_USE_DIR}"/doc/python_api || die
|
||||
sphinx-build sphinx-in BPY_API || die "sphinx failed."
|
||||
|
||||
docinto "html/API/python"
|
||||
dodoc -r "${CMAKE_USE_DIR}"/doc/python_api/BPY_API/.
|
||||
|
||||
docinto "html/API/blender"
|
||||
dodoc -r "${CMAKE_USE_DIR}"/doc/doxygen/html/.
|
||||
fi
|
||||
|
||||
# Fix doc installdir
|
||||
docinto html
|
||||
dodoc "${CMAKE_USE_DIR}"/release/text/readme.html
|
||||
rm -r "${ED}"/usr/share/doc/blender || die
|
||||
|
||||
python_fix_shebang "${ED}/usr/bin/blender-${BV}-thumbnailer.py"
|
||||
python_optimize "${ED}/usr/share/blender/${BV}/scripts"
|
||||
|
||||
mv "${ED}/usr/bin/blender" "${ED}/usr/bin/blender-${BV}" || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "Blender uses python integration. As such, may have some"
|
||||
elog "inherent risks with running unknown python scripts."
|
||||
elog
|
||||
elog "It is recommended to change your blender temp directory"
|
||||
elog "from /tmp to /home/user/tmp or another tmp file under your"
|
||||
elog "home directory. This can be done by starting blender, then"
|
||||
elog "changing the 'Temporary Files' directory in Blender preferences."
|
||||
elog
|
||||
ewarn
|
||||
ewarn "This ebuild does not unbundle the massive amount of 3rd party"
|
||||
ewarn "libraries which are shipped with blender. Note that"
|
||||
ewarn "these have caused security issues in the past."
|
||||
ewarn "If you are concerned about security, file a bug upstream:"
|
||||
ewarn " https://developer.blender.org/"
|
||||
ewarn
|
||||
|
||||
if ! use python_single_target_python3_9; then
|
||||
elog "You are building Blender with a newer python version than"
|
||||
elog "supported by this version upstream."
|
||||
elog "If you experience breakages with e.g. plugins, please switch to"
|
||||
elog "python_single_target_python3_9 instead."
|
||||
elog "Bug: https://bugs.gentoo.org/737388"
|
||||
elog
|
||||
fi
|
||||
|
||||
xdg_icon_cache_update
|
||||
xdg_mimeinfo_database_update
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
xdg_mimeinfo_database_update
|
||||
xdg_desktop_database_update
|
||||
|
||||
ewarn ""
|
||||
ewarn "You may want to remove the following directory."
|
||||
ewarn "~/.config/${PN}/${SLOT}/cache/"
|
||||
ewarn "It may contain extra render kernels not tracked by portage"
|
||||
ewarn ""
|
||||
}
|
@ -0,0 +1,413 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_9 python3_10 )
|
||||
|
||||
inherit check-reqs cmake flag-o-matic pax-utils python-single-r1 toolchain-funcs xdg-utils
|
||||
|
||||
DESCRIPTION="3D Creation/Animation/Publishing System"
|
||||
HOMEPAGE="https://www.blender.org"
|
||||
|
||||
if [[ ${PV} = *9999* ]] ; then
|
||||
# Subversion is needed for downloading unit test files
|
||||
inherit git-r3 subversion
|
||||
EGIT_REPO_URI="https://git.blender.org/blender.git"
|
||||
else
|
||||
SRC_URI="https://download.blender.org/source/${P}.tar.xz"
|
||||
SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-3.0.1-ffmpeg-5.0.patch.bz2"
|
||||
|
||||
# Update these between major releases.
|
||||
TEST_TARBALL_VERSION="3.0.0"
|
||||
SRC_URI+=" test? ( https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-${TEST_TARBALL_VERSION}-tests.tar.bz2 )"
|
||||
KEYWORDS="~amd64 ~arm ~arm64"
|
||||
fi
|
||||
|
||||
SLOT="${PV%.*}"
|
||||
LICENSE="|| ( GPL-3 BL )"
|
||||
IUSE="+bullet +dds +fluid +openexr +system-python +system-numpy +tbb \
|
||||
alembic collada +color-management cuda +cycles \
|
||||
debug doc +embree +ffmpeg +fftw +gmp headless jack jemalloc jpeg2k \
|
||||
man ndof nls openal +oidn +openimageio +openmp +opensubdiv \
|
||||
+openvdb +osl +pdf +potrace +pugixml pulseaudio sdl +sndfile standalone test +tiff valgrind"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}
|
||||
alembic? ( openexr )
|
||||
cuda? ( cycles )
|
||||
cycles? ( openexr tiff openimageio )
|
||||
fluid? ( tbb )
|
||||
openvdb? ( tbb )
|
||||
osl? ( cycles )
|
||||
standalone? ( cycles )
|
||||
test? ( color-management )"
|
||||
|
||||
# Library versions for official builds can be found in the blender source directory in:
|
||||
# build_files/build_environment/install_deps.sh
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-libs/boost:=[nls?,threads(+)]
|
||||
dev-libs/lzo:2=
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/zstandard[${PYTHON_USEDEP}]
|
||||
')
|
||||
media-libs/freetype:=
|
||||
media-libs/glew:*
|
||||
media-libs/libpng:=
|
||||
media-libs/libsamplerate
|
||||
sys-libs/zlib:=
|
||||
virtual/glu
|
||||
virtual/jpeg
|
||||
virtual/libintl
|
||||
virtual/opengl
|
||||
alembic? ( >=media-gfx/alembic-1.8.3-r2[boost(+),hdf(+)] )
|
||||
collada? ( >=media-libs/opencollada-1.6.68 )
|
||||
color-management? ( >=media-libs/opencolorio-2.1.1-r7:= )
|
||||
cuda? ( dev-util/nvidia-cuda-toolkit:= )
|
||||
embree? ( >=media-libs/embree-3.10.0[raymask] )
|
||||
ffmpeg? ( media-video/ffmpeg:=[x264,mp3,encode,theora,jpeg2k?,vpx,vorbis,opus,xvid] )
|
||||
fftw? ( sci-libs/fftw:3.0= )
|
||||
gmp? ( dev-libs/gmp )
|
||||
!headless? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXi
|
||||
x11-libs/libXxf86vm
|
||||
)
|
||||
jack? ( virtual/jack )
|
||||
jemalloc? ( dev-libs/jemalloc:= )
|
||||
jpeg2k? ( media-libs/openjpeg:2= )
|
||||
ndof? (
|
||||
app-misc/spacenavd
|
||||
dev-libs/libspnav
|
||||
)
|
||||
nls? ( virtual/libiconv )
|
||||
openal? ( media-libs/openal )
|
||||
oidn? ( >=media-libs/oidn-1.4.1 )
|
||||
openimageio? ( >=media-libs/openimageio-2.3.12.0-r3:= )
|
||||
openexr? (
|
||||
>=dev-libs/imath-3.1.4-r2:=
|
||||
>=media-libs/openexr-3:0=
|
||||
)
|
||||
opensubdiv? ( >=media-libs/opensubdiv-3.4.0[cuda=] )
|
||||
openvdb? (
|
||||
>=media-gfx/openvdb-8.2.0-r2:=
|
||||
dev-libs/c-blosc:=
|
||||
)
|
||||
osl? ( >=media-libs/osl-1.11.16.0-r3:= )
|
||||
pdf? ( media-libs/libharu )
|
||||
potrace? ( media-gfx/potrace )
|
||||
pugixml? ( dev-libs/pugixml )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
sdl? ( media-libs/libsdl2[sound,joystick] )
|
||||
sndfile? ( media-libs/libsndfile )
|
||||
tbb? ( dev-cpp/tbb:= )
|
||||
tiff? ( media-libs/tiff )
|
||||
valgrind? ( dev-util/valgrind )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-cpp/eigen:=
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
app-doc/doxygen[dot]
|
||||
dev-python/sphinx[latex]
|
||||
dev-texlive/texlive-bibtexextra
|
||||
dev-texlive/texlive-fontsextra
|
||||
dev-texlive/texlive-fontutils
|
||||
dev-texlive/texlive-latex
|
||||
dev-texlive/texlive-latexextra
|
||||
)
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.0.0-intern-ghost-fix-typo-in-finding-XF86VMODE.patch
|
||||
"${FILESDIR}"/${PN}-3.0.1-openexr.patch
|
||||
"${FILESDIR}"/${PN}-3.0.1-openimageio-2.3.patch
|
||||
"${WORKDIR}"/${PN}-3.0.1-ffmpeg-5.0.patch
|
||||
)
|
||||
|
||||
blender_check_requirements() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
|
||||
if use doc; then
|
||||
CHECKREQS_DISK_BUILD="4G" check-reqs_pkg_pretend
|
||||
fi
|
||||
}
|
||||
|
||||
blender_get_version() {
|
||||
# Get blender version from blender itself.
|
||||
BV=$(grep "BLENDER_VERSION " source/blender/blenkernel/BKE_blender_version.h | cut -d " " -f 3; assert)
|
||||
if ((${BV:0:1} < 3)) ; then
|
||||
# Add period (290 -> 2.90).
|
||||
BV=${BV:0:1}.${BV:1}
|
||||
else
|
||||
# Add period and skip the middle number (301 -> 3.1)
|
||||
BV=${BV:0:1}.${BV:2}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
blender_check_requirements
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
blender_check_requirements
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} = *9999* ]] ; then
|
||||
git-r3_src_unpack
|
||||
if use test; then
|
||||
TESTS_SVN_URL=https://svn.blender.org/svnroot/bf-blender/trunk/lib/tests
|
||||
subversion_fetch ${TESTS_SVN_URL} ../lib/tests
|
||||
fi
|
||||
else
|
||||
default
|
||||
if use test; then
|
||||
#The tests are downloaded from: https://svn.blender.org/svnroot/bf-blender/tags/blender-${SLOT}-release/lib/tests
|
||||
mkdir -p lib || die
|
||||
mv "${WORKDIR}"/blender-${TEST_TARBALL_VERSION}-tests/tests lib || die
|
||||
fi
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
blender_get_version
|
||||
|
||||
# Disable MS Windows help generation. The variable doesn't do what it
|
||||
# it sounds like.
|
||||
sed -e "s|GENERATE_HTMLHELP = YES|GENERATE_HTMLHELP = NO|" \
|
||||
-i doc/doxygen/Doxyfile || die
|
||||
|
||||
# Prepare icons and .desktop files for slotting.
|
||||
sed -e "s|blender.svg|blender-${BV}.svg|" -i source/creator/CMakeLists.txt || die
|
||||
sed -e "s|blender-symbolic.svg|blender-${BV}-symbolic.svg|" -i source/creator/CMakeLists.txt || die
|
||||
sed -e "s|blender.desktop|blender-${BV}.desktop|" -i source/creator/CMakeLists.txt || die
|
||||
|
||||
sed -e "s|Name=Blender|Name=Blender ${PV}|" -i release/freedesktop/blender.desktop || die
|
||||
sed -e "s|Exec=blender|Exec=blender-${BV}|" -i release/freedesktop/blender.desktop || die
|
||||
sed -e "s|Icon=blender|Icon=blender-${BV}|" -i release/freedesktop/blender.desktop || die
|
||||
|
||||
mv release/freedesktop/icons/scalable/apps/blender.svg release/freedesktop/icons/scalable/apps/blender-${BV}.svg || die
|
||||
mv release/freedesktop/icons/symbolic/apps/blender-symbolic.svg release/freedesktop/icons/symbolic/apps/blender-${BV}-symbolic.svg || die
|
||||
mv release/freedesktop/blender.desktop release/freedesktop/blender-${BV}.desktop || die
|
||||
|
||||
if use test; then
|
||||
# Without this the tests will try to use /usr/bin/blender and /usr/share/blender/ to run the tests.
|
||||
sed -e "s|string(REPLACE.*|set(TEST_INSTALL_DIR ${ED}/usr/)|g" -i tests/CMakeLists.txt || die
|
||||
sed -e "s|string(REPLACE.*|set(TEST_INSTALL_DIR ${ED}/usr/)|g" -i build_files/cmake/Modules/GTestTesting.cmake || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-lfs-flags
|
||||
|
||||
local mycmakeargs=(
|
||||
-DBUILD_SHARED_LIBS=OFF
|
||||
-DPYTHON_INCLUDE_DIR="$(python_get_includedir)"
|
||||
-DPYTHON_LIBRARY="$(python_get_library_path)"
|
||||
-DPYTHON_VERSION="${EPYTHON/python/}"
|
||||
-DWITH_ALEMBIC=$(usex alembic)
|
||||
-DWITH_ASSERT_ABORT=$(usex debug)
|
||||
-DWITH_BOOST=ON
|
||||
-DWITH_BULLET=$(usex bullet)
|
||||
-DWITH_CODEC_FFMPEG=$(usex ffmpeg)
|
||||
-DWITH_CODEC_SNDFILE=$(usex sndfile)
|
||||
-DWITH_CXX_GUARDEDALLOC=$(usex debug)
|
||||
-DWITH_CYCLES=$(usex cycles)
|
||||
-DWITH_CYCLES_DEVICE_CUDA=$(usex cuda TRUE FALSE)
|
||||
-DWITH_CYCLES_EMBREE=$(usex embree)
|
||||
-DWITH_CYCLES_OSL=$(usex osl)
|
||||
-DWITH_CYCLES_STANDALONE=$(usex standalone)
|
||||
-DWITH_CYCLES_STANDALONE_GUI=$(usex standalone)
|
||||
-DWITH_DOC_MANPAGE=$(usex man)
|
||||
-DWITH_FFTW3=$(usex fftw)
|
||||
-DWITH_GMP=$(usex gmp)
|
||||
-DWITH_GTESTS=$(usex test)
|
||||
-DWITH_HARU=$(usex pdf)
|
||||
-DWITH_HEADLESS=$(usex headless)
|
||||
-DWITH_INSTALL_PORTABLE=OFF
|
||||
-DWITH_IMAGE_DDS=$(usex dds)
|
||||
-DOPENEXR_ROOT_DIR="${ESYSROOT}/usr/$(get_libdir)/OpenEXR-3"
|
||||
-DWITH_IMAGE_OPENEXR=$(usex openexr)
|
||||
-DWITH_IMAGE_OPENJPEG=$(usex jpeg2k)
|
||||
-DWITH_IMAGE_TIFF=$(usex tiff)
|
||||
-DWITH_INPUT_NDOF=$(usex ndof)
|
||||
-DWITH_INTERNATIONAL=$(usex nls)
|
||||
-DWITH_JACK=$(usex jack)
|
||||
-DWITH_MEM_JEMALLOC=$(usex jemalloc)
|
||||
-DWITH_MEM_VALGRIND=$(usex valgrind)
|
||||
-DWITH_MOD_FLUID=$(usex fluid)
|
||||
-DWITH_MOD_OCEANSIM=$(usex fftw)
|
||||
-DWITH_NANOVDB=OFF
|
||||
-DWITH_OPENAL=$(usex openal)
|
||||
-DWITH_OPENCOLLADA=$(usex collada)
|
||||
-DWITH_OPENCOLORIO=$(usex color-management)
|
||||
-DWITH_OPENIMAGEDENOISE=$(usex oidn)
|
||||
-DWITH_OPENIMAGEIO=$(usex openimageio)
|
||||
-DWITH_OPENMP=$(usex openmp)
|
||||
-DWITH_OPENSUBDIV=$(usex opensubdiv)
|
||||
-DWITH_OPENVDB=$(usex openvdb)
|
||||
-DWITH_OPENVDB_BLOSC=$(usex openvdb)
|
||||
-DWITH_POTRACE=$(usex potrace)
|
||||
-DWITH_PUGIXML=$(usex pugixml)
|
||||
-DWITH_PULSEAUDIO=$(usex pulseaudio)
|
||||
-DWITH_PYTHON_INSTALL=$(usex system-python OFF ON)
|
||||
-DWITH_PYTHON_INSTALL_NUMPY=$(usex system-numpy OFF ON)
|
||||
-DWITH_SDL=$(usex sdl)
|
||||
-DWITH_STATIC_LIBS=OFF
|
||||
-DWITH_SYSTEM_EIGEN3=ON
|
||||
-DWITH_SYSTEM_GLEW=ON
|
||||
-DWITH_SYSTEM_LZO=ON
|
||||
-DWITH_TBB=$(usex tbb)
|
||||
-DWITH_USD=OFF
|
||||
-DWITH_XR_OPENXR=OFF
|
||||
)
|
||||
|
||||
append-flags $(usex debug '-DDEBUG' '-DNDEBUG')
|
||||
|
||||
if tc-is-gcc ; then
|
||||
# These options only exist when GCC is detected.
|
||||
# We disable these to respect the user's choice of linker.
|
||||
mycmakeargs+=(
|
||||
-DWITH_LINKER_GOLD=OFF
|
||||
-DWITH_LINKER_LLD=OFF
|
||||
)
|
||||
fi
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# A lot of tests needs to have access to the installed data files.
|
||||
# So install them into the image directory now.
|
||||
cmake_src_install
|
||||
|
||||
blender_get_version
|
||||
# Define custom blender data/script file paths not be able to find them otherwise during testing.
|
||||
# (Because the data is in the image directory and it will default to look in /usr/share)
|
||||
export BLENDER_SYSTEM_SCRIPTS=${ED}/usr/share/blender/${BV}/scripts
|
||||
export BLENDER_SYSTEM_DATAFILES=${ED}/usr/share/blender/${BV}/datafiles
|
||||
|
||||
# Sanity check that the script and datafile path is valid.
|
||||
# If they are not vaild, blender will fallback to the default path which is not what we want.
|
||||
[ -d "$BLENDER_SYSTEM_SCRIPTS" ] || die "The custom script path is invalid, fix the ebuild!"
|
||||
[ -d "$BLENDER_SYSTEM_DATAFILES" ] || die "The custom datafiles path is invalid, fix the ebuild!"
|
||||
|
||||
cmake_src_test
|
||||
|
||||
# Clean up the image directory for src_install
|
||||
rm -fr ${ED}/* || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
blender_get_version
|
||||
|
||||
# Pax mark blender for hardened support.
|
||||
pax-mark m "${BUILD_DIR}"/bin/blender
|
||||
|
||||
if use standalone; then
|
||||
dobin "${BUILD_DIR}"/bin/cycles
|
||||
fi
|
||||
|
||||
cmake_src_install
|
||||
|
||||
if use man; then
|
||||
# Slot the man page
|
||||
mv "${ED}/usr/share/man/man1/blender.1" "${ED}/usr/share/man/man1/blender-${BV}.1" || die
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
# Define custom blender data/script file paths. Otherwise Blender will not be able to find them during doc building.
|
||||
# (Because the data is in the image directory and it will default to look in /usr/share)
|
||||
export BLENDER_SYSTEM_SCRIPTS=${ED}/usr/share/blender/${BV}/scripts
|
||||
export BLENDER_SYSTEM_DATAFILES=${ED}/usr/share/blender/${BV}/datafiles
|
||||
|
||||
# Workaround for binary drivers.
|
||||
addpredict /dev/ati
|
||||
addpredict /dev/dri
|
||||
addpredict /dev/nvidiactl
|
||||
|
||||
einfo "Generating Blender C/C++ API docs ..."
|
||||
cd "${CMAKE_USE_DIR}"/doc/doxygen || die
|
||||
doxygen -u Doxyfile || die
|
||||
doxygen || die "doxygen failed to build API docs."
|
||||
|
||||
cd "${CMAKE_USE_DIR}" || die
|
||||
einfo "Generating (BPY) Blender Python API docs ..."
|
||||
"${BUILD_DIR}"/bin/blender --background --python doc/python_api/sphinx_doc_gen.py -noaudio || die "sphinx failed."
|
||||
|
||||
cd "${CMAKE_USE_DIR}"/doc/python_api || die
|
||||
sphinx-build sphinx-in BPY_API || die "sphinx failed."
|
||||
|
||||
docinto "html/API/python"
|
||||
dodoc -r "${CMAKE_USE_DIR}"/doc/python_api/BPY_API/.
|
||||
|
||||
docinto "html/API/blender"
|
||||
dodoc -r "${CMAKE_USE_DIR}"/doc/doxygen/html/.
|
||||
fi
|
||||
|
||||
# Fix doc installdir
|
||||
docinto html
|
||||
dodoc "${CMAKE_USE_DIR}"/release/text/readme.html
|
||||
rm -r "${ED}"/usr/share/doc/blender || die
|
||||
|
||||
python_optimize "${ED}/usr/share/blender/${BV}/scripts"
|
||||
|
||||
mv "${ED}/usr/bin/blender-thumbnailer" "${ED}/usr/bin/blender-${BV}-thumbnailer" || die
|
||||
mv "${ED}/usr/bin/blender" "${ED}/usr/bin/blender-${BV}" || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "Blender uses python integration. As such, may have some"
|
||||
elog "inherent risks with running unknown python scripts."
|
||||
elog
|
||||
elog "It is recommended to change your blender temp directory"
|
||||
elog "from /tmp to /home/user/tmp or another tmp file under your"
|
||||
elog "home directory. This can be done by starting blender, then"
|
||||
elog "changing the 'Temporary Files' directory in Blender preferences."
|
||||
elog
|
||||
ewarn
|
||||
ewarn "This ebuild does not unbundle the massive amount of 3rd party"
|
||||
ewarn "libraries which are shipped with blender. Note that"
|
||||
ewarn "these have caused security issues in the past."
|
||||
ewarn "If you are concerned about security, file a bug upstream:"
|
||||
ewarn " https://developer.blender.org/"
|
||||
ewarn
|
||||
|
||||
if ! use python_single_target_python3_9; then
|
||||
elog "You are building Blender with a newer python version than"
|
||||
elog "supported by this version upstream."
|
||||
elog "If you experience breakages with e.g. plugins, please switch to"
|
||||
elog "python_single_target_python3_9 instead."
|
||||
elog "Bug: https://bugs.gentoo.org/737388"
|
||||
elog
|
||||
fi
|
||||
|
||||
xdg_icon_cache_update
|
||||
xdg_mimeinfo_database_update
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
xdg_mimeinfo_database_update
|
||||
xdg_desktop_database_update
|
||||
|
||||
ewarn ""
|
||||
ewarn "You may want to remove the following directory."
|
||||
ewarn "~/.config/${PN}/${SLOT}/cache/"
|
||||
ewarn "It may contain extra render kernels not tracked by portage"
|
||||
ewarn ""
|
||||
}
|
@ -0,0 +1,404 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_10 )
|
||||
|
||||
inherit check-reqs cmake flag-o-matic pax-utils python-single-r1 toolchain-funcs xdg-utils
|
||||
|
||||
DESCRIPTION="3D Creation/Animation/Publishing System"
|
||||
HOMEPAGE="https://www.blender.org"
|
||||
|
||||
if [[ ${PV} = *9999* ]] ; then
|
||||
# Subversion is needed for downloading unit test files
|
||||
inherit git-r3 subversion
|
||||
EGIT_REPO_URI="https://git.blender.org/blender.git"
|
||||
else
|
||||
SRC_URI="https://download.blender.org/source/${P}.tar.xz"
|
||||
# Update these between major releases.
|
||||
TEST_TARBALL_VERSION="$(ver_cut 1-2).0"
|
||||
SRC_URI+=" test? ( https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-${TEST_TARBALL_VERSION}-tests.tar.bz2 )"
|
||||
KEYWORDS="~amd64 ~arm ~arm64"
|
||||
fi
|
||||
|
||||
SLOT="${PV%.*}"
|
||||
LICENSE="|| ( GPL-3 BL )"
|
||||
IUSE="+bullet +dds +fluid +openexr +system-python +system-numpy +tbb \
|
||||
alembic collada +color-management cuda +cycles \
|
||||
debug doc +embree +ffmpeg +fftw +gmp headless jack jemalloc jpeg2k \
|
||||
man +nanovdb ndof nls openal +oidn +openimageio +openmp +opensubdiv \
|
||||
+openvdb +osl +pdf +potrace +pugixml pulseaudio sdl +sndfile standalone test +tiff valgrind"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}
|
||||
alembic? ( openexr )
|
||||
cuda? ( cycles )
|
||||
cycles? ( openexr tiff openimageio )
|
||||
fluid? ( tbb )
|
||||
openvdb? ( tbb )
|
||||
osl? ( cycles )
|
||||
standalone? ( cycles )
|
||||
test? ( color-management )"
|
||||
|
||||
# Library versions for official builds can be found in the blender source directory in:
|
||||
# build_files/build_environment/install_deps.sh
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-libs/boost:=[nls?,threads(+)]
|
||||
dev-libs/lzo:2=
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/zstandard[${PYTHON_USEDEP}]
|
||||
')
|
||||
media-libs/freetype:=
|
||||
media-libs/glew:*
|
||||
media-libs/libpng:=
|
||||
media-libs/libsamplerate
|
||||
sys-libs/zlib:=
|
||||
virtual/glu
|
||||
virtual/jpeg
|
||||
virtual/libintl
|
||||
virtual/opengl
|
||||
alembic? ( >=media-gfx/alembic-1.8.3-r2[boost(+),hdf(+)] )
|
||||
collada? ( >=media-libs/opencollada-1.6.68 )
|
||||
color-management? ( >=media-libs/opencolorio-2.1.1-r7:= )
|
||||
cuda? ( dev-util/nvidia-cuda-toolkit:= )
|
||||
embree? ( >=media-libs/embree-3.10.0[raymask] )
|
||||
ffmpeg? ( media-video/ffmpeg:=[x264,mp3,encode,theora,jpeg2k?,vpx,vorbis,opus,xvid] )
|
||||
fftw? ( sci-libs/fftw:3.0= )
|
||||
gmp? ( dev-libs/gmp )
|
||||
!headless? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXi
|
||||
x11-libs/libXxf86vm
|
||||
)
|
||||
jack? ( virtual/jack )
|
||||
jemalloc? ( dev-libs/jemalloc:= )
|
||||
jpeg2k? ( media-libs/openjpeg:2= )
|
||||
ndof? (
|
||||
app-misc/spacenavd
|
||||
dev-libs/libspnav
|
||||
)
|
||||
nls? ( virtual/libiconv )
|
||||
openal? ( media-libs/openal )
|
||||
oidn? ( >=media-libs/oidn-1.4.1 )
|
||||
openimageio? ( >=media-libs/openimageio-2.3.12.0-r3:= )
|
||||
openexr? (
|
||||
>=dev-libs/imath-3.1.4-r2:=
|
||||
>=media-libs/openexr-3:0=
|
||||
)
|
||||
opensubdiv? ( >=media-libs/opensubdiv-3.4.0[cuda=] )
|
||||
openvdb? (
|
||||
>=media-gfx/openvdb-9.0.0:=[nanovdb?]
|
||||
dev-libs/c-blosc:=
|
||||
)
|
||||
osl? ( >=media-libs/osl-1.11.16.0-r3:= )
|
||||
pdf? ( media-libs/libharu )
|
||||
potrace? ( media-gfx/potrace )
|
||||
pugixml? ( dev-libs/pugixml )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
sdl? ( media-libs/libsdl2[sound,joystick] )
|
||||
sndfile? ( media-libs/libsndfile )
|
||||
tbb? ( dev-cpp/tbb:= )
|
||||
tiff? ( media-libs/tiff )
|
||||
valgrind? ( dev-util/valgrind )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-cpp/eigen:=
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
app-doc/doxygen[dot]
|
||||
dev-python/sphinx[latex]
|
||||
dev-texlive/texlive-bibtexextra
|
||||
dev-texlive/texlive-fontsextra
|
||||
dev-texlive/texlive-fontutils
|
||||
dev-texlive/texlive-latex
|
||||
dev-texlive/texlive-latexextra
|
||||
)
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
blender_check_requirements() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
|
||||
if use doc; then
|
||||
CHECKREQS_DISK_BUILD="4G" check-reqs_pkg_pretend
|
||||
fi
|
||||
}
|
||||
|
||||
blender_get_version() {
|
||||
# Get blender version from blender itself.
|
||||
BV=$(grep "BLENDER_VERSION " source/blender/blenkernel/BKE_blender_version.h | cut -d " " -f 3; assert)
|
||||
if ((${BV:0:1} < 3)) ; then
|
||||
# Add period (290 -> 2.90).
|
||||
BV=${BV:0:1}.${BV:1}
|
||||
else
|
||||
# Add period and skip the middle number (301 -> 3.1)
|
||||
BV=${BV:0:1}.${BV:2}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
blender_check_requirements
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
blender_check_requirements
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} = *9999* ]] ; then
|
||||
git-r3_src_unpack
|
||||
if use test; then
|
||||
TESTS_SVN_URL=https://svn.blender.org/svnroot/bf-blender/trunk/lib/tests
|
||||
subversion_fetch ${TESTS_SVN_URL} ../lib/tests
|
||||
fi
|
||||
else
|
||||
default
|
||||
if use test; then
|
||||
#The tests are downloaded from: https://svn.blender.org/svnroot/bf-blender/tags/blender-${SLOT}-release/lib/tests
|
||||
mkdir -p lib || die
|
||||
mv "${WORKDIR}"/blender-${TEST_TARBALL_VERSION}-tests/tests lib || die
|
||||
fi
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
blender_get_version
|
||||
|
||||
# Disable MS Windows help generation. The variable doesn't do what it
|
||||
# it sounds like.
|
||||
sed -e "s|GENERATE_HTMLHELP = YES|GENERATE_HTMLHELP = NO|" \
|
||||
-i doc/doxygen/Doxyfile || die
|
||||
|
||||
# Prepare icons and .desktop files for slotting.
|
||||
sed -e "s|blender.svg|blender-${BV}.svg|" -i source/creator/CMakeLists.txt || die
|
||||
sed -e "s|blender-symbolic.svg|blender-${BV}-symbolic.svg|" -i source/creator/CMakeLists.txt || die
|
||||
sed -e "s|blender.desktop|blender-${BV}.desktop|" -i source/creator/CMakeLists.txt || die
|
||||
|
||||
sed -e "s|Name=Blender|Name=Blender ${PV}|" -i release/freedesktop/blender.desktop || die
|
||||
sed -e "s|Exec=blender|Exec=blender-${BV}|" -i release/freedesktop/blender.desktop || die
|
||||
sed -e "s|Icon=blender|Icon=blender-${BV}|" -i release/freedesktop/blender.desktop || die
|
||||
|
||||
mv release/freedesktop/icons/scalable/apps/blender.svg release/freedesktop/icons/scalable/apps/blender-${BV}.svg || die
|
||||
mv release/freedesktop/icons/symbolic/apps/blender-symbolic.svg release/freedesktop/icons/symbolic/apps/blender-${BV}-symbolic.svg || die
|
||||
mv release/freedesktop/blender.desktop release/freedesktop/blender-${BV}.desktop || die
|
||||
|
||||
if use test; then
|
||||
# Without this the tests will try to use /usr/bin/blender and /usr/share/blender/ to run the tests.
|
||||
sed -e "s|string(REPLACE.*|set(TEST_INSTALL_DIR ${ED}/usr/)|g" -i tests/CMakeLists.txt || die
|
||||
sed -e "s|string(REPLACE.*|set(TEST_INSTALL_DIR ${ED}/usr/)|g" -i build_files/cmake/Modules/GTestTesting.cmake || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-lfs-flags
|
||||
|
||||
local mycmakeargs=(
|
||||
-DBUILD_SHARED_LIBS=OFF
|
||||
-DPYTHON_INCLUDE_DIR="$(python_get_includedir)"
|
||||
-DPYTHON_LIBRARY="$(python_get_library_path)"
|
||||
-DPYTHON_VERSION="${EPYTHON/python/}"
|
||||
-DWITH_ALEMBIC=$(usex alembic)
|
||||
-DWITH_ASSERT_ABORT=$(usex debug)
|
||||
-DWITH_BOOST=ON
|
||||
-DWITH_BULLET=$(usex bullet)
|
||||
-DWITH_CODEC_FFMPEG=$(usex ffmpeg)
|
||||
-DWITH_CODEC_SNDFILE=$(usex sndfile)
|
||||
-DWITH_CXX_GUARDEDALLOC=$(usex debug)
|
||||
-DWITH_CYCLES=$(usex cycles)
|
||||
-DWITH_CYCLES_DEVICE_CUDA=$(usex cuda TRUE FALSE)
|
||||
-DWITH_CYCLES_EMBREE=$(usex embree)
|
||||
-DWITH_CYCLES_OSL=$(usex osl)
|
||||
-DWITH_CYCLES_STANDALONE=$(usex standalone)
|
||||
-DWITH_CYCLES_STANDALONE_GUI=$(usex standalone)
|
||||
-DWITH_DOC_MANPAGE=$(usex man)
|
||||
-DWITH_FFTW3=$(usex fftw)
|
||||
-DWITH_GMP=$(usex gmp)
|
||||
-DWITH_GTESTS=$(usex test)
|
||||
-DWITH_HARU=$(usex pdf)
|
||||
-DWITH_HEADLESS=$(usex headless)
|
||||
-DWITH_INSTALL_PORTABLE=OFF
|
||||
-DWITH_IMAGE_DDS=$(usex dds)
|
||||
-DWITH_IMAGE_OPENEXR=$(usex openexr)
|
||||
-DWITH_IMAGE_OPENJPEG=$(usex jpeg2k)
|
||||
-DWITH_IMAGE_TIFF=$(usex tiff)
|
||||
-DWITH_INPUT_NDOF=$(usex ndof)
|
||||
-DWITH_INTERNATIONAL=$(usex nls)
|
||||
-DWITH_JACK=$(usex jack)
|
||||
-DWITH_MEM_JEMALLOC=$(usex jemalloc)
|
||||
-DWITH_MEM_VALGRIND=$(usex valgrind)
|
||||
-DWITH_MOD_FLUID=$(usex fluid)
|
||||
-DWITH_MOD_OCEANSIM=$(usex fftw)
|
||||
-DWITH_NANOVDB=$(usex nanovdb)
|
||||
-DWITH_OPENAL=$(usex openal)
|
||||
-DWITH_OPENCOLLADA=$(usex collada)
|
||||
-DWITH_OPENCOLORIO=$(usex color-management)
|
||||
-DWITH_OPENIMAGEDENOISE=$(usex oidn)
|
||||
-DWITH_OPENIMAGEIO=$(usex openimageio)
|
||||
-DWITH_OPENMP=$(usex openmp)
|
||||
-DWITH_OPENSUBDIV=$(usex opensubdiv)
|
||||
-DWITH_OPENVDB=$(usex openvdb)
|
||||
-DWITH_OPENVDB_BLOSC=$(usex openvdb)
|
||||
-DWITH_POTRACE=$(usex potrace)
|
||||
-DWITH_PUGIXML=$(usex pugixml)
|
||||
-DWITH_PULSEAUDIO=$(usex pulseaudio)
|
||||
-DWITH_PYTHON_INSTALL=$(usex system-python OFF ON)
|
||||
-DWITH_PYTHON_INSTALL_NUMPY=$(usex system-numpy OFF ON)
|
||||
-DWITH_SDL=$(usex sdl)
|
||||
-DWITH_STATIC_LIBS=OFF
|
||||
-DWITH_SYSTEM_EIGEN3=ON
|
||||
-DWITH_SYSTEM_FREETYPE=ON
|
||||
-DWITH_SYSTEM_GLEW=ON
|
||||
-DWITH_SYSTEM_LZO=ON
|
||||
-DWITH_TBB=$(usex tbb)
|
||||
-DWITH_USD=OFF
|
||||
-DWITH_XR_OPENXR=OFF
|
||||
)
|
||||
|
||||
append-flags $(usex debug '-DDEBUG' '-DNDEBUG')
|
||||
|
||||
if tc-is-gcc ; then
|
||||
# These options only exist when GCC is detected.
|
||||
# We disable these to respect the user's choice of linker.
|
||||
mycmakeargs+=(
|
||||
-DWITH_LINKER_GOLD=OFF
|
||||
-DWITH_LINKER_LLD=OFF
|
||||
)
|
||||
fi
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# A lot of tests needs to have access to the installed data files.
|
||||
# So install them into the image directory now.
|
||||
cmake_src_install
|
||||
|
||||
blender_get_version
|
||||
# Define custom blender data/script file paths not be able to find them otherwise during testing.
|
||||
# (Because the data is in the image directory and it will default to look in /usr/share)
|
||||
export BLENDER_SYSTEM_SCRIPTS=${ED}/usr/share/blender/${BV}/scripts
|
||||
export BLENDER_SYSTEM_DATAFILES=${ED}/usr/share/blender/${BV}/datafiles
|
||||
|
||||
# Sanity check that the script and datafile path is valid.
|
||||
# If they are not vaild, blender will fallback to the default path which is not what we want.
|
||||
[ -d "$BLENDER_SYSTEM_SCRIPTS" ] || die "The custom script path is invalid, fix the ebuild!"
|
||||
[ -d "$BLENDER_SYSTEM_DATAFILES" ] || die "The custom datafiles path is invalid, fix the ebuild!"
|
||||
|
||||
cmake_src_test
|
||||
|
||||
# Clean up the image directory for src_install
|
||||
rm -fr ${ED}/* || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
blender_get_version
|
||||
|
||||
# Pax mark blender for hardened support.
|
||||
pax-mark m "${BUILD_DIR}"/bin/blender
|
||||
|
||||
if use standalone; then
|
||||
dobin "${BUILD_DIR}"/bin/cycles
|
||||
fi
|
||||
|
||||
cmake_src_install
|
||||
|
||||
if use man; then
|
||||
# Slot the man page
|
||||
mv "${ED}/usr/share/man/man1/blender.1" "${ED}/usr/share/man/man1/blender-${BV}.1" || die
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
# Define custom blender data/script file paths. Otherwise Blender will not be able to find them during doc building.
|
||||
# (Because the data is in the image directory and it will default to look in /usr/share)
|
||||
export BLENDER_SYSTEM_SCRIPTS=${ED}/usr/share/blender/${BV}/scripts
|
||||
export BLENDER_SYSTEM_DATAFILES=${ED}/usr/share/blender/${BV}/datafiles
|
||||
|
||||
# Workaround for binary drivers.
|
||||
addpredict /dev/ati
|
||||
addpredict /dev/dri
|
||||
addpredict /dev/nvidiactl
|
||||
|
||||
einfo "Generating Blender C/C++ API docs ..."
|
||||
cd "${CMAKE_USE_DIR}"/doc/doxygen || die
|
||||
doxygen -u Doxyfile || die
|
||||
doxygen || die "doxygen failed to build API docs."
|
||||
|
||||
cd "${CMAKE_USE_DIR}" || die
|
||||
einfo "Generating (BPY) Blender Python API docs ..."
|
||||
"${BUILD_DIR}"/bin/blender --background --python doc/python_api/sphinx_doc_gen.py -noaudio || die "sphinx failed."
|
||||
|
||||
cd "${CMAKE_USE_DIR}"/doc/python_api || die
|
||||
sphinx-build sphinx-in BPY_API || die "sphinx failed."
|
||||
|
||||
docinto "html/API/python"
|
||||
dodoc -r "${CMAKE_USE_DIR}"/doc/python_api/BPY_API/.
|
||||
|
||||
docinto "html/API/blender"
|
||||
dodoc -r "${CMAKE_USE_DIR}"/doc/doxygen/html/.
|
||||
fi
|
||||
|
||||
# Fix doc installdir
|
||||
docinto html
|
||||
dodoc "${CMAKE_USE_DIR}"/release/text/readme.html
|
||||
rm -r "${ED}"/usr/share/doc/blender || die
|
||||
|
||||
python_optimize "${ED}/usr/share/blender/${BV}/scripts"
|
||||
|
||||
mv "${ED}/usr/bin/blender-thumbnailer" "${ED}/usr/bin/blender-${BV}-thumbnailer" || die
|
||||
mv "${ED}/usr/bin/blender" "${ED}/usr/bin/blender-${BV}" || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "Blender uses python integration. As such, may have some"
|
||||
elog "inherent risks with running unknown python scripts."
|
||||
elog
|
||||
elog "It is recommended to change your blender temp directory"
|
||||
elog "from /tmp to /home/user/tmp or another tmp file under your"
|
||||
elog "home directory. This can be done by starting blender, then"
|
||||
elog "changing the 'Temporary Files' directory in Blender preferences."
|
||||
elog
|
||||
ewarn
|
||||
ewarn "This ebuild does not unbundle the massive amount of 3rd party"
|
||||
ewarn "libraries which are shipped with blender. Note that"
|
||||
ewarn "these have caused security issues in the past."
|
||||
ewarn "If you are concerned about security, file a bug upstream:"
|
||||
ewarn " https://developer.blender.org/"
|
||||
ewarn
|
||||
|
||||
if ! use python_single_target_python3_10; then
|
||||
elog "You are building Blender with a newer python version than"
|
||||
elog "supported by this version upstream."
|
||||
elog "If you experience breakages with e.g. plugins, please switch to"
|
||||
elog "python_single_target_python3_10 instead."
|
||||
elog "Bug: https://bugs.gentoo.org/737388"
|
||||
elog
|
||||
fi
|
||||
|
||||
xdg_icon_cache_update
|
||||
xdg_mimeinfo_database_update
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
xdg_mimeinfo_database_update
|
||||
xdg_desktop_database_update
|
||||
|
||||
ewarn ""
|
||||
ewarn "You may want to remove the following directory."
|
||||
ewarn "~/.config/${PN}/${SLOT}/cache/"
|
||||
ewarn "It may contain extra render kernels not tracked by portage"
|
||||
ewarn ""
|
||||
}
|
@ -1,18 +1,9 @@
|
||||
AUX gimp-2.10_fix_test-appdata.patch 902 BLAKE2B 2b1a131d874d65422d8bdd44732b9843d89a570a1ea3c058cdb2a424a7791c686aa0e2ae2a0b472f333f2465f6e1a26750a532e9003933c5dffa1af32343c1dc SHA512 2983e8572f5e8113c9e2f564d31c1a5fe7e11ef273c50d2be739089124c6ec1a457da28222020bbd6015b2cbbcbf403b88d8660b9b35241800deb4fb3ad79067
|
||||
AUX gimp-2.99.2_fix_autoconf-2.70.patch 1913 BLAKE2B 779ce5a54150ee2a89507420931f255c09602af36ab8176f7ae9f18a7c1feb12451e817d2a89251d0366af6db90f602a107108227c98ac99b73e16ddb7b1fd05 SHA512 efa8882896335d3ac4ae7fb8874b5bd568472ccdcaeaf1d771f6c6b815b138186016f39f5f2f30fa01c1018ad583649fcf564cc5a8bcece741092f7dbc22f5fa
|
||||
DIST gimp-2.10.22.tar.bz2 33152226 BLAKE2B d11b0ee8f0f24934383028a0b21820af30da6133814d64b67981888086f3eaa4378e474ff801db046f2fe5d380325ac7279df6e749d100219e2f6558c9bdf10d SHA512 13841ac4a186df47e4155095ca888a903b2db9e25a73fbb834fe981ccf915cb67a3e08506e5c13b6c5f35e27b1de24befbccf871e438b1a35f67f069bebd8fd0
|
||||
DIST gimp-2.10.24.tar.bz2 31546295 BLAKE2B e2b873313b41799cb9461f6cd2ec45dcb0d3f51fe3e2710e47be99be868fba962cb75afb47bc2f12e2d6090993d70f560f4d58d2614939a0d36cadc9191fa2a7 SHA512 828350ad5c53b8409463c24693821d78a1940f18c221249ae7b864ad9db5cf01ab41d6ec5bbefd96115f0e91809ecdc61451d71881b56b07920c442f4a514936
|
||||
DIST gimp-2.10.28.tar.bz2 31675862 BLAKE2B b491b55d5adf08221feb7cee8b3adc1d8b090901e8f43b93a4d2c3d935ce1ca45072b0ccd6840e06b329fbfafc8fe5e3d6056381c5129203fa3c5e781cab0453 SHA512 587f6f46741672f0700fd642a5b779694d2d8bc8ad70e7677ccdbfc2266dc62203ed347d6aaffaa4b8e7d84a84a25f7d5a51507dfd64b21b4c05970856d3ab94
|
||||
DIST gimp-2.10.30.tar.bz2 31731327 BLAKE2B 6d948e16fbf7bae7b514a60a44fc5eaac32bebb915de0dcb5120d10739501a01973cb1f5821699d94c4d4cc7ef86d0e5456674a87623b6996d9b276d83a6eb74 SHA512 02ca9e8846dc2ae856f720b92f3c6af69984cf0b3ce85ba5a67479e5c3c813315a0551b7d011dcf7a6c83dc771e550cc31041126bbea0be3fd483176e0eb2851
|
||||
DIST gimp-2.99.10.tar.bz2 26782056 BLAKE2B 103e7fa2d04b1989e59fb03964a122891831d122cdc6dd3b7637f06cff28310e12d9a79678ac477b56728f4ceb53292001c53f026e94be417db76dd7e14740ab SHA512 898c1e1ffd2270ccc965db9a8263e04d95455535361b47f92256b4028808e1e91eb1924cf6cef7ff9e988194ebbc67535bd9cfbf0243159824e58551a2b91ba3
|
||||
DIST gimp-2.99.6.tar.bz2 30663040 BLAKE2B ccbdc2baa9e99a94e85345ce90bcba6ca56c0f264d3248d198009b730a5c810997b76c7d7a3cf131374316298d719a3e70c81ee7bc0a5e34beda1b112921807a SHA512 51ada696693ac51624ba222d1fff54d39bdc72a06de54f7c244b89740b77f7205aab44f1cec90785ca4196cab32f817e7390b4287a30f5024606163f24222961
|
||||
DIST gimp-2.99.8.tar.bz2 30799403 BLAKE2B a67863f5e7d40beca80f931973759dc4523718ac2740cac4924dae8e1611491e59c43436ca670643be1878e1d9ff1575174a59c919b33103128a812e7eba6042 SHA512 c603d9a315c21c9da716cc1d8c0c784061e7d0eac4b3d28467aabc3c63c950da0a52649e498049e0b8475933ef93d721a2b8423811b47b00c9490485d316345e
|
||||
EBUILD gimp-2.10.22-r3.ebuild 5618 BLAKE2B ce5a7d64257677255daa60f7df99d1e035d548d7554821fd052172733cb335044f100d0372b6275153c742cd7213a38b4f590c171321206a7cb71db06c95dcf0 SHA512 b2d3ae49649c81e9cb93f2cfe35b2da46f55da97dbf2a56a66d65af45d33efe21e5c02a1ce54140f9bb2a835bc36c00de19a86301a15b048fcc3c2ea59f03147
|
||||
EBUILD gimp-2.10.24-r1.ebuild 5563 BLAKE2B d703a4c206d0525d7cb6156137f3dae634a57ceeb91ba59f338a54266ec1c86cd7f03f6823cc1d2e74f2eef03581676a16b613ed40022036dbf0c71785df70ed SHA512 9bf9b2f6f49ef4a533c6634611bcd85a3ca3b699b73e83cfe41a56010c9c3c4d92757c37bf7bb3792637bf3fc84f82721f55c17b108b80860bdd7288f8d29fe0
|
||||
EBUILD gimp-2.10.28-r1.ebuild 5566 BLAKE2B 7f114e8d031afb5b77838c3757ef55d662e70ac09190cdbd2c37ef7aab6155dc524c64441d0fdd971a96f31abf803cad947ff513e19158f832f8e38b5de080e8 SHA512 7aa3287a23bd845b019954c7b6ff43bf5663eaf7b7e8bf3ace2e5c41c4e8142932fd24d1adc93130686625a1e49252929bf7761476808821cc4100a498151dbb
|
||||
EBUILD gimp-2.10.28-r1.ebuild 5566 BLAKE2B 6475774d4d3af42eeb436c01b84fb14991c707b209e0b0aa3b9115d120cbc09f33c811a35e2e39a7ba373c0c3649f840527ac60fc42b8fa3dc1066d346e6d9fb SHA512 a956a96435e584b74166e0a015fbd376d0402f552f211dd0947a8b049d8cb3826a657de6ba3cf4697bd2e64638194d2692776897c8809f81d177fc8a78147bec
|
||||
EBUILD gimp-2.10.30.ebuild 5566 BLAKE2B ebd2a95b71587d02a31d422a405d3e3865ae89c4100b70e3c0a88912fb39a0436bad8bde3faab4d3337f20713a0ca251996cd7b57c5c3bbd568b2f1407b52f6a SHA512 28f5384828301e3c61a3698ebf7d465ae0f40d2776bdff808b45f5444917d8038d7938a9712180b8fae1fd33b48d1cd33debb5ed9bb1ffcb347175ebba8c7959
|
||||
EBUILD gimp-2.99.10.ebuild 6542 BLAKE2B df05e1a2e301c88a892d8415dc82fc5b4e7a25df9b2c14fcb3f955230763eae67bbf7ca20e1d79ad27a31943c59e99d3243f11c6f8a26bde6b7454043f4d99ca SHA512 de9c1627f5f38fbb254ac019fe3f21c85337025df3b49e407963cc291a83b7f857e0876a3c1997652e356d55d2c6177036fdd73b29cd8ed20c2bde08b3c97390
|
||||
EBUILD gimp-2.99.6-r2.ebuild 6821 BLAKE2B 03feae18f0208c4061a909f988853289c46c2cfad66fc3e3e8644884bd2b817104a87ed3c49f53fc4b23e40c95d36be0d2a135d5c8b0534e14c2f778eed87809 SHA512 2b510eceb3757c6c363cd65ca9d60fb1a57423e5028c86158d04d2d7d392bf3b6bc189d22693b12809fa08194550e9852a1638164449ed185c4cbc2d2e0628f1
|
||||
EBUILD gimp-2.99.8-r1.ebuild 6821 BLAKE2B 2887c37dc395ee6c4b289a1b831d8ccb4b377d49c8afea1781a1604a9ec2a974cd36234ef86d89aa91fe9f3729870cf3fd6fdd245a8ec9f6a2ae43c49bee838d SHA512 2d14d6d6451c565b55187e12a491071aad5b0a0694f9a6d302d27bbe49f7a4de5a8bba2c66a0182ad88f39385b21b432e8ee6c121a62437f2229d4c05f9941d6
|
||||
EBUILD gimp-9999.ebuild 6573 BLAKE2B ab7573eb230ad1553532ddfa3331f87de8d7ed93c1156fe243686bf5313652ad619813e1b1ce159ca6c2d0c7d364bbfc8517ba0ce6e46c21b1f559e06c7ffc13 SHA512 e3e39eb903626c5da6bc96714a3fee032c847e1a4fdaffb3670677190a848614711ab36589cd839414e0111bb9fc1c14db9d5f3b26229f199e387ca06c9a12fa
|
||||
MISC metadata.xml 577 BLAKE2B a8bfdc064608bf0bb4a2f81a5de928d7eb35da9eaf2db64198ca34ca8b2542116ed1f341fe822354fa60b8d447676eb892c38dc4093b4b9db16622fe9d64bba8 SHA512 12e030815c13bc253aa877c7da837e01f8d259a6297807c0543f05e21edb92fda38b3a54a064b4721172fcc3db9d0ed2ae580118d51f03fc37f6ac4bacde5154
|
||||
|
@ -1,58 +0,0 @@
|
||||
From cebeb90a87105cd6e35bcb357d53cc04c828ca21 Mon Sep 17 00:00:00 2001
|
||||
From: Sergei Trofimovich <slyfox@gentoo.org>
|
||||
Date: Sun, 25 Oct 2020 18:09:21 +0000
|
||||
Subject: [PATCH] configure.ac: fix `--with-linux-input` handling with upcoming
|
||||
autoconf-2.70
|
||||
|
||||
Upcoming autoconf-2.70 exposes deficiency in configure.ac:
|
||||
|
||||
```
|
||||
$ autoconf-2.70_beta2 && ./configure --host=x86_64-pc-linux-gnu
|
||||
./configure: line 1430: 5: Bad file descriptor
|
||||
checking whether is declared... ./configure: line 1432: ${+y}: bad
|
||||
```
|
||||
|
||||
It happens because macros are called with parameters using insufficient quoting.
|
||||
|
||||
More details at https://lists.gnu.org/archive/html/bug-autoconf/2020-10/msg00027.html
|
||||
|
||||
The fix only amends `--with-linux-input`. Other cases of underquoting
|
||||
will need to be handled separately.
|
||||
|
||||
Fix-by: Zack Weinberg
|
||||
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
||||
---
|
||||
configure.ac | 17 ++++++++---------
|
||||
1 file changed, 8 insertions(+), 9 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 96312f706e..63b85be07a 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -2135,15 +2135,14 @@ fi
|
||||
AC_ARG_WITH(linux-input, [ --without-linux-input don't build linux input event controller module])
|
||||
|
||||
have_linux_input="no (linux input support disabled)"
|
||||
-if test "x$with_linux_input" != "xno"; then
|
||||
- AC_CHECK_HEADER(linux/input.h,
|
||||
- AC_CHECK_DECL(KEY_OK,
|
||||
- have_linux_input=yes,
|
||||
- have_linux_input="no (needs Linux 2.6)",
|
||||
- [#include <linux/input.h>]))
|
||||
-fi
|
||||
-
|
||||
-AM_CONDITIONAL(HAVE_LINUX_INPUT, test "x$have_linux_input" = xyes)
|
||||
+AS_IF([test "x$with_linux_input" != "xno"],
|
||||
+ [AC_CHECK_HEADER([linux/input.h],
|
||||
+ [AC_CHECK_DECL([KEY_OK],
|
||||
+ [have_linux_input=yes],
|
||||
+ [have_linux_input="no (needs Linux 2.6)"],
|
||||
+ [#include <linux/input.h>])])])
|
||||
+
|
||||
+AM_CONDITIONAL([HAVE_LINUX_INPUT], [test "x$have_linux_input" = xyes])
|
||||
|
||||
|
||||
###############################
|
||||
--
|
||||
GitLab
|
||||
|
@ -1,212 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
GNOME2_EAUTORECONF=yes
|
||||
WANT_AUTOMAKE=
|
||||
|
||||
inherit autotools gnome2 toolchain-funcs virtualx
|
||||
|
||||
DESCRIPTION="GNU Image Manipulation Program"
|
||||
HOMEPAGE="https://www.gimp.org/"
|
||||
SRC_URI="mirror://gimp/v2.10/${P}.tar.bz2"
|
||||
LICENSE="GPL-3 LGPL-3"
|
||||
SLOT="0/2"
|
||||
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~ppc ppc64 x86"
|
||||
|
||||
IUSE="aalib alsa aqua debug doc gnome heif jpeg2k mng openexr postscript udev unwind vector-icons webp wmf xpm cpu_flags_ppc_altivec cpu_flags_x86_mmx cpu_flags_x86_sse"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=app-text/poppler-0.50[cairo]
|
||||
>=app-text/poppler-data-0.4.7
|
||||
>=dev-libs/atk-2.2.0
|
||||
>=dev-libs/glib-2.56.2:2
|
||||
>=dev-libs/json-glib-1.2.6
|
||||
dev-libs/libxml2:2
|
||||
dev-libs/libxslt
|
||||
>=gnome-base/librsvg-2.40.6:2
|
||||
>=media-gfx/mypaint-brushes-2.0.2:=
|
||||
>=media-libs/babl-0.1.78
|
||||
>=media-libs/fontconfig-2.12.4
|
||||
>=media-libs/freetype-2.1.7
|
||||
>=media-libs/gegl-0.4.26:0.4[cairo]
|
||||
<media-libs/gegl-0.4.28:0.4
|
||||
>=media-libs/gexiv2-0.10.6
|
||||
>=media-libs/harfbuzz-0.9.19:=
|
||||
>=media-libs/lcms-2.8:2
|
||||
>=media-libs/libmypaint-1.6.1:=
|
||||
>=media-libs/libpng-1.6.25:0=
|
||||
>=media-libs/tiff-3.5.7:0
|
||||
net-libs/glib-networking[ssl]
|
||||
sys-libs/zlib
|
||||
virtual/jpeg
|
||||
>=x11-libs/cairo-1.12.2
|
||||
>=x11-libs/gdk-pixbuf-2.31:2
|
||||
>=x11-libs/gtk+-2.24.32:2
|
||||
x11-libs/libXcursor
|
||||
>=x11-libs/pango-1.29.4
|
||||
aalib? ( media-libs/aalib )
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.0 )
|
||||
aqua? ( >=x11-libs/gtk-mac-integration-2.0.0 )
|
||||
heif? ( >=media-libs/libheif-1.3.2:= )
|
||||
jpeg2k? ( >=media-libs/openjpeg-2.1.0:2= )
|
||||
mng? ( media-libs/libmng:= )
|
||||
openexr? ( >=media-libs/openexr-1.6.1:= )
|
||||
postscript? ( app-text/ghostscript-gpl )
|
||||
udev? ( dev-libs/libgudev:= )
|
||||
unwind? ( >=sys-libs/libunwind-1.1.0:= )
|
||||
webp? ( >=media-libs/libwebp-0.6.0:= )
|
||||
wmf? ( >=media-libs/libwmf-0.2.8 )
|
||||
xpm? ( x11-libs/libXpm )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
x11-themes/hicolor-icon-theme
|
||||
gnome? ( gnome-base/gvfs )
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
>=dev-lang/perl-5.10.0
|
||||
dev-libs/appstream-glib
|
||||
dev-util/gtk-update-icon-cache
|
||||
>=dev-util/intltool-0.40.1
|
||||
>=sys-devel/gettext-0.19
|
||||
>=sys-devel/libtool-2.2
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
DOCS=( "AUTHORS" "ChangeLog" "HACKING" "NEWS" "README" "README.i18n" )
|
||||
|
||||
# Bugs 685210 (and duplicate 691070)
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2.10_fix_test-appdata.patch"
|
||||
"${FILESDIR}/${PN}-2.99.2_fix_autoconf-2.70.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/mypaint-brushes-1.0/mypaint-brushes-2.0/' configure.ac || die #737794
|
||||
|
||||
sed -i -e 's/== "xquartz"/= "xquartz"/' configure.ac || die #494864
|
||||
sed 's:-DGIMP_DISABLE_DEPRECATED:-DGIMP_protect_DISABLE_DEPRECATED:g' -i configure.ac || die #615144
|
||||
|
||||
gnome2_src_prepare # calls eautoreconf
|
||||
|
||||
sed 's:-DGIMP_protect_DISABLE_DEPRECATED:-DGIMP_DISABLE_DEPRECATED:g' -i configure || die #615144
|
||||
fgrep -q GIMP_DISABLE_DEPRECATED configure || die #615144, self-test
|
||||
|
||||
export CC_FOR_BUILD="$(tc-getBUILD_CC)"
|
||||
}
|
||||
|
||||
_adjust_sandbox() {
|
||||
# Bugs #569738 and #591214
|
||||
local nv
|
||||
for nv in /dev/nvidia-uvm /dev/nvidiactl /dev/nvidia{0..9} ; do
|
||||
# We do not check for existence as they may show up later
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=569738#c21
|
||||
addwrite "${nv}"
|
||||
done
|
||||
|
||||
addwrite /dev/dri/ # bugs #574038 and #684886
|
||||
addwrite /dev/ati/ # bug #589198
|
||||
addwrite /proc/mtrr # bug #589198
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
_adjust_sandbox
|
||||
|
||||
local myconf=(
|
||||
GEGL="${EPREFIX}"/usr/bin/gegl-0.4
|
||||
GDBUS_CODEGEN="${EPREFIX}"/bin/false
|
||||
|
||||
--enable-default-binary
|
||||
|
||||
--disable-check-update
|
||||
--disable-python
|
||||
--enable-mp
|
||||
--with-appdata-test
|
||||
--with-bug-report-url=https://bugs.gentoo.org/
|
||||
--with-xmc
|
||||
--without-libbacktrace
|
||||
--without-webkit
|
||||
--without-xvfb-run
|
||||
$(use_enable cpu_flags_ppc_altivec altivec)
|
||||
$(use_enable cpu_flags_x86_mmx mmx)
|
||||
$(use_enable cpu_flags_x86_sse sse)
|
||||
$(use_enable vector-icons)
|
||||
$(use_with aalib aa)
|
||||
$(use_with alsa)
|
||||
$(use_with !aqua x)
|
||||
$(use_with heif libheif)
|
||||
$(use_with jpeg2k jpeg2000)
|
||||
$(use_with mng libmng)
|
||||
$(use_with openexr)
|
||||
$(use_with postscript gs)
|
||||
$(use_with udev gudev)
|
||||
$(use_with unwind libunwind)
|
||||
$(use_with webp)
|
||||
$(use_with wmf)
|
||||
$(use_with xpm libxpm)
|
||||
)
|
||||
|
||||
gnome2_src_configure "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export XDG_DATA_DIRS="${EPREFIX}"/usr/share # bug 587004
|
||||
gnome2_src_compile
|
||||
}
|
||||
|
||||
# for https://bugs.gentoo.org/664938
|
||||
_rename_plugins() {
|
||||
einfo 'Renaming plug-ins to not collide with pre-2.10.6 file layout (bug #664938)...'
|
||||
local prepend=gimp-org-
|
||||
(
|
||||
cd "${ED}"/usr/$(get_libdir)/gimp/2.0/plug-ins || die
|
||||
for plugin_slash in $(ls -d1 */); do
|
||||
plugin=${plugin_slash%/}
|
||||
if [[ -f ${plugin}/${plugin} ]]; then
|
||||
# NOTE: Folder and file name need to match for Gimp to load that plug-in
|
||||
# so "file-svg/file-svg" becomes "${prepend}file-svg/${prepend}file-svg"
|
||||
mv ${plugin}/{,${prepend}}${plugin} || die
|
||||
mv {,${prepend}}${plugin} || die
|
||||
fi
|
||||
done
|
||||
)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
|
||||
# Workaround for bug #321111 to give GIMP the least
|
||||
# precedence on PDF documents by default
|
||||
mv "${ED}"/usr/share/applications/{,zzz-}gimp.desktop || die
|
||||
|
||||
find "${D}" -name '*.la' -type f -delete || die
|
||||
|
||||
# Prevent dead symlink gimp-console.1 from downstream man page compression (bug #433527)
|
||||
local gimp_app_version=$(ver_cut 1-2)
|
||||
mv "${ED}"/usr/share/man/man1/gimp-console{-${gimp_app_version},}.1 || die
|
||||
|
||||
# Remove gimp devel-docs html files if user doesn't need it
|
||||
if ! use doc; then
|
||||
rm -r "${ED}"/usr/share/gtk-doc || die
|
||||
fi
|
||||
|
||||
_rename_plugins || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_pkg_postrm
|
||||
}
|
@ -1,211 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
GNOME2_EAUTORECONF=yes
|
||||
WANT_AUTOMAKE=
|
||||
|
||||
inherit autotools gnome2 toolchain-funcs virtualx
|
||||
|
||||
DESCRIPTION="GNU Image Manipulation Program"
|
||||
HOMEPAGE="https://www.gimp.org/"
|
||||
SRC_URI="mirror://gimp/v2.10/${P}.tar.bz2"
|
||||
LICENSE="GPL-3 LGPL-3"
|
||||
SLOT="0/2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
IUSE="aalib alsa aqua debug doc gnome heif jpeg2k mng openexr postscript udev unwind vector-icons webp wmf xpm cpu_flags_ppc_altivec cpu_flags_x86_mmx cpu_flags_x86_sse"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=app-text/poppler-0.50[cairo]
|
||||
>=app-text/poppler-data-0.4.7
|
||||
>=dev-libs/atk-2.2.0
|
||||
>=dev-libs/glib-2.56.2:2
|
||||
>=dev-libs/json-glib-1.2.6
|
||||
dev-libs/libxml2:2
|
||||
dev-libs/libxslt
|
||||
>=gnome-base/librsvg-2.40.6:2
|
||||
>=media-gfx/mypaint-brushes-2.0.2:=
|
||||
>=media-libs/babl-0.1.86
|
||||
>=media-libs/fontconfig-2.12.4
|
||||
>=media-libs/freetype-2.1.7
|
||||
>=media-libs/gegl-0.4.30:0.4[cairo]
|
||||
>=media-libs/gexiv2-0.10.6
|
||||
>=media-libs/harfbuzz-0.9.19:=
|
||||
>=media-libs/lcms-2.8:2
|
||||
>=media-libs/libmypaint-1.6.1:=
|
||||
>=media-libs/libpng-1.6.25:0=
|
||||
>=media-libs/tiff-3.5.7:0
|
||||
net-libs/glib-networking[ssl]
|
||||
sys-libs/zlib
|
||||
virtual/jpeg
|
||||
>=x11-libs/cairo-1.12.2
|
||||
>=x11-libs/gdk-pixbuf-2.31:2
|
||||
>=x11-libs/gtk+-2.24.32:2
|
||||
x11-libs/libXcursor
|
||||
>=x11-libs/pango-1.29.4
|
||||
aalib? ( media-libs/aalib )
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.0 )
|
||||
aqua? ( >=x11-libs/gtk-mac-integration-2.0.0 )
|
||||
heif? ( >=media-libs/libheif-1.9.1:= )
|
||||
jpeg2k? ( >=media-libs/openjpeg-2.1.0:2= )
|
||||
mng? ( media-libs/libmng:= )
|
||||
openexr? ( >=media-libs/openexr-1.6.1:= )
|
||||
postscript? ( app-text/ghostscript-gpl )
|
||||
udev? ( dev-libs/libgudev:= )
|
||||
unwind? ( >=sys-libs/libunwind-1.1.0:= )
|
||||
webp? ( >=media-libs/libwebp-0.6.0:= )
|
||||
wmf? ( >=media-libs/libwmf-0.2.8 )
|
||||
xpm? ( x11-libs/libXpm )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
x11-themes/hicolor-icon-theme
|
||||
gnome? ( gnome-base/gvfs )
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
>=dev-lang/perl-5.10.0
|
||||
dev-libs/appstream-glib
|
||||
dev-util/gtk-update-icon-cache
|
||||
>=dev-util/intltool-0.40.1
|
||||
>=sys-devel/gettext-0.19
|
||||
>=sys-devel/libtool-2.2
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
DOCS=( "AUTHORS" "ChangeLog" "HACKING" "NEWS" "README" "README.i18n" )
|
||||
|
||||
# Bugs 685210 (and duplicate 691070)
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2.10_fix_test-appdata.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/mypaint-brushes-1.0/mypaint-brushes-2.0/' configure.ac || die #737794
|
||||
|
||||
sed -i -e 's/== "xquartz"/= "xquartz"/' configure.ac || die #494864
|
||||
sed 's:-DGIMP_DISABLE_DEPRECATED:-DGIMP_protect_DISABLE_DEPRECATED:g' -i configure.ac || die #615144
|
||||
|
||||
gnome2_src_prepare # calls eautoreconf
|
||||
|
||||
sed 's:-DGIMP_protect_DISABLE_DEPRECATED:-DGIMP_DISABLE_DEPRECATED:g' -i configure || die #615144
|
||||
fgrep -q GIMP_DISABLE_DEPRECATED configure || die #615144, self-test
|
||||
|
||||
export CC_FOR_BUILD="$(tc-getBUILD_CC)"
|
||||
}
|
||||
|
||||
_adjust_sandbox() {
|
||||
# Bugs #569738 and #591214
|
||||
local nv
|
||||
for nv in /dev/nvidia-uvm /dev/nvidiactl /dev/nvidia{0..9} ; do
|
||||
# We do not check for existence as they may show up later
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=569738#c21
|
||||
addwrite "${nv}"
|
||||
done
|
||||
|
||||
addwrite /dev/dri/ # bugs #574038 and #684886
|
||||
addwrite /dev/ati/ # bug #589198
|
||||
addwrite /proc/mtrr # bug #589198
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
_adjust_sandbox
|
||||
|
||||
local myconf=(
|
||||
GEGL="${EPREFIX}"/usr/bin/gegl-0.4
|
||||
GDBUS_CODEGEN="${EPREFIX}"/bin/false
|
||||
|
||||
--enable-default-binary
|
||||
|
||||
--disable-check-update
|
||||
--disable-python
|
||||
--enable-mp
|
||||
--with-appdata-test
|
||||
--with-bug-report-url=https://bugs.gentoo.org/
|
||||
--with-xmc
|
||||
--without-libbacktrace
|
||||
--without-webkit
|
||||
--without-xvfb-run
|
||||
$(use_enable cpu_flags_ppc_altivec altivec)
|
||||
$(use_enable cpu_flags_x86_mmx mmx)
|
||||
$(use_enable cpu_flags_x86_sse sse)
|
||||
$(use_enable debug)
|
||||
$(use_enable vector-icons)
|
||||
$(use_with aalib aa)
|
||||
$(use_with alsa)
|
||||
$(use_with !aqua x)
|
||||
$(use_with heif libheif)
|
||||
$(use_with jpeg2k jpeg2000)
|
||||
$(use_with mng libmng)
|
||||
$(use_with openexr)
|
||||
$(use_with postscript gs)
|
||||
$(use_with udev gudev)
|
||||
$(use_with unwind libunwind)
|
||||
$(use_with webp)
|
||||
$(use_with wmf)
|
||||
$(use_with xpm libxpm)
|
||||
)
|
||||
|
||||
gnome2_src_configure "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export XDG_DATA_DIRS="${EPREFIX}"/usr/share # bug 587004
|
||||
gnome2_src_compile
|
||||
}
|
||||
|
||||
# for https://bugs.gentoo.org/664938
|
||||
_rename_plugins() {
|
||||
einfo 'Renaming plug-ins to not collide with pre-2.10.6 file layout (bug #664938)...'
|
||||
local prepend=gimp-org-
|
||||
(
|
||||
cd "${ED}"/usr/$(get_libdir)/gimp/2.0/plug-ins || die
|
||||
for plugin_slash in $(ls -d1 */); do
|
||||
plugin=${plugin_slash%/}
|
||||
if [[ -f ${plugin}/${plugin} ]]; then
|
||||
# NOTE: Folder and file name need to match for Gimp to load that plug-in
|
||||
# so "file-svg/file-svg" becomes "${prepend}file-svg/${prepend}file-svg"
|
||||
mv ${plugin}/{,${prepend}}${plugin} || die
|
||||
mv {,${prepend}}${plugin} || die
|
||||
fi
|
||||
done
|
||||
)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
|
||||
# Workaround for bug #321111 to give GIMP the least
|
||||
# precedence on PDF documents by default
|
||||
mv "${ED}"/usr/share/applications/{,zzz-}gimp.desktop || die
|
||||
|
||||
find "${D}" -name '*.la' -type f -delete || die
|
||||
|
||||
# Prevent dead symlink gimp-console.1 from downstream man page compression (bug #433527)
|
||||
local gimp_app_version=$(ver_cut 1-2)
|
||||
mv "${ED}"/usr/share/man/man1/gimp-console{-${gimp_app_version},}.1 || die
|
||||
|
||||
# Remove gimp devel-docs html files if user doesn't need it
|
||||
if ! use doc; then
|
||||
rm -r "${ED}"/usr/share/gtk-doc || die
|
||||
fi
|
||||
|
||||
_rename_plugins || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_pkg_postrm
|
||||
}
|
@ -1,262 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
LUA_COMPAT=( luajit )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
GNOME2_EAUTORECONF=yes
|
||||
VALA_MIN_API_VERSION="0.44"
|
||||
VALA_USE_DEPEND=vapigen
|
||||
|
||||
inherit gnome2 lua-single python-single-r1 toolchain-funcs vala virtualx
|
||||
|
||||
DESCRIPTION="GNU Image Manipulation Program"
|
||||
HOMEPAGE="https://www.gimp.org/"
|
||||
SRC_URI="mirror://gimp/v2.99/${P}.tar.bz2"
|
||||
LICENSE="GPL-3 LGPL-3"
|
||||
SLOT="0/3"
|
||||
|
||||
IUSE="aalib alsa aqua doc gnome heif javascript jpeg2k lua mng openexr postscript python udev unwind vala vector-icons webp wmf xpm cpu_flags_ppc_altivec cpu_flags_x86_mmx cpu_flags_x86_sse"
|
||||
REQUIRED_USE="
|
||||
lua? ( ${LUA_REQUIRED_USE} )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# media-libs/{babl,gegl} are required to be built with USE="introspection"
|
||||
# to fix the compilation checking of /usr/share/gir-1.0/{Babl-0.1gir,Gegl-0.4.gir}
|
||||
COMMON_DEPEND="
|
||||
>=app-text/poppler-0.90.1[cairo]
|
||||
>=app-text/poppler-data-0.4.9
|
||||
>=dev-libs/appstream-glib-0.7.16
|
||||
>=dev-libs/atk-2.34.1
|
||||
>=dev-libs/glib-2.62.6:2
|
||||
>=dev-libs/json-glib-1.4.4
|
||||
dev-libs/libxml2:2
|
||||
dev-libs/libxslt
|
||||
>=gnome-base/librsvg-2.40.21:2
|
||||
>=media-gfx/mypaint-brushes-2.0.2:=
|
||||
>=media-libs/babl-0.1.86[introspection,lcms,vala?]
|
||||
>=media-libs/fontconfig-2.12.6
|
||||
>=media-libs/freetype-2.10.2
|
||||
>=media-libs/gegl-0.4.30:0.4[cairo,introspection,lcms,vala?]
|
||||
>=media-libs/gexiv2-0.10.10
|
||||
>=media-libs/harfbuzz-2.6.5:=
|
||||
>=media-libs/lcms-2.9:2
|
||||
>=media-libs/libmypaint-1.6.1:=
|
||||
>=media-libs/libpng-1.6.37:0=
|
||||
>=media-libs/tiff-4.1.0:0
|
||||
net-libs/glib-networking[ssl]
|
||||
sys-libs/zlib
|
||||
virtual/jpeg
|
||||
>=x11-libs/cairo-1.16.0
|
||||
>=x11-libs/gdk-pixbuf-2.40.0:2[introspection]
|
||||
>=x11-libs/gtk+-3.24.16:3[introspection]
|
||||
x11-libs/libXcursor
|
||||
>=x11-libs/pango-1.44.7
|
||||
aalib? ( media-libs/aalib )
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.0 )
|
||||
aqua? ( >=x11-libs/gtk-mac-integration-2.0.0 )
|
||||
heif? ( >=media-libs/libheif-1.9.1:= )
|
||||
javascript? ( dev-libs/gjs )
|
||||
jpeg2k? ( >=media-libs/openjpeg-2.3.1:2= )
|
||||
lua? (
|
||||
${LUA_DEPS}
|
||||
$(lua_gen_cond_dep '
|
||||
dev-lua/lgi[${LUA_USEDEP}]
|
||||
')
|
||||
)
|
||||
mng? ( media-libs/libmng:= )
|
||||
openexr? ( >=media-libs/openexr-2.3.0:= )
|
||||
postscript? ( app-text/ghostscript-gpl )
|
||||
python? (
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/pygobject-3.0:3[${PYTHON_USEDEP}]
|
||||
')
|
||||
)
|
||||
udev? ( >=dev-libs/libgudev-167:= )
|
||||
unwind? ( >=sys-libs/libunwind-1.1.0:= )
|
||||
webp? ( >=media-libs/libwebp-0.6.0:= )
|
||||
wmf? ( >=media-libs/libwmf-0.2.8 )
|
||||
xpm? ( x11-libs/libXpm )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
x11-themes/hicolor-icon-theme
|
||||
gnome? ( gnome-base/gvfs )
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
>=dev-lang/perl-5.30.3
|
||||
dev-util/gdbus-codegen
|
||||
dev-util/gtk-update-icon-cache
|
||||
>=dev-util/intltool-0.51.0
|
||||
>=sys-devel/autoconf-2.54
|
||||
>=sys-devel/automake-1.11
|
||||
>=sys-devel/gettext-0.21
|
||||
>=sys-devel/libtool-2.4.6
|
||||
doc? (
|
||||
app-text/yelp-tools
|
||||
dev-libs/gobject-introspection[doctool]
|
||||
>=dev-util/gtk-doc-1.32
|
||||
dev-util/gtk-doc-am
|
||||
)
|
||||
vala? ( $(vala_depend) )
|
||||
"
|
||||
|
||||
# TODO: there are probably more atoms in DEPEND which should be in BDEPEND now
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
DOCS=( "AUTHORS" "HACKING" "NEWS" "README" "README.i18n" )
|
||||
|
||||
# Bugs 685210 (and duplicate 691070)
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2.10_fix_test-appdata.patch"
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
use lua && lua-single_pkg_setup
|
||||
|
||||
if use python; then
|
||||
python-single-r1_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/mypaint-brushes-1.0/mypaint-brushes-2.0/' configure.ac || die #737794
|
||||
|
||||
sed -i -e 's/== "xquartz"/= "xquartz"/' configure.ac || die #494864
|
||||
sed 's:-DGIMP_DISABLE_DEPRECATED:-DGIMP_protect_DISABLE_DEPRECATED:g' -i configure.ac || die #615144
|
||||
|
||||
gnome2_src_prepare # calls eautoreconf
|
||||
|
||||
use vala && vala_src_prepare
|
||||
|
||||
sed 's:-DGIMP_protect_DISABLE_DEPRECATED:-DGIMP_DISABLE_DEPRECATED:g' -i configure || die #615144
|
||||
fgrep -q GIMP_DISABLE_DEPRECATED configure || die #615144, self-test
|
||||
|
||||
export CC_FOR_BUILD="$(tc-getBUILD_CC)"
|
||||
}
|
||||
|
||||
_adjust_sandbox() {
|
||||
# Bugs #569738 and #591214
|
||||
local nv
|
||||
for nv in /dev/nvidia-uvm /dev/nvidiactl /dev/nvidia{0..9} ; do
|
||||
# We do not check for existence as they may show up later
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=569738#c21
|
||||
addwrite "${nv}"
|
||||
done
|
||||
|
||||
addwrite /dev/dri/ # bugs #574038 and #684886
|
||||
addwrite /dev/ati/ # bug #589198
|
||||
addwrite /proc/mtrr # bug #589198
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
_adjust_sandbox
|
||||
|
||||
local myconf=(
|
||||
GEGL="${EPREFIX}"/usr/bin/gegl-0.4
|
||||
GDBUS_CODEGEN="${EPREFIX}"/usr/bin/gdbus-codegen
|
||||
|
||||
--enable-default-binary
|
||||
|
||||
--disable-check-update
|
||||
--enable-mp
|
||||
--with-appdata-test
|
||||
--with-bug-report-url=https://bugs.gentoo.org/
|
||||
--with-xmc
|
||||
--without-libbacktrace
|
||||
--without-webkit
|
||||
--without-xvfb-run
|
||||
$(use_enable cpu_flags_ppc_altivec altivec)
|
||||
$(use_enable cpu_flags_x86_mmx mmx)
|
||||
$(use_enable cpu_flags_x86_sse sse)
|
||||
$(use_enable doc gtk_doc)
|
||||
$(use_enable doc g-ir-doc)
|
||||
$(use_enable vector-icons)
|
||||
$(use_with aalib aa)
|
||||
$(use_with alsa)
|
||||
$(use_with !aqua x)
|
||||
$(use_with heif libheif)
|
||||
$(use_with javascript)
|
||||
$(use_with jpeg2k jpeg2000)
|
||||
$(use_with lua)
|
||||
$(use_with mng libmng)
|
||||
$(use_with openexr)
|
||||
$(use_with postscript gs)
|
||||
$(use_with python)
|
||||
$(use_with udev gudev)
|
||||
$(use_with unwind libunwind)
|
||||
$(use_with vala)
|
||||
$(use_with webp)
|
||||
$(use_with wmf)
|
||||
$(use_with xpm libxpm)
|
||||
)
|
||||
|
||||
gnome2_src_configure "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export XDG_DATA_DIRS="${EPREFIX}"/usr/share # bug 587004
|
||||
gnome2_src_compile
|
||||
}
|
||||
|
||||
# for https://bugs.gentoo.org/664938
|
||||
_rename_plugins() {
|
||||
einfo 'Renaming plug-ins to not collide with pre-2.10.6 file layout (bug #664938)...'
|
||||
local prepend=gimp-org-
|
||||
(
|
||||
cd "${ED}"/usr/$(get_libdir)/gimp/2.99/plug-ins || exit 1
|
||||
for plugin_slash in $(ls -d1 */); do
|
||||
plugin=${plugin_slash%/}
|
||||
if [[ -f ${plugin}/${plugin} ]]; then
|
||||
# NOTE: Folder and file name need to match for Gimp to load that plug-in
|
||||
# so "file-svg/file-svg" becomes "${prepend}file-svg/${prepend}file-svg"
|
||||
mv ${plugin}/{,${prepend}}${plugin} || exit 1
|
||||
mv {,${prepend}}${plugin} || exit 1
|
||||
fi
|
||||
done
|
||||
)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
|
||||
if use python; then
|
||||
python_optimize
|
||||
fi
|
||||
|
||||
# Workaround for bug #321111 to give GIMP the least
|
||||
# precedence on PDF documents by default
|
||||
mv "${ED}"/usr/share/applications/{,zzz-}gimp.desktop || die
|
||||
|
||||
find "${D}" -name '*.la' -type f -delete || die
|
||||
|
||||
# Prevent dead symlink gimp-console.1 from downstream man page compression (bug #433527)
|
||||
mv "${ED}"/usr/share/man/man1/gimp-console{-*,}.1 || die
|
||||
|
||||
_rename_plugins || die
|
||||
|
||||
if use doc; then
|
||||
mkdir "${ED}/usr/share/gtk-doc/html/gimp3_g-ir-docs" || die
|
||||
cp -r "${S}/devel-docs/g-ir-docs/html/"{gjs,python} "${ED}/usr/share/gtk-doc/html/gimp3_g-ir-docs/" || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_pkg_postrm
|
||||
}
|
@ -1,262 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
LUA_COMPAT=( luajit )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
GNOME2_EAUTORECONF=yes
|
||||
VALA_MIN_API_VERSION="0.44"
|
||||
VALA_USE_DEPEND=vapigen
|
||||
|
||||
inherit gnome2 lua-single python-single-r1 toolchain-funcs vala virtualx
|
||||
|
||||
DESCRIPTION="GNU Image Manipulation Program"
|
||||
HOMEPAGE="https://www.gimp.org/"
|
||||
SRC_URI="mirror://gimp/v2.99/${P}.tar.bz2"
|
||||
LICENSE="GPL-3 LGPL-3"
|
||||
SLOT="0/3"
|
||||
|
||||
IUSE="aalib alsa aqua doc gnome heif javascript jpeg2k lua mng openexr postscript python udev unwind vala vector-icons webp wmf xpm cpu_flags_ppc_altivec cpu_flags_x86_mmx cpu_flags_x86_sse"
|
||||
REQUIRED_USE="
|
||||
lua? ( ${LUA_REQUIRED_USE} )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# media-libs/{babl,gegl} are required to be built with USE="introspection"
|
||||
# to fix the compilation checking of /usr/share/gir-1.0/{Babl-0.1gir,Gegl-0.4.gir}
|
||||
COMMON_DEPEND="
|
||||
>=app-text/poppler-0.90.1[cairo]
|
||||
>=app-text/poppler-data-0.4.9
|
||||
>=dev-libs/appstream-glib-0.7.16
|
||||
>=dev-libs/atk-2.34.1
|
||||
>=dev-libs/glib-2.68.0:2
|
||||
>=dev-libs/json-glib-1.4.4
|
||||
dev-libs/libxml2:2
|
||||
dev-libs/libxslt
|
||||
>=gnome-base/librsvg-2.40.21:2
|
||||
>=media-gfx/mypaint-brushes-2.0.2:=
|
||||
>=media-libs/babl-0.1.86[introspection,lcms,vala?]
|
||||
>=media-libs/fontconfig-2.12.6
|
||||
>=media-libs/freetype-2.10.2
|
||||
>=media-libs/gegl-0.4.32:0.4[cairo,introspection,lcms,vala?]
|
||||
>=media-libs/gexiv2-0.10.10
|
||||
>=media-libs/harfbuzz-2.6.5:=
|
||||
>=media-libs/lcms-2.9:2
|
||||
>=media-libs/libmypaint-1.6.1:=
|
||||
>=media-libs/libpng-1.6.37:0=
|
||||
>=media-libs/tiff-4.1.0:0
|
||||
net-libs/glib-networking[ssl]
|
||||
sys-libs/zlib
|
||||
virtual/jpeg
|
||||
>=x11-libs/cairo-1.16.0
|
||||
>=x11-libs/gdk-pixbuf-2.40.0:2[introspection]
|
||||
>=x11-libs/gtk+-3.24.16:3[introspection]
|
||||
x11-libs/libXcursor
|
||||
>=x11-libs/pango-1.44.7
|
||||
aalib? ( media-libs/aalib )
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.0 )
|
||||
aqua? ( >=x11-libs/gtk-mac-integration-2.0.0 )
|
||||
heif? ( >=media-libs/libheif-1.9.1:= )
|
||||
javascript? ( dev-libs/gjs )
|
||||
jpeg2k? ( >=media-libs/openjpeg-2.3.1:2= )
|
||||
lua? (
|
||||
${LUA_DEPS}
|
||||
$(lua_gen_cond_dep '
|
||||
dev-lua/lgi[${LUA_USEDEP}]
|
||||
')
|
||||
)
|
||||
mng? ( media-libs/libmng:= )
|
||||
openexr? ( >=media-libs/openexr-2.3.0:= )
|
||||
postscript? ( app-text/ghostscript-gpl )
|
||||
python? (
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/pygobject-3.0:3[${PYTHON_USEDEP}]
|
||||
')
|
||||
)
|
||||
udev? ( >=dev-libs/libgudev-167:= )
|
||||
unwind? ( >=sys-libs/libunwind-1.1.0:= )
|
||||
webp? ( >=media-libs/libwebp-0.6.0:= )
|
||||
wmf? ( >=media-libs/libwmf-0.2.8 )
|
||||
xpm? ( x11-libs/libXpm )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
x11-themes/hicolor-icon-theme
|
||||
gnome? ( gnome-base/gvfs )
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
>=dev-lang/perl-5.30.3
|
||||
dev-util/gdbus-codegen
|
||||
dev-util/gtk-update-icon-cache
|
||||
>=dev-util/intltool-0.51.0
|
||||
>=sys-devel/autoconf-2.54
|
||||
>=sys-devel/automake-1.11
|
||||
>=sys-devel/gettext-0.21
|
||||
>=sys-devel/libtool-2.4.6
|
||||
doc? (
|
||||
app-text/yelp-tools
|
||||
dev-libs/gobject-introspection[doctool]
|
||||
>=dev-util/gtk-doc-1.32
|
||||
dev-util/gtk-doc-am
|
||||
)
|
||||
vala? ( $(vala_depend) )
|
||||
"
|
||||
|
||||
# TODO: there are probably more atoms in DEPEND which should be in BDEPEND now
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
DOCS=( "AUTHORS" "HACKING" "NEWS" "README" "README.i18n" )
|
||||
|
||||
# Bugs 685210 (and duplicate 691070)
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2.10_fix_test-appdata.patch"
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
use lua && lua-single_pkg_setup
|
||||
|
||||
if use python; then
|
||||
python-single-r1_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/mypaint-brushes-1.0/mypaint-brushes-2.0/' configure.ac || die #737794
|
||||
|
||||
sed -i -e 's/== "xquartz"/= "xquartz"/' configure.ac || die #494864
|
||||
sed 's:-DGIMP_DISABLE_DEPRECATED:-DGIMP_protect_DISABLE_DEPRECATED:g' -i configure.ac || die #615144
|
||||
|
||||
gnome2_src_prepare # calls eautoreconf
|
||||
|
||||
use vala && vala_src_prepare
|
||||
|
||||
sed 's:-DGIMP_protect_DISABLE_DEPRECATED:-DGIMP_DISABLE_DEPRECATED:g' -i configure || die #615144
|
||||
fgrep -q GIMP_DISABLE_DEPRECATED configure || die #615144, self-test
|
||||
|
||||
export CC_FOR_BUILD="$(tc-getBUILD_CC)"
|
||||
}
|
||||
|
||||
_adjust_sandbox() {
|
||||
# Bugs #569738 and #591214
|
||||
local nv
|
||||
for nv in /dev/nvidia-uvm /dev/nvidiactl /dev/nvidia{0..9} ; do
|
||||
# We do not check for existence as they may show up later
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=569738#c21
|
||||
addwrite "${nv}"
|
||||
done
|
||||
|
||||
addwrite /dev/dri/ # bugs #574038 and #684886
|
||||
addwrite /dev/ati/ # bug #589198
|
||||
addwrite /proc/mtrr # bug #589198
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
_adjust_sandbox
|
||||
|
||||
local myconf=(
|
||||
GEGL="${EPREFIX}"/usr/bin/gegl-0.4
|
||||
GDBUS_CODEGEN="${EPREFIX}"/usr/bin/gdbus-codegen
|
||||
|
||||
--enable-default-binary
|
||||
|
||||
--disable-check-update
|
||||
--enable-mp
|
||||
--with-appdata-test
|
||||
--with-bug-report-url=https://bugs.gentoo.org/
|
||||
--with-xmc
|
||||
--without-libbacktrace
|
||||
--without-webkit
|
||||
--without-xvfb-run
|
||||
$(use_enable cpu_flags_ppc_altivec altivec)
|
||||
$(use_enable cpu_flags_x86_mmx mmx)
|
||||
$(use_enable cpu_flags_x86_sse sse)
|
||||
$(use_enable doc gtk_doc)
|
||||
$(use_enable doc g-ir-doc)
|
||||
$(use_enable vector-icons)
|
||||
$(use_with aalib aa)
|
||||
$(use_with alsa)
|
||||
$(use_with !aqua x)
|
||||
$(use_with heif libheif)
|
||||
$(use_with javascript)
|
||||
$(use_with jpeg2k jpeg2000)
|
||||
$(use_with lua)
|
||||
$(use_with mng libmng)
|
||||
$(use_with openexr)
|
||||
$(use_with postscript gs)
|
||||
$(use_with python)
|
||||
$(use_with udev gudev)
|
||||
$(use_with unwind libunwind)
|
||||
$(use_with vala)
|
||||
$(use_with webp)
|
||||
$(use_with wmf)
|
||||
$(use_with xpm libxpm)
|
||||
)
|
||||
|
||||
gnome2_src_configure "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export XDG_DATA_DIRS="${EPREFIX}"/usr/share # bug 587004
|
||||
gnome2_src_compile
|
||||
}
|
||||
|
||||
# for https://bugs.gentoo.org/664938
|
||||
_rename_plugins() {
|
||||
einfo 'Renaming plug-ins to not collide with pre-2.10.6 file layout (bug #664938)...'
|
||||
local prepend=gimp-org-
|
||||
(
|
||||
cd "${ED}"/usr/$(get_libdir)/gimp/2.99/plug-ins || exit 1
|
||||
for plugin_slash in $(ls -d1 */); do
|
||||
plugin=${plugin_slash%/}
|
||||
if [[ -f ${plugin}/${plugin} ]]; then
|
||||
# NOTE: Folder and file name need to match for Gimp to load that plug-in
|
||||
# so "file-svg/file-svg" becomes "${prepend}file-svg/${prepend}file-svg"
|
||||
mv ${plugin}/{,${prepend}}${plugin} || exit 1
|
||||
mv {,${prepend}}${plugin} || exit 1
|
||||
fi
|
||||
done
|
||||
)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
|
||||
if use python; then
|
||||
python_optimize
|
||||
fi
|
||||
|
||||
# Workaround for bug #321111 to give GIMP the least
|
||||
# precedence on PDF documents by default
|
||||
mv "${ED}"/usr/share/applications/{,zzz-}gimp.desktop || die
|
||||
|
||||
find "${D}" -name '*.la' -type f -delete || die
|
||||
|
||||
# Prevent dead symlink gimp-console.1 from downstream man page compression (bug #433527)
|
||||
mv "${ED}"/usr/share/man/man1/gimp-console{-*,}.1 || die
|
||||
|
||||
_rename_plugins || die
|
||||
|
||||
if use doc; then
|
||||
mkdir "${ED}/usr/share/gtk-doc/html/gimp3_g-ir-docs" || die
|
||||
cp -r "${S}/devel-docs/g-ir-docs/html/"{gjs,python} "${ED}/usr/share/gtk-doc/html/gimp3_g-ir-docs/" || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_pkg_postrm
|
||||
}
|
Binary file not shown.
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
VALA_USE_DEPEND=vapigen
|
||||
|
||||
inherit meson gnome2-utils vala
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/babl.git"
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="https://ftp.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.xz"
|
||||
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 -sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A dynamic, any to any, pixel format conversion library"
|
||||
HOMEPAGE="https://gegl.org/babl/"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
IUSE="introspection lcms vala cpu_flags_x86_avx2 cpu_flags_x86_f16c cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse4_1"
|
||||
REQUIRED_USE="vala? ( introspection )"
|
||||
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
vala? ( $(vala_depend) )
|
||||
"
|
||||
RDEPEND="
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.32:= )
|
||||
lcms? ( >=media-libs/lcms-2.8:2 )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
gnome2_environment_reset
|
||||
use vala && vala_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Automagic rsvg support is just for website generation we do not call,
|
||||
# so we don't need to fix it
|
||||
# w3m is used for dist target thus no issue for us that it is automagically
|
||||
# detected
|
||||
local emesonargs=(
|
||||
-Dwith-docs=false
|
||||
$(meson_use introspection enable-gir)
|
||||
$(meson_use lcms with-lcms)
|
||||
$(meson_use vala enable-vapi)
|
||||
$(meson_use cpu_flags_x86_avx2 enable-avx2)
|
||||
$(meson_use cpu_flags_x86_f16c enable-f16c)
|
||||
$(meson_use cpu_flags_x86_mmx enable-mmx)
|
||||
$(meson_use cpu_flags_x86_sse enable-sse)
|
||||
$(meson_use cpu_flags_x86_sse2 enable-sse2)
|
||||
$(meson_use cpu_flags_x86_sse4_1 enable-sse4_1)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
VALA_USE_DEPEND=vapigen
|
||||
|
||||
inherit meson gnome2-utils vala
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/babl.git"
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="https://ftp.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv -sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A dynamic, any to any, pixel format conversion library"
|
||||
HOMEPAGE="https://gegl.org/babl/"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
IUSE="introspection lcms vala cpu_flags_x86_avx2 cpu_flags_x86_f16c cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse4_1"
|
||||
REQUIRED_USE="vala? ( introspection )"
|
||||
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
vala? ( $(vala_depend) )
|
||||
"
|
||||
RDEPEND="
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.32:= )
|
||||
lcms? ( >=media-libs/lcms-2.8:2 )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
gnome2_environment_reset
|
||||
use vala && vala_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Automagic rsvg support is just for website generation we do not call,
|
||||
# so we don't need to fix it
|
||||
# w3m is used for dist target thus no issue for us that it is automagically
|
||||
# detected
|
||||
local emesonargs=(
|
||||
-Dwith-docs=false
|
||||
$(meson_use introspection enable-gir)
|
||||
$(meson_use lcms with-lcms)
|
||||
$(meson_use vala enable-vapi)
|
||||
$(meson_use cpu_flags_x86_avx2 enable-avx2)
|
||||
$(meson_use cpu_flags_x86_f16c enable-f16c)
|
||||
$(meson_use cpu_flags_x86_mmx enable-mmx)
|
||||
$(meson_use cpu_flags_x86_sse enable-sse)
|
||||
$(meson_use cpu_flags_x86_sse2 enable-sse2)
|
||||
$(meson_use cpu_flags_x86_sse4_1 enable-sse4_1)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
From a1dd28e7e7c022c4e887006311c916fe5d9e4c0e Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Pipping <sebastian@pipping.org>
|
||||
Date: Sun, 27 Oct 2019 21:55:03 +0100
|
||||
Subject: [PATCH] Drop failing tests
|
||||
|
||||
---
|
||||
tests/compositions/meson.build | 2 ++
|
||||
tests/python/meson.build | 2 --
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/tests/compositions/meson.build b/tests/compositions/meson.build
|
||||
index 8699e7c..5e76e8c 100644
|
||||
--- a/tests/compositions/meson.build
|
||||
+++ b/tests/compositions/meson.build
|
||||
@@ -87,6 +87,7 @@ test('compositions_with_opencl',
|
||||
)
|
||||
endif
|
||||
|
||||
+if false
|
||||
test('compositions_without_opencl',
|
||||
python,
|
||||
args: [
|
||||
@@ -100,3 +101,4 @@ test('compositions_without_opencl',
|
||||
suite: 'compositions',
|
||||
is_parallel: false,
|
||||
)
|
||||
+endif
|
||||
diff --git a/tests/python/meson.build b/tests/python/meson.build
|
||||
index c6782e6..47a160b 100644
|
||||
--- a/tests/python/meson.build
|
||||
+++ b/tests/python/meson.build
|
||||
@@ -2,8 +2,6 @@
|
||||
testnames = [
|
||||
'gegl-buffer',
|
||||
'gegl-color',
|
||||
- 'gegl-format',
|
||||
- 'gegl-node',
|
||||
'gegl',
|
||||
]
|
||||
|
||||
--
|
||||
2.23.0
|
||||
|
@ -1,39 +0,0 @@
|
||||
From eeecf286efb312709e43341eaadc64eb006bc6bf Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Pipping <sebastian@pipping.org>
|
||||
Date: Sun, 27 Oct 2019 22:05:58 +0100
|
||||
Subject: [PATCH] Add suffix "-0.4" to installed programs
|
||||
|
||||
---
|
||||
bin/meson.build | 2 +-
|
||||
tools/meson.build | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/bin/meson.build b/bin/meson.build
|
||||
index 4daf6cb..b77b692 100644
|
||||
--- a/bin/meson.build
|
||||
+++ b/bin/meson.build
|
||||
@@ -42,7 +42,7 @@ if libspiro.found()
|
||||
gegl_deps += [ libspiro, ]
|
||||
endif
|
||||
|
||||
-gegl_bin = executable('gegl',
|
||||
+gegl_bin = executable('gegl-0.4',
|
||||
gegl_sources,
|
||||
include_directories: [ rootInclude, geglInclude, ],
|
||||
dependencies: gegl_deps,
|
||||
diff --git a/tools/meson.build b/tools/meson.build
|
||||
index 43c5495..c1b0d63 100644
|
||||
--- a/tools/meson.build
|
||||
+++ b/tools/meson.build
|
||||
@@ -19,7 +19,7 @@ detect_opencl = executable(
|
||||
install: false,
|
||||
)
|
||||
gegl_imgcmp = executable(
|
||||
- 'gegl-imgcmp',
|
||||
+ 'gegl-imgcmp-0.4',
|
||||
'gegl-imgcmp.c',
|
||||
include_directories: [ rootInclude, geglInclude, ],
|
||||
dependencies: [ tools_deps, ],
|
||||
--
|
||||
2.23.0
|
||||
|
@ -1,24 +0,0 @@
|
||||
From 130cd583530dc41adfdec76d6662302f833e6033 Mon Sep 17 00:00:00 2001
|
||||
From: Olivier Tilloy <olivier.tilloy@canonical.com>
|
||||
Date: Fri, 5 Mar 2021 12:58:18 +0100
|
||||
Subject: [PATCH] Fix build with glib 2.67.3 (see
|
||||
https://gitlab.gnome.org/GNOME/glib/-/issues/2331).
|
||||
|
||||
---
|
||||
operations/external/exr-load.cpp | 2 --
|
||||
1 file changed, 2 deletions(-)
|
||||
|
||||
diff --git a/operations/external/exr-load.cpp b/operations/external/exr-load.cpp
|
||||
index e864f7e3e..28403639c 100644
|
||||
--- a/operations/external/exr-load.cpp
|
||||
+++ b/operations/external/exr-load.cpp
|
||||
@@ -29,9 +29,7 @@ property_file_path (path, "File", "")
|
||||
#define GEGL_OP_NAME exr_load
|
||||
#define GEGL_OP_C_FILE "exr-load.cpp"
|
||||
|
||||
-extern "C" {
|
||||
#include "gegl-op.h"
|
||||
-}
|
||||
|
||||
#include <ImfInputFile.h>
|
||||
#include <ImfChannelList.h>
|
@ -1,22 +0,0 @@
|
||||
From 499a239d158fadb3a04499255b5b282a8a6023bb Mon Sep 17 00:00:00 2001
|
||||
From: Antonio Rojas <arojas@archlinux.org>
|
||||
Date: Sat, 24 Apr 2021 10:51:09 +0000
|
||||
Subject: [PATCH] Fix build with OpenEXR 3
|
||||
|
||||
Add a header that is no longer transitively included
|
||||
---
|
||||
operations/external/exr-save.cc | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/operations/external/exr-save.cc b/operations/external/exr-save.cc
|
||||
index 1e8c09d96..87abed511 100644
|
||||
--- a/operations/external/exr-save.cc
|
||||
+++ b/operations/external/exr-save.cc
|
||||
@@ -45,6 +45,7 @@ extern "C" {
|
||||
#include <ImfChromaticities.h>
|
||||
#include <ImfStandardAttributes.h>
|
||||
#include <ImfArray.h>
|
||||
+#include <ImfFrameBuffer.h>
|
||||
#include "ImathRandom.h"
|
||||
|
||||
|
@ -1,167 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,8,9} )
|
||||
# vala and introspection support is broken, bug #468208
|
||||
VALA_USE_DEPEND=vapigen
|
||||
|
||||
inherit meson gnome2-utils python-any-r1 vala
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/gegl.git"
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="https://download.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.xz"
|
||||
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A graph based image processing framework"
|
||||
HOMEPAGE="https://gegl.org/"
|
||||
|
||||
LICENSE="|| ( GPL-3+ LGPL-3 )"
|
||||
SLOT="0.4"
|
||||
|
||||
IUSE="cairo debug ffmpeg introspection lcms lensfun openexr pdf raw sdl svg test tiff umfpack vala v4l webp"
|
||||
REQUIRED_USE="
|
||||
svg? ( cairo )
|
||||
test? ( introspection )
|
||||
vala? ( introspection )
|
||||
"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# NOTE: Even current libav 11.4 does not have AV_CODEC_CAP_VARIABLE_FRAME_SIZE
|
||||
# so there is no chance to support libav right now (Gentoo bug #567638)
|
||||
# If it returns, please check prior GEGL ebuilds for how libav was integrated. Thanks!
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.68.2:2
|
||||
>=dev-libs/json-glib-1.2.6
|
||||
>=media-libs/babl-0.1.78[introspection?,lcms?,vala?]
|
||||
media-libs/libnsgif
|
||||
>=media-libs/libpng-1.6.0:0=
|
||||
>=sys-libs/zlib-1.2.0
|
||||
virtual/jpeg:0=
|
||||
>=x11-libs/gdk-pixbuf-2.32:2
|
||||
>=x11-libs/pango-1.38.0
|
||||
cairo? ( >=x11-libs/cairo-1.12.2 )
|
||||
ffmpeg? ( media-video/ffmpeg:0= )
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.32:= )
|
||||
lcms? ( >=media-libs/lcms-2.8:2 )
|
||||
lensfun? ( >=media-libs/lensfun-0.2.5 )
|
||||
openexr? ( >=media-libs/openexr-1.6.1:= )
|
||||
pdf? ( >=app-text/poppler-0.71.0[cairo] )
|
||||
raw? ( >=media-libs/libraw-0.15.4:0= )
|
||||
sdl? ( >=media-libs/libsdl-1.2.0 )
|
||||
svg? ( >=gnome-base/librsvg-2.40.6:2 )
|
||||
tiff? ( >=media-libs/tiff-4:0 )
|
||||
umfpack? ( sci-libs/umfpack )
|
||||
v4l? ( >=media-libs/libv4l-1.0.1 )
|
||||
webp? ( >=media-libs/libwebp-0.5.0:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
dev-lang/perl
|
||||
>=dev-util/gtk-doc-am-1
|
||||
>=sys-devel/gettext-0.19.8
|
||||
>=sys-devel/libtool-2.2
|
||||
virtual/pkgconfig
|
||||
test? ( $(python_gen_any_dep '>=dev-python/pygobject-3.2:3[${PYTHON_USEDEP}]') )
|
||||
vala? ( $(vala_depend) )
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS docs/ChangeLog docs/NEWS.txt )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.4.18-drop-failing-tests.patch
|
||||
"${FILESDIR}"/${PN}-0.4.18-program-suffix.patch
|
||||
"${FILESDIR}"/${P}-fix-build-glib-2.67.3.patch
|
||||
"${FILESDIR}"/${PN}-0.4.30-fix-build-openexr-3.patch
|
||||
)
|
||||
|
||||
python_check_deps() {
|
||||
use test || return 0
|
||||
has_version -b ">=dev-python/pygobject-3.2:3[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# don't require Apple's OpenCL on versions of OSX that don't have it
|
||||
if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -le 9 ]] ; then
|
||||
sed -i -e 's/#ifdef __APPLE__/#if 0/' gegl/opencl/* || die
|
||||
fi
|
||||
|
||||
# commit 7c78497b : tests that use gegl.png are broken on non-amd64
|
||||
sed -e '/clones.xml/d' \
|
||||
-e '/composite-transform.xml/d' \
|
||||
-i tests/compositions/meson.build || die
|
||||
|
||||
# fix skipping mipmap tests due to executable not found
|
||||
for item in "invert-crop.sh" "invert.sh" "rotate-crop.sh" "rotate.sh" "unsharp-crop.sh" "unsharp.sh"; do
|
||||
sed -i "s:/bin/gegl:/bin/gegl-0.4:g" "${S}/tests/mipmap/${item}" || die
|
||||
sed -i "s:/tools/gegl-imgcmp:/tools/gegl-imgcmp-0.4:g" "${S}/tests/mipmap/${item}" || die
|
||||
done
|
||||
|
||||
# fix 'build'headers from *.cl on gentoo-hardened, bug 739816
|
||||
pushd "${S}/opencl/" || die
|
||||
for file in *.cl; do
|
||||
if [ -f "$file" ]; then
|
||||
"${EPYTHON}" cltostring.py "${file}" || die
|
||||
fi
|
||||
done
|
||||
popd || die
|
||||
|
||||
gnome2_environment_reset
|
||||
|
||||
use vala && vala_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
# - Disable documentation as the generating is bit automagic
|
||||
# if anyone wants to work on it just create bug with patch
|
||||
-Ddocs=false
|
||||
-Dexiv2=disabled
|
||||
-Dgdk-pixbuf=enabled
|
||||
-Dgexiv2=disabled
|
||||
# - There are two checks for dot, one controllable by --with(out)-graphviz
|
||||
# which toggles HAVE_GRAPHVIZ that is not used anywhere. Yes.
|
||||
-Dgraphviz=disabled
|
||||
-Djasper=disabled
|
||||
-Dlibjpeg=enabled
|
||||
-Dlibpng=enabled
|
||||
# - libspiro: not in portage main tree
|
||||
-Dlibspiro=disabled
|
||||
-Dlua=disabled
|
||||
-Dmrg=disabled
|
||||
-Dpango=enabled
|
||||
-Dsdl2=disabled
|
||||
# - Parameter -Dworkshop=false disables any use of Lua, effectivly
|
||||
-Dworkshop=false
|
||||
$(meson_feature cairo)
|
||||
$(meson_feature cairo pangocairo)
|
||||
$(meson_feature ffmpeg libav)
|
||||
$(meson_feature lcms)
|
||||
$(meson_feature lensfun)
|
||||
$(meson_feature openexr)
|
||||
$(meson_feature pdf poppler)
|
||||
$(meson_feature raw libraw)
|
||||
$(meson_feature sdl sdl1)
|
||||
$(meson_feature svg librsvg)
|
||||
$(meson_feature test pygobject)
|
||||
$(meson_feature tiff libtiff)
|
||||
$(meson_feature umfpack)
|
||||
# - v4l support does not work with our media-libs/libv4l-0.8.9,
|
||||
# upstream bug at https://bugzilla.gnome.org/show_bug.cgi?id=654675
|
||||
$(meson_feature v4l libv4l)
|
||||
$(meson_feature v4l libv4l2)
|
||||
$(meson_feature vala vapigen)
|
||||
$(meson_feature webp)
|
||||
$(meson_use introspection)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
@ -1,167 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,8,9} )
|
||||
# vala and introspection support is broken, bug #468208
|
||||
VALA_USE_DEPEND=vapigen
|
||||
|
||||
inherit meson gnome2-utils python-any-r1 vala
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/gegl.git"
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="https://download.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A graph based image processing framework"
|
||||
HOMEPAGE="https://gegl.org/"
|
||||
|
||||
LICENSE="|| ( GPL-3+ LGPL-3 )"
|
||||
SLOT="0.4"
|
||||
|
||||
IUSE="cairo debug ffmpeg introspection lcms lensfun openexr pdf raw sdl svg test tiff umfpack vala v4l webp"
|
||||
REQUIRED_USE="
|
||||
svg? ( cairo )
|
||||
test? ( introspection )
|
||||
vala? ( introspection )
|
||||
"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# NOTE: Even current libav 11.4 does not have AV_CODEC_CAP_VARIABLE_FRAME_SIZE
|
||||
# so there is no chance to support libav right now (Gentoo bug #567638)
|
||||
# If it returns, please check prior GEGL ebuilds for how libav was integrated. Thanks!
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.68.2:2
|
||||
>=dev-libs/json-glib-1.2.6
|
||||
>=media-libs/babl-0.1.84[introspection?,lcms?,vala?]
|
||||
media-libs/libnsgif
|
||||
>=media-libs/libpng-1.6.0:0=
|
||||
>=sys-libs/zlib-1.2.0
|
||||
virtual/jpeg:0=
|
||||
>=x11-libs/gdk-pixbuf-2.32:2
|
||||
>=x11-libs/pango-1.38.0
|
||||
cairo? ( >=x11-libs/cairo-1.12.2 )
|
||||
ffmpeg? ( media-video/ffmpeg:0= )
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.32:= )
|
||||
lcms? ( >=media-libs/lcms-2.8:2 )
|
||||
lensfun? ( >=media-libs/lensfun-0.2.5 )
|
||||
openexr? ( >=media-libs/openexr-1.6.1:= )
|
||||
pdf? ( >=app-text/poppler-0.71.0[cairo] )
|
||||
raw? ( >=media-libs/libraw-0.15.4:0= )
|
||||
sdl? ( >=media-libs/libsdl-1.2.0 )
|
||||
svg? ( >=gnome-base/librsvg-2.40.6:2 )
|
||||
tiff? ( >=media-libs/tiff-4:0 )
|
||||
umfpack? ( sci-libs/umfpack )
|
||||
v4l? ( >=media-libs/libv4l-1.0.1 )
|
||||
webp? ( >=media-libs/libwebp-0.5.0:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
dev-lang/perl
|
||||
>=dev-util/gtk-doc-am-1
|
||||
>=sys-devel/gettext-0.19.8
|
||||
>=sys-devel/libtool-2.2
|
||||
virtual/pkgconfig
|
||||
test? ( $(python_gen_any_dep '>=dev-python/pygobject-3.2:3[${PYTHON_USEDEP}]') )
|
||||
vala? ( $(vala_depend) )
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS docs/ChangeLog docs/NEWS.txt )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.4.18-drop-failing-tests.patch
|
||||
"${FILESDIR}"/${PN}-0.4.18-program-suffix.patch
|
||||
"${FILESDIR}"/${PN}-0.4.26-fix-build-glib-2.67.3.patch
|
||||
"${FILESDIR}"/${PN}-0.4.30-fix-build-openexr-3.patch
|
||||
)
|
||||
|
||||
python_check_deps() {
|
||||
use test || return 0
|
||||
has_version -b ">=dev-python/pygobject-3.2:3[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# don't require Apple's OpenCL on versions of OSX that don't have it
|
||||
if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -le 9 ]] ; then
|
||||
sed -i -e 's/#ifdef __APPLE__/#if 0/' gegl/opencl/* || die
|
||||
fi
|
||||
|
||||
# commit 7c78497b : tests that use gegl.png are broken on non-amd64
|
||||
sed -e '/clones.xml/d' \
|
||||
-e '/composite-transform.xml/d' \
|
||||
-i tests/compositions/meson.build || die
|
||||
|
||||
# fix skipping mipmap tests due to executable not found
|
||||
for item in "invert-crop.sh" "invert.sh" "rotate-crop.sh" "rotate.sh" "unsharp-crop.sh" "unsharp.sh"; do
|
||||
sed -i "s:/bin/gegl:/bin/gegl-0.4:g" "${S}/tests/mipmap/${item}" || die
|
||||
sed -i "s:/tools/gegl-imgcmp:/tools/gegl-imgcmp-0.4:g" "${S}/tests/mipmap/${item}" || die
|
||||
done
|
||||
|
||||
# fix 'build'headers from *.cl on gentoo-hardened, bug 739816
|
||||
pushd "${S}/opencl/" || die
|
||||
for file in *.cl; do
|
||||
if [ -f "$file" ]; then
|
||||
"${EPYTHON}" cltostring.py "${file}" || die
|
||||
fi
|
||||
done
|
||||
popd || die
|
||||
|
||||
gnome2_environment_reset
|
||||
|
||||
use vala && vala_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
# - Disable documentation as the generating is bit automagic
|
||||
# if anyone wants to work on it just create bug with patch
|
||||
-Ddocs=false
|
||||
-Dexiv2=disabled
|
||||
-Dgdk-pixbuf=enabled
|
||||
-Dgexiv2=disabled
|
||||
# - There are two checks for dot, one controllable by --with(out)-graphviz
|
||||
# which toggles HAVE_GRAPHVIZ that is not used anywhere. Yes.
|
||||
-Dgraphviz=disabled
|
||||
-Djasper=disabled
|
||||
-Dlibjpeg=enabled
|
||||
-Dlibpng=enabled
|
||||
# - libspiro: not in portage main tree
|
||||
-Dlibspiro=disabled
|
||||
-Dlua=disabled
|
||||
-Dmrg=disabled
|
||||
-Dpango=enabled
|
||||
-Dsdl2=disabled
|
||||
# - Parameter -Dworkshop=false disables any use of Lua, effectivly
|
||||
-Dworkshop=false
|
||||
$(meson_feature cairo)
|
||||
$(meson_feature cairo pangocairo)
|
||||
$(meson_feature ffmpeg libav)
|
||||
$(meson_feature lcms)
|
||||
$(meson_feature lensfun)
|
||||
$(meson_feature openexr)
|
||||
$(meson_feature pdf poppler)
|
||||
$(meson_feature raw libraw)
|
||||
$(meson_feature sdl sdl1)
|
||||
$(meson_feature svg librsvg)
|
||||
$(meson_feature test pygobject)
|
||||
$(meson_feature tiff libtiff)
|
||||
$(meson_feature umfpack)
|
||||
# - v4l support does not work with our media-libs/libv4l-0.8.9,
|
||||
# upstream bug at https://bugzilla.gnome.org/show_bug.cgi?id=654675
|
||||
$(meson_feature v4l libv4l)
|
||||
$(meson_feature v4l libv4l2)
|
||||
$(meson_feature vala vapigen)
|
||||
$(meson_feature webp)
|
||||
$(meson_use introspection)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
@ -1,161 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
# vala and introspection support is broken, bug #468208
|
||||
VALA_USE_DEPEND=vapigen
|
||||
|
||||
inherit meson optfeature python-any-r1 vala
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/gegl.git"
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="https://download.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A graph based image processing framework"
|
||||
HOMEPAGE="https://gegl.org/"
|
||||
|
||||
LICENSE="|| ( GPL-3+ LGPL-3 )"
|
||||
SLOT="0.4"
|
||||
|
||||
IUSE="cairo debug ffmpeg introspection lcms lensfun openexr pdf raw sdl svg test tiff umfpack vala v4l webp"
|
||||
REQUIRED_USE="
|
||||
svg? ( cairo )
|
||||
test? ( introspection )
|
||||
vala? ( introspection )
|
||||
"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# NOTE: Even current libav 11.4 does not have AV_CODEC_CAP_VARIABLE_FRAME_SIZE
|
||||
# so there is no chance to support libav right now (Gentoo bug #567638)
|
||||
# If it returns, please check prior GEGL ebuilds for how libav was integrated. Thanks!
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.68.2:2
|
||||
>=dev-libs/json-glib-1.2.6
|
||||
>=media-libs/babl-0.1.84[introspection?,lcms?,vala?]
|
||||
media-libs/libnsgif
|
||||
>=media-libs/libpng-1.6.0:0=
|
||||
>=sys-libs/zlib-1.2.0
|
||||
virtual/jpeg:0=
|
||||
>=x11-libs/gdk-pixbuf-2.32:2
|
||||
>=x11-libs/pango-1.38.0
|
||||
cairo? ( >=x11-libs/cairo-1.12.2 )
|
||||
ffmpeg? ( media-video/ffmpeg:0= )
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.32:= )
|
||||
lcms? ( >=media-libs/lcms-2.8:2 )
|
||||
lensfun? ( >=media-libs/lensfun-0.2.5 )
|
||||
openexr? ( >=media-libs/openexr-1.6.1:= )
|
||||
pdf? ( >=app-text/poppler-0.71.0[cairo] )
|
||||
raw? ( >=media-libs/libraw-0.15.4:0= )
|
||||
sdl? ( >=media-libs/libsdl-1.2.0 )
|
||||
svg? ( >=gnome-base/librsvg-2.40.6:2 )
|
||||
tiff? ( >=media-libs/tiff-4:0 )
|
||||
umfpack? ( sci-libs/umfpack )
|
||||
v4l? ( >=media-libs/libv4l-1.0.1 )
|
||||
webp? ( >=media-libs/libwebp-0.5.0:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
dev-lang/perl
|
||||
>=dev-util/gtk-doc-am-1
|
||||
>=sys-devel/gettext-0.19.8
|
||||
>=sys-devel/libtool-2.2
|
||||
virtual/pkgconfig
|
||||
test? ( $(python_gen_any_dep '>=dev-python/pygobject-3.2:3[${PYTHON_USEDEP}]') )
|
||||
vala? ( $(vala_depend) )
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS docs/ChangeLog docs/NEWS.txt )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-fix-build-openexr-3.patch
|
||||
)
|
||||
|
||||
python_check_deps() {
|
||||
use test || return 0
|
||||
has_version -b ">=dev-python/pygobject-3.2:3[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# patch executables suffix
|
||||
sed -i -e "s/'gegl'/'gegl-0.4'/" bin/meson.build || die
|
||||
sed -i -e "s/'gegl-imgcmp'/'gegl-imgcmp-0.4'/" tools/meson.build || die
|
||||
sed -i -e "s/gegl-imgcmp/gegl-imgcmp-0.4/" tests/simple/test-exp-combine.sh || die
|
||||
# skip UNEXPECTED PASSED 'matting-levin' test
|
||||
sed -i -e "s/composition_tests += 'matting-levin'//" \
|
||||
-e "s/composition_tests_fail += 'matting-levin'//" tests/compositions/meson.build || die
|
||||
|
||||
# don't require Apple's OpenCL on versions of OSX that don't have it
|
||||
if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -le 9 ]] ; then
|
||||
sed -i -e 's/#ifdef __APPLE__/#if 0/' gegl/opencl/* || die
|
||||
fi
|
||||
|
||||
# commit 7c78497b : tests that use gegl.png are broken on non-amd64
|
||||
sed -e '/clones.xml/d' \
|
||||
-e '/composite-transform.xml/d' \
|
||||
-i tests/compositions/meson.build || die
|
||||
|
||||
# fix 'build'headers from *.cl on gentoo-hardened, bug 739816
|
||||
pushd "${S}/opencl/" || die
|
||||
for file in *.cl; do
|
||||
if [[ -f ${file} ]]; then
|
||||
"${EPYTHON}" cltostring.py "${file}" || die
|
||||
fi
|
||||
done
|
||||
popd || die
|
||||
|
||||
use vala && vala_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
# - Disable documentation as the generating is bit automagic
|
||||
# if anyone wants to work on it just create bug with patch
|
||||
-Ddocs=false
|
||||
-Dexiv2=disabled
|
||||
-Dgdk-pixbuf=enabled
|
||||
-Djasper=disabled
|
||||
# - libspiro: not in portage main tree
|
||||
-Dlibspiro=disabled
|
||||
-Dlua=disabled
|
||||
-Dmrg=disabled
|
||||
-Dpango=enabled
|
||||
-Dsdl2=disabled
|
||||
# - Parameter -Dworkshop=false disables any use of Lua, effectivly
|
||||
-Dworkshop=false
|
||||
$(meson_feature cairo)
|
||||
$(meson_feature cairo pangocairo)
|
||||
$(meson_feature ffmpeg libav)
|
||||
$(meson_feature lcms)
|
||||
$(meson_feature lensfun)
|
||||
$(meson_feature openexr)
|
||||
$(meson_feature pdf poppler)
|
||||
$(meson_feature raw libraw)
|
||||
$(meson_feature sdl sdl1)
|
||||
$(meson_feature svg librsvg)
|
||||
$(meson_feature test pygobject)
|
||||
$(meson_feature tiff libtiff)
|
||||
$(meson_feature umfpack)
|
||||
# - v4l support does not work with our media-libs/libv4l-0.8.9,
|
||||
# upstream bug at https://bugzilla.gnome.org/show_bug.cgi?id=654675
|
||||
$(meson_feature v4l libv4l)
|
||||
$(meson_feature v4l libv4l2)
|
||||
$(meson_feature vala vapigen)
|
||||
$(meson_feature webp)
|
||||
$(meson_use introspection)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "'Show Image Graph' under GIMP[debug] menu 'File - Debug'" media-gfx/graphviz
|
||||
}
|
@ -1,157 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
# vala and introspection support is broken, bug #468208
|
||||
VALA_USE_DEPEND=vapigen
|
||||
|
||||
inherit meson optfeature python-any-r1 vala
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/gegl.git"
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="https://download.gimp.org/pub/${PN}/${PV:0:3}/${P}.tar.xz"
|
||||
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A graph based image processing framework"
|
||||
HOMEPAGE="https://gegl.org/"
|
||||
|
||||
LICENSE="|| ( GPL-3+ LGPL-3 )"
|
||||
SLOT="0.4"
|
||||
|
||||
IUSE="cairo debug ffmpeg introspection lcms lensfun openexr pdf raw sdl svg test tiff umfpack vala v4l webp"
|
||||
REQUIRED_USE="
|
||||
svg? ( cairo )
|
||||
test? ( introspection )
|
||||
vala? ( introspection )
|
||||
"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# NOTE: Even current libav 11.4 does not have AV_CODEC_CAP_VARIABLE_FRAME_SIZE
|
||||
# so there is no chance to support libav right now (Gentoo bug #567638)
|
||||
# If it returns, please check prior GEGL ebuilds for how libav was integrated. Thanks!
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.68.2:2
|
||||
>=dev-libs/json-glib-1.2.6
|
||||
>=media-libs/babl-0.1.88[introspection?,lcms?,vala?]
|
||||
media-libs/libnsgif
|
||||
>=media-libs/libpng-1.6.0:0=
|
||||
>=sys-libs/zlib-1.2.0
|
||||
virtual/jpeg:0=
|
||||
>=x11-libs/gdk-pixbuf-2.32:2
|
||||
>=x11-libs/pango-1.38.0
|
||||
cairo? ( >=x11-libs/cairo-1.12.2 )
|
||||
ffmpeg? ( media-video/ffmpeg:0= )
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.32:= )
|
||||
lcms? ( >=media-libs/lcms-2.8:2 )
|
||||
lensfun? ( >=media-libs/lensfun-0.2.5 )
|
||||
openexr? ( >=media-libs/openexr-1.6.1:= )
|
||||
pdf? ( >=app-text/poppler-0.71.0[cairo] )
|
||||
raw? ( >=media-libs/libraw-0.15.4:0= )
|
||||
sdl? ( >=media-libs/libsdl-1.2.0 )
|
||||
svg? ( >=gnome-base/librsvg-2.40.6:2 )
|
||||
tiff? ( >=media-libs/tiff-4:0 )
|
||||
umfpack? ( sci-libs/umfpack )
|
||||
v4l? ( >=media-libs/libv4l-1.0.1 )
|
||||
webp? ( >=media-libs/libwebp-0.5.0:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
dev-lang/perl
|
||||
>=dev-util/gtk-doc-am-1
|
||||
>=sys-devel/gettext-0.19.8
|
||||
>=sys-devel/libtool-2.2
|
||||
virtual/pkgconfig
|
||||
test? ( $(python_gen_any_dep '>=dev-python/pygobject-3.2:3[${PYTHON_USEDEP}]') )
|
||||
vala? ( $(vala_depend) )
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS docs/ChangeLog docs/NEWS.adoc )
|
||||
|
||||
python_check_deps() {
|
||||
use test || return 0
|
||||
has_version -b ">=dev-python/pygobject-3.2:3[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# patch executables suffix
|
||||
sed -i -e "s/'gegl'/'gegl-0.4'/" bin/meson.build || die
|
||||
sed -i -e "s/'gegl-imgcmp'/'gegl-imgcmp-0.4'/" tools/meson.build || die
|
||||
sed -i -e "s/gegl-imgcmp/gegl-imgcmp-0.4/" tests/simple/test-exp-combine.sh || die
|
||||
# skip UNEXPECTED PASSED 'matting-levin' test
|
||||
sed -i -e "s/composition_tests += 'matting-levin'//" \
|
||||
-e "s/composition_tests_fail += 'matting-levin'//" tests/compositions/meson.build || die
|
||||
|
||||
# don't require Apple's OpenCL on versions of OSX that don't have it
|
||||
if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -le 9 ]] ; then
|
||||
sed -i -e 's/#ifdef __APPLE__/#if 0/' gegl/opencl/* || die
|
||||
fi
|
||||
|
||||
# commit 7c78497b : tests that use gegl.png are broken on non-amd64
|
||||
sed -e '/clones.xml/d' \
|
||||
-e '/composite-transform.xml/d' \
|
||||
-i tests/compositions/meson.build || die
|
||||
|
||||
# fix 'build'headers from *.cl on gentoo-hardened, bug 739816
|
||||
pushd "${S}/opencl/" || die
|
||||
for file in *.cl; do
|
||||
if [[ -f ${file} ]]; then
|
||||
"${EPYTHON}" cltostring.py "${file}" || die
|
||||
fi
|
||||
done
|
||||
popd || die
|
||||
|
||||
use vala && vala_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
# - Disable documentation as the generating is bit automagic
|
||||
# if anyone wants to work on it just create bug with patch
|
||||
-Ddocs=false
|
||||
-Dexiv2=disabled
|
||||
-Dgdk-pixbuf=enabled
|
||||
-Djasper=disabled
|
||||
# - libspiro: not in portage main tree
|
||||
-Dlibspiro=disabled
|
||||
-Dlua=disabled
|
||||
-Dmrg=disabled
|
||||
-Dpango=enabled
|
||||
-Dsdl2=disabled
|
||||
# - Parameter -Dworkshop=false disables any use of Lua, effectivly
|
||||
-Dworkshop=false
|
||||
$(meson_feature cairo)
|
||||
$(meson_feature cairo pangocairo)
|
||||
$(meson_feature ffmpeg libav)
|
||||
$(meson_feature lcms)
|
||||
$(meson_feature lensfun)
|
||||
$(meson_feature openexr)
|
||||
$(meson_feature pdf poppler)
|
||||
$(meson_feature raw libraw)
|
||||
$(meson_feature sdl sdl1)
|
||||
$(meson_feature svg librsvg)
|
||||
$(meson_feature test pygobject)
|
||||
$(meson_feature tiff libtiff)
|
||||
$(meson_feature umfpack)
|
||||
# - v4l support does not work with our media-libs/libv4l-0.8.9,
|
||||
# upstream bug at https://bugzilla.gnome.org/show_bug.cgi?id=654675
|
||||
$(meson_feature v4l libv4l)
|
||||
$(meson_feature v4l libv4l2)
|
||||
$(meson_feature vala vapigen)
|
||||
$(meson_feature webp)
|
||||
$(meson_use introspection)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "'Show Image Graph' under GIMP[debug] menu 'File - Debug'" media-gfx/graphviz
|
||||
}
|
@ -1,5 +1,6 @@
|
||||
DIST libaacs-0.11.0.tar.bz2 324061 BLAKE2B 8faffa270580f82b7fc6ae53922a9ec15087b754adebc84f1fd216c748dbcbe6723c14908efc9ef77b891bda149d10bf5020321906a36a3654dddbf6bdc00936 SHA512 167edbb6f26599e41d6084908039bf902f69f57da1f64f1491734157d1568ad0b32c8ea3064e0706e383af8dc6007eef65170b2b47222bf3d363e395e0b60388
|
||||
DIST libaacs-0.11.1.tar.bz2 325669 BLAKE2B be8553ef8d312d3c62005b12d0473f9f3a8e1d0fbe86b0c0e69ffe213b26658489a1d0b0414222d2a5088d157832e5b27b989945d4a25b1a16e858e43e67629d SHA512 42dcba5fd593c9a8ec7af11251006b083ad2c49ec198734d1d66f67c2ded4557d77617600edbf0c5250e9b0407ef9a2f906d59d154bda8ecfc8adfd234fb2c42
|
||||
EBUILD libaacs-0.11.0.ebuild 995 BLAKE2B 6e8356455234f41ed2de48888365e747878e272ad7d020540709b678c87a885bb66b2e8881842ad4a71f75a10f3cd400cb03ec2eab70c9a6b20d6464a2df5aa8 SHA512 1b33bfca2086f60b46edc39cf351f1d2ec166cf54dd07a6a778775916e60cb1ca9f500794678cb9adfafc0e67d01b1dd677ce072d4c6e74d1eaba351a63af248
|
||||
EBUILD libaacs-0.11.1-r1.ebuild 1038 BLAKE2B 5448e6bd32dfca1feff18db5106e2207a5dcb97ee042168c2dd80aeb9691bb9ea80e2ac581eaf45a18e71d3237758e55eee3fb403200683544e60609c04221fc SHA512 999d74bcce19be181db4ee6f93a9db1d666c439f5bd1cb49b8873d5a293e9ae39cd76a54e25bf61160c5c524deda0b679e9582a5224387dda34deadeed926d03
|
||||
EBUILD libaacs-0.11.1.ebuild 948 BLAKE2B d64e141c12b57cd873171139c5559988cd872f452b0336f93ad4b1f232f405de7617a707d5a99f3d97fd2ec9584a1a9d368a6dce32fb01246d4a32bd8df2de4c SHA512 f0764473c03e0498b9c4bd4d3855c287b7765987ae4e78e61ace287627999e54e94bea3bc99367b37c538114806c1cb626f575a70df2a65bc7de4e5a99cf1669
|
||||
MISC metadata.xml 256 BLAKE2B ff2b5536809c94dc64867bca73d779a31bd343559cd65520c9b5684091734b3ccf7bf495335890df5533857480794cb3258566e5836e8dce7514b6833ba93f37 SHA512 b7f3d0564d06254ff552beec9594236b84ebc3ad87adab673f68963bcc4dfbf2e29b401e75486ba41b9b526de74b73f65e9d5e901221f810363497aa694c8567
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit multilib-minimal
|
||||
|
||||
DESCRIPTION="Open implementation of the Advanced Access Content System (AACS) specification"
|
||||
HOMEPAGE="https://www.videolan.org/developers/libaacs.html"
|
||||
SRC_URI="https://downloads.videolan.org/pub/videolan/libaacs/${PV}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
RDEPEND=">=dev-libs/libgcrypt-1.5.3:0=[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/libgpg-error-1.12[${MULTILIB_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="sys-devel/flex
|
||||
virtual/yacc"
|
||||
|
||||
DOCS=( ChangeLog KEYDB.cfg README.md )
|
||||
|
||||
multilib_src_configure() {
|
||||
local myeconfargs=(
|
||||
--disable-optimizations
|
||||
--enable-shared
|
||||
)
|
||||
|
||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||
|
||||
# Workaround automake bug: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54390
|
||||
mkdir -p "${BUILD_DIR}"/src/file || die
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
|
||||
find "${ED}" -type f -name "*.la" -delete || die
|
||||
}
|
Binary file not shown.
@ -1 +1 @@
|
||||
Mon, 14 Mar 2022 17:09:15 +0000
|
||||
Tue, 15 Mar 2022 05:09:08 +0000
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue