parent
51f91b361c
commit
a0c8789af6
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29295 BLAKE2B fb857054a16b02009f63dc3c3b4ae1335145f5311f14ab7cb1f10e614d510624c583cee3b8abf2cd305706e7f6828734b774159160a1d086ec8fb41e7c05df30 SHA512 a65bcdbdeb2b2fd59006fec55286cb5c0024b673ffc24369c53e8b4079666307f54eadfa92c8357c8ec39e8dc37ea93ddedb022f50d1166ee9d51a818af994a9
|
||||
TIMESTAMP 2023-08-04T07:40:15Z
|
||||
MANIFEST Manifest.files.gz 29305 BLAKE2B b4e73de827c6df86fad947152cfd3846a292e36351abd079e8c1e74005bbe21d3af6de614c1f76d62fa3b5f8451ac812f558bf545565e935e05ffd3c6f9a9edb SHA512 b197aa6408e47e133f47d50d99c163865e6ba8aed0e4947fae20c1f1ca2a2a310c302fa4334592f7fb2f3d8dc7d4a431950735108d5975b3faab37c3e03f38a3
|
||||
TIMESTAMP 2023-08-07T05:40:21Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmTMq19fFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmTQg8VfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klA4BRAAqLUTesB9d/nH4q9ZmL50gLJT5wnPaX79sVJ+Il5pfXJj5UeD/pLJwrSD
|
||||
k380GlDBSy328uUQB97X3Uyq0LQBPUwFRTiAmTVXlsBRPKZUsQVliR7LH3fGPy0o
|
||||
Gae5Pwjq+FFVlq9av9IfZgn4tGYvb7OevqwYeifbce+m+JvuG8VTALdWra+1Z4oB
|
||||
ULu/iKJJsifgF9UXkzIW+OVfsK2Du/qL/TULukr2+lJLwlo03ilIr0ynDKR0llUC
|
||||
B4gUvFhUgeZqjsgrY4iaZsGxbnmnbr62h1p6JLJJOpaInD87NEbYji7v+BaeE/7I
|
||||
F2+fjLdHR3Z9N2kjkngIk2aZVIOcVQJ127vcqLiJ6qeVvV1UlvXDUeWCFyGBz/Tq
|
||||
I6W1uL1k72Z2R+qA66k3boLo0vcufOZWURppGBwS6ZwCawYgXaq7H3PuCryFrr8V
|
||||
pVW9fRKlCvpAmzu2b563O0oIjVuBdE/sdw1xKc2x9VMant/prAjEeGO9ex11vvmU
|
||||
afH157NSsl7AHSeJPLl//Pa0/7j45nQJUnUw3nyBpjm7+ByP8LKj9ttnNEXpcvep
|
||||
+Xl0OnhCHS/JjOxz0nWH7+nCuaxqyCsRC72iJCGJDgXb+yAp5kMs0YL277DFPcLd
|
||||
EUazumRWr0i3mLO9G9vsO5MRgl+G80AfBZJaqpjExst3lvUeAFU=
|
||||
=TyCa
|
||||
klAMDw//cIosLSB5RZWtkT8nwxNMwiXtSvE5M1wWF3sRfkOMMsz3Y2S4uJNqEAah
|
||||
j9bFgvPVtRSFEYtT5UMilZE+uOCY547drWdV69OkDEzaiTQyeHy+OE8X8v5zn/G8
|
||||
VpeQC+wUAoX3QXhdhH1zoihqwW5+uUyq1qRA2YuAvn2ay8gPxVfeTKNfF/r0o0Or
|
||||
kyYpzO8R25fAElkIHpkaVA5rqa6JshARpn082nu0n2SWfhcNtfKwt3rMdi06blfZ
|
||||
CmrANaE50vOQkawf0T+7ApT8mNSkY34B7xIcIAb6OZTN7LCZh4UcU6lWvQsmO1Gc
|
||||
mCKJIsl+b9h87KdizAT7Zl4GHj7s3p02aRHg4eG05ZCbQ36uOM0UC5YBbw1pik5b
|
||||
R5pvz04YrkJdaoIe2dpsivlxmmZwznYANFnYFCzL0+2dXDiLf/wBTJT66/F1wv2d
|
||||
lAH9scA5cKj8DBdbV1YEfer8VD+Qzcpp6bEpDc47rUqDB1x6CzJ23/JhT74OMVOM
|
||||
UMiOgxCavMIxjTD2SZvS8LRCIepTT1gMT16jImVs6742LkxLS60uBQAI5slxpBJZ
|
||||
TfTwauZFJ3fhwsQrXXrk+eJaqqpZrqjJvy6nqTew4v+V+HyfZQqfDxpQ/D8k4Lnw
|
||||
xa2dcUVYAqpPgxLh37dywNbC4qRY3DMVUoTCtLrKMt+jAWL382A=
|
||||
=OVwd
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,80 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
|
||||
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.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
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() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# TODO
|
||||
tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing
|
||||
tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid
|
||||
)
|
||||
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||
}
|
||||
|
||||
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
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
DIST puppet-lint-2.5.2.gem 91136 BLAKE2B cae884b3994c7862f337a214903ecd4d7bb297e9e2bb7495fb94030304f53fa7ae98080b62944d5c96f2af0d208352d00030415a89259e8e188ec53da2a2b643 SHA512 996a5fda970c318a3f58a196c7b9aba7e712aae2b24d936b917f1dd9eb6bf5d706df28f70d88e1e174e175aabb13f1d22c8c90289314d5a1dd4ff9207ebbfe03
|
||||
DIST puppet-lint-3.4.0.gem 83456 BLAKE2B fa6b274b3e6e84095fdaff6f024864dc301f0afc605198cc40b4dd8df7a9de66adfb91982195af9a0ad35301409c23e99d8d6ba5d3c43d3ee4dd57235de2b8cc SHA512 47c025ef925618cba3c1f579a3ef62bd5f9fd8ee7f8f9a68ed84daafeb7f9071e558619b24f0a249fcbe85d8c1b27e715938cc352792f9aa91de131820103e9c
|
||||
DIST puppet-lint-4.0.0.gem 80896 BLAKE2B 6e674deaec43c3b45e2c162ef3d09648bd3cdd589a3ae6ce92e21617633529705fe9999f4c6c361c3c1f041a3d25d1a03079f2f97705c01199253661bc9355dc SHA512 a23d316f60cb7d34c394bdaee0ad08070098d732210a92294a3d330cff7330aefe2be6bd9a60219d7538173c2f187c1ed427c6671a345f868286986164ea3a33
|
||||
EBUILD puppet-lint-2.5.2.ebuild 531 BLAKE2B c1ac4560155432f3a6a0de1f10eb9d150b259cd98f6054b4ff642172c1201435f42c5eafb066129cd8de56498c56bbf78549019c4af0158db74f29e0f58a7740 SHA512 3d0511ef51f16c31de57b3796fbba9eebd475f32701379cb305851b789912519735458a8c19561291488f998ba0888611e06c9acb6db8266860544b5b379d0f5
|
||||
DIST puppet-lint-4.0.1.gem 81408 BLAKE2B 2e202cf99e496336d5a8f23bf8581211b74e8ce25532edb82169b2aa484e14763087d5c6b966c1be50665ab723b72c9b21a74867b8e0c2296b06ea5e246531d6 SHA512 1709cbcae4db082dbe89b65ba6f5679684f3ed9d89955be0706228bcf0036a0bbfb58abb5ac12d8c2602ea9108386ba3e9b83627ca9c8fa0a813d19dc08f995d
|
||||
EBUILD puppet-lint-3.4.0.ebuild 757 BLAKE2B 6c85abe19f11a0a1ae7431be8852c1fd7bc92bfc311083ce6484dcf31c18de6377e0c732b9635fa7dfc4483e44b6948edbdcc8f6c10d3537db454b44747297f8 SHA512 5fa96119ae9086fcdbc2cac3e94f010a64f11cfffe732cb69f66dd87ff6df3f48ee0f15e9889246691efd65d0d715c20e518392f5c7fc53d8493bb4f1ce3d355
|
||||
EBUILD puppet-lint-4.0.0.ebuild 757 BLAKE2B 6c85abe19f11a0a1ae7431be8852c1fd7bc92bfc311083ce6484dcf31c18de6377e0c732b9635fa7dfc4483e44b6948edbdcc8f6c10d3537db454b44747297f8 SHA512 5fa96119ae9086fcdbc2cac3e94f010a64f11cfffe732cb69f66dd87ff6df3f48ee0f15e9889246691efd65d0d715c20e518392f5c7fc53d8493bb4f1ce3d355
|
||||
EBUILD puppet-lint-4.0.1.ebuild 758 BLAKE2B 6c022d7ec8416cf6eacb3c130e11193789c134b7627d56e2962568f39cd70a9efafa7127c21b91a602c48ae1f42cc5dcc9dc960def9ebfffc518d78e16edae57 SHA512 2e7996aabed09ebeb85c3fa3a83b7716b1f1cfdf760295171b92b322bf839da17549f83b25b7809994eb48aeb06a3501b59abfcc54e5cfcae852708ab9ee2476
|
||||
MISC metadata.xml 444 BLAKE2B 42dc45f92fcd9546eaf6dd1408ce3f2407a6d9ceb6fe343719d47d82f4e7034085ac5df7b5e215624db2558a76c6d95f0c73a4cd946c2dd91e09c6beb682c31b SHA512 91a1ce00d98421c057be1d70e74e06bbe84c78a0aeeaa574d20164772084272a910afdd1a95f65aff6b453c0cd4e1c00ca7ba146ddff09ddd3f6f2bb6ae810c1
|
||||
|
@ -1,86 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit fcaps go-module systemd
|
||||
|
||||
DESCRIPTION="A tool for managing secrets"
|
||||
HOMEPAGE="https://vaultproject.io/"
|
||||
|
||||
VAULT_WEBUI_ARCHIVE="${P}-webui.tar.xz"
|
||||
SRC_URI="https://github.com/zmedico/vault/archive/refs/tags/v${PV}-vendor.tar.gz -> ${P}-vendor.tar.gz
|
||||
webui? (
|
||||
https://dev.gentoo.org/~zmedico/dist/${VAULT_WEBUI_ARCHIVE}
|
||||
)"
|
||||
|
||||
LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 ~riscv"
|
||||
IUSE="+webui"
|
||||
|
||||
BDEPEND="
|
||||
app-arch/zip
|
||||
dev-go/gox
|
||||
>=dev-lang/go-1.15.3"
|
||||
COMMON_DEPEND="acct-group/vault
|
||||
acct-user/vault"
|
||||
DEPEND="${COMMON_DEPEND}"
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
|
||||
FILECAPS=(
|
||||
-m 755 'cap_ipc_lock=+ep' usr/bin/${PN}
|
||||
)
|
||||
|
||||
RESTRICT="test"
|
||||
S=${WORKDIR}/${P}-vendor
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Avoid the need to have a git checkout
|
||||
sed -e 's:^\(GIT_COMMIT=\).*:\1:' \
|
||||
-e 's:^\(GIT_DIRTY=\).*:\1:' \
|
||||
-e s:\'\${GIT_COMMIT}\${GIT_DIRTY}\':: \
|
||||
-e "s|^BUILD_DATE=.*|BUILD_DATE=$(date +%Y-%m-%dT%H:%M:%SZ)|" \
|
||||
-i scripts/build.sh || die
|
||||
sed -e "/hooks/d" \
|
||||
-e 's|^\([[:space:]]*\)goimports .*)|\1true|' \
|
||||
-e "s/gofumpt/gofmt/g" \
|
||||
-i Makefile || die
|
||||
if [[ -d "${WORKDIR}/http/web_ui" ]]; then
|
||||
rm -rf "${S}/http/web_ui" || die
|
||||
mv "${WORKDIR}/http/web_ui" "${S}/http/web_ui" ||
|
||||
die "mv failed"
|
||||
else
|
||||
mkdir -p "${S}/http/web_ui" || die
|
||||
touch "${S}/http/web_ui/no_web_ui" || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
mkdir "${T}"/bin || die
|
||||
BUILD_TAGS="$(usex webui ui '')" \
|
||||
GOPATH="${T}" \
|
||||
XC_ARCH=$(go env GOARCH) \
|
||||
XC_OS=$(go env GOOS) \
|
||||
XC_OSARCH=$(go env GOOS)/$(go env GOARCH) \
|
||||
emake bin
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/${PN}
|
||||
dodoc CHANGELOG.md CONTRIBUTING.md README.md
|
||||
insinto /etc/${PN}.d
|
||||
doins "${FILESDIR}/"*.json.example
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
||||
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
|
||||
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
|
||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
keepdir /var/log/${PN}
|
||||
fowners ${PN}:${PN} /var/log/${PN}
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
AUX pigz-2.7-memcpy-ub.patch 863 BLAKE2B 33cb4879445cb296031b7579a358a8188e7d856506911c0a02cdc93b542feda0e617b53b566b005ed544ef2c4b14bf347a3bacd3822af61fa281a9e3ca369cc3 SHA512 4edb365718e6649264388e6f60be7867ae240f096f828ff3cf0ec355dcf93ca65c54453525e2103f71b8a16673d0e7908fb7f917316d3cde47113eab7eccc420
|
||||
DIST pigz-2.7.tar.gz 108102 BLAKE2B d391522fd6f8eb6918d671fb1c9517034941f3ae8e05ffcd7bece141e6dae110cde1560bad02bd2bcca2f868cdba2a8a16b5606ad6637d40d5ced5ec9bfffcc8 SHA512 9f9f61de4a0307fc057dc4e31a98bd8d706d9e709ecde0be02a871534fddf6a1fe1321158aa72708603aaaece43f83d2423b127f7689b6219b23aea4f989e8f5
|
||||
EBUILD pigz-2.7-r1.ebuild 910 BLAKE2B ddb9bd603824a9e424e0777856ef20db0c1b62f2dbae922795700dd6fae68add532fe3e73b0801d884a8e9a344d79e3e20941473536db083a5e0017b7e85ac03 SHA512 a9b1aa12142ce4098f37dd31b66270106884b666e4f15dae002bd26f0cc470a433128dd941826c9a4fee9f055c73268d460b3b7d746dfa5969f54ae1a77541d9
|
||||
EBUILD pigz-2.7-r1.ebuild 909 BLAKE2B 38b15d02595a81aac73d31c5ff8c6a3de884973fa30578ef0f5e169f533451f59dde1edd9a23a5dbab3ae7855faf3f66bf316bc5a78bf4e71a5cb991487e4878 SHA512 a577375cc6418961cfef4eee432f3eb7d8d96aefa14f6e31b2be78bf1ac1f5b0d956bf21ce51d6415750114ec57c7409385aadeadba2cf84e100d107a68eed62
|
||||
EBUILD pigz-2.7.ebuild 860 BLAKE2B dd0d063e9bb93fc52c6e52641f63752ba164fcdea39a28944fd92f4df51d615e148dab6ccddbd4cf93bea091883e49c9edd8583bdb9dbff73d1b62e73ecc6b6a SHA512 cf3131c30b26ef04f68dfed855e54f237932ca76d75111001f9d527de9aa40444105b916a3dcd77a09426ab9b8e8660344d413b240bb1554ea20158e94e32565
|
||||
MISC metadata.xml 623 BLAKE2B d072cc2f7d8e182752cc3c4ae118ec674782f2e0cb08c4ca6b2d4d56a6e4621a837143bf782ae0f65af418f0a90c01f24b5603bfe7f75d0221be68f9d193d34f SHA512 3a7fdb19cf75dd27f1c7a30707ee23d8e4c300f5fa419820e7aaf9b75aa9c09add1dcc488e0241a75552cc91a45a37e8603285da7c631d1c7860a18c28929859
|
||||
|
@ -1,9 +1,13 @@
|
||||
DIST rarlinux-x32-621.tar.gz 627883 BLAKE2B 07957401eea5efad7295a4da31f56bdb5ea64935b193f594f8cd5755aca9b4ffded9a2df834216c604a65b1fb7c0ab99c59591afb7f54dc65c6d74ff0b37cc0a SHA512 3e83806ccc40edfdc0740ca416cac2480e475fad72be4e245d500272f817c35f4c1ed05f7a40918f463b182d52454a3c02bf469298d56b973977fbda2d261b60
|
||||
DIST rarlinux-x32-622.tar.gz 627428 BLAKE2B eeb78f7dac2777347d54d203645ca9861c89d4e9bf47e1afc369eadde789d837b9537bc602cf6bb9262b188f70ecbe236463f15e12ef986d5b542d6ccb1a3294 SHA512 0d0f2e374185afc6541aa54f059d4d21a4bc6eaddc8ca42fa054866db1ddfbf7022ecaf35dc3677198ad57e4d84f17e3dd02f501b6bc48ea0eb54ce9d5168c05
|
||||
DIST rarlinux-x32-623.tar.gz 627653 BLAKE2B fc7475374adaf4e53367c70f4b95aaa4e05e6b78aeece97f79f266bc73ed7fc00ad05eb0b4d91bc62b8b5373ff6c17a91536f5b6a670942e4a514e5a483e1ded SHA512 95d7319be5cbe8544a93cabfa457ac723b204c3a0799a2fa6408a21bdd75ad3b49e2c030242b6c0473c05c4079eba113158b525400e3612bda56d8fbc4af6c3a
|
||||
DIST rarlinux-x64-621.tar.gz 614402 BLAKE2B 8ab72e52aee82942a5917f6742fdb135e6be9187609e3a857103b8758385f85cde1e95bc2c13e87e20d6b39b1e5bb77da7f917b2ff8a01e6baece9b462dd9135 SHA512 3f990213b2366e1c829ec24f9cdb957a29de45f2d12b9a35de54709443f977aab495d5bfd13ab2b46d77b83283635c827b614a7c33585925ca4fd4d9405e1c90
|
||||
DIST rarlinux-x64-622.tar.gz 614091 BLAKE2B d158052f80dc300f7a5c189d14bf8fa484a857e459c7c117fe9da4e7fc86f5a41b9176742038f11b8564ea78b1cf137eb12dfddb0df1c44bd08c0d4cf8de3296 SHA512 a38a930c6861aca0f1c7ce28f4174f464b537f4bacaca52b065c5cf31d3c331421c481d522785471874e000df441d8ea810d36f7ecc8be9dc849c73683af47d9
|
||||
DIST rarlinux-x64-623.tar.gz 614350 BLAKE2B a9ce80c6ab920e1c74d9b5fa4af2a2e0e46b638a4aced4cb6e88068518c1c3d702f20b44d9ce7c7c5601096254f01d6992c2d4a97a16554f8cfc67ca3600ce2f SHA512 0aa3e9c6b08e12343b1637929a3ce807196205ecfc5f6c98c464f8d8f40c544ec594a3be514a02d0e3a86c0a5d5e68208c993ab9d94d847249547fbb713fcfe2
|
||||
DIST winrar-x64-621.exe 3585248 BLAKE2B b65643c87d422db0094ac54f855c34345f4d07780e5b91a0ee203e87ffd3e10091ef2338a269a3f01c40cc4324b4b3f2254614e42535681d896b627db918b8e8 SHA512 42f4bcbff08f08dd45097b9ac07444bb3e157d6e9055c307de3f1cf86b62900e9cdf5931cee305e0bb0991a6f5ef060196cc42a29b8fc7d233032036a42b1494
|
||||
DIST winrar-x64-622.exe 3594776 BLAKE2B f3c9e90e9a84951cb57522436e153b1d0c8c4f4e13a66126937ad68a5d773ee55b394c020f7fddfbebee8cc1b24721566e2a1cc5fcf0724108dbe5a5446d0a84 SHA512 f73a6b37f96db444c8099c8f41c444bc216ce57c26b1401d3be44531ed28aa2e59802b71c6191992602ef21fe7a6e20414af87d6d3ba0071acc89b9167a1718f
|
||||
DIST winrar-x64-623.exe 3595296 BLAKE2B 8ff54390827070ecd1f42f53d5010e150bd4ccf38dd9bb85a9ee0e3fffa3c489e72e79be0bdecb90d995f19f924bee643f3c1c433d4d932a9c90589f29491887 SHA512 5ba4cb71d9579b01e54835f9559ab39fddbff5f3bc262e0c9f67ea450d490122326d46ae8f8a55b503f96ba1e5963f31ca3ff477ff485bab0fc3e5eac793d8dd
|
||||
EBUILD rar-6.21.ebuild 2289 BLAKE2B 2a4ed068245b6907f8d2023318942ea1e0890cb1fb266d8fee61ebac35a436af747a428a26307b5d0135099a0ea5601a96f9531da63244b9e88a4d99923fb2dd SHA512 22661c82c6df0cdff56dcb3186b946a7b9f738bd6e6056363ff6da8ed4f151b7a54ad6d0991b80b2ccad06c2fd664fd538bf440b39151a1cd9fd0501917aaa4f
|
||||
EBUILD rar-6.22.ebuild 2289 BLAKE2B 2a4ed068245b6907f8d2023318942ea1e0890cb1fb266d8fee61ebac35a436af747a428a26307b5d0135099a0ea5601a96f9531da63244b9e88a4d99923fb2dd SHA512 22661c82c6df0cdff56dcb3186b946a7b9f738bd6e6056363ff6da8ed4f151b7a54ad6d0991b80b2ccad06c2fd664fd538bf440b39151a1cd9fd0501917aaa4f
|
||||
EBUILD rar-6.23.ebuild 2291 BLAKE2B 6894ac9518b0fd85197a2bab67a054b3a839216ab37d6b6bcbae43f3d7258378b16c00d33b9d6dc607df9a098a140c344c1ca0ea68265a82fe5927140bff46a8 SHA512 2062f218641661d914cd796fa53226e589c1f8e5bee1c139bea71f65b0d1984680f71202a021a61caaa4c03e6ff4f5bc1657e683d12d41b9190e20c8819d44a4
|
||||
MISC metadata.xml 436 BLAKE2B 89434fe285ad2b7be02c6e0014bb0a8fd54772e899345cb1c6de1da1e7cf5396d490af746bad1af6449183a4970c70415178765d918488f047174e64c289ceee SHA512 c9d65d30420f8febc660ad83169a8ae95c11ffcc673ca0cbc16530367e441ff72636fdbe3948065270547cb043ab0e1114dd573e4bd8716089bd01f056a63ff6
|
||||
|
@ -0,0 +1,120 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MY_PV="${PV/./}"
|
||||
URI_AMD64="https://www.rarlab.com/rar/rarlinux-x64-${MY_PV}.tar.gz"
|
||||
URI_X86="https://www.rarlab.com/rar/rarlinux-x32-${MY_PV}.tar.gz"
|
||||
URI_WIN64="https://www.rarlab.com/rar/winrar-x64-${MY_PV}.exe"
|
||||
|
||||
inherit unpacker
|
||||
|
||||
DESCRIPTION="RAR compressor/uncompressor"
|
||||
HOMEPAGE="https://www.rarlab.com/"
|
||||
SRC_URI="
|
||||
all-sfx? (
|
||||
${URI_AMD64}
|
||||
${URI_X86}
|
||||
${URI_WIN64}
|
||||
)
|
||||
amd64? ( ${URI_AMD64} )
|
||||
x86? ( ${URI_X86} )
|
||||
"
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
LICENSE="BSD BSD-2 RAR"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
IUSE="all-sfx"
|
||||
RESTRICT="bindist mirror"
|
||||
|
||||
RDEPEND="sys-libs/glibc"
|
||||
BDEPEND="all-sfx? ( app-arch/unrar )"
|
||||
|
||||
DOCS=( "acknow.txt" "rar.txt" "readme.txt" "whatsnew.txt" )
|
||||
|
||||
QA_PREBUILT="
|
||||
opt/rar/default.sfx
|
||||
opt/rar/default-elf32.sfx
|
||||
opt/rar/default-elf64.sfx
|
||||
opt/rar/default-win32.sfx
|
||||
opt/rar/default-win64.sfx
|
||||
opt/rar/unrar
|
||||
opt/rar/rar
|
||||
opt/rar/WinCon.SFX
|
||||
opt/rar/WinCon64.SFX
|
||||
opt/rar/Zip.SFX
|
||||
opt/rar/Zip64.SFX
|
||||
"
|
||||
|
||||
src_unpack() {
|
||||
local _file
|
||||
|
||||
for _file in ${A}; do
|
||||
if [[ "${_file}" == rarli* ]]; then
|
||||
if [[ "${_file}" =~ x64 ]]; then
|
||||
if ! use amd64; then
|
||||
continue
|
||||
fi
|
||||
|
||||
unpack "${_file}"
|
||||
elif [[ ! "${_file}" =~ x64 ]]; then
|
||||
if ! use x86; then
|
||||
continue
|
||||
fi
|
||||
|
||||
unpack "${_file}"
|
||||
else
|
||||
die "Unknown SRC file '${_file}'!"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
if use all-sfx ; then
|
||||
mkdir sfx
|
||||
cd sfx
|
||||
for _file in ${A}; do
|
||||
if [[ "${_file}" == rarli* ]]; then
|
||||
unpack "${_file}"
|
||||
if [[ "${_file}" =~ x64 ]]; then
|
||||
mv rar/default.sfx default-elf64.sfx || die
|
||||
else
|
||||
mv rar/default.sfx default-elf32.sfx || die
|
||||
fi
|
||||
elif [[ "${_file}" == winrar* ]]; then
|
||||
ln -s "${DISTDIR}"/${_file} w64.rar || die
|
||||
unpack_rar ./w64.rar
|
||||
mv Default.SFX default-win32.sfx || die
|
||||
mv Default64.SFX default-win64.sfx || die
|
||||
else
|
||||
die "Unknown SFX file '${_file}'!"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
exeinto /opt/rar
|
||||
doexe rar unrar
|
||||
|
||||
insinto /opt/rar
|
||||
doins rarfiles.lst
|
||||
|
||||
if use all-sfx; then
|
||||
doins "${WORKDIR}"/sfx/*.{sfx,SFX}
|
||||
else
|
||||
doins default.sfx
|
||||
fi
|
||||
|
||||
dodir /opt/bin
|
||||
dosym ../rar/rar /opt/bin/rar
|
||||
dosym ../rar/unrar /opt/bin/unrar
|
||||
|
||||
docinto html
|
||||
dodoc order.htm
|
||||
|
||||
einstalldocs
|
||||
}
|
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
DIST dar-2.7.10.tar.gz 2418752 BLAKE2B 31365e900cdcd89c297f78953e82d7288cec524cc3f01a71f659a4e0238797d72c0c629d6fcfad00fa7bdaae1b846d86daa50c7857b13cac0ffac9e98bc398ef SHA512 3b75f06013d13f315280625b3ebf147e833b91164646f271ff81aa0961b788eb12a4dc6a743bbd8de4c7347bad03f2372fd8f5c038d0a83d45f3479cdba4cece
|
||||
DIST dar-2.7.11.tar.gz 2417878 BLAKE2B 8cb166585d47f13eb796be25746dbfc33dc56f6194fa61ce811c3319354165152af05b4b82931396f886ef65163ffe2c16096aba0f7ecde6cf5a2b8ead75c4eb SHA512 17f19c865e38a4d319d84882cb8db7825cdd0092cd24af6f5a2aa60bc49cad16d51baea0f8148512e3ca6fc3fdd720b1ccd49b33dcafd674dbfa3256d0c7840e
|
||||
EBUILD dar-2.7.10.ebuild 2288 BLAKE2B a2116d8ec41d1dc7ea15e57509cb5b02e1f597c4b3e94298b9ce089043574fbf6f5afe0ea518b654f491ab33e59f2ceb4e226e1db975c411ff51c5fab2bb2058 SHA512 f36966ab6bb6c9dca8b1576733acc0c8232725dc87a94a28364f33abd792e50be11e7bea8c8d783c9f648fab7398016796d6571ab600265b3985f1d199e3949d
|
||||
EBUILD dar-2.7.11.ebuild 2292 BLAKE2B fad7a901244d5c64b8cc3fbb2f9c48906ca72f155b0679d5666dfdcf644b52d5991ce79410aaece620b5951f10f2af9a2a5de95d24052bada11fa6f9baa93b01 SHA512 c3cf9615ad174363cf81bb32f8331c4014c0d05b02d8eeb1b6a30d6423d5bab6af96672ebd20a36f8dc3940a598340d132a0a264713ac9c17a257a904cf522cb
|
||||
MISC metadata.xml 1180 BLAKE2B d978c1b969e7aeb013862c6b76ceb7b466af7b0a16d334bfbaafcdb49e13b4f07727073ff8a24da0f0422161f48805310b8ed7c0cc97b07190b241ad77cec254 SHA512 f8107b5f81d0d00a1873089b084250c98094625274b9c01f8ca11f6dcfa890278ec89d039849c203ccccc8115d54ee3f9365d9f6afc38cb3411f6292c62c11c0
|
||||
|
@ -0,0 +1,94 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit flag-o-matic
|
||||
|
||||
DESCRIPTION="A full featured backup tool, aimed for disks"
|
||||
HOMEPAGE="http://dar.linux.free.fr/"
|
||||
SRC_URI="https://downloads.sourceforge.net/project/dar/dar/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux"
|
||||
IUSE="argon2 curl dar32 dar64 doc gcrypt gpg lz4 lzo nls rsync xattr"
|
||||
|
||||
REQUIRED_USE="
|
||||
?? ( dar32 dar64 )
|
||||
gpg? ( gcrypt )
|
||||
"
|
||||
|
||||
RESTRICT="test" # need to be run as root
|
||||
|
||||
RDEPEND="
|
||||
app-arch/bzip2:=
|
||||
app-arch/xz-utils
|
||||
app-arch/zstd:=
|
||||
dev-libs/libthreadar
|
||||
sys-libs/libcap
|
||||
>=sys-libs/zlib-1.2.3:=
|
||||
argon2? ( app-crypt/argon2:= )
|
||||
curl? ( net-misc/curl )
|
||||
gcrypt? (
|
||||
dev-libs/libgcrypt:0=
|
||||
dev-libs/libgpg-error
|
||||
)
|
||||
gpg? ( app-crypt/gpgme:= )
|
||||
lz4? ( app-arch/lz4:= )
|
||||
lzo? ( dev-libs/lzo:2 )
|
||||
nls? ( virtual/libintl )
|
||||
rsync? ( net-libs/librsync:= )
|
||||
xattr? ( sys-apps/attr )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
BDEPEND="
|
||||
doc? ( app-doc/doxygen )
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
QA_PKGCONFIG_VERSION="" #862025 - upstream has a different numbering scheme for libdar
|
||||
|
||||
src_configure() {
|
||||
# configure.ac is totally funked up regarding the AC_ARG_ENABLE
|
||||
# logic.
|
||||
# For example "--enable-dar-static" causes configure to DISABLE
|
||||
# static builds of dar.
|
||||
# Do _not_ use $(use_enable) until you have verified that the
|
||||
# logic has been fixed by upstream.
|
||||
local myconf=(
|
||||
--disable-dar-static
|
||||
--disable-python-binding
|
||||
--disable-upx
|
||||
$(usev !argon2 --disable-libargon2-linking)
|
||||
$(usev !curl --disable-libcurl-linking)
|
||||
$(usev dar32 --enable-mode=32)
|
||||
$(usev dar64 --enable-mode=64)
|
||||
$(usev !doc --disable-build-html)
|
||||
$(usev !gcrypt --disable-libgcrypt-linking)
|
||||
$(usev !gpg --disable-gpgme-linking)
|
||||
$(usev !lz4 --disable-liblz4-linking)
|
||||
$(usev !lzo --disable-liblzo2-linking)
|
||||
$(usev !nls --disable-nls)
|
||||
$(usev !rsync --disable-librsync-linking)
|
||||
$(usev !xattr --disable-ea-support)
|
||||
)
|
||||
|
||||
# Bug 103741
|
||||
filter-flags -fomit-frame-pointer
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" pkgdatadir="${EPREFIX}"/usr/share/doc/${PF}/html install
|
||||
|
||||
einstalldocs
|
||||
|
||||
find "${ED}" -name "*.la" -delete || die
|
||||
|
||||
# Bug 729150
|
||||
rm "${ED}/usr/share/doc/${PF}/html/samples/MyBackup.sh.tar.gz" || die
|
||||
}
|
Binary file not shown.
@ -1,4 +1,7 @@
|
||||
DIST earthly-0.7.14-deps.tar.xz 152887572 BLAKE2B a5cb8940b863d1f0ef6caf976a59b03cc6cbb422c66ed30eff3597631073caeeb09397a81116ff5d0c70d7c10c98d8016379b079c95a83ef0e06557e08b7e166 SHA512 8d7014b67cdf55311fad0be48c068b2338136d21ab1b98df571c38b74cd1f8b5711b5c3d9e52fc2d2365bfb1cd3fe4a5a39c4955a176f1cce07d6d59f7f7da24
|
||||
DIST earthly-0.7.14.tar.gz 7750445 BLAKE2B 7333342c85fe2c7efb0bd5222e2ce1e820886b851f43945098bff0f0326ac1f881305fe5b909bcc1c14f427dfdcb3ace2e32aa299cd38d94c9b0a7c8bd95e82f SHA512 a739bb1d2eb46285a545e831f9f40ebc6d3954e791687bb79bef8ff02a719ec72d970860de9319bb825a917a83b621e7745eb34dbe11bd66239c819a9fc46840
|
||||
DIST earthly-0.7.15-deps.tar.xz 152884116 BLAKE2B 69f937981605da5db306cdd7f06cdeb106bf907e85ea83f29a77c719d662003b562e7263a5eeb9e478682c019a3d7a265d4cf4ab1c5bcf2f37efbaa42e9ae326 SHA512 368700ce71c8791069d8c14abc6e1d4bf7c356d770641c4172e3e8910c176f0ba8cd5c5738e639da2905385d5d4a961f52b84d8e228fc3e323876f1cda16265e
|
||||
DIST earthly-0.7.15.tar.gz 7750609 BLAKE2B b727c6cde93abb3b3e39addc9e79c07fb21232902bca61b5a2b843d1c92b4b6628a1122eced0141b6be6c6678d80a7e473efc6513af07a416b3d6972e210defb SHA512 975d1c1c0055ed6e2884102f4d785833aea4c9257ba3f34e70eeea95c1215eb1dc769a036bdf036682d95dfa6bb30c35b897ff337b2af8b5d9d459f14ecc7cc4
|
||||
EBUILD earthly-0.7.14.ebuild 1805 BLAKE2B 64610bd4ef3d051089ad7afe27c08ac50ea7277f08a5293b6787b37fd0a06eccf1f1faff8c5a80df779568ad98f9788be35a76e3131249c45cede2c68843e3a3 SHA512 6ee12bd99611e2d064af628f122d630df28ec3088cad6916979c072473e36cf368306879e4ade774bb8300321c3ca616b4d973ff74210e4a23ae342fd8045773
|
||||
EBUILD earthly-0.7.15.ebuild 1805 BLAKE2B f3ec5c9ecefe0adc831aff49bf7e816ead47a4d7311f01fe4765183079312a44348a45b529f923b9f3403d477c721a5c273c9ef83320817ccaa4b0239019a586 SHA512 26ca0cdeb4135174915b201d6c2f60cbdfc9d017f5daf0c63642238d004e676282637a85007890b034967f43168ee429151bcf07d1a6bfa423a902eeeec2c720
|
||||
MISC metadata.xml 927 BLAKE2B b7d5184df16f39603bf6df8b503e701d737fec188d1d97673e4ca59babd990c1b872784c91db04c74d9a08dbffa76f4e7530d8b021cbbe9ae51fd9966f709522 SHA512 f7f49eb583b2b5a9939c26e9eaff3917392525c3a94e5f8274c89b69e172547ad02fa4ed1b078e7d778f765659e1b9a7cf99d88042034cfbfbef54e685c8b6dd
|
||||
|
@ -0,0 +1,74 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="Build automation tool that executes in containers"
|
||||
HOMEPAGE="https://earthly.dev/
|
||||
https://github.com/earthly/earthly/"
|
||||
SRC_URI="
|
||||
https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz
|
||||
https://dev.gentoo.org/~xgqt/distfiles/deps/${P}-deps.tar.xz
|
||||
"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
|| (
|
||||
app-containers/docker
|
||||
app-containers/podman
|
||||
)
|
||||
"
|
||||
|
||||
DOCS=( CHANGELOG.md CONTRIBUTING.md README.md )
|
||||
|
||||
src_compile() {
|
||||
mkdir -p bin || die
|
||||
|
||||
# Git SHA is needed at runtime by earthly to pull and bootstrap images.
|
||||
local git_sha
|
||||
if [[ ${PV} == 0.7.15 ]] ; then
|
||||
git_sha=ae8f65528ad37a278985de2e234deb42b91e308f
|
||||
else
|
||||
die 'Could not detect "git_sha", please update the ebuild.'
|
||||
fi
|
||||
|
||||
local go_tags="dfrunmount,dfrunsecurity,dfsecrets,dfssh,dfrunnetwork,dfheredoc,forceposix"
|
||||
local go_ldflags="
|
||||
-X main.DefaultBuildkitdImage=docker.io/earthly/buildkitd:v${PV}
|
||||
-X main.GitSha=${git_sha}
|
||||
-X main.Version=v${PV}
|
||||
"
|
||||
local -a go_buildargs=(
|
||||
-tags "${go_tags}"
|
||||
-ldflags "${go_ldflags}"
|
||||
-o bin
|
||||
)
|
||||
ego build "${go_buildargs[@]}" ./cmd/...
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /usr/bin
|
||||
doexe bin/earthly
|
||||
newexe bin/debugger earthly-debugger
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if has_version "app-containers/podman" ; then
|
||||
ewarn "Podman is supported but not recommended."
|
||||
ewarn "If issues arise, then please try running earthly with docker."
|
||||
fi
|
||||
|
||||
if has_version "app-containers/podman[rootless]" ; then
|
||||
ewarn "Running podman in rootless mode is not supported because"
|
||||
ewarn "earthly/dind and earthly/buildkit require privileged access."
|
||||
ewarn "For more info see: https://docs.earthly.dev/docs/guides/podman/"
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
DIST minisign-0.10.tar.gz 18242 BLAKE2B 8b71f01ced4be00c38937e7db5ace2c7e348410a9381f6cc27374827fa0a9da70cca96153af199880ccd5f2265e18a7f21d074f877e0e21ca797bbba2bf5cbf5 SHA512 6a38500ed896c17b100bca47443f9806debe6e44d3ce09189f5f8913a41d4913434397175d1caa770fb0cc0918078dfc71c01b82b9bf919fdfba00434f4ce100
|
||||
DIST minisign-0.11.tar.gz 18410 BLAKE2B 503d73f53b9405f337865536d132e0de880cdefa9df2c08815b4cc9f7e2995a0d3032fe7b2ec48610c10b6023d998286ac705e0d10c6a475185b60405f69ec50 SHA512 a7445cb9646ae56fcba718f61f73486d5774d9cafe72ef051a3e60f94baf852b597261778bce50371ea5ee63395b0477bf1a33c7683fde32d003fab66029241f
|
||||
EBUILD minisign-0.10.ebuild 738 BLAKE2B 22b39865a54a6964ccbaba58b3b622255636df52bb1c109a90a07d49c391f7e64b1eab6a557b4c116b326e7cb22080837bf072fddc9e6628a8a1cfbef7011d55 SHA512 7346da6c7581bb2e35fee599c7cea451c94ec978d712e543dc3c1962b3b81f1b8490abcfe1a97c846845563323f7b84ba768bca3ac0b5d72e056b999076b5bce
|
||||
EBUILD minisign-0.11.ebuild 739 BLAKE2B ba5922cb9dbf3109ec6101af2d445684754603c3737ca3d3d3f040a4eaf9cab3d44431120f82cee175ae3123bd737002019a8c2a86e1043364a644ba3e4a28d3 SHA512 be6bbc9e8c407ee14edbeb56c4dc0694c8eb51a736f553fb218e8918bdeee61d15efc8f4ef42eda807408a14ffdd6d4c7dbc34dfc6dd1b83405bc61e68e00330
|
||||
EBUILD minisign-0.11.ebuild 738 BLAKE2B 22b39865a54a6964ccbaba58b3b622255636df52bb1c109a90a07d49c391f7e64b1eab6a557b4c116b326e7cb22080837bf072fddc9e6628a8a1cfbef7011d55 SHA512 7346da6c7581bb2e35fee599c7cea451c94ec978d712e543dc3c1962b3b81f1b8490abcfe1a97c846845563323f7b84ba768bca3ac0b5d72e056b999076b5bce
|
||||
EBUILD minisign-9999.ebuild 746 BLAKE2B ce654c167698fe14ca148a25af7be63a4b86afc48ca6760b3c8b9abab3e4a783fc47686b5a1337dcb012370839517d7bfff0f91d6cf97f8b69cd07ecfa941c2c SHA512 354823117095e758bd6fd836aece311034eeff4cccd83b99b8a2446b893557638352b60de4dc1903e7ab5bab9c3a816468ce72f5f0e6a0e09cd218521e0e0535
|
||||
MISC metadata.xml 682 BLAKE2B a3a405073dbad7ea7c570ae8eccef230b2f3baf389d0210e6ba1afb57e0b3504172225b1cb3a957812ed08bf2b8080b1b4dcb13ab982eccc8bdc15377a90cffa SHA512 8e88cae8452b76db2c57e86f6c50a5859964cb3e7e3f6a574990fbebd74d512a57015ed53c966ca714c7545d43160412c8aca9e954180333c6ecce81df8c4b51
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST rhash-1.4.3-src.tar.gz 429290 BLAKE2B d225aeae0b3a8fb2e093a9aef50cd07a790c7e9734e91114deef2ca8492c85261b8ed5dea45958e35e049ea888885175608962ea72297bdef48b00c52f51eaca SHA512 d87ffcde28d8f25cf775c279fed457e52d24523ed9b695629dae694b3c22372247d18f6032f8ce13a0b70fa2953be408982e46659daaa7c4ab227ae89eaed9c7
|
||||
DIST rhash-1.4.4-src.tar.gz 435691 BLAKE2B f3d42f333ad9a82fe4a8ef5af5d8008abf526c05c06a00c7033881d5a27ba663c3cc5cefb73ea8157ac24cb10a50a4e500706d489e61a03dbaee74a4735d1722 SHA512 00a7e5e058b53ce20ae79509815452ed9cb699d1322b678220b72c61dea3ea2f8fa131acfade8bb6d9f6af913f0c3c472330841181b22314b8755166310c946f
|
||||
EBUILD rhash-1.4.3.ebuild 2113 BLAKE2B 2462ca1adacaedcfe7352553356498ba501ecf184c79ff64c29ee40b88d987ef1e45da8987f17c33d7e8cd40fa244e81fd41d1c91aa9fb3f8da49c06ed72aa85 SHA512 f2192895a9ae0195f403e1feddce71a10df7105765892a09f219614b2be50b9f20205baadf5f6ce32997d56ad5fed733e839fb5493f76423d8329c9be3d66763
|
||||
EBUILD rhash-1.4.4.ebuild 2123 BLAKE2B 8454517f2b450206ca0554e42060b60beefe5cd9dc5652225f7b2c693e4070992423bc8a7fdfb928c95887e3c255b8431d2aff5dada17f678a456777168944c1 SHA512 c913d14374c69a4d3c8f1ae056f1c82d88331444885d70547e6effad2473e7a278bc635ff86d7798b7a0c4ce278d24daf73ef9e9ab70721a194aa632873d6d1c
|
||||
EBUILD rhash-1.4.3.ebuild 2114 BLAKE2B e1394d4b75cf07a74d9317a26ea8f86806dacebd4bd75c8de4e7cf612fd712a6b996f067140897a983a2a7cf09570cd8354415d99157be6e78e94fb8afcc94c5 SHA512 9c96f681f4d9a898442460f4dd2bba2f30316dff556965fa23f2874ffe2ad1b17abeece1457f673e826238f7bf051b76b6de216a4bfac6e01ff0b92d47d95c5f
|
||||
EBUILD rhash-1.4.4.ebuild 2124 BLAKE2B 8172e1e6781d80860a0e475f61f0e14ea057d2488b794bbff6bdae46968ab291dba39de79a890ca210f6b83f01a3900c19e14690bfd0ec753de0496653b8b93c SHA512 b64368b8b936a88546b39757f957d4578b059094b70f302e644a1e1bf7ac0e8ec22b17ff53c92d2bfbc62135b401f2ef5929517548a109dfdf6e8c46f55bc88e
|
||||
MISC metadata.xml 817 BLAKE2B eeb15cde9e06507f73330759d44dca59dea3bbcb972cb25af71d91f065eb64dbd1ddc61e43f8fad50c264c269542f92efdace36d3397647c3c53972e695da22f SHA512 3e2f688b57c74e051fcfb90d34685346c459c5e9f425266fd3d8e099f586037b14c2bfdac76f135a046c77cc850bb49954c0e7d8dc9ded1db47bf0919ab3ea93
|
||||
|
@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="A PKCS #11 module for OpenPGP smartcards"
|
||||
HOMEPAGE="http://www.scute.org/"
|
||||
SRC_URI="
|
||||
mirror://gnupg/scute/${P}.tar.bz2
|
||||
https://dev.gentoo.org/~soap/distfiles/${P}-manual-eps-images.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
# configure script try to check the version of gpgsm and gpg-agent when
|
||||
# non-crosscompiling so we need to have them as build-time dependency as
|
||||
# well as runtime. Require a version of gnupg that is patched to have
|
||||
# gpgsm-gencert.sh working (as that's what the documentation describe).
|
||||
BDEPEND="
|
||||
>=app-crypt/pinentry-0.7.0
|
||||
>=app-crypt/gnupg-2.0.17-r1[smartcard]"
|
||||
DEPEND="
|
||||
>=dev-libs/libgpg-error-1.4
|
||||
>=dev-libs/libassuan-2.0.0"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
${BDEPEND}"
|
||||
BDEPEND+="
|
||||
sys-apps/texinfo"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
|
||||
# have to use pregenerated EPS files required for the texinfo documentation,
|
||||
# due to bug 664236 preventing even converting *to* eps.
|
||||
mv scute-eps/*.eps "${S}"/doc/ || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir)/pkcs11 \
|
||||
--with-libgpg-error-prefix="${ESYSROOT}"/usr \
|
||||
--with-libassuan-prefix="${ESYSROOT}"/usr
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# only building plugins
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
Binary file not shown.
@ -0,0 +1,68 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop wrapper xdg
|
||||
|
||||
# get the major version from PV
|
||||
MY_PV=$(ver_cut 3)
|
||||
MY_PN=${PN/-/_}
|
||||
|
||||
DESCRIPTION="Sophisticated text editor for code, markup and prose"
|
||||
HOMEPAGE="https://www.sublimetext.com"
|
||||
SRC_URI="
|
||||
amd64? ( https://download.sublimetext.com/sublime_text_build_${MY_PV}_x64.tar.xz )"
|
||||
S="${WORKDIR}/${MY_PN}"
|
||||
|
||||
LICENSE="Sublime"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="dbus"
|
||||
RESTRICT="bindist mirror strip"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/glib:2
|
||||
sys-libs/glibc
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libX11
|
||||
dbus? ( sys-apps/dbus )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-4_p4107-remove-deprecated-key-onlyshowin-from-launcher.patch
|
||||
"${FILESDIR}"/${PN}-4_p4107-set-explicit-startupwmclass-in-launcher.patch
|
||||
)
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
# Sublime bundles the kitchen sink, which includes python and other assorted
|
||||
# modules. Do not try to unbundle these because you are guaranteed to fail.
|
||||
|
||||
src_install() {
|
||||
insinto /opt/${MY_PN}
|
||||
doins -r Packages Lib Icon # /Icon is used at runtime by the application
|
||||
doins changelog.txt libcrypto.so.1.1 libssl.so.1.1 libsqlite3.so sublime_text.desktop
|
||||
|
||||
# sublime_merge looks for /opt/sublime_text/sublime_text
|
||||
exeinto /opt/${MY_PN}
|
||||
doexe crash_reporter plugin_host-3.3 plugin_host-3.8 sublime_text
|
||||
|
||||
# sublime-text sets its WM_CLASS based on its argv[0]. A wrapper script is
|
||||
# used instead of a symlink to preserve a consistent WM_CLASS regardless of
|
||||
# how the application is launched. This causes the WM_CLASS to be
|
||||
# "sublime_text" which matches the .desktop entry.
|
||||
make_wrapper subl "/opt/${MY_PN}/sublime_text --fwdargv0 \"\$0\""
|
||||
domenu sublime_text.desktop
|
||||
|
||||
local size
|
||||
for size in 16 32 48 128 256; do
|
||||
doicon --size ${size} Icon/${size}x${size}/${PN}.png
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
|
||||
elog 'Sublime Text 4'"'"'s window class changes from WM_CLASS="subl" to'
|
||||
elog 'WM_CLASS="sublime_text" matching other distributions.'
|
||||
}
|
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
AUX 70emacs-w3m-gentoo.el 96 BLAKE2B 90d452df120d37b1d19be08ed6e7b56edb588c95de6d124bdb8d25daa5c65fd8a19500e29e94a0936aa8efa2b51bae258e1431c6d1459d0d700e8d1dae0cbaca SHA512 7fd090a575e5b8f2df50bd751f301f5f4409dfd78eb45bb911c54a3cbfe76941a146630ea0e4089138c400caf45bb040f72e3ac335457061776e01e0aa3f5577
|
||||
DIST emacs-w3m-1.4.632_pre20181112.tar.xz 792664 BLAKE2B f60249a064cf9b63a46e0d9ae0d845d3877dd9ddfc1f7770609c68c9d9b60c67b9e461c399b83c5b01fbe94609914937fbf8177475274faa262d8fab0b4e6a19 SHA512 01ecb8a282484d164f5d630adac39784aec9f2e37975865f132be4b8b82d4be1e5667d903775c4adf0470109053b1b229f09472410a0ac7d1588e64c86c7b8f9
|
||||
EBUILD emacs-w3m-1.4.632_pre20181112.ebuild 1307 BLAKE2B 1f3fd16f58e2621e39dec449b35e7587730a3f23cdc7e59d676c4a94b961d07f7c064946098dc85dd7bf5451a7721e8ee70fac93452f8d08490f521be5afb4f6 SHA512 a18bee4ffe4dc6bb7afa26f27cb146aa484f32cc47ab473d0ca6469dedef3d5a3d7b191a4e847b924eeb33ab2c95a68b423a20e0ebbb209fe52249a0416e965f
|
||||
MISC metadata.xml 361 BLAKE2B 188dc84d4e5e04b6c29019d9bb49db181bfacfdf4d83900b9a8ef4f6dafc3d7201fac2db1ec0b4ca43a9ca9f12417d2db02adadb94ff8573a722b523c7164972 SHA512 22f74ea621ccff90492d8b602e58918c2042989ff845f46a5f0db1f5acc6001ed50141025d8618187602890f9a9455cc746657f6d5f06f8e3e71a249558b334f
|
||||
DIST emacs-w3m-1.4.632_p20230801.tar.gz 1080773 BLAKE2B da4ba612042c8e96c5932e2d5a0bfe596be6f7bdb1b5b596656d6b13294742f679e3fd149e7d1414b775a068331d32dae1d045191b16099a4d4b6f5d11a80ebe SHA512 0faf28ee53aa3b6b548d8d532e513d2e584627e600b161cf4c2db9ded16f432170406c60cfff043c9008bf202a3e07e90ea34169492ae71001c51d0f86429124
|
||||
EBUILD emacs-w3m-1.4.632_p20230801.ebuild 1560 BLAKE2B 5ec9743894eb3a5e21297bda285d504d13542751f6ad048994a63099610d26284a361239e7111776a57ec1fae64b3a1b87425a7a3f0e8011834535bbb6400b6e SHA512 a4b4bedce6322769b0fb3ca0ad32bb3e7d0f9d708444f8159856b3436a8ff615bd0daae5973f895ba2074b4e4ca696b360b6dc679fdbe304dff2a58bd7dae1ef
|
||||
MISC metadata.xml 511 BLAKE2B e65ecb900d9b61737acd411f3ebb34a85750fc68c912c916dfc6ae031f4439a2461962bf7a44f6cc85bfe8e359abf5780a7b3253e716c27585379815d4a3f1c2 SHA512 19bad8e3f16e3a89b3b093083355f5f33dfac1cf9874d748fc54b56a731664bb475e8d0beb047ae48b40c02d6ae2236409b4e5ed7a00841ba98a1f78877a0041
|
||||
|
@ -1,29 +1,39 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
inherit elisp autotools readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="emacs-w3m is an interface program of w3m on Emacs"
|
||||
HOMEPAGE="http://emacs-w3m.namazu.org/"
|
||||
SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
|
||||
HOMEPAGE="http://emacs-w3m.namazu.org/
|
||||
https://github.com/emacs-w3m/emacs-w3m/"
|
||||
|
||||
if [[ ${PV} == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/emacs-w3m/emacs-w3m.git"
|
||||
else
|
||||
[[ ${PV} == *_p20230801 ]] &&
|
||||
COMMIT="1388eadc914bed79b0e06a6565388c5e8aff8014"
|
||||
SRC_URI="https://github.com/emacs-w3m/emacs-w3m/archive/${COMMIT}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="gzip-el l10n_ja"
|
||||
|
||||
RDEPEND="virtual/w3m"
|
||||
BDEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
SITEFILE="70${PN}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
mv configure.{in,ac} || die
|
||||
sed -i -e '/^configure:/,+2d' Makefile.in || die
|
||||
eapply_user
|
||||
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
@ -1,4 +1,6 @@
|
||||
AUX 50exec-path-from-shell-gentoo.el 84 BLAKE2B 0f3b62567ac7e3d501fe9d728cf380383f789f4c3107044747f2cfecd682f71404a49b4afa145f18e5dddc6f41247035fe72e01d6f3b362586017fdedc216c8e SHA512 42f18f03262f302c8ab28b0db1f285ab27caa19cf9acc4df4b289bd24d0e379e847022f59d5ac627ea3ebe1ba1c3f0a55ecba94d3b7f6825bcfee324983e216f
|
||||
DIST exec-path-from-shell-1.12.tar.gz 17125 BLAKE2B 01440c4f484fa2e584c40961cc3a0199a812072b3a41c78833a43bd57105e677077f902ef40dbb68eeaaa84fc511d9e02d7fabdbd7c86a0bc57e1ba88aaa6888 SHA512 62f0f89f542cbf0edaf163c1dfd4fac8bb532898f8eb5a9e068a991eaddb5e6ecb1813fc76252dc2d48b42b9ab602082f612d241613002b1a37b4f7d5f5d4f3c
|
||||
DIST exec-path-from-shell-2.1.tar.gz 18673 BLAKE2B fd1d3c1cc6d7ce89eacbf9cd3cfe737a1867723dda28993ee049d91437dc8a17edf07ec1e4a121eae384deebfde934e371168ee6870e09886483cecce1bc306e SHA512 bd211756fa06115af45db6d9fb351f3affb0d59ae717643c9e4df422e63ddb780edf642d030db5b039e2759b2bfca948f7638d2dbd3ac84f3c2b8814b4a085f3
|
||||
EBUILD exec-path-from-shell-1.12.ebuild 510 BLAKE2B 6b85c3b978fdd8ee26dac4d8fe501b2833f8a87e9d22334098434a7e3829383432c8b1ce1d7399ce721f56f4ee08bb1c5e9ee07406a44518b9a680145ce1430b SHA512 e785e3dd57f950d133d0d4e4db3a76c4835ebd7bf05881c719a3b91303a942562c8d63dd0c96259d6d1f976bd6aeb08d70e4ba89ceca5a93985a2d0c72b4d8da
|
||||
EBUILD exec-path-from-shell-2.1.ebuild 511 BLAKE2B 80959fd1ec50e629e1c1554c8f633eabeb0758cb428798d9bc0a30a65e8208ec2cd882eb10b9dc82582d857c2e3b7db93904b4014034888dcb3e8b1811dda9a5 SHA512 8460183e35bca490b3a151ba6500a693d4852e3de45b518940d7255f238b795e67e5ad3ed922429838dc9fac5c4ac5fab7b934c406550a03d41ae51e522e12f1
|
||||
MISC metadata.xml 817 BLAKE2B 013b0baf63e956f1c9bfa234348c4ec80888321257fda7569324033c1c48418b979972d48d8bbcfb83d75cfb44fae9a0cd484bd1e7e7a65c7fec58542aeccd7e SHA512 78d256c67f5e15e1895e13ab57fbe8d80897184f2aa04698df4a4de60ab0da5dbbb59c65f3696e2e548456eee249550bffdda45025abd3844c0fbb6c6886cb02
|
||||
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Ensure environment variables inside Emacs are the same as in shell"
|
||||
HOMEPAGE="https://github.com/purcell/exec-path-from-shell/"
|
||||
SRC_URI="https://github.com/purcell/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DOCS=( README.md )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_compile() {
|
||||
elisp_src_compile
|
||||
elisp-make-autoload-file
|
||||
}
|
@ -1,6 +1,8 @@
|
||||
AUX package-lint-symbol-info-data-directory.patch 1249 BLAKE2B 119c77c1a720bb08be8dc82b74eba56b0ada00bdc769d6efa644613e582613929e4e1a64ef932160053e07275d533dad86db83d0441c69487a7505bf9cb9dbf4 SHA512 ca0bf2708d7d06361b604f1ac0466f0273492629f827939424a5c1bc764bf1756f71b69eab29eab9db76b168db7e45ab370ff0c8e5ac601bff08a4bd4424a745
|
||||
DIST package-lint-0.16.tar.gz 224744 BLAKE2B a1d26ae28727e305416498b66da188cbadababc9f415c199eff380dbce4888ee3137b6f13a26147d427142a9d244c784e192d21df3173d0a0c2dde4acb1e8630 SHA512 f5d79b69d37671233614a622cd5fd6c28c230adb0d5b7934ccd6bedc12228adb7bdef6739fdd32be383cefceb65b9538a00f763b49be6499e4b6e3f8b1a34616
|
||||
DIST package-lint-0.17.tar.gz 284965 BLAKE2B 752adde42a820f54adef63cbe9f0cebef5af1d4d51dfefe9bf1c18929e739137081b722632f1fae8e171f4e25c0b9b15b47d9b3fb2c0f0542b214054c46ea190 SHA512 3f2240e03f67d6575b93643d26abd768bfe71fa1223c38b5b889c0f11784d22d3ad1849fa8f1424dccafc3befafdb49b1d796f175867490db96534c0e4b5f25e
|
||||
DIST package-lint-0.18.tar.gz 319579 BLAKE2B ba9ebc1bb3155b24ae6bfb7ce78f2360502ebac2aaa9f06bbe30c59b750cf3d4cafc318c2e0da9cd6414837d5bf2ad187cb6d4b3cf4edef4d10dffb453b1e06a SHA512 5f39e9de275b7d57e8a9cefa1edfd244e004ee5b436ac500739b5b615795cc894443f1596801a493cd60f9205c02203c12e9577893212b1f03e47eed66100471
|
||||
EBUILD package-lint-0.16-r1.ebuild 745 BLAKE2B b114a345947a6dd90275147bd3b29f0678553c35dcd9422522f8b9885d4ad4eca661550e0c8b97c0719e3a5b1e280c93cf1f94432e687d33d10454d56dbeae07 SHA512 d88793f42a0f8bc5019ccd7fb119580e4e1cb8afb80eb3c6b5419407b70c78bacb6ad3051a13c85c6face482a3b39865ee28c67435af6b7425099604968f92c7
|
||||
EBUILD package-lint-0.17.ebuild 745 BLAKE2B b114a345947a6dd90275147bd3b29f0678553c35dcd9422522f8b9885d4ad4eca661550e0c8b97c0719e3a5b1e280c93cf1f94432e687d33d10454d56dbeae07 SHA512 d88793f42a0f8bc5019ccd7fb119580e4e1cb8afb80eb3c6b5419407b70c78bacb6ad3051a13c85c6face482a3b39865ee28c67435af6b7425099604968f92c7
|
||||
EBUILD package-lint-0.18.ebuild 745 BLAKE2B b114a345947a6dd90275147bd3b29f0678553c35dcd9422522f8b9885d4ad4eca661550e0c8b97c0719e3a5b1e280c93cf1f94432e687d33d10454d56dbeae07 SHA512 d88793f42a0f8bc5019ccd7fb119580e4e1cb8afb80eb3c6b5419407b70c78bacb6ad3051a13c85c6face482a3b39865ee28c67435af6b7425099604968f92c7
|
||||
MISC metadata.xml 1239 BLAKE2B 108fe66a5ec45cea84e75f042a5952af1ef92e4993b55f46e3392758beb9667562101cd7c1024d0089bd8ad66c9247fdb267e737030ae6b02fba7726cd27f1fc SHA512 227780ef543751dbda0bd612eca5e474ded35b199e380cb18c984d8e9e23ace2e5b08289687b169d420cf7f84baead74e2897af392f21a76e3e158b79e6c5f32
|
||||
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
NEED_EMACS=26.1
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Linting library for Emacs Lisp package metadata"
|
||||
HOMEPAGE="https://github.com/purcell/package-lint/"
|
||||
SRC_URI="https://github.com/purcell/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-symbol-info-data-directory.patch )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
elisp_src_prepare
|
||||
|
||||
sed "s|@SITEETC@|${EPREFIX}${SITEETC}/${PN}|" -i ${PN}.el || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
elisp-install ${PN} ${PN}{,-flymake}.el{,c}
|
||||
elisp-make-site-file "${SITEFILE}"
|
||||
|
||||
insinto ${SITEETC}/${PN}
|
||||
doins -r data
|
||||
|
||||
einstalldocs
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
DIST reformatter-0.6.tar.gz 7943 BLAKE2B 72f34b873aacef5ee1dd0edd06effed83dad490f5d57ac3390dbd0d6fb7172adb1b7a3e19c0e90740b300cad8d2a1df60ab1bbfaa660c79621066d402f01b923 SHA512 ff1ad88b3a0a3ca1e70a5e0d7fe6f2264981d88ae64f0fa412d52721fb43991a483f31fb72193f7d67be71f39110051c0dda39e4ed87b4339aa156fa256e013a
|
||||
DIST reformatter-0.7.tar.gz 8294 BLAKE2B 52e516d9c56798d924c30b0ff68e0441229aa7644fa3944fabaacd2452da03810deacd3e363504c99de6777149da72606397a6d28822d34335250cd341d69082 SHA512 2b45dfc1440dbbb4f8ec0ab6a2e69b2686ad6983a074bb9bf1863347186ced197e2f5b23baf2fccd382e113d1813211a0173c246af1ef47447722b3c33fb4207
|
||||
EBUILD reformatter-0.6.ebuild 585 BLAKE2B 63e93897964e97aed7da758cf7a569c107a7ac2cf95c9d97a99a9cf7e8af71527ed8ddb83887011f3069efc1e1b4f03784707ad383ea16a871189172c56180a7 SHA512 aa2d3d0187d1f08e34fe86662e5a34bb40db0ae256780075a599389ea7db426cf88f0d7007434130fc02fafb8a5bd52d2eb01c7b5003656348d2583b4c5e131c
|
||||
EBUILD reformatter-0.7.ebuild 585 BLAKE2B 63e93897964e97aed7da758cf7a569c107a7ac2cf95c9d97a99a9cf7e8af71527ed8ddb83887011f3069efc1e1b4f03784707ad383ea16a871189172c56180a7 SHA512 aa2d3d0187d1f08e34fe86662e5a34bb40db0ae256780075a599389ea7db426cf88f0d7007434130fc02fafb8a5bd52d2eb01c7b5003656348d2583b4c5e131c
|
||||
MISC metadata.xml 439 BLAKE2B 01b361a03c6f00eeb8c6c6ab920097880f6700b4d4e9c8507c76e6e1ab761f85f64841371252dc91bbb92db8dae9d56db7ba20593ff2bf061a04d727cf01779e SHA512 86eb370ab334b24bfb3cf5b7df495f0541ab7b1604bc4a352052a9e7744d346c1492cd63f8bf4d31b5706e6e7ec747f8cd2a90b3b838847ec4613c57100c69a7
|
||||
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Define commands which run reformatters on the Emacs buffers"
|
||||
HOMEPAGE="https://github.com/purcell/emacs-reformatter/"
|
||||
SRC_URI="https://github.com/purcell/emacs-${PN}/archive/${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/emacs-${P}
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
RESTRICT="test" # Tests need "shfmt"
|
||||
|
||||
DOCS=( README.md )
|
||||
ELISP_REMOVE="Makefile ${PN}-tests.el" # Makefile downloads pkgs from net
|
||||
SITEFILE="50${PN}-gentoo.el"
|
Binary file not shown.
@ -1,629 +0,0 @@
|
||||
# Copyright 2021-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CRATES="
|
||||
ab_glyph@0.2.21
|
||||
ab_glyph_rasterizer@0.1.8
|
||||
addr2line@0.19.0
|
||||
adler32@1.2.0
|
||||
adler@1.0.2
|
||||
ahash@0.7.6
|
||||
ahash@0.8.3
|
||||
aho-corasick@0.7.20
|
||||
aho-corasick@1.0.2
|
||||
aliasable@0.1.3
|
||||
allocator-api2@0.2.15
|
||||
alsa-sys@0.3.1
|
||||
alsa@0.7.0
|
||||
android-activity@0.4.1
|
||||
android-properties@0.2.2
|
||||
android-tzdata@0.1.1
|
||||
android_system_properties@0.1.5
|
||||
anstream@0.3.2
|
||||
anstyle-parse@0.2.0
|
||||
anstyle-query@1.0.0
|
||||
anstyle-wincon@1.0.1
|
||||
anstyle@1.0.0
|
||||
anyhow@1.0.71
|
||||
approx@0.5.1
|
||||
arboard@3.2.0
|
||||
arc-swap@1.6.0
|
||||
arrayref@0.3.7
|
||||
arrayvec@0.7.4
|
||||
ash@0.37.3+1.3.251
|
||||
async-channel@1.8.0
|
||||
async-io@1.13.0
|
||||
async-lock@2.7.0
|
||||
atk-sys@0.16.0
|
||||
atomic_refcell@0.1.10
|
||||
atty@0.2.14
|
||||
autocfg@1.1.0
|
||||
backtrace@0.3.67
|
||||
base64@0.13.1
|
||||
base64@0.21.2
|
||||
bindgen@0.64.0
|
||||
bitflags@1.3.2
|
||||
bitflags@2.3.2
|
||||
bitstream-io@1.6.0
|
||||
bit-set@0.5.3
|
||||
bit-vec@0.6.3
|
||||
block2@0.2.0-alpha.6
|
||||
block-buffer@0.10.4
|
||||
block-sys@0.1.0-beta.1
|
||||
block@0.1.6
|
||||
bstr@1.5.0
|
||||
bumpalo@3.13.0
|
||||
bytemuck@1.13.1
|
||||
bytemuck_derive@1.4.1
|
||||
byteorder@1.4.3
|
||||
bytes@1.4.0
|
||||
cairo-sys-rs@0.16.3
|
||||
calloop@0.10.6
|
||||
castaway@0.1.2
|
||||
cc@1.0.79
|
||||
cesu8@1.1.0
|
||||
cexpr@0.6.0
|
||||
cfg-expr@0.15.2
|
||||
cfg-if@1.0.0
|
||||
cfg_aliases@0.1.1
|
||||
chrono@0.4.26
|
||||
clang-sys@1.6.1
|
||||
clap@4.3.4
|
||||
clap_builder@4.3.4
|
||||
clap_derive@4.3.2
|
||||
clap_lex@0.5.0
|
||||
clipboard-win@4.5.0
|
||||
codespan-reporting@0.11.1
|
||||
colorchoice@1.0.0
|
||||
colored@2.0.0
|
||||
color_quant@1.1.0
|
||||
combine@4.6.6
|
||||
com-rs@0.2.1
|
||||
concurrent-queue@2.2.0
|
||||
console@0.15.7
|
||||
console_error_panic_hook@0.1.7
|
||||
convert_case@0.6.0
|
||||
cookie-factory@0.3.2
|
||||
coreaudio-rs@0.11.2
|
||||
coreaudio-sys@0.2.12
|
||||
core-foundation-sys@0.6.2
|
||||
core-foundation-sys@0.8.4
|
||||
core-foundation@0.9.3
|
||||
core-graphics-types@0.1.1
|
||||
core-graphics@0.22.3
|
||||
cpal@0.15.2
|
||||
cpufeatures@0.2.8
|
||||
crc32fast@1.3.2
|
||||
crc-catalog@2.2.0
|
||||
crc@3.0.1
|
||||
crossbeam-channel@0.5.8
|
||||
crossbeam-deque@0.8.3
|
||||
crossbeam-epoch@0.9.15
|
||||
crossbeam-utils@0.8.16
|
||||
crypto-common@0.1.6
|
||||
csv-core@0.1.10
|
||||
csv@1.2.2
|
||||
ctor@0.1.26
|
||||
curl-sys@0.4.63+curl-8.1.2
|
||||
curl@0.4.44
|
||||
d3d12@0.6.0
|
||||
darling@0.20.1
|
||||
darling_core@0.20.1
|
||||
darling_macro@0.20.1
|
||||
dasp_sample@0.11.0
|
||||
data-encoding@2.4.0
|
||||
derive-try-from-primitive@1.0.0
|
||||
diff@0.1.13
|
||||
digest@0.10.7
|
||||
dirs-sys@0.4.1
|
||||
dirs@5.0.1
|
||||
dispatch@0.2.0
|
||||
displaydoc@0.2.4
|
||||
dlib@0.5.2
|
||||
doc-comment@0.3.3
|
||||
downcast-rs@1.2.0
|
||||
ecolor@0.22.0
|
||||
egui-wgpu@0.22.0
|
||||
egui-winit@0.22.0
|
||||
egui@0.22.0
|
||||
egui_extras@0.22.0
|
||||
either@1.8.1
|
||||
emath@0.22.0
|
||||
embed-resource@2.1.1
|
||||
encode_unicode@0.3.6
|
||||
encoding_rs@0.8.32
|
||||
enumset@1.1.2
|
||||
enumset_derive@0.8.1
|
||||
enum-map-derive@0.11.0
|
||||
enum-map@2.5.0
|
||||
env_logger@0.10.0
|
||||
epaint@0.22.0
|
||||
errno-dragonfly@0.1.2
|
||||
errno@0.3.1
|
||||
error-code@2.3.1
|
||||
euclid@0.22.9
|
||||
event-listener@2.5.3
|
||||
fastrand@1.9.0
|
||||
fdeflate@0.3.0
|
||||
flate2@1.0.26
|
||||
float_next_after@0.1.5
|
||||
fluent-bundle@0.15.2
|
||||
fluent-langneg@0.13.0
|
||||
fluent-syntax@0.11.0
|
||||
fluent-templates@0.8.0
|
||||
fluent-template-macros@0.8.0
|
||||
fluent@0.16.0
|
||||
flume@0.10.14
|
||||
fnv@1.0.7
|
||||
foreign-types-shared@0.1.1
|
||||
foreign-types@0.3.2
|
||||
form_urlencoded@1.2.0
|
||||
futures-channel@0.3.28
|
||||
futures-core@0.3.28
|
||||
futures-executor@0.3.28
|
||||
futures-io@0.3.28
|
||||
futures-lite@1.13.0
|
||||
futures-macro@0.3.28
|
||||
futures-sink@0.3.28
|
||||
futures-task@0.3.28
|
||||
futures-util@0.3.28
|
||||
futures@0.3.28
|
||||
gdk-pixbuf-sys@0.16.3
|
||||
gdk-sys@0.16.0
|
||||
generational-arena@0.2.9
|
||||
generator@0.7.4
|
||||
generic-array@0.14.7
|
||||
gethostname@0.2.3
|
||||
getrandom@0.2.10
|
||||
gif@0.12.0
|
||||
gimli@0.27.3
|
||||
gio-sys@0.16.3
|
||||
glib-sys@0.16.3
|
||||
globset@0.4.10
|
||||
glob@0.3.1
|
||||
glow@0.12.2
|
||||
gobject-sys@0.16.3
|
||||
gpu-allocator@0.22.0
|
||||
gpu-alloc-types@0.2.0
|
||||
gpu-alloc@0.5.4
|
||||
gpu-descriptor-types@0.1.1
|
||||
gpu-descriptor@0.2.3
|
||||
gtk-sys@0.16.0
|
||||
hashbrown@0.12.3
|
||||
hashbrown@0.13.2
|
||||
hashbrown@0.14.0
|
||||
hassle-rs@0.10.0
|
||||
heck@0.4.1
|
||||
hermit-abi@0.1.19
|
||||
hermit-abi@0.2.6
|
||||
hermit-abi@0.3.1
|
||||
hexf-parse@0.2.1
|
||||
home@0.5.5
|
||||
http@0.2.9
|
||||
humantime@2.1.0
|
||||
iana-time-zone-haiku@0.1.2
|
||||
iana-time-zone@0.1.57
|
||||
ident_case@1.0.1
|
||||
idna@0.4.0
|
||||
ignore@0.4.20
|
||||
image@0.24.6
|
||||
indexmap@1.9.3
|
||||
indicatif@0.17.5
|
||||
instant@0.1.12
|
||||
insta@1.29.0
|
||||
intl-memoizer@0.5.1
|
||||
intl_pluralrules@7.0.2
|
||||
io-lifetimes@1.0.11
|
||||
isahc@1.7.2
|
||||
is-terminal@0.4.7
|
||||
itoa@1.0.6
|
||||
jni-sys@0.3.0
|
||||
jni@0.19.0
|
||||
jni@0.20.0
|
||||
jni@0.21.1
|
||||
jobserver@0.1.26
|
||||
jpeg-decoder@0.3.0
|
||||
js-sys@0.3.64
|
||||
khronos-egl@4.1.0
|
||||
lazycell@1.3.0
|
||||
lazy_static@1.4.0
|
||||
libc@0.2.146
|
||||
libflate@1.4.0
|
||||
libflate_lz77@1.2.0
|
||||
libloading@0.7.4
|
||||
libloading@0.8.0
|
||||
libm@0.2.7
|
||||
libnghttp2-sys@0.1.7+1.45.0
|
||||
libtest-mimic@0.6.0
|
||||
libz-sys@1.1.9
|
||||
linked-hash-map@0.5.6
|
||||
linkme-impl@0.3.10
|
||||
linkme@0.3.10
|
||||
linux-raw-sys@0.3.8
|
||||
lock_api@0.4.10
|
||||
log@0.4.19
|
||||
loom@0.5.6
|
||||
lru@0.10.0
|
||||
lyon@1.0.1
|
||||
lyon_algorithms@1.0.3
|
||||
lyon_geom@1.0.4
|
||||
lyon_path@1.0.3
|
||||
lyon_tessellation@1.0.10
|
||||
lzma-rs@0.3.0
|
||||
mach2@0.4.1
|
||||
malloc_buf@0.0.6
|
||||
matchers@0.1.0
|
||||
memchr@2.5.0
|
||||
memmap2@0.5.10
|
||||
memoffset@0.6.5
|
||||
memoffset@0.9.0
|
||||
metal@0.24.0
|
||||
mime@0.3.17
|
||||
minimal-lexical@0.2.1
|
||||
miniz_oxide@0.6.2
|
||||
miniz_oxide@0.7.1
|
||||
mio@0.8.8
|
||||
naga@0.12.2
|
||||
naga_oil@0.7.0
|
||||
ndk-context@0.1.1
|
||||
ndk-sys@0.4.1+23.1.7779620
|
||||
ndk@0.7.0
|
||||
nix@0.24.3
|
||||
nix@0.25.1
|
||||
nohash-hasher@0.2.0
|
||||
nom@7.1.3
|
||||
number_prefix@0.4.0
|
||||
num-bigint@0.4.3
|
||||
num-complex@0.4.3
|
||||
num-derive@0.3.3
|
||||
num-integer@0.1.45
|
||||
num-rational@0.4.1
|
||||
num-traits@0.2.15
|
||||
num_cpus@1.15.0
|
||||
num_enum@0.5.11
|
||||
num_enum_derive@0.5.11
|
||||
nu-ansi-term@0.46.0
|
||||
objc2-encode@2.0.0-pre.2
|
||||
objc2@0.3.0-beta.3.patch-leaks.3
|
||||
objc-foundation@0.1.1
|
||||
objc-sys@0.2.0-beta.2
|
||||
objc@0.2.7
|
||||
objc_exception@0.1.2
|
||||
objc_id@0.1.1
|
||||
object@0.30.4
|
||||
oboe-sys@0.5.0
|
||||
oboe@0.5.0
|
||||
once_cell@1.18.0
|
||||
openssl-probe@0.1.5
|
||||
openssl-sys@0.9.88
|
||||
option-ext@0.2.0
|
||||
orbclient@0.3.45
|
||||
os_info@3.7.0
|
||||
ouroboros@0.17.0
|
||||
ouroboros_macro@0.17.0
|
||||
output_vt100@0.1.3
|
||||
overload@0.1.1
|
||||
owned_ttf_parser@0.19.0
|
||||
pango-sys@0.16.3
|
||||
parking@2.1.0
|
||||
parking_lot@0.12.1
|
||||
parking_lot_core@0.9.8
|
||||
path-slash@0.2.1
|
||||
peeking_take_while@0.1.2
|
||||
percent-encoding@2.3.0
|
||||
pin-project-internal@1.1.0
|
||||
pin-project-lite@0.2.9
|
||||
pin-project@1.1.0
|
||||
pin-utils@0.1.0
|
||||
pkg-config@0.3.27
|
||||
png@0.17.9
|
||||
polling@2.8.0
|
||||
portable-atomic@1.3.3
|
||||
ppv-lite86@0.2.17
|
||||
pp-rs@0.2.1
|
||||
pretty_assertions@1.3.0
|
||||
primal-check@0.3.3
|
||||
proc-macro2@1.0.60
|
||||
proc-macro-crate@1.3.1
|
||||
proc-macro-error-attr@1.0.4
|
||||
proc-macro-error@1.0.4
|
||||
proc-macro-hack@0.5.20+deprecated
|
||||
profiling-procmacros@1.0.8
|
||||
profiling@1.0.8
|
||||
quick-xml@0.29.0
|
||||
quote@1.0.28
|
||||
rand@0.8.5
|
||||
rand_chacha@0.3.1
|
||||
rand_core@0.6.4
|
||||
range-alloc@0.1.3
|
||||
raw-window-handle@0.5.2
|
||||
rayon-core@1.11.0
|
||||
rayon@1.7.0
|
||||
realfft@3.3.0
|
||||
redox_syscall@0.2.16
|
||||
redox_syscall@0.3.5
|
||||
redox_users@0.4.3
|
||||
regex-automata@0.1.10
|
||||
regex-syntax@0.6.29
|
||||
regex-syntax@0.7.2
|
||||
regex@1.8.4
|
||||
regress@0.6.0
|
||||
renderdoc-sys@1.0.0
|
||||
rfd@0.11.4
|
||||
rle-decode-fast@1.0.3
|
||||
ron@0.8.0
|
||||
rustc-demangle@0.1.23
|
||||
rustc-hash@1.1.0
|
||||
rustc_version@0.4.0
|
||||
rustdct@0.7.1
|
||||
rustfft@6.1.0
|
||||
rustix@0.37.20
|
||||
rustversion@1.0.12
|
||||
ryu@1.0.13
|
||||
safe_arch@0.7.0
|
||||
same-file@1.0.6
|
||||
schannel@0.1.21
|
||||
scoped-tls@1.0.1
|
||||
scopeguard@1.1.0
|
||||
sctk-adwaita@0.5.4
|
||||
self_cell@0.10.2
|
||||
semver@1.0.17
|
||||
serde-wasm-bindgen@0.5.0
|
||||
serde-xml-rs@0.6.0
|
||||
serde@1.0.164
|
||||
serde_derive@1.0.164
|
||||
serde_json@1.0.97
|
||||
serde_spanned@0.6.2
|
||||
sha2@0.10.7
|
||||
sharded-slab@0.1.4
|
||||
shlex@1.1.0
|
||||
simd-adler32@0.3.5
|
||||
similar@2.2.1
|
||||
simple_asn1@0.6.2
|
||||
slab@0.4.8
|
||||
slotmap@1.0.6
|
||||
sluice@0.5.5
|
||||
smallvec@1.10.0
|
||||
smithay-client-toolkit@0.16.0
|
||||
smithay-clipboard@0.6.6
|
||||
snafu-derive@0.7.4
|
||||
snafu@0.7.4
|
||||
socket2@0.4.9
|
||||
spin@0.9.8
|
||||
spirv@0.2.0+1.5.4
|
||||
sptr@0.3.2
|
||||
static_assertions@1.1.0
|
||||
strength_reduce@0.2.4
|
||||
strict-num@0.1.1
|
||||
strsim@0.10.0
|
||||
str-buf@1.0.6
|
||||
symphonia-bundle-mp3@0.5.3
|
||||
symphonia-core@0.5.3
|
||||
symphonia-metadata@0.5.3
|
||||
symphonia@0.5.3
|
||||
synstructure@0.13.0
|
||||
syn@1.0.109
|
||||
syn@2.0.18
|
||||
system-deps@6.1.0
|
||||
sys-locale@0.3.0
|
||||
target-lexicon@0.12.7
|
||||
termcolor@1.2.0
|
||||
thiserror-impl@1.0.40
|
||||
thiserror@1.0.40
|
||||
threadpool@1.8.1
|
||||
thread_local@1.1.7
|
||||
tiff@0.8.1
|
||||
time-core@0.1.1
|
||||
time-macros@0.2.9
|
||||
time@0.3.22
|
||||
tinystr@0.7.1
|
||||
tinyvec@1.6.0
|
||||
tinyvec_macros@0.1.1
|
||||
tiny-skia-path@0.8.4
|
||||
tiny-skia@0.8.4
|
||||
toml@0.7.4
|
||||
toml_datetime@0.6.2
|
||||
toml_edit@0.19.10
|
||||
tracing-attributes@0.1.24
|
||||
tracing-core@0.1.31
|
||||
tracing-futures@0.2.5
|
||||
tracing-log@0.1.3
|
||||
tracing-subscriber@0.3.17
|
||||
tracing-tracy@0.10.2
|
||||
tracing-wasm@0.2.1
|
||||
tracing@0.1.37
|
||||
tracy-client-sys@0.21.0
|
||||
tracy-client@0.15.2
|
||||
transpose@0.2.2
|
||||
ttf-parser@0.19.0
|
||||
typed-arena@2.0.2
|
||||
typenum@1.16.0
|
||||
type-map@0.4.0
|
||||
type-map@0.5.0
|
||||
unicode-bidi@0.3.13
|
||||
unicode-ident@1.0.9
|
||||
unicode-normalization@0.1.22
|
||||
unicode-segmentation@1.10.1
|
||||
unicode-width@0.1.10
|
||||
unicode-xid@0.2.4
|
||||
unic-langid-impl@0.9.1
|
||||
unic-langid-macros-impl@0.9.1
|
||||
unic-langid-macros@0.9.1
|
||||
unic-langid@0.9.1
|
||||
url@2.4.0
|
||||
utf8parse@0.2.1
|
||||
valuable@0.1.0
|
||||
vcpkg@0.2.15
|
||||
vec_map@0.8.2
|
||||
vergen@8.2.1
|
||||
version-compare@0.1.1
|
||||
version_check@0.9.4
|
||||
vswhom-sys@0.1.2
|
||||
vswhom@0.1.0
|
||||
waker-fn@1.1.0
|
||||
walkdir@2.3.3
|
||||
wasi@0.11.0+wasi-snapshot-preview1
|
||||
wasm-bindgen-backend@0.2.87
|
||||
wasm-bindgen-futures@0.4.37
|
||||
wasm-bindgen-macro-support@0.2.87
|
||||
wasm-bindgen-macro@0.2.87
|
||||
wasm-bindgen-shared@0.2.87
|
||||
wasm-bindgen@0.2.87
|
||||
wayland-client@0.29.5
|
||||
wayland-commons@0.29.5
|
||||
wayland-cursor@0.29.5
|
||||
wayland-protocols@0.29.5
|
||||
wayland-scanner@0.29.5
|
||||
wayland-sys@0.29.5
|
||||
weak-table@0.3.2
|
||||
webbrowser@0.8.10
|
||||
web-sys@0.3.64
|
||||
weezl@0.1.7
|
||||
wgpu-core@0.16.1
|
||||
wgpu-hal@0.16.1
|
||||
wgpu-types@0.16.0
|
||||
wgpu@0.16.1
|
||||
widestring@1.0.2
|
||||
wide@0.7.10
|
||||
winapi-i686-pc-windows-gnu@0.4.0
|
||||
winapi-util@0.1.5
|
||||
winapi-wsapoll@0.1.1
|
||||
winapi-x86_64-pc-windows-gnu@0.4.0
|
||||
winapi@0.3.9
|
||||
windows-sys@0.42.0
|
||||
windows-sys@0.45.0
|
||||
windows-sys@0.48.0
|
||||
windows-targets@0.42.2
|
||||
windows-targets@0.48.0
|
||||
windows@0.44.0
|
||||
windows@0.46.0
|
||||
windows@0.48.0
|
||||
windows_aarch64_gnullvm@0.42.2
|
||||
windows_aarch64_gnullvm@0.48.0
|
||||
windows_aarch64_msvc@0.42.2
|
||||
windows_aarch64_msvc@0.48.0
|
||||
windows_i686_gnu@0.42.2
|
||||
windows_i686_gnu@0.48.0
|
||||
windows_i686_msvc@0.42.2
|
||||
windows_i686_msvc@0.48.0
|
||||
windows_x86_64_gnullvm@0.42.2
|
||||
windows_x86_64_gnullvm@0.48.0
|
||||
windows_x86_64_gnu@0.42.2
|
||||
windows_x86_64_gnu@0.48.0
|
||||
windows_x86_64_msvc@0.42.2
|
||||
windows_x86_64_msvc@0.48.0
|
||||
winit@0.28.6
|
||||
winnow@0.4.7
|
||||
winreg@0.11.0
|
||||
x11rb-protocol@0.10.0
|
||||
x11rb@0.10.1
|
||||
x11-dl@2.21.0
|
||||
xcursor@0.3.4
|
||||
xml-rs@0.8.14
|
||||
yaml-rust@0.4.5
|
||||
yansi@0.5.1"
|
||||
declare -A GIT_CRATES=(
|
||||
[dasp]="https://github.com/RustAudio/dasp;f05a703d247bb504d7e812b51e95f3765d9c5e94;dasp-%commit%/dasp"
|
||||
[flash-lso]="https://github.com/ruffle-rs/rust-flash-lso;8376453eddddbe701031a091c0eed94068fa5649;rust-flash-lso-%commit%/flash-lso"
|
||||
[gc-arena]="https://github.com/kyren/gc-arena;63dab12871321e0e5ada10ff1f1de8f4cf1764f9;gc-arena-%commit%/src/gc-arena"
|
||||
[h263-rs-yuv]="https://github.com/ruffle-rs/h263-rs;d5d78eb251c1ce1f1da57c63db14f0fdc77a4b36;h263-rs-%commit%/yuv"
|
||||
[h263-rs]="https://github.com/ruffle-rs/h263-rs;d5d78eb251c1ce1f1da57c63db14f0fdc77a4b36;h263-rs-%commit%/h263"
|
||||
[nellymoser-rs]="https://github.com/ruffle-rs/nellymoser;4a33521c29a918950df8ae9fe07e527ac65553f5;nellymoser-%commit%"
|
||||
[nihav_codec_support]="https://github.com/ruffle-rs/nihav-vp6;9416fcc9fc8aab8f4681aa9093b42922214abbd3;nihav-vp6-%commit%/nihav-codec-support"
|
||||
[nihav_core]="https://github.com/ruffle-rs/nihav-vp6;9416fcc9fc8aab8f4681aa9093b42922214abbd3;nihav-vp6-%commit%/nihav-core"
|
||||
[nihav_duck]="https://github.com/ruffle-rs/nihav-vp6;9416fcc9fc8aab8f4681aa9093b42922214abbd3;nihav-vp6-%commit%/nihav-duck"
|
||||
)
|
||||
inherit cargo desktop flag-o-matic virtualx xdg
|
||||
|
||||
MY_PV="nightly-${PV:3:4}-${PV:7:2}-${PV:9:2}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
DESCRIPTION="Flash Player emulator written in Rust"
|
||||
HOMEPAGE="https://ruffle.rs/"
|
||||
SRC_URI="
|
||||
https://github.com/ruffle-rs/ruffle/archive/refs/tags/${MY_PV}.tar.gz -> ${MY_P}.tar.gz
|
||||
${CARGO_CRATE_URIS}"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="|| ( MIT Apache-2.0 )"
|
||||
LICENSE+="
|
||||
Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD Boost-1.0
|
||||
CC0-1.0 ISC UbuntuFontLicense-1.0 MIT MPL-2.0 OFL-1.1
|
||||
Unicode-DFS-2016 ZLIB" # crates
|
||||
LICENSE+=" curl" # non-automated extra
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
# dlopen: libX* (see winit+x11-dl crates)
|
||||
RDEPEND="
|
||||
dev-libs/glib:2
|
||||
dev-libs/openssl:=
|
||||
media-libs/alsa-lib
|
||||
sys-libs/zlib:=
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libX11
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
x11-base/xorg-proto"
|
||||
BDEPEND="
|
||||
virtual/jre:*
|
||||
virtual/pkgconfig
|
||||
>=virtual/rust-1.70
|
||||
test? (
|
||||
media-libs/mesa[llvm]
|
||||
x11-base/xorg-server[-minimal]
|
||||
)"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/${PN}.*"
|
||||
|
||||
src_configure() {
|
||||
filter-lto # TODO: cleanup after bug #893658
|
||||
|
||||
# see .cargo/config.toml, only needed if RUSTFLAGS is set by the user
|
||||
[[ -v RUSTFLAGS ]] && RUSTFLAGS+=" --cfg=web_sys_unstable_apis"
|
||||
|
||||
local workspaces=(
|
||||
ruffle_{desktop,scanner}
|
||||
exporter
|
||||
$(usev test tests)
|
||||
)
|
||||
cargo_src_configure ${workspaces[*]/#/--package=}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx cargo_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc README.md
|
||||
|
||||
newicon web/packages/extension/assets/images/icon180.png ${PN}.png
|
||||
make_desktop_entry ${PN} ${PN^} ${PN} "AudioVideo;Player;Emulator;" \
|
||||
"MimeType=application/x-shockwave-flash;application/vnd.adobe.flash.movie;"
|
||||
|
||||
# TODO: swap with /gentoo after https://github.com/gentoo/gentoo/pull/29510
|
||||
cd target/$(usex debug{,} release) || die
|
||||
|
||||
newbin ${PN}_desktop ${PN}
|
||||
newbin exporter ${PN}_exporter
|
||||
dobin ${PN}_scanner
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
|
||||
if [[ ! ${REPLACING_VERSIONS} ]]; then
|
||||
elog "${PN} is experimental software that is still under heavy development"
|
||||
elog "and only receiving nightly releases. Plans in Gentoo is to update"
|
||||
elog "roughly every months if no known major regressions (feel free to"
|
||||
elog "report if you feel a newer nightly is needed ahead of time)."
|
||||
elog
|
||||
elog "There is currently no plans to support wasm builds / browser"
|
||||
elog "extensions, this provides the desktop viewer and other tools."
|
||||
fi
|
||||
}
|
@ -1,5 +1,3 @@
|
||||
DIST vkd3d-1.7.1.tar.xz 806772 BLAKE2B f83fd405dd2fedb2bc38bf64fd5e401fab1b9d5364b812eb34bc45cdeef684786cd59abe304ce71c722b8fe7a729bef18a90b1cb86f2522e45fa1f4d2d0340bb SHA512 59958d3ca6a6485173cc43d701dba4e82eca1eee895128520b5eb0c392fc2911cade37d945ba52a8f50a2639fa5d8d487609c5f3f88ae76e6d914a448ac179b6
|
||||
DIST vkd3d-1.8.tar.xz 829648 BLAKE2B 0e7bb53e3eb9003ea76ee523dfa317b6ab95fd1c2decb453d650f0cf046d5b802a32e40c4e6f6464748903143ef9352e70fdf8ca7fa8e9b9909e0f15235d2b01 SHA512 43d65bf4aa60750e08653226197f40c97bc88d56dc5513b70182b5fe289ab56a225682c96400776cd625ad5a8f76644bf4b46bd3ed54aa8496f538f6854d680a
|
||||
EBUILD vkd3d-1.7.1.ebuild 953 BLAKE2B 0e57f0cdb2b971e06df97e10df11d18d00ec517d809a72eb77352f621322767b69fb4601f4c9a22d326a0557cb6bc5c78ee9cd59dcdb130acf37e2b86820c207 SHA512 48082c3b522bbca92debe3121731623e8c5fbd8e302e23394250a4af77ddc1cdd917a72a3d732efe64fcaeb169930f755e632a4b2a2cefbd4f9112faa471bda6
|
||||
EBUILD vkd3d-1.8.ebuild 953 BLAKE2B 0e57f0cdb2b971e06df97e10df11d18d00ec517d809a72eb77352f621322767b69fb4601f4c9a22d326a0557cb6bc5c78ee9cd59dcdb130acf37e2b86820c207 SHA512 48082c3b522bbca92debe3121731623e8c5fbd8e302e23394250a4af77ddc1cdd917a72a3d732efe64fcaeb169930f755e632a4b2a2cefbd4f9112faa471bda6
|
||||
MISC metadata.xml 563 BLAKE2B c976a16a495bdb5863811acda56b2cc628683a63fc2a22c18d2a09775d3a38c845e00f83b97b318d9a0e5267bb470dd56d334dc9f43e3716784254802b8db60b SHA512 3d5afb7890b3b10ad424fcfe3fa2b42a9227ba0b82be8ab85308126966f476798818ee0ecc88c53105b218f465a72b213efe00968112431169884a4a6f48c6a8
|
||||
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit multilib-minimal
|
||||
|
||||
DESCRIPTION="D3D12 to Vulkan translation library"
|
||||
HOMEPAGE="https://gitlab.winehq.org/wine/vkd3d/"
|
||||
SRC_URI="https://dl.winehq.org/vkd3d/source/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="ncurses spirv-tools"
|
||||
RESTRICT="test" #838655
|
||||
|
||||
RDEPEND="
|
||||
media-libs/vulkan-loader[${MULTILIB_USEDEP}]
|
||||
ncurses? ( sys-libs/ncurses:= )
|
||||
spirv-tools? ( dev-util/spirv-tools[${MULTILIB_USEDEP}] )"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-util/spirv-headers
|
||||
dev-util/vulkan-headers"
|
||||
BDEPEND="
|
||||
sys-devel/flex
|
||||
sys-devel/bison
|
||||
virtual/pkgconfig"
|
||||
|
||||
multilib_src_configure() {
|
||||
local conf=(
|
||||
$(multilib_native_use_with ncurses)
|
||||
$(use_with spirv-tools)
|
||||
--disable-doxygen-pdf
|
||||
--without-xcb
|
||||
)
|
||||
|
||||
ECONF_SOURCE=${S} econf "${conf[@]}"
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
find "${ED}" -type f -name '*.la' -delete || die
|
||||
}
|
@ -1,333 +0,0 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MULTILIB_COMPAT=( abi_x86_{32,64} )
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
inherit autotools flag-o-matic multilib multilib-build python-any-r1
|
||||
inherit readme.gentoo-r1 toolchain-funcs wrapper
|
||||
|
||||
WINE_GECKO=2.47.3
|
||||
WINE_MONO=7.4.1
|
||||
WINE_PV=$(ver_rs 2 -)
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/ValveSoftware/wine.git"
|
||||
EGIT_BRANCH="experimental_$(ver_cut 1-2)"
|
||||
else
|
||||
SRC_URI="https://github.com/ValveSoftware/wine/archive/refs/tags/proton-wine-${WINE_PV}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-wine-${WINE_PV}"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Valve Software's fork of Wine"
|
||||
HOMEPAGE="https://github.com/ValveSoftware/wine/"
|
||||
|
||||
LICENSE="LGPL-2.1+ BSD-2 IJG MIT OPENLDAP ZLIB gsm libpng2 libtiff"
|
||||
SLOT="${PV}"
|
||||
IUSE="
|
||||
+abi_x86_32 +abi_x86_64 +alsa crossdev-mingw custom-cflags debug
|
||||
+fontconfig +gecko +gstreamer llvm-libunwind +mono nls osmesa
|
||||
perl pulseaudio +sdl selinux +ssl udev udisks +unwind usb v4l
|
||||
+xcomposite xinerama"
|
||||
|
||||
# tests are non-trivial to run, can hang easily, don't play well with
|
||||
# sandbox, and several need real opengl/vulkan or network access
|
||||
RESTRICT="test"
|
||||
|
||||
# `grep WINE_CHECK_SONAME configure.ac` + if not directly linked
|
||||
WINE_DLOPEN_DEPEND="
|
||||
dev-libs/libgcrypt:=[${MULTILIB_USEDEP}]
|
||||
media-libs/freetype[${MULTILIB_USEDEP}]
|
||||
media-libs/libglvnd[X,${MULTILIB_USEDEP}]
|
||||
media-libs/vulkan-loader[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXcursor[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXfixes[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXi[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrandr[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrender[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
|
||||
fontconfig? ( media-libs/fontconfig[${MULTILIB_USEDEP}] )
|
||||
osmesa? ( media-libs/mesa[osmesa,${MULTILIB_USEDEP}] )
|
||||
sdl? ( media-libs/libsdl2[haptic,joystick,${MULTILIB_USEDEP}] )
|
||||
ssl? (
|
||||
dev-libs/gmp:=[${MULTILIB_USEDEP}]
|
||||
net-libs/gnutls:=[${MULTILIB_USEDEP}]
|
||||
)
|
||||
udisks? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
|
||||
v4l? ( media-libs/libv4l[${MULTILIB_USEDEP}] )
|
||||
xcomposite? ( x11-libs/libXcomposite[${MULTILIB_USEDEP}] )
|
||||
xinerama? ( x11-libs/libXinerama[${MULTILIB_USEDEP}] )"
|
||||
WINE_COMMON_DEPEND="
|
||||
${WINE_DLOPEN_DEPEND}
|
||||
x11-libs/libX11[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXext[${MULTILIB_USEDEP}]
|
||||
alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
|
||||
gstreamer? (
|
||||
dev-libs/glib:2[${MULTILIB_USEDEP}]
|
||||
media-libs/gst-plugins-base:1.0[opengl,${MULTILIB_USEDEP}]
|
||||
media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
|
||||
)
|
||||
pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] )
|
||||
udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] )
|
||||
unwind? (
|
||||
llvm-libunwind? ( sys-libs/llvm-libunwind[${MULTILIB_USEDEP}] )
|
||||
!llvm-libunwind? ( sys-libs/libunwind:=[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
usb? ( dev-libs/libusb:1[${MULTILIB_USEDEP}] )"
|
||||
RDEPEND="
|
||||
${WINE_COMMON_DEPEND}
|
||||
app-emulation/wine-desktop-common
|
||||
gecko? ( app-emulation/wine-gecko:${WINE_GECKO}[${MULTILIB_USEDEP}] )
|
||||
gstreamer? ( media-plugins/gst-plugins-meta:1.0[${MULTILIB_USEDEP}] )
|
||||
mono? ( app-emulation/wine-mono:${WINE_MONO} )
|
||||
perl? (
|
||||
dev-lang/perl
|
||||
dev-perl/XML-LibXML
|
||||
)
|
||||
selinux? ( sec-policy/selinux-wine )
|
||||
udisks? ( sys-fs/udisks:2 )"
|
||||
DEPEND="
|
||||
${WINE_COMMON_DEPEND}
|
||||
sys-kernel/linux-headers
|
||||
x11-base/xorg-proto"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
dev-lang/perl
|
||||
sys-devel/binutils
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )
|
||||
!crossdev-mingw? ( dev-util/mingw64-toolchain[${MULTILIB_USEDEP}] )"
|
||||
IDEPEND=">=app-eselect/eselect-wine-2"
|
||||
|
||||
QA_CONFIG_IMPL_DECL_SKIP=(
|
||||
__clear_cache # unused on amd64+x86 (bug #900332)
|
||||
res_getservers # false positive
|
||||
)
|
||||
QA_TEXTRELS="usr/lib/*/wine/i386-unix/*.so" # uses -fno-PIC -Wl,-z,notext
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-7.0.4-musl.patch
|
||||
"${FILESDIR}"/${PN}-7.0.4-noexecstack.patch
|
||||
"${FILESDIR}"/${PN}-7.0.4-restore-menubuilder.patch
|
||||
"${FILESDIR}"/${PN}-8.0.1c-unwind.patch
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} == binary ]] && return
|
||||
|
||||
if use crossdev-mingw && [[ ! -v MINGW_BYPASS ]]; then
|
||||
local mingw=-w64-mingw32
|
||||
for mingw in $(usev abi_x86_64 x86_64${mingw}) $(usev abi_x86_32 i686${mingw}); do
|
||||
if ! type -P ${mingw}-gcc >/dev/null; then
|
||||
eerror "With USE=crossdev-mingw, you must prepare the MinGW toolchain"
|
||||
eerror "yourself by installing sys-devel/crossdev then running:"
|
||||
eerror
|
||||
eerror " crossdev --target ${mingw}"
|
||||
eerror
|
||||
eerror "For more information, please see: https://wiki.gentoo.org/wiki/Mingw"
|
||||
eerror "--> Note that mingw builds are default for ${PN} even without this USE."
|
||||
die "USE=crossdev-mingw is enabled, but ${mingw}-gcc was not found"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# sanity check, bumping these has a history of oversights
|
||||
local geckomono=$(sed -En '/^#define (GECKO|MONO)_VER/{s/[^0-9.]//gp}' \
|
||||
dlls/appwiz.cpl/addons.c || die)
|
||||
if [[ ${WINE_GECKO}$'\n'${WINE_MONO} != "${geckomono}" ]]; then
|
||||
local gmfatal=
|
||||
[[ ${PV} == *9999 ]] && gmfatal=nonfatal
|
||||
${gmfatal} die -n "gecko/mono mismatch in ebuild, has: " ${geckomono} " (please file a bug)"
|
||||
fi
|
||||
|
||||
default
|
||||
|
||||
# ensure .desktop calls this variant + slot
|
||||
sed -i "/^Exec=/s/wine /${P} /" loader/wine.desktop || die
|
||||
|
||||
# similarly to staging, append to `wine --version` for identification
|
||||
sed -i "s/wine_build[^1]*1/& (Proton-${WINE_PV})/" configure.ac || die
|
||||
|
||||
# always update for patches (including user's wrt #432348)
|
||||
eautoreconf
|
||||
tools/make_requests || die # perl
|
||||
dlls/winevulkan/make_vulkan -x vk.xml || die # python, needed for proton's
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
WINE_PREFIX=/usr/lib/${P}
|
||||
WINE_DATADIR=/usr/share/${P}
|
||||
|
||||
local conf=(
|
||||
--prefix="${EPREFIX}"${WINE_PREFIX}
|
||||
--datadir="${EPREFIX}"${WINE_DATADIR}
|
||||
--includedir="${EPREFIX}"/usr/include/${P}
|
||||
--libdir="${EPREFIX}"${WINE_PREFIX}
|
||||
--mandir="${EPREFIX}"${WINE_DATADIR}/man
|
||||
|
||||
# upstream (Valve) doesn't really support misc configurations (e.g.
|
||||
# adds vulkan code not always guarded by --with-vulkan), so force
|
||||
# some major options that are typically needed by games either way
|
||||
--with-freetype
|
||||
--with-mingw # needed by many, notably Blizzard titles
|
||||
--with-opengl
|
||||
--with-vulkan
|
||||
--with-x
|
||||
|
||||
# ...and disable most options unimportant for games and unused by
|
||||
# Proton rather than expose as volatile USEs with little support
|
||||
--without-capi
|
||||
--without-cups
|
||||
--without-gphoto
|
||||
--without-gssapi
|
||||
--without-krb5
|
||||
--without-netapi
|
||||
--without-opencl
|
||||
--without-pcap
|
||||
--without-sane
|
||||
ac_cv_lib_soname_odbc=
|
||||
|
||||
$(use_enable gecko mshtml)
|
||||
$(use_enable mono mscoree)
|
||||
--disable-tests
|
||||
$(use_with alsa)
|
||||
$(use_with fontconfig)
|
||||
$(use_with gstreamer)
|
||||
$(use_with nls gettext)
|
||||
$(use_with osmesa)
|
||||
--without-oss # media-sound/oss is not packaged (OSSv4)
|
||||
$(use_with pulseaudio pulse)
|
||||
$(use_with sdl)
|
||||
$(use_with ssl gnutls)
|
||||
$(use_with udev)
|
||||
$(use_with udisks dbus) # dbus is only used for udisks
|
||||
$(use_with unwind)
|
||||
$(use_with usb)
|
||||
$(use_with v4l v4l2)
|
||||
$(use_with xcomposite)
|
||||
$(use_with xinerama)
|
||||
)
|
||||
|
||||
tc-ld-force-bfd # builds with non-bfd but broken at runtime (bug #867097)
|
||||
filter-lto # build failure
|
||||
use custom-cflags || strip-flags # can break in obscure ways at runtime
|
||||
use crossdev-mingw || PATH=${BROOT}/usr/lib/mingw64-toolchain/bin:${PATH}
|
||||
|
||||
# temporary workaround for tc-ld-force-bfd not yet enforcing with mold
|
||||
# https://github.com/gentoo/gentoo/pull/28355
|
||||
[[ $($(tc-getCC) ${LDFLAGS} -Wl,--version 2>/dev/null) == mold* ]] &&
|
||||
append-ldflags -fuse-ld=bfd
|
||||
|
||||
# build using upstream's way (--with-wine64)
|
||||
# order matters: configure+compile 64->32, install 32->64
|
||||
local -i bits
|
||||
for bits in $(usev abi_x86_64 64) $(usev abi_x86_32 32); do
|
||||
(
|
||||
einfo "Configuring ${PN} for ${bits}bits in ${WORKDIR}/build${bits} ..."
|
||||
|
||||
mkdir ../build${bits} || die
|
||||
cd ../build${bits} || die
|
||||
|
||||
pe_arch=i386
|
||||
if (( bits == 64 )); then
|
||||
pe_arch=x86_64
|
||||
: "${CROSSCC:=${CROSSCC_amd64:-x86_64-w64-mingw32-gcc}}"
|
||||
conf+=( --enable-win64 )
|
||||
elif use amd64; then
|
||||
conf+=(
|
||||
$(usev abi_x86_64 --with-wine64=../build64)
|
||||
TARGETFLAGS=-m32 # for widl
|
||||
)
|
||||
# _setup is optional, but use over Wine's auto-detect (+#472038)
|
||||
multilib_toolchain_setup x86
|
||||
fi
|
||||
: "${CROSSCC:=${CROSSCC_x86:-i686-w64-mingw32-gcc}}"
|
||||
|
||||
# CROSSCC is no longer recognized by Wine, but still use for now
|
||||
# (future handling for CROSS* variables is subject to changes)
|
||||
conf+=( ac_cv_prog_${pe_arch}_CC="${CROSSCC}" )
|
||||
|
||||
# use *FLAGS for mingw, but strip unsupported
|
||||
: "${CROSSCFLAGS:=$(
|
||||
# >=wine-7.21 configure.ac no longer adds -fno-strict by mistake
|
||||
append-cflags '-fno-strict-aliasing'
|
||||
filter-flags '-fstack-protector*' #870136
|
||||
filter-flags '-mfunction-return=thunk*' #878849
|
||||
# -mavx with mingw-gcc has a history of obscure issues and
|
||||
# disabling is seen as safer, e.g. `WINEARCH=win32 winecfg`
|
||||
# crashes with -march=skylake >=wine-8.10, similar issues with
|
||||
# znver4: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110273
|
||||
append-cflags -mno-avx
|
||||
CC=${CROSSCC} test-flags-CC ${CFLAGS:--O2})}"
|
||||
: "${CROSSLDFLAGS:=$(
|
||||
filter-flags '-fuse-ld=*'
|
||||
CC=${CROSSCC} test-flags-CCLD ${LDFLAGS})}"
|
||||
export CROSS{C,LD}FLAGS
|
||||
|
||||
ECONF_SOURCE=${S} econf "${conf[@]}"
|
||||
)
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use abi_x86_64 && emake -C ../build64 # do first
|
||||
use abi_x86_32 && emake -C ../build32
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use abi_x86_32 && emake DESTDIR="${D}" -C ../build32 install
|
||||
use abi_x86_64 && emake DESTDIR="${D}" -C ../build64 install # do last
|
||||
|
||||
# symlink for plain 'wine' and install its man pages if 64bit-only #404331
|
||||
if use abi_x86_64 && use !abi_x86_32; then
|
||||
dosym wine64 ${WINE_PREFIX}/bin/wine
|
||||
dosym wine64-preloader ${WINE_PREFIX}/bin/wine-preloader
|
||||
local man
|
||||
for man in ../build64/loader/wine.*man; do
|
||||
: "${man##*/wine}"
|
||||
: "${_%.*}"
|
||||
insinto ${WINE_DATADIR}/man/${_:+${_#.}/}man1
|
||||
newins ${man} wine.1
|
||||
done
|
||||
fi
|
||||
|
||||
use perl || rm "${ED}"${WINE_DATADIR}/man/man1/wine{dump,maker}.1 \
|
||||
"${ED}"${WINE_PREFIX}/bin/{function_grep.pl,wine{dump,maker}} || die
|
||||
|
||||
# create variant wrappers for eselect-wine
|
||||
local bin
|
||||
for bin in "${ED}"${WINE_PREFIX}/bin/*; do
|
||||
make_wrapper "${bin##*/}-${P#wine-}" "${bin#"${ED}"}"
|
||||
done
|
||||
|
||||
# don't let portage try to strip PE files with the wrong
|
||||
# strip executable and instead handle it here (saves ~120MB)
|
||||
dostrip -x ${WINE_PREFIX}/wine/{i386,x86_64}-windows
|
||||
use debug ||
|
||||
find "${ED}"${WINE_PREFIX}/wine/*-windows -regex '.*\.\(a\|dll\|exe\)' \
|
||||
-exec $(usex abi_x86_64 x86_64 i686)-w64-mingw32-strip --strip-unneeded {} + || die
|
||||
|
||||
dodoc ANNOUNCE AUTHORS README* documentation/README*
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
has_version ${CATEGORY}/${PN} && WINE_HAD_ANY_SLOT=
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
[[ -v WINE_HAD_ANY_SLOT ]] || readme.gentoo_print_elog
|
||||
|
||||
eselect wine update --if-unset || die
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect wine update --if-unset || die
|
||||
}
|
@ -1,22 +1,16 @@
|
||||
AUX wine-staging-7.17-noexecstack.patch 223 BLAKE2B 6e6cfc208f11c2c2b7bbc392e3703c50669ba9abf088dac0dd7aa8d6e59fcdd6656f5ad6955e4ef87c25d6f4082d83af71a09b2928934222b25847b8b2b5089f SHA512 43fc5c50c33e09f028c2369a660499fbb6c240931c6b7d44c4e838deee1df0390706967b375d36ee8eea339e86a5af1c7a49a76d884860c045c3476d8c8d2a5f
|
||||
AUX wine-staging-7.20-unwind.patch 1450 BLAKE2B 80e9222c95393aaa4b95e05597a4181030fc988d95e416d2f92631f29f640b9abb3dd0853d005de4725b41c09224e478741902075259d48a30830a923790579f SHA512 e1a72f1463be32975daa02064acb96189cd79cb41ff98f89b58e46c97100a3ac46405b1b9982378c9de275acbdb74168853e47b932e06398cdd2981b23f483ce
|
||||
DIST wine-8.0.tar.xz 29054044 BLAKE2B baf8f96b665119c9f38a148a2472dbe8f6ca8d4641d9d09d48cb72cb4de2585c274b8b7981c2fa622ead6da2f087c57652e9b48edc8a17c0cfd6be9a36732f02 SHA512 53ba813b260a65a271ec575822725b97631f60038fb026dcc0fe66862711eedcc29a8feb29ff54ae4f64458f85c290d8f3838eff5e4c77a5420a7d2b951fef77
|
||||
DIST wine-8.10.tar.xz 29225368 BLAKE2B 78058ccb707ddd63052ab3114e27435f94957b7badbe3001f8123fd536f5b937006b26e2133390ea5d995e9cb8c54940c907dacf910160c085e2bf3f29772caf SHA512 5f141fb63a598482f512ebefef83500c2fa17a5dea87cb25e600e5167820a5990e12aeaec4a18c1467d64f7c122bf54705aa6fa6a2e6b2b4a463fe182f9b0e6e
|
||||
DIST wine-8.11.tar.xz 29236492 BLAKE2B db97b9abde6e1f4c854b449d27bdbafbc91bd75b835d84da401777c6ae2f4f623f2130f470d2e9a3aaf7e737f75d143a07191d38b409c06596373bece3df23c5 SHA512 f3e37f51f0a13aacbd41b017fc3d35e197614b03c00f5b9959c0fabc4e89975b5c3f411b38329e45ce6f9d2a2d82952b95e0907fbe2d6ae35cc4bec293825769
|
||||
DIST wine-8.12.tar.xz 29276732 BLAKE2B c1bf0d32eaf17f06b47dd7ffc495db4874f72ffec7cfca9edd9b2b9def8ab16db2583349950c3af447d85d476aa013914554f990d5f42d5bc8243b9effbaf869 SHA512 6b9eab7ca1ed5a13202b1250d8d95f6bd8ee5176f0c39b5358aedaf28f7f23543f4a73bf0782c3b4e50936813fc2a459582b5d294569c976ace784fbd9e0af1b
|
||||
DIST wine-8.13.tar.xz 29379824 BLAKE2B fa07edba8e45ef17813e63f793ca18cd05fd421b803d416421ec0fb7aeb4223ae44376a7e75a195e91c30259f27b48c3ed4ab0b613cbb9464b824f51e85ea240 SHA512 952c670635f91879cf6908343a04c0f41ae54e213123242e24fc282f9705fbe3b800dc1de454b6cfb1ebb89431b0e6eb3df3b094c1d9f4e69835d0f1b8f4fcb5
|
||||
DIST wine-8.9.tar.xz 29198080 BLAKE2B dfad284f554c164ac8f95d7c36d8b999217c6375f7720ed05e512e3f16cbc5a08325dad4e56dd59a17b27e53ab3a8331d54dd17b24e459b34d9e408ba93a52f3 SHA512 4de85654d2d5c9d48fa2a748eb9bee4477f0ba7fbd2c5dd40ea69662d8f6dfbb6432d1ec9109233d24608dc9554bad525c1e1ecdc86a5d00d133772810b12261
|
||||
DIST wine-staging-8.0.tar.gz 9529620 BLAKE2B c9540195ea885d9f1e980232b0af471e92c61eb079cae35fdb3af5c13d4660b3466f751772440e38f15874082db296d16d1f1d68827a505b2dd949617eda0203 SHA512 76a729d7ced1ff634ddb455ddfaa66ca103b652f43cd152b57ada7431bb5fbb74f5e92bf2f4f329b6df6f5908130afad84e609cbce6df645d6cf8131e9b949f9
|
||||
DIST wine-staging-8.10.tar.gz 9703684 BLAKE2B 1af11df98cc811741148de9d62a37a352c305d05bdb29b3df5e6a9a2a6597a9cc3ed63109523188cf09f01a97873d077760b1761d3251ac2657c77c92c975373 SHA512 89282f9edeb47a904f11796cfeda6853bc492701b6ce1a65211ffebf25c5539516c49b687e0ea024a99d3fc6251ed348a14f644babeb64b6dffdd6032e493859
|
||||
DIST wine-staging-8.11.tar.gz 9715880 BLAKE2B 2795389381d6e52215d8b1b2c437a47beaf61e9b36e78f99c45b3fcd79d554f2d4abafcbf34c366dcb7ce4fc14d66b8751466c30648ae0d7c451aaa345c30c5f SHA512 fb7a5f575c092e84afa78868e3b15fa33d67205a5e20deae61a60613714df784b18d54cd32167355ae38543f047f4304bfbc7f2ba2b3f6050c9f738812a15154
|
||||
DIST wine-staging-8.12.tar.gz 9764049 BLAKE2B 739c6dfdcef6e744fc7f6dcee24abdedd5f96b7ad688bdd5cc667627cec0b21d658354369ecc0de71a4ba682636e369105cef3de97dbf095f1ee1025d9a12fc2 SHA512 11364b2367e25706b98c168710288b796e9dea1e3400efc0d010ea8827cb8c4187385f53aebd1fda46611902f6619282ea97ce9d7c20fe18aa48c14f15c99d14
|
||||
DIST wine-staging-8.13.tar.gz 9785058 BLAKE2B 6c797cd50276009cc23619447a70ac972b5c7ad7684d7bd99f20cd7607b88f911eb89f59df98680ef8786495f2f8ff2910c8bbd930d811bb31147aa230105ce1 SHA512 b2104b0893ba27ee7f4f5495f7dee990962ff668786fd95e11af6d3975b7d00bc4ecb2572f280d27fbb6d1672745e0acbdb392ec7b3fd5b330a846783c23e12d
|
||||
DIST wine-staging-8.9.1.tar.gz 9700492 BLAKE2B 4382cc7226e734f8f592da80d2fba485052f39b829f61a51c523098a185a47a451c7e91badaa792de9ddf4fd80c16fd5d6091cc2d962ecaf455d6bc3d0010efc SHA512 abb25718f965241c1404430c1dffa398c2ffd180328e5456fc58a070f90f818a10285ad5515d74727a43f6de9f6c19129acd6ed6ba866d7b240886bbcabcd990
|
||||
EBUILD wine-staging-8.0.ebuild 11757 BLAKE2B 983c33bccc4407babf442e583cc5805d2612b17e00e12504cc38a9ea64d586fde11a00a243fab1279e5f4a4a0313eb0a376b813d95cdfb2c175be5ac57fd039c SHA512 3faea23a639ac0cae4f55516d29fa3a02b8ffbc21281a316ceb0ab5d6f8d22ef0336fc41fe72178dc30898c8c21b1bdf740cd4680e2a6ab24f8ad414dba04547
|
||||
EBUILD wine-staging-8.10-r1.ebuild 11971 BLAKE2B 36a69f389e9b51b8707c080528a2b963108249c65107f6550446378e453030887a7c006e8aeb1e19f97ddfc076c62357732e5bc54b190ca437589c1838db38e7 SHA512 9b7d65d2f54663c544db5bb7809d8f051466479ab140a2d41b390dcb1893d98d2a2b4a9b7b8e919dfbda29a3ce0a76bb4c0488d6a088c874f7ed57ad1055109f
|
||||
EBUILD wine-staging-8.11-r1.ebuild 12076 BLAKE2B 830ead3b2a0c7b149e2ac7e8797b515e10aba4b4dee61c0d296c8b0bad3fb4a577c277aa35ccced03e9650ca33184625cb305f46562a26f33f8953c02fa573fb SHA512 565442c9383a0661693652cdc60fe0a9a4541756ae8645cddbca6ef8e619d8dcb5acf676ef18ed122025a4d642a6fb40cafd9ca49d1e1cbbb61cbd88aa9ae628
|
||||
EBUILD wine-staging-8.12.ebuild 12076 BLAKE2B 830ead3b2a0c7b149e2ac7e8797b515e10aba4b4dee61c0d296c8b0bad3fb4a577c277aa35ccced03e9650ca33184625cb305f46562a26f33f8953c02fa573fb SHA512 565442c9383a0661693652cdc60fe0a9a4541756ae8645cddbca6ef8e619d8dcb5acf676ef18ed122025a4d642a6fb40cafd9ca49d1e1cbbb61cbd88aa9ae628
|
||||
EBUILD wine-staging-8.13.ebuild 12076 BLAKE2B 830ead3b2a0c7b149e2ac7e8797b515e10aba4b4dee61c0d296c8b0bad3fb4a577c277aa35ccced03e9650ca33184625cb305f46562a26f33f8953c02fa573fb SHA512 565442c9383a0661693652cdc60fe0a9a4541756ae8645cddbca6ef8e619d8dcb5acf676ef18ed122025a4d642a6fb40cafd9ca49d1e1cbbb61cbd88aa9ae628
|
||||
EBUILD wine-staging-8.9.1.ebuild 12009 BLAKE2B 17b2c937c6f201de3963816ca5918d49e0db460ab1859f16a325cf3c73fe597e1b2dd881967c8ce1a648d0d1aef4fb051634050bfd015896b3017ca84015a5a1 SHA512 b213a4fa1d59e8bbd5b813ce665c93c34e5cacd5e70ee2dbcc69aba5abbbb6fb475d42169fdfa20ded06df093928432f8761930fcdab7f13f28adb355d76eff2
|
||||
EBUILD wine-staging-9999.ebuild 12076 BLAKE2B 830ead3b2a0c7b149e2ac7e8797b515e10aba4b4dee61c0d296c8b0bad3fb4a577c277aa35ccced03e9650ca33184625cb305f46562a26f33f8953c02fa573fb SHA512 565442c9383a0661693652cdc60fe0a9a4541756ae8645cddbca6ef8e619d8dcb5acf676ef18ed122025a4d642a6fb40cafd9ca49d1e1cbbb61cbd88aa9ae628
|
||||
MISC metadata.xml 2339 BLAKE2B 1b947010c803306d2e1a02e82c427461377651faf0fde13cc5ce5c6a08a9790f5699ad427f16f10c6057bcf9c53e707e4486e28bed6d0d27d23d3ec118d5f518 SHA512 aa5aa60a8488dcebb5f45c992cf77eef215b8559c2911cae4066c48fd8cd74f4d2029ba989cc65ed0200927f9fcd3b7b253b93003302d2b88230b035eb274ebb
|
||||
|
@ -1,384 +0,0 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MULTILIB_COMPAT=( abi_x86_{32,64} )
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
inherit autotools edo flag-o-matic multilib multilib-build
|
||||
inherit python-any-r1 toolchain-funcs wrapper
|
||||
|
||||
WINE_GECKO=2.47.4
|
||||
WINE_MONO=8.0.0
|
||||
WINE_P=wine-$(ver_cut 1-2)
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://gitlab.winehq.org/wine/wine-staging.git"
|
||||
WINE_EGIT_REPO_URI="https://gitlab.winehq.org/wine/wine.git"
|
||||
else
|
||||
(( $(ver_cut 2) )) && WINE_SDIR=$(ver_cut 1).x || WINE_SDIR=$(ver_cut 1).0
|
||||
SRC_URI="
|
||||
https://dl.winehq.org/wine/source/${WINE_SDIR}/${WINE_P}.tar.xz
|
||||
https://github.com/wine-staging/wine-staging/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
fi
|
||||
S="${WORKDIR}/${WINE_P}"
|
||||
|
||||
DESCRIPTION="Free implementation of Windows(tm) on Unix, with Wine-Staging patchset"
|
||||
HOMEPAGE="
|
||||
https://wiki.winehq.org/Wine-Staging
|
||||
https://gitlab.winehq.org/wine/wine-staging/"
|
||||
|
||||
LICENSE="LGPL-2.1+ BSD-2 IJG MIT OPENLDAP ZLIB gsm libpng2 libtiff"
|
||||
SLOT="${PV}"
|
||||
IUSE="
|
||||
+X +abi_x86_32 +abi_x86_64 +alsa capi crossdev-mingw cups dos
|
||||
llvm-libunwind custom-cflags +fontconfig +gecko gphoto2 +gstreamer
|
||||
kerberos +mingw +mono netapi nls opencl +opengl osmesa pcap perl
|
||||
pulseaudio samba scanner +sdl selinux smartcard +ssl +strip
|
||||
+truetype udev udisks +unwind usb v4l +vulkan wayland +xcomposite
|
||||
xinerama"
|
||||
REQUIRED_USE="
|
||||
X? ( truetype )
|
||||
crossdev-mingw? ( mingw )" # bug #551124 for truetype
|
||||
|
||||
# tests are non-trivial to run, can hang easily, don't play well with
|
||||
# sandbox, and several need real opengl/vulkan or network access
|
||||
RESTRICT="test"
|
||||
|
||||
# `grep WINE_CHECK_SONAME configure.ac` + if not directly linked
|
||||
WINE_DLOPEN_DEPEND="
|
||||
X? (
|
||||
x11-libs/libXcursor[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXfixes[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXi[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrandr[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrender[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
|
||||
opengl? (
|
||||
media-libs/libglvnd[X,${MULTILIB_USEDEP}]
|
||||
osmesa? ( media-libs/mesa[osmesa,${MULTILIB_USEDEP}] )
|
||||
)
|
||||
xcomposite? ( x11-libs/libXcomposite[${MULTILIB_USEDEP}] )
|
||||
xinerama? ( x11-libs/libXinerama[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
cups? ( net-print/cups[${MULTILIB_USEDEP}] )
|
||||
fontconfig? ( media-libs/fontconfig[${MULTILIB_USEDEP}] )
|
||||
kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] )
|
||||
netapi? ( net-fs/samba[${MULTILIB_USEDEP}] )
|
||||
sdl? ( media-libs/libsdl2[haptic,joystick,${MULTILIB_USEDEP}] )
|
||||
ssl? ( net-libs/gnutls:=[${MULTILIB_USEDEP}] )
|
||||
truetype? ( media-libs/freetype[${MULTILIB_USEDEP}] )
|
||||
udisks? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
|
||||
v4l? ( media-libs/libv4l[${MULTILIB_USEDEP}] )
|
||||
vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )"
|
||||
WINE_COMMON_DEPEND="
|
||||
${WINE_DLOPEN_DEPEND}
|
||||
X? (
|
||||
x11-libs/libX11[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXext[${MULTILIB_USEDEP}]
|
||||
)
|
||||
alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
|
||||
capi? ( net-libs/libcapi:=[${MULTILIB_USEDEP}] )
|
||||
gphoto2? ( media-libs/libgphoto2:=[${MULTILIB_USEDEP}] )
|
||||
gstreamer? (
|
||||
dev-libs/glib:2[${MULTILIB_USEDEP}]
|
||||
media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}]
|
||||
media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
|
||||
)
|
||||
opencl? ( virtual/opencl[${MULTILIB_USEDEP}] )
|
||||
pcap? ( net-libs/libpcap[${MULTILIB_USEDEP}] )
|
||||
pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] )
|
||||
scanner? ( media-gfx/sane-backends[${MULTILIB_USEDEP}] )
|
||||
smartcard? ( sys-apps/pcsc-lite[${MULTILIB_USEDEP}] )
|
||||
udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] )
|
||||
unwind? (
|
||||
llvm-libunwind? ( sys-libs/llvm-libunwind[${MULTILIB_USEDEP}] )
|
||||
!llvm-libunwind? ( sys-libs/libunwind:=[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
usb? ( dev-libs/libusb:1[${MULTILIB_USEDEP}] )
|
||||
wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )"
|
||||
RDEPEND="
|
||||
${WINE_COMMON_DEPEND}
|
||||
app-emulation/wine-desktop-common
|
||||
dos? (
|
||||
|| (
|
||||
games-emulation/dosbox
|
||||
games-emulation/dosbox-staging
|
||||
)
|
||||
)
|
||||
gecko? ( app-emulation/wine-gecko:${WINE_GECKO}[${MULTILIB_USEDEP}] )
|
||||
gstreamer? ( media-plugins/gst-plugins-meta:1.0[${MULTILIB_USEDEP}] )
|
||||
mono? ( app-emulation/wine-mono:${WINE_MONO} )
|
||||
perl? (
|
||||
dev-lang/perl
|
||||
dev-perl/XML-LibXML
|
||||
)
|
||||
samba? ( net-fs/samba[winbind] )
|
||||
selinux? ( sec-policy/selinux-wine )
|
||||
udisks? ( sys-fs/udisks:2 )"
|
||||
DEPEND="
|
||||
${WINE_COMMON_DEPEND}
|
||||
sys-kernel/linux-headers
|
||||
X? ( x11-base/xorg-proto )"
|
||||
# gitapply.sh prefers git but can fallback to patch+extras
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
|| (
|
||||
dev-vcs/git
|
||||
(
|
||||
sys-apps/gawk
|
||||
sys-apps/util-linux
|
||||
)
|
||||
)
|
||||
dev-lang/perl
|
||||
sys-devel/binutils
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig
|
||||
mingw? ( !crossdev-mingw? (
|
||||
>=dev-util/mingw64-toolchain-10.0.0_p1-r2[${MULTILIB_USEDEP}]
|
||||
) )
|
||||
nls? ( sys-devel/gettext )
|
||||
wayland? ( dev-util/wayland-scanner )"
|
||||
IDEPEND=">=app-eselect/eselect-wine-2"
|
||||
|
||||
QA_CONFIG_IMPL_DECL_SKIP=(
|
||||
__clear_cache # unused on amd64+x86 (bug #900334)
|
||||
res_getservers # false positive
|
||||
)
|
||||
QA_FLAGS_IGNORED="usr/lib/.*/wine/.*-unix/odbc32.so" # has no compiled objects
|
||||
QA_TEXTRELS="usr/lib/*/wine/i386-unix/*.so" # uses -fno-PIC -Wl,-z,notext
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-7.17-noexecstack.patch
|
||||
"${FILESDIR}"/${PN}-7.20-unwind.patch
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} == binary ]] && return
|
||||
|
||||
if use crossdev-mingw && [[ ! -v MINGW_BYPASS ]]; then
|
||||
local mingw=-w64-mingw32
|
||||
for mingw in $(usev abi_x86_64 x86_64${mingw}) $(usev abi_x86_32 i686${mingw}); do
|
||||
if ! type -P ${mingw}-gcc >/dev/null; then
|
||||
eerror "With USE=crossdev-mingw, you must prepare the MinGW toolchain"
|
||||
eerror "yourself by installing sys-devel/crossdev then running:"
|
||||
eerror
|
||||
eerror " crossdev --target ${mingw}"
|
||||
eerror
|
||||
eerror "For more information, please see: https://wiki.gentoo.org/wiki/Mingw"
|
||||
die "USE=crossdev-mingw is enabled, but ${mingw}-gcc was not found"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
EGIT_CHECKOUT_DIR=${WORKDIR}/${P}
|
||||
git-r3_src_unpack
|
||||
|
||||
EGIT_COMMIT=$(<"${EGIT_CHECKOUT_DIR}"/staging/upstream-commit) || die
|
||||
EGIT_REPO_URI=${WINE_EGIT_REPO_URI}
|
||||
EGIT_CHECKOUT_DIR=${S}
|
||||
einfo "Fetching Wine commit matching the current patchset by default (${EGIT_COMMIT})"
|
||||
git-r3_src_unpack
|
||||
else
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local patchinstallargs=(
|
||||
--all
|
||||
--no-autoconf
|
||||
-W winemenubuilder-Desktop_Icon_Path #652176
|
||||
${MY_WINE_STAGING_CONF}
|
||||
)
|
||||
|
||||
edo "${PYTHON}" ../${P}/staging/patchinstall.py "${patchinstallargs[@]}"
|
||||
|
||||
# sanity check, bumping these has a history of oversights
|
||||
local geckomono=$(sed -En '/^#define (GECKO|MONO)_VER/{s/[^0-9.]//gp}' \
|
||||
dlls/appwiz.cpl/addons.c || die)
|
||||
if [[ ${WINE_GECKO}$'\n'${WINE_MONO} != "${geckomono}" ]]; then
|
||||
local gmfatal=
|
||||
[[ ${PV} == *9999 ]] && gmfatal=nonfatal
|
||||
${gmfatal} die -n "gecko/mono mismatch in ebuild, has: " ${geckomono} " (please file a bug)"
|
||||
fi
|
||||
|
||||
default
|
||||
|
||||
# ensure .desktop calls this variant + slot
|
||||
sed -i "/^Exec=/s/wine /${P} /" loader/wine.desktop || die
|
||||
|
||||
# always update for patches (including user's wrt #432348)
|
||||
eautoreconf
|
||||
tools/make_requests || die # perl
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
WINE_PREFIX=/usr/lib/${P}
|
||||
WINE_DATADIR=/usr/share/${P}
|
||||
|
||||
local conf=(
|
||||
--prefix="${EPREFIX}"${WINE_PREFIX}
|
||||
--datadir="${EPREFIX}"${WINE_DATADIR}
|
||||
--includedir="${EPREFIX}"/usr/include/${P}
|
||||
--libdir="${EPREFIX}"${WINE_PREFIX}
|
||||
--mandir="${EPREFIX}"${WINE_DATADIR}/man
|
||||
$(use_enable gecko mshtml)
|
||||
$(use_enable mono mscoree)
|
||||
--disable-tests
|
||||
$(use_with X x)
|
||||
$(use_with alsa)
|
||||
$(use_with capi)
|
||||
$(use_with cups)
|
||||
$(use_with fontconfig)
|
||||
$(use_with gphoto2 gphoto)
|
||||
$(use_with gstreamer)
|
||||
$(use_with kerberos gssapi)
|
||||
$(use_with kerberos krb5)
|
||||
$(use_with mingw)
|
||||
$(use_with netapi)
|
||||
$(use_with nls gettext)
|
||||
$(use_with opencl)
|
||||
$(use_with opengl)
|
||||
$(use_with osmesa)
|
||||
--without-oss # media-sound/oss is not packaged (OSSv4)
|
||||
$(use_with pcap)
|
||||
$(use_with pulseaudio pulse)
|
||||
$(use_with scanner sane)
|
||||
$(use_with sdl)
|
||||
$(use_with smartcard pcsclite)
|
||||
$(use_with ssl gnutls)
|
||||
$(use_with truetype freetype)
|
||||
$(use_with udev)
|
||||
$(use_with udisks dbus) # dbus is only used for udisks
|
||||
$(use_with unwind)
|
||||
$(use_with usb)
|
||||
$(use_with v4l v4l2)
|
||||
$(use_with vulkan)
|
||||
$(use_with wayland)
|
||||
$(use_with xcomposite)
|
||||
$(use_with xinerama)
|
||||
)
|
||||
|
||||
tc-ld-force-bfd # builds with non-bfd but broken at runtime (bug #867097)
|
||||
filter-lto # build failure
|
||||
use mingw || filter-flags -fno-plt # build failure
|
||||
use custom-cflags || strip-flags # can break in obscure ways at runtime
|
||||
use crossdev-mingw || PATH=${BROOT}/usr/lib/mingw64-toolchain/bin:${PATH}
|
||||
|
||||
# temporary workaround for tc-ld-force-bfd not yet enforcing with mold
|
||||
# https://github.com/gentoo/gentoo/pull/28355
|
||||
[[ $($(tc-getCC) ${LDFLAGS} -Wl,--version 2>/dev/null) == mold* ]] &&
|
||||
append-ldflags -fuse-ld=bfd
|
||||
|
||||
# build using upstream's way (--with-wine64)
|
||||
# order matters: configure+compile 64->32, install 32->64
|
||||
local -i bits
|
||||
for bits in $(usev abi_x86_64 64) $(usev abi_x86_32 32); do
|
||||
(
|
||||
einfo "Configuring ${PN} for ${bits}bits in ${WORKDIR}/build${bits} ..."
|
||||
|
||||
mkdir ../build${bits} || die
|
||||
cd ../build${bits} || die
|
||||
|
||||
pe_arch=i386
|
||||
if (( bits == 64 )); then
|
||||
pe_arch=x86_64
|
||||
: "${CROSSCC:=${CROSSCC_amd64:-x86_64-w64-mingw32-gcc}}"
|
||||
conf+=( --enable-win64 )
|
||||
elif use amd64; then
|
||||
conf+=(
|
||||
$(usev abi_x86_64 --with-wine64=../build64)
|
||||
TARGETFLAGS=-m32 # for widl
|
||||
)
|
||||
# _setup is optional, but use over Wine's auto-detect (+#472038)
|
||||
multilib_toolchain_setup x86
|
||||
fi
|
||||
: "${CROSSCC:=${CROSSCC_x86:-i686-w64-mingw32-gcc}}"
|
||||
|
||||
if use mingw; then
|
||||
# CROSSCC is no longer recognized by Wine, but still use for now
|
||||
# (future handling for CROSS* variables is subject to changes)
|
||||
conf+=( ac_cv_prog_${pe_arch}_CC="${CROSSCC}" )
|
||||
|
||||
# use *FLAGS for mingw, but strip unsupported
|
||||
: "${CROSSCFLAGS:=$(
|
||||
filter-flags '-fstack-protector*' #870136
|
||||
filter-flags '-mfunction-return=thunk*' #878849
|
||||
# -mavx with mingw-gcc has a history of obscure issues and
|
||||
# disabling is seen as safer, e.g. `WINEARCH=win32 winecfg`
|
||||
# crashes with -march=skylake >=wine-8.10, similar issues with
|
||||
# znver4: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110273
|
||||
append-cflags -mno-avx
|
||||
CC=${CROSSCC} test-flags-CC ${CFLAGS:--O2})}"
|
||||
: "${CROSSLDFLAGS:=$(
|
||||
filter-flags '-fuse-ld=*'
|
||||
CC=${CROSSCC} test-flags-CCLD ${LDFLAGS})}"
|
||||
export CROSS{C,LD}FLAGS
|
||||
fi
|
||||
|
||||
ECONF_SOURCE=${S} econf "${conf[@]}"
|
||||
)
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use abi_x86_64 && emake -C ../build64 # do first
|
||||
use abi_x86_32 && emake -C ../build32
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use abi_x86_32 && emake DESTDIR="${D}" -C ../build32 install
|
||||
use abi_x86_64 && emake DESTDIR="${D}" -C ../build64 install # do last
|
||||
|
||||
# symlink for plain 'wine' and install its man pages if 64bit-only #404331
|
||||
if use abi_x86_64 && use !abi_x86_32; then
|
||||
dosym wine64 ${WINE_PREFIX}/bin/wine
|
||||
dosym wine64-preloader ${WINE_PREFIX}/bin/wine-preloader
|
||||
local man
|
||||
for man in ../build64/loader/wine.*man; do
|
||||
: "${man##*/wine}"
|
||||
: "${_%.*}"
|
||||
insinto ${WINE_DATADIR}/man/${_:+${_#.}/}man1
|
||||
newins ${man} wine.1
|
||||
done
|
||||
fi
|
||||
|
||||
use perl || rm "${ED}"${WINE_DATADIR}/man/man1/wine{dump,maker}.1 \
|
||||
"${ED}"${WINE_PREFIX}/bin/{function_grep.pl,wine{dump,maker}} || die
|
||||
|
||||
# create variant wrappers for eselect-wine
|
||||
local bin
|
||||
for bin in "${ED}"${WINE_PREFIX}/bin/*; do
|
||||
make_wrapper "${bin##*/}-${P#wine-}" "${bin#"${ED}"}"
|
||||
done
|
||||
|
||||
if use mingw; then
|
||||
# don't let portage try to strip PE files with the wrong
|
||||
# strip executable and instead handle it here (saves ~120MB)
|
||||
dostrip -x ${WINE_PREFIX}/wine/{i386,x86_64}-windows
|
||||
|
||||
if use strip; then
|
||||
ebegin "Stripping Windows (PE) binaries"
|
||||
find "${ED}"${WINE_PREFIX}/wine/*-windows -regex '.*\.\(a\|dll\|exe\)' \
|
||||
-exec $(usex abi_x86_64 x86_64 i686)-w64-mingw32-strip --strip-unneeded {} +
|
||||
eend ${?} || die
|
||||
fi
|
||||
fi
|
||||
|
||||
dodoc ANNOUNCE AUTHORS README* documentation/README*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect wine update --if-unset || die
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect wine update --if-unset || die
|
||||
}
|
@ -1,382 +0,0 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MULTILIB_COMPAT=( abi_x86_{32,64} )
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
inherit autotools edo flag-o-matic multilib multilib-build
|
||||
inherit python-any-r1 toolchain-funcs wrapper
|
||||
|
||||
WINE_GECKO=2.47.4
|
||||
WINE_MONO=8.0.0
|
||||
WINE_P=wine-$(ver_cut 1-2)
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://gitlab.winehq.org/wine/wine-staging.git"
|
||||
WINE_EGIT_REPO_URI="https://gitlab.winehq.org/wine/wine.git"
|
||||
else
|
||||
(( $(ver_cut 2) )) && WINE_SDIR=$(ver_cut 1).x || WINE_SDIR=$(ver_cut 1).0
|
||||
SRC_URI="
|
||||
https://dl.winehq.org/wine/source/${WINE_SDIR}/${WINE_P}.tar.xz
|
||||
https://github.com/wine-staging/wine-staging/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
fi
|
||||
S="${WORKDIR}/${WINE_P}"
|
||||
|
||||
DESCRIPTION="Free implementation of Windows(tm) on Unix, with Wine-Staging patchset"
|
||||
HOMEPAGE="
|
||||
https://wiki.winehq.org/Wine-Staging
|
||||
https://gitlab.winehq.org/wine/wine-staging/"
|
||||
|
||||
LICENSE="LGPL-2.1+ BSD-2 IJG MIT OPENLDAP ZLIB gsm libpng2 libtiff"
|
||||
SLOT="${PV}"
|
||||
IUSE="
|
||||
+X +abi_x86_32 +abi_x86_64 +alsa capi crossdev-mingw cups dos
|
||||
llvm-libunwind debug custom-cflags +fontconfig +gecko gphoto2
|
||||
+gstreamer kerberos +mingw +mono netapi nls opencl +opengl osmesa
|
||||
pcap perl pulseaudio samba scanner +sdl selinux smartcard +ssl
|
||||
+truetype udev udisks +unwind usb v4l +vulkan wayland +xcomposite
|
||||
xinerama"
|
||||
REQUIRED_USE="
|
||||
X? ( truetype )
|
||||
crossdev-mingw? ( mingw )" # bug #551124 for truetype
|
||||
|
||||
# tests are non-trivial to run, can hang easily, don't play well with
|
||||
# sandbox, and several need real opengl/vulkan or network access
|
||||
RESTRICT="test"
|
||||
|
||||
# `grep WINE_CHECK_SONAME configure.ac` + if not directly linked
|
||||
WINE_DLOPEN_DEPEND="
|
||||
X? (
|
||||
x11-libs/libXcursor[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXfixes[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXi[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrandr[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrender[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
|
||||
opengl? (
|
||||
media-libs/libglvnd[X,${MULTILIB_USEDEP}]
|
||||
osmesa? ( media-libs/mesa[osmesa,${MULTILIB_USEDEP}] )
|
||||
)
|
||||
xcomposite? ( x11-libs/libXcomposite[${MULTILIB_USEDEP}] )
|
||||
xinerama? ( x11-libs/libXinerama[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
cups? ( net-print/cups[${MULTILIB_USEDEP}] )
|
||||
fontconfig? ( media-libs/fontconfig[${MULTILIB_USEDEP}] )
|
||||
kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] )
|
||||
netapi? ( net-fs/samba[${MULTILIB_USEDEP}] )
|
||||
sdl? ( media-libs/libsdl2[haptic,joystick,${MULTILIB_USEDEP}] )
|
||||
ssl? ( net-libs/gnutls:=[${MULTILIB_USEDEP}] )
|
||||
truetype? ( media-libs/freetype[${MULTILIB_USEDEP}] )
|
||||
udisks? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
|
||||
v4l? ( media-libs/libv4l[${MULTILIB_USEDEP}] )
|
||||
vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )"
|
||||
WINE_COMMON_DEPEND="
|
||||
${WINE_DLOPEN_DEPEND}
|
||||
X? (
|
||||
x11-libs/libX11[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXext[${MULTILIB_USEDEP}]
|
||||
)
|
||||
alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
|
||||
capi? ( net-libs/libcapi:=[${MULTILIB_USEDEP}] )
|
||||
gphoto2? ( media-libs/libgphoto2:=[${MULTILIB_USEDEP}] )
|
||||
gstreamer? (
|
||||
dev-libs/glib:2[${MULTILIB_USEDEP}]
|
||||
media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}]
|
||||
media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
|
||||
)
|
||||
opencl? ( virtual/opencl[${MULTILIB_USEDEP}] )
|
||||
pcap? ( net-libs/libpcap[${MULTILIB_USEDEP}] )
|
||||
pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] )
|
||||
scanner? ( media-gfx/sane-backends[${MULTILIB_USEDEP}] )
|
||||
smartcard? ( sys-apps/pcsc-lite[${MULTILIB_USEDEP}] )
|
||||
udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] )
|
||||
unwind? (
|
||||
llvm-libunwind? ( sys-libs/llvm-libunwind[${MULTILIB_USEDEP}] )
|
||||
!llvm-libunwind? ( sys-libs/libunwind:=[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
usb? ( dev-libs/libusb:1[${MULTILIB_USEDEP}] )
|
||||
wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )"
|
||||
RDEPEND="
|
||||
${WINE_COMMON_DEPEND}
|
||||
app-emulation/wine-desktop-common
|
||||
dos? (
|
||||
|| (
|
||||
games-emulation/dosbox
|
||||
games-emulation/dosbox-staging
|
||||
)
|
||||
)
|
||||
gecko? ( app-emulation/wine-gecko:${WINE_GECKO}[${MULTILIB_USEDEP}] )
|
||||
gstreamer? ( media-plugins/gst-plugins-meta:1.0[${MULTILIB_USEDEP}] )
|
||||
mono? ( app-emulation/wine-mono:${WINE_MONO} )
|
||||
perl? (
|
||||
dev-lang/perl
|
||||
dev-perl/XML-LibXML
|
||||
)
|
||||
samba? ( net-fs/samba[winbind] )
|
||||
selinux? ( sec-policy/selinux-wine )
|
||||
udisks? ( sys-fs/udisks:2 )"
|
||||
DEPEND="
|
||||
${WINE_COMMON_DEPEND}
|
||||
sys-kernel/linux-headers
|
||||
X? ( x11-base/xorg-proto )"
|
||||
# gitapply.sh prefers git but can fallback to patch+extras
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
|| (
|
||||
dev-vcs/git
|
||||
(
|
||||
sys-apps/gawk
|
||||
sys-apps/util-linux
|
||||
)
|
||||
)
|
||||
dev-lang/perl
|
||||
sys-devel/binutils
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig
|
||||
mingw? ( !crossdev-mingw? (
|
||||
>=dev-util/mingw64-toolchain-10.0.0_p1-r2[${MULTILIB_USEDEP}]
|
||||
) )
|
||||
nls? ( sys-devel/gettext )
|
||||
wayland? ( dev-util/wayland-scanner )"
|
||||
IDEPEND=">=app-eselect/eselect-wine-2"
|
||||
|
||||
QA_CONFIG_IMPL_DECL_SKIP=(
|
||||
__clear_cache # unused on amd64+x86 (bug #900334)
|
||||
res_getservers # false positive
|
||||
)
|
||||
QA_FLAGS_IGNORED="usr/lib/.*/wine/.*-unix/odbc32.so" # has no compiled objects
|
||||
QA_TEXTRELS="usr/lib/*/wine/i386-unix/*.so" # uses -fno-PIC -Wl,-z,notext
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-7.17-noexecstack.patch
|
||||
"${FILESDIR}"/${PN}-7.20-unwind.patch
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} == binary ]] && return
|
||||
|
||||
if use crossdev-mingw && [[ ! -v MINGW_BYPASS ]]; then
|
||||
local mingw=-w64-mingw32
|
||||
for mingw in $(usev abi_x86_64 x86_64${mingw}) $(usev abi_x86_32 i686${mingw}); do
|
||||
if ! type -P ${mingw}-gcc >/dev/null; then
|
||||
eerror "With USE=crossdev-mingw, you must prepare the MinGW toolchain"
|
||||
eerror "yourself by installing sys-devel/crossdev then running:"
|
||||
eerror
|
||||
eerror " crossdev --target ${mingw}"
|
||||
eerror
|
||||
eerror "For more information, please see: https://wiki.gentoo.org/wiki/Mingw"
|
||||
die "USE=crossdev-mingw is enabled, but ${mingw}-gcc was not found"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
EGIT_CHECKOUT_DIR=${WORKDIR}/${P}
|
||||
git-r3_src_unpack
|
||||
|
||||
EGIT_COMMIT=$(<"${EGIT_CHECKOUT_DIR}"/staging/upstream-commit) || die
|
||||
EGIT_REPO_URI=${WINE_EGIT_REPO_URI}
|
||||
EGIT_CHECKOUT_DIR=${S}
|
||||
einfo "Fetching Wine commit matching the current patchset by default (${EGIT_COMMIT})"
|
||||
git-r3_src_unpack
|
||||
else
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local patchinstallargs=(
|
||||
--all
|
||||
--no-autoconf
|
||||
-W winemenubuilder-Desktop_Icon_Path #652176
|
||||
${MY_WINE_STAGING_CONF}
|
||||
)
|
||||
|
||||
edo "${PYTHON}" ../${P}/staging/patchinstall.py "${patchinstallargs[@]}"
|
||||
|
||||
# sanity check, bumping these has a history of oversights
|
||||
local geckomono=$(sed -En '/^#define (GECKO|MONO)_VER/{s/[^0-9.]//gp}' \
|
||||
dlls/appwiz.cpl/addons.c || die)
|
||||
if [[ ${WINE_GECKO}$'\n'${WINE_MONO} != "${geckomono}" ]]; then
|
||||
local gmfatal=
|
||||
[[ ${PV} == *9999 ]] && gmfatal=nonfatal
|
||||
${gmfatal} die -n "gecko/mono mismatch in ebuild, has: " ${geckomono} " (please file a bug)"
|
||||
fi
|
||||
|
||||
default
|
||||
|
||||
# ensure .desktop calls this variant + slot
|
||||
sed -i "/^Exec=/s/wine /${P} /" loader/wine.desktop || die
|
||||
|
||||
# always update for patches (including user's wrt #432348)
|
||||
eautoreconf
|
||||
tools/make_requests || die # perl
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
WINE_PREFIX=/usr/lib/${P}
|
||||
WINE_DATADIR=/usr/share/${P}
|
||||
|
||||
local conf=(
|
||||
--prefix="${EPREFIX}"${WINE_PREFIX}
|
||||
--datadir="${EPREFIX}"${WINE_DATADIR}
|
||||
--includedir="${EPREFIX}"/usr/include/${P}
|
||||
--libdir="${EPREFIX}"${WINE_PREFIX}
|
||||
--mandir="${EPREFIX}"${WINE_DATADIR}/man
|
||||
$(use_enable gecko mshtml)
|
||||
$(use_enable mono mscoree)
|
||||
--disable-tests
|
||||
$(use_with X x)
|
||||
$(use_with alsa)
|
||||
$(use_with capi)
|
||||
$(use_with cups)
|
||||
$(use_with fontconfig)
|
||||
$(use_with gphoto2 gphoto)
|
||||
$(use_with gstreamer)
|
||||
$(use_with kerberos gssapi)
|
||||
$(use_with kerberos krb5)
|
||||
$(use_with mingw)
|
||||
$(use_with netapi)
|
||||
$(use_with nls gettext)
|
||||
$(use_with opencl)
|
||||
$(use_with opengl)
|
||||
$(use_with osmesa)
|
||||
--without-oss # media-sound/oss is not packaged (OSSv4)
|
||||
$(use_with pcap)
|
||||
$(use_with pulseaudio pulse)
|
||||
$(use_with scanner sane)
|
||||
$(use_with sdl)
|
||||
$(use_with smartcard pcsclite)
|
||||
$(use_with ssl gnutls)
|
||||
$(use_with truetype freetype)
|
||||
$(use_with udev)
|
||||
$(use_with udisks dbus) # dbus is only used for udisks
|
||||
$(use_with unwind)
|
||||
$(use_with usb)
|
||||
$(use_with v4l v4l2)
|
||||
$(use_with vulkan)
|
||||
$(use_with wayland)
|
||||
$(use_with xcomposite)
|
||||
$(use_with xinerama)
|
||||
)
|
||||
|
||||
tc-ld-force-bfd # builds with non-bfd but broken at runtime (bug #867097)
|
||||
filter-lto # build failure
|
||||
use mingw || filter-flags -fno-plt # build failure
|
||||
use custom-cflags || strip-flags # can break in obscure ways at runtime
|
||||
use crossdev-mingw || PATH=${BROOT}/usr/lib/mingw64-toolchain/bin:${PATH}
|
||||
|
||||
# temporary workaround for tc-ld-force-bfd not yet enforcing with mold
|
||||
# https://github.com/gentoo/gentoo/pull/28355
|
||||
[[ $($(tc-getCC) ${LDFLAGS} -Wl,--version 2>/dev/null) == mold* ]] &&
|
||||
append-ldflags -fuse-ld=bfd
|
||||
|
||||
# build using upstream's way (--with-wine64)
|
||||
# order matters: configure+compile 64->32, install 32->64
|
||||
local -i bits
|
||||
for bits in $(usev abi_x86_64 64) $(usev abi_x86_32 32); do
|
||||
(
|
||||
einfo "Configuring ${PN} for ${bits}bits in ${WORKDIR}/build${bits} ..."
|
||||
|
||||
mkdir ../build${bits} || die
|
||||
cd ../build${bits} || die
|
||||
|
||||
pe_arch=i386
|
||||
if (( bits == 64 )); then
|
||||
pe_arch=x86_64
|
||||
: "${CROSSCC:=${CROSSCC_amd64:-x86_64-w64-mingw32-gcc}}"
|
||||
conf+=( --enable-win64 )
|
||||
elif use amd64; then
|
||||
conf+=(
|
||||
$(usev abi_x86_64 --with-wine64=../build64)
|
||||
TARGETFLAGS=-m32 # for widl
|
||||
)
|
||||
# _setup is optional, but use over Wine's auto-detect (+#472038)
|
||||
multilib_toolchain_setup x86
|
||||
fi
|
||||
: "${CROSSCC:=${CROSSCC_x86:-i686-w64-mingw32-gcc}}"
|
||||
|
||||
if use mingw; then
|
||||
# CROSSCC is no longer recognized by Wine, but still use for now
|
||||
# (future handling for CROSS* variables is subject to changes)
|
||||
conf+=( ac_cv_prog_${pe_arch}_CC="${CROSSCC}" )
|
||||
|
||||
# use *FLAGS for mingw, but strip unsupported
|
||||
: "${CROSSCFLAGS:=$(
|
||||
# >=wine-7.21 configure.ac no longer adds -fno-strict by mistake
|
||||
append-cflags '-fno-strict-aliasing'
|
||||
filter-flags '-fstack-protector*' #870136
|
||||
filter-flags '-mfunction-return=thunk*' #878849
|
||||
# -mavx with mingw-gcc has a history of obscure issues and
|
||||
# disabling is seen as safer, e.g. `WINEARCH=win32 winecfg`
|
||||
# crashes with -march=skylake >=wine-8.10, similar issues with
|
||||
# znver4: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110273
|
||||
append-cflags -mno-avx
|
||||
CC=${CROSSCC} test-flags-CC ${CFLAGS:--O2})}"
|
||||
: "${CROSSLDFLAGS:=$(
|
||||
filter-flags '-fuse-ld=*'
|
||||
CC=${CROSSCC} test-flags-CCLD ${LDFLAGS})}"
|
||||
export CROSS{C,LD}FLAGS
|
||||
fi
|
||||
|
||||
ECONF_SOURCE=${S} econf "${conf[@]}"
|
||||
)
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use abi_x86_64 && emake -C ../build64 # do first
|
||||
use abi_x86_32 && emake -C ../build32
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use abi_x86_32 && emake DESTDIR="${D}" -C ../build32 install
|
||||
use abi_x86_64 && emake DESTDIR="${D}" -C ../build64 install # do last
|
||||
|
||||
# symlink for plain 'wine' and install its man pages if 64bit-only #404331
|
||||
if use abi_x86_64 && use !abi_x86_32; then
|
||||
dosym wine64 ${WINE_PREFIX}/bin/wine
|
||||
dosym wine64-preloader ${WINE_PREFIX}/bin/wine-preloader
|
||||
local man
|
||||
for man in ../build64/loader/wine.*man; do
|
||||
: "${man##*/wine}"
|
||||
: "${_%.*}"
|
||||
insinto ${WINE_DATADIR}/man/${_:+${_#.}/}man1
|
||||
newins ${man} wine.1
|
||||
done
|
||||
fi
|
||||
|
||||
use perl || rm "${ED}"${WINE_DATADIR}/man/man1/wine{dump,maker}.1 \
|
||||
"${ED}"${WINE_PREFIX}/bin/{function_grep.pl,wine{dump,maker}} || die
|
||||
|
||||
# create variant wrappers for eselect-wine
|
||||
local bin
|
||||
for bin in "${ED}"${WINE_PREFIX}/bin/*; do
|
||||
make_wrapper "${bin##*/}-${P#wine-}" "${bin#"${ED}"}"
|
||||
done
|
||||
|
||||
# don't let portage try to strip PE files with the wrong
|
||||
# strip executable and instead handle it here (saves ~120MB)
|
||||
if use mingw; then
|
||||
dostrip -x ${WINE_PREFIX}/wine/{i386,x86_64}-windows
|
||||
use debug ||
|
||||
find "${ED}"${WINE_PREFIX}/wine/*-windows -regex '.*\.\(a\|dll\|exe\)' \
|
||||
-exec $(usex abi_x86_64 x86_64 i686)-w64-mingw32-strip --strip-unneeded {} + || die
|
||||
fi
|
||||
|
||||
dodoc ANNOUNCE AUTHORS README* documentation/README*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect wine update --if-unset || die
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect wine update --if-unset || die
|
||||
}
|
@ -1,346 +0,0 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MULTILIB_COMPAT=( abi_x86_{32,64} )
|
||||
inherit autotools flag-o-matic multilib multilib-build toolchain-funcs wrapper
|
||||
|
||||
WINE_GECKO=2.47.4
|
||||
WINE_MONO=8.0.0
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://gitlab.winehq.org/wine/wine.git"
|
||||
else
|
||||
(( $(ver_cut 2) )) && WINE_SDIR=$(ver_cut 1).x || WINE_SDIR=$(ver_cut 1).0
|
||||
SRC_URI="https://dl.winehq.org/wine/source/${WINE_SDIR}/wine-${PV}.tar.xz"
|
||||
S="${WORKDIR}/wine-${PV}"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Free implementation of Windows(tm) on Unix, without external patchsets"
|
||||
HOMEPAGE="
|
||||
https://www.winehq.org/
|
||||
https://gitlab.winehq.org/wine/wine/"
|
||||
|
||||
LICENSE="LGPL-2.1+ BSD-2 IJG MIT OPENLDAP ZLIB gsm libpng2 libtiff"
|
||||
SLOT="${PV}"
|
||||
IUSE="
|
||||
+X +abi_x86_32 +abi_x86_64 +alsa capi crossdev-mingw cups dos
|
||||
llvm-libunwind custom-cflags +fontconfig +gecko gphoto2 +gstreamer
|
||||
kerberos +mingw +mono netapi nls odbc opencl +opengl osmesa pcap
|
||||
perl pulseaudio samba scanner +sdl selinux smartcard +ssl +strip
|
||||
+truetype udev udisks +unwind usb v4l +vulkan wayland +xcomposite
|
||||
xinerama"
|
||||
REQUIRED_USE="
|
||||
X? ( truetype )
|
||||
crossdev-mingw? ( mingw )" # bug #551124 for truetype
|
||||
|
||||
# tests are non-trivial to run, can hang easily, don't play well with
|
||||
# sandbox, and several need real opengl/vulkan or network access
|
||||
RESTRICT="test"
|
||||
|
||||
# `grep WINE_CHECK_SONAME configure.ac` + if not directly linked
|
||||
WINE_DLOPEN_DEPEND="
|
||||
X? (
|
||||
x11-libs/libXcursor[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXfixes[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXi[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrandr[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrender[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
|
||||
opengl? (
|
||||
media-libs/libglvnd[X,${MULTILIB_USEDEP}]
|
||||
osmesa? ( media-libs/mesa[osmesa,${MULTILIB_USEDEP}] )
|
||||
)
|
||||
xcomposite? ( x11-libs/libXcomposite[${MULTILIB_USEDEP}] )
|
||||
xinerama? ( x11-libs/libXinerama[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
cups? ( net-print/cups[${MULTILIB_USEDEP}] )
|
||||
fontconfig? ( media-libs/fontconfig[${MULTILIB_USEDEP}] )
|
||||
kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] )
|
||||
netapi? ( net-fs/samba[${MULTILIB_USEDEP}] )
|
||||
odbc? ( dev-db/unixODBC[${MULTILIB_USEDEP}] )
|
||||
sdl? ( media-libs/libsdl2[haptic,joystick,${MULTILIB_USEDEP}] )
|
||||
ssl? ( net-libs/gnutls:=[${MULTILIB_USEDEP}] )
|
||||
truetype? ( media-libs/freetype[${MULTILIB_USEDEP}] )
|
||||
udisks? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
|
||||
v4l? ( media-libs/libv4l[${MULTILIB_USEDEP}] )
|
||||
vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )"
|
||||
WINE_COMMON_DEPEND="
|
||||
${WINE_DLOPEN_DEPEND}
|
||||
X? (
|
||||
x11-libs/libX11[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXext[${MULTILIB_USEDEP}]
|
||||
)
|
||||
alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
|
||||
capi? ( net-libs/libcapi:=[${MULTILIB_USEDEP}] )
|
||||
gphoto2? ( media-libs/libgphoto2:=[${MULTILIB_USEDEP}] )
|
||||
gstreamer? (
|
||||
dev-libs/glib:2[${MULTILIB_USEDEP}]
|
||||
media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}]
|
||||
media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
|
||||
)
|
||||
opencl? ( virtual/opencl[${MULTILIB_USEDEP}] )
|
||||
pcap? ( net-libs/libpcap[${MULTILIB_USEDEP}] )
|
||||
pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] )
|
||||
scanner? ( media-gfx/sane-backends[${MULTILIB_USEDEP}] )
|
||||
smartcard? ( sys-apps/pcsc-lite[${MULTILIB_USEDEP}] )
|
||||
udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] )
|
||||
unwind? (
|
||||
llvm-libunwind? ( sys-libs/llvm-libunwind[${MULTILIB_USEDEP}] )
|
||||
!llvm-libunwind? ( sys-libs/libunwind:=[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
usb? ( dev-libs/libusb:1[${MULTILIB_USEDEP}] )
|
||||
wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )"
|
||||
RDEPEND="
|
||||
${WINE_COMMON_DEPEND}
|
||||
app-emulation/wine-desktop-common
|
||||
dos? (
|
||||
|| (
|
||||
games-emulation/dosbox
|
||||
games-emulation/dosbox-staging
|
||||
)
|
||||
)
|
||||
gecko? ( app-emulation/wine-gecko:${WINE_GECKO}[${MULTILIB_USEDEP}] )
|
||||
gstreamer? ( media-plugins/gst-plugins-meta:1.0[${MULTILIB_USEDEP}] )
|
||||
mono? ( app-emulation/wine-mono:${WINE_MONO} )
|
||||
perl? (
|
||||
dev-lang/perl
|
||||
dev-perl/XML-LibXML
|
||||
)
|
||||
samba? ( net-fs/samba[winbind] )
|
||||
selinux? ( sec-policy/selinux-wine )
|
||||
udisks? ( sys-fs/udisks:2 )"
|
||||
DEPEND="
|
||||
${WINE_COMMON_DEPEND}
|
||||
sys-kernel/linux-headers
|
||||
X? ( x11-base/xorg-proto )"
|
||||
BDEPEND="
|
||||
dev-lang/perl
|
||||
sys-devel/binutils
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig
|
||||
mingw? ( !crossdev-mingw? (
|
||||
>=dev-util/mingw64-toolchain-10.0.0_p1-r2[${MULTILIB_USEDEP}]
|
||||
) )
|
||||
nls? ( sys-devel/gettext )
|
||||
wayland? ( dev-util/wayland-scanner )"
|
||||
IDEPEND=">=app-eselect/eselect-wine-2"
|
||||
|
||||
QA_CONFIG_IMPL_DECL_SKIP=(
|
||||
__clear_cache # unused on amd64+x86 (bug #900338)
|
||||
res_getservers # false positive
|
||||
)
|
||||
QA_TEXTRELS="usr/lib/*/wine/i386-unix/*.so" # uses -fno-PIC -Wl,-z,notext
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-7.0-noexecstack.patch
|
||||
"${FILESDIR}"/${PN}-7.20-unwind.patch
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} == binary ]] && return
|
||||
|
||||
if use crossdev-mingw && [[ ! -v MINGW_BYPASS ]]; then
|
||||
local mingw=-w64-mingw32
|
||||
for mingw in $(usev abi_x86_64 x86_64${mingw}) $(usev abi_x86_32 i686${mingw}); do
|
||||
if ! type -P ${mingw}-gcc >/dev/null; then
|
||||
eerror "With USE=crossdev-mingw, you must prepare the MinGW toolchain"
|
||||
eerror "yourself by installing sys-devel/crossdev then running:"
|
||||
eerror
|
||||
eerror " crossdev --target ${mingw}"
|
||||
eerror
|
||||
eerror "For more information, please see: https://wiki.gentoo.org/wiki/Mingw"
|
||||
die "USE=crossdev-mingw is enabled, but ${mingw}-gcc was not found"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# sanity check, bumping these has a history of oversights
|
||||
local geckomono=$(sed -En '/^#define (GECKO|MONO)_VER/{s/[^0-9.]//gp}' \
|
||||
dlls/appwiz.cpl/addons.c || die)
|
||||
if [[ ${WINE_GECKO}$'\n'${WINE_MONO} != "${geckomono}" ]]; then
|
||||
local gmfatal=
|
||||
[[ ${PV} == *9999 ]] && gmfatal=nonfatal
|
||||
${gmfatal} die -n "gecko/mono mismatch in ebuild, has: " ${geckomono} " (please file a bug)"
|
||||
fi
|
||||
|
||||
default
|
||||
|
||||
# ensure .desktop calls this variant + slot
|
||||
sed -i "/^Exec=/s/wine /${P} /" loader/wine.desktop || die
|
||||
|
||||
# always update for patches (including user's wrt #432348)
|
||||
eautoreconf
|
||||
tools/make_requests || die # perl
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
WINE_PREFIX=/usr/lib/${P}
|
||||
WINE_DATADIR=/usr/share/${P}
|
||||
|
||||
local conf=(
|
||||
--prefix="${EPREFIX}"${WINE_PREFIX}
|
||||
--datadir="${EPREFIX}"${WINE_DATADIR}
|
||||
--includedir="${EPREFIX}"/usr/include/${P}
|
||||
--libdir="${EPREFIX}"${WINE_PREFIX}
|
||||
--mandir="${EPREFIX}"${WINE_DATADIR}/man
|
||||
$(use_enable gecko mshtml)
|
||||
$(use_enable mono mscoree)
|
||||
--disable-tests
|
||||
$(use_with X x)
|
||||
$(use_with alsa)
|
||||
$(use_with capi)
|
||||
$(use_with cups)
|
||||
$(use_with fontconfig)
|
||||
$(use_with gphoto2 gphoto)
|
||||
$(use_with gstreamer)
|
||||
$(use_with kerberos gssapi)
|
||||
$(use_with kerberos krb5)
|
||||
$(use_with mingw)
|
||||
$(use_with netapi)
|
||||
$(use_with nls gettext)
|
||||
$(use_with opencl)
|
||||
$(use_with opengl)
|
||||
$(use_with osmesa)
|
||||
--without-oss # media-sound/oss is not packaged (OSSv4)
|
||||
$(use_with pcap)
|
||||
$(use_with pulseaudio pulse)
|
||||
$(use_with scanner sane)
|
||||
$(use_with sdl)
|
||||
$(use_with smartcard pcsclite)
|
||||
$(use_with ssl gnutls)
|
||||
$(use_with truetype freetype)
|
||||
$(use_with udev)
|
||||
$(use_with udisks dbus) # dbus is only used for udisks
|
||||
$(use_with unwind)
|
||||
$(use_with usb)
|
||||
$(use_with v4l v4l2)
|
||||
$(use_with vulkan)
|
||||
$(use_with wayland)
|
||||
$(use_with xcomposite)
|
||||
$(use_with xinerama)
|
||||
$(usev !odbc ac_cv_lib_soname_odbc=)
|
||||
)
|
||||
|
||||
tc-ld-force-bfd # builds with non-bfd but broken at runtime (bug #867097)
|
||||
filter-lto # build failure
|
||||
use mingw || filter-flags -fno-plt # build failure
|
||||
use custom-cflags || strip-flags # can break in obscure ways at runtime
|
||||
use crossdev-mingw || PATH=${BROOT}/usr/lib/mingw64-toolchain/bin:${PATH}
|
||||
|
||||
# temporary workaround for tc-ld-force-bfd not yet enforcing with mold
|
||||
# https://github.com/gentoo/gentoo/pull/28355
|
||||
[[ $($(tc-getCC) ${LDFLAGS} -Wl,--version 2>/dev/null) == mold* ]] &&
|
||||
append-ldflags -fuse-ld=bfd
|
||||
|
||||
# build using upstream's way (--with-wine64)
|
||||
# order matters: configure+compile 64->32, install 32->64
|
||||
local -i bits
|
||||
for bits in $(usev abi_x86_64 64) $(usev abi_x86_32 32); do
|
||||
(
|
||||
einfo "Configuring ${PN} for ${bits}bits in ${WORKDIR}/build${bits} ..."
|
||||
|
||||
mkdir ../build${bits} || die
|
||||
cd ../build${bits} || die
|
||||
|
||||
pe_arch=i386
|
||||
if (( bits == 64 )); then
|
||||
pe_arch=x86_64
|
||||
: "${CROSSCC:=${CROSSCC_amd64:-x86_64-w64-mingw32-gcc}}"
|
||||
conf+=( --enable-win64 )
|
||||
elif use amd64; then
|
||||
conf+=(
|
||||
$(usev abi_x86_64 --with-wine64=../build64)
|
||||
TARGETFLAGS=-m32 # for widl
|
||||
)
|
||||
# _setup is optional, but use over Wine's auto-detect (+#472038)
|
||||
multilib_toolchain_setup x86
|
||||
fi
|
||||
: "${CROSSCC:=${CROSSCC_x86:-i686-w64-mingw32-gcc}}"
|
||||
|
||||
if use mingw; then
|
||||
# CROSSCC is no longer recognized by Wine, but still use for now
|
||||
# (future handling for CROSS* variables is subject to changes)
|
||||
conf+=( ac_cv_prog_${pe_arch}_CC="${CROSSCC}" )
|
||||
|
||||
# use *FLAGS for mingw, but strip unsupported
|
||||
: "${CROSSCFLAGS:=$(
|
||||
filter-flags '-fstack-protector*' #870136
|
||||
filter-flags '-mfunction-return=thunk*' #878849
|
||||
# -mavx with mingw-gcc has a history of obscure issues and
|
||||
# disabling is seen as safer, e.g. `WINEARCH=win32 winecfg`
|
||||
# crashes with -march=skylake >=wine-8.10, similar issues with
|
||||
# znver4: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110273
|
||||
append-cflags -mno-avx
|
||||
CC=${CROSSCC} test-flags-CC ${CFLAGS:--O2})}"
|
||||
: "${CROSSLDFLAGS:=$(
|
||||
filter-flags '-fuse-ld=*'
|
||||
CC=${CROSSCC} test-flags-CCLD ${LDFLAGS})}"
|
||||
export CROSS{C,LD}FLAGS
|
||||
fi
|
||||
|
||||
ECONF_SOURCE=${S} econf "${conf[@]}"
|
||||
)
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use abi_x86_64 && emake -C ../build64 # do first
|
||||
use abi_x86_32 && emake -C ../build32
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use abi_x86_32 && emake DESTDIR="${D}" -C ../build32 install
|
||||
use abi_x86_64 && emake DESTDIR="${D}" -C ../build64 install # do last
|
||||
|
||||
# symlink for plain 'wine' and install its man pages if 64bit-only #404331
|
||||
if use abi_x86_64 && use !abi_x86_32; then
|
||||
dosym wine64 ${WINE_PREFIX}/bin/wine
|
||||
dosym wine64-preloader ${WINE_PREFIX}/bin/wine-preloader
|
||||
local man
|
||||
for man in ../build64/loader/wine.*man; do
|
||||
: "${man##*/wine}"
|
||||
: "${_%.*}"
|
||||
insinto ${WINE_DATADIR}/man/${_:+${_#.}/}man1
|
||||
newins ${man} wine.1
|
||||
done
|
||||
fi
|
||||
|
||||
use perl || rm "${ED}"${WINE_DATADIR}/man/man1/wine{dump,maker}.1 \
|
||||
"${ED}"${WINE_PREFIX}/bin/{function_grep.pl,wine{dump,maker}} || die
|
||||
|
||||
# create variant wrappers for eselect-wine
|
||||
local bin
|
||||
for bin in "${ED}"${WINE_PREFIX}/bin/*; do
|
||||
make_wrapper "${bin##*/}-${P#wine-}" "${bin#"${ED}"}"
|
||||
done
|
||||
|
||||
if use mingw; then
|
||||
# don't let portage try to strip PE files with the wrong
|
||||
# strip executable and instead handle it here (saves ~120MB)
|
||||
dostrip -x ${WINE_PREFIX}/wine/{i386,x86_64}-windows
|
||||
|
||||
if use strip; then
|
||||
ebegin "Stripping Windows (PE) binaries"
|
||||
find "${ED}"${WINE_PREFIX}/wine/*-windows -regex '.*\.\(a\|dll\|exe\)' \
|
||||
-exec $(usex abi_x86_64 x86_64 i686)-w64-mingw32-strip --strip-unneeded {} +
|
||||
eend ${?} || die
|
||||
fi
|
||||
fi
|
||||
|
||||
dodoc ANNOUNCE AUTHORS README* documentation/README*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect wine update --if-unset || die
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect wine update --if-unset || die
|
||||
}
|
@ -1,344 +0,0 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MULTILIB_COMPAT=( abi_x86_{32,64} )
|
||||
inherit autotools flag-o-matic multilib multilib-build toolchain-funcs wrapper
|
||||
|
||||
WINE_GECKO=2.47.4
|
||||
WINE_MONO=8.0.0
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://gitlab.winehq.org/wine/wine.git"
|
||||
else
|
||||
(( $(ver_cut 2) )) && WINE_SDIR=$(ver_cut 1).x || WINE_SDIR=$(ver_cut 1).0
|
||||
SRC_URI="https://dl.winehq.org/wine/source/${WINE_SDIR}/wine-${PV}.tar.xz"
|
||||
S="${WORKDIR}/wine-${PV}"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Free implementation of Windows(tm) on Unix, without external patchsets"
|
||||
HOMEPAGE="
|
||||
https://www.winehq.org/
|
||||
https://gitlab.winehq.org/wine/wine/"
|
||||
|
||||
LICENSE="LGPL-2.1+ BSD-2 IJG MIT OPENLDAP ZLIB gsm libpng2 libtiff"
|
||||
SLOT="${PV}"
|
||||
IUSE="
|
||||
+X +abi_x86_32 +abi_x86_64 +alsa capi crossdev-mingw cups dos
|
||||
llvm-libunwind debug custom-cflags +fontconfig +gecko gphoto2
|
||||
+gstreamer kerberos +mingw +mono netapi nls odbc opencl +opengl
|
||||
osmesa pcap perl pulseaudio samba scanner +sdl selinux smartcard
|
||||
+ssl +truetype udev udisks +unwind usb v4l +vulkan wayland
|
||||
+xcomposite xinerama"
|
||||
REQUIRED_USE="
|
||||
X? ( truetype )
|
||||
crossdev-mingw? ( mingw )" # bug #551124 for truetype
|
||||
|
||||
# tests are non-trivial to run, can hang easily, don't play well with
|
||||
# sandbox, and several need real opengl/vulkan or network access
|
||||
RESTRICT="test"
|
||||
|
||||
# `grep WINE_CHECK_SONAME configure.ac` + if not directly linked
|
||||
WINE_DLOPEN_DEPEND="
|
||||
X? (
|
||||
x11-libs/libXcursor[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXfixes[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXi[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrandr[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrender[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
|
||||
opengl? (
|
||||
media-libs/libglvnd[X,${MULTILIB_USEDEP}]
|
||||
osmesa? ( media-libs/mesa[osmesa,${MULTILIB_USEDEP}] )
|
||||
)
|
||||
xcomposite? ( x11-libs/libXcomposite[${MULTILIB_USEDEP}] )
|
||||
xinerama? ( x11-libs/libXinerama[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
cups? ( net-print/cups[${MULTILIB_USEDEP}] )
|
||||
fontconfig? ( media-libs/fontconfig[${MULTILIB_USEDEP}] )
|
||||
kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] )
|
||||
netapi? ( net-fs/samba[${MULTILIB_USEDEP}] )
|
||||
odbc? ( dev-db/unixODBC[${MULTILIB_USEDEP}] )
|
||||
sdl? ( media-libs/libsdl2[haptic,joystick,${MULTILIB_USEDEP}] )
|
||||
ssl? ( net-libs/gnutls:=[${MULTILIB_USEDEP}] )
|
||||
truetype? ( media-libs/freetype[${MULTILIB_USEDEP}] )
|
||||
udisks? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
|
||||
v4l? ( media-libs/libv4l[${MULTILIB_USEDEP}] )
|
||||
vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )"
|
||||
WINE_COMMON_DEPEND="
|
||||
${WINE_DLOPEN_DEPEND}
|
||||
X? (
|
||||
x11-libs/libX11[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXext[${MULTILIB_USEDEP}]
|
||||
)
|
||||
alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
|
||||
capi? ( net-libs/libcapi:=[${MULTILIB_USEDEP}] )
|
||||
gphoto2? ( media-libs/libgphoto2:=[${MULTILIB_USEDEP}] )
|
||||
gstreamer? (
|
||||
dev-libs/glib:2[${MULTILIB_USEDEP}]
|
||||
media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}]
|
||||
media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
|
||||
)
|
||||
opencl? ( virtual/opencl[${MULTILIB_USEDEP}] )
|
||||
pcap? ( net-libs/libpcap[${MULTILIB_USEDEP}] )
|
||||
pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] )
|
||||
scanner? ( media-gfx/sane-backends[${MULTILIB_USEDEP}] )
|
||||
smartcard? ( sys-apps/pcsc-lite[${MULTILIB_USEDEP}] )
|
||||
udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] )
|
||||
unwind? (
|
||||
llvm-libunwind? ( sys-libs/llvm-libunwind[${MULTILIB_USEDEP}] )
|
||||
!llvm-libunwind? ( sys-libs/libunwind:=[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
usb? ( dev-libs/libusb:1[${MULTILIB_USEDEP}] )
|
||||
wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )"
|
||||
RDEPEND="
|
||||
${WINE_COMMON_DEPEND}
|
||||
app-emulation/wine-desktop-common
|
||||
dos? (
|
||||
|| (
|
||||
games-emulation/dosbox
|
||||
games-emulation/dosbox-staging
|
||||
)
|
||||
)
|
||||
gecko? ( app-emulation/wine-gecko:${WINE_GECKO}[${MULTILIB_USEDEP}] )
|
||||
gstreamer? ( media-plugins/gst-plugins-meta:1.0[${MULTILIB_USEDEP}] )
|
||||
mono? ( app-emulation/wine-mono:${WINE_MONO} )
|
||||
perl? (
|
||||
dev-lang/perl
|
||||
dev-perl/XML-LibXML
|
||||
)
|
||||
samba? ( net-fs/samba[winbind] )
|
||||
selinux? ( sec-policy/selinux-wine )
|
||||
udisks? ( sys-fs/udisks:2 )"
|
||||
DEPEND="
|
||||
${WINE_COMMON_DEPEND}
|
||||
sys-kernel/linux-headers
|
||||
X? ( x11-base/xorg-proto )"
|
||||
BDEPEND="
|
||||
dev-lang/perl
|
||||
sys-devel/binutils
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig
|
||||
mingw? ( !crossdev-mingw? (
|
||||
>=dev-util/mingw64-toolchain-10.0.0_p1-r2[${MULTILIB_USEDEP}]
|
||||
) )
|
||||
nls? ( sys-devel/gettext )
|
||||
wayland? ( dev-util/wayland-scanner )"
|
||||
IDEPEND=">=app-eselect/eselect-wine-2"
|
||||
|
||||
QA_CONFIG_IMPL_DECL_SKIP=(
|
||||
__clear_cache # unused on amd64+x86 (bug #900338)
|
||||
res_getservers # false positive
|
||||
)
|
||||
QA_TEXTRELS="usr/lib/*/wine/i386-unix/*.so" # uses -fno-PIC -Wl,-z,notext
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-7.0-noexecstack.patch
|
||||
"${FILESDIR}"/${PN}-7.20-unwind.patch
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} == binary ]] && return
|
||||
|
||||
if use crossdev-mingw && [[ ! -v MINGW_BYPASS ]]; then
|
||||
local mingw=-w64-mingw32
|
||||
for mingw in $(usev abi_x86_64 x86_64${mingw}) $(usev abi_x86_32 i686${mingw}); do
|
||||
if ! type -P ${mingw}-gcc >/dev/null; then
|
||||
eerror "With USE=crossdev-mingw, you must prepare the MinGW toolchain"
|
||||
eerror "yourself by installing sys-devel/crossdev then running:"
|
||||
eerror
|
||||
eerror " crossdev --target ${mingw}"
|
||||
eerror
|
||||
eerror "For more information, please see: https://wiki.gentoo.org/wiki/Mingw"
|
||||
die "USE=crossdev-mingw is enabled, but ${mingw}-gcc was not found"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# sanity check, bumping these has a history of oversights
|
||||
local geckomono=$(sed -En '/^#define (GECKO|MONO)_VER/{s/[^0-9.]//gp}' \
|
||||
dlls/appwiz.cpl/addons.c || die)
|
||||
if [[ ${WINE_GECKO}$'\n'${WINE_MONO} != "${geckomono}" ]]; then
|
||||
local gmfatal=
|
||||
[[ ${PV} == *9999 ]] && gmfatal=nonfatal
|
||||
${gmfatal} die -n "gecko/mono mismatch in ebuild, has: " ${geckomono} " (please file a bug)"
|
||||
fi
|
||||
|
||||
default
|
||||
|
||||
# ensure .desktop calls this variant + slot
|
||||
sed -i "/^Exec=/s/wine /${P} /" loader/wine.desktop || die
|
||||
|
||||
# always update for patches (including user's wrt #432348)
|
||||
eautoreconf
|
||||
tools/make_requests || die # perl
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
WINE_PREFIX=/usr/lib/${P}
|
||||
WINE_DATADIR=/usr/share/${P}
|
||||
|
||||
local conf=(
|
||||
--prefix="${EPREFIX}"${WINE_PREFIX}
|
||||
--datadir="${EPREFIX}"${WINE_DATADIR}
|
||||
--includedir="${EPREFIX}"/usr/include/${P}
|
||||
--libdir="${EPREFIX}"${WINE_PREFIX}
|
||||
--mandir="${EPREFIX}"${WINE_DATADIR}/man
|
||||
$(use_enable gecko mshtml)
|
||||
$(use_enable mono mscoree)
|
||||
--disable-tests
|
||||
$(use_with X x)
|
||||
$(use_with alsa)
|
||||
$(use_with capi)
|
||||
$(use_with cups)
|
||||
$(use_with fontconfig)
|
||||
$(use_with gphoto2 gphoto)
|
||||
$(use_with gstreamer)
|
||||
$(use_with kerberos gssapi)
|
||||
$(use_with kerberos krb5)
|
||||
$(use_with mingw)
|
||||
$(use_with netapi)
|
||||
$(use_with nls gettext)
|
||||
$(use_with opencl)
|
||||
$(use_with opengl)
|
||||
$(use_with osmesa)
|
||||
--without-oss # media-sound/oss is not packaged (OSSv4)
|
||||
$(use_with pcap)
|
||||
$(use_with pulseaudio pulse)
|
||||
$(use_with scanner sane)
|
||||
$(use_with sdl)
|
||||
$(use_with smartcard pcsclite)
|
||||
$(use_with ssl gnutls)
|
||||
$(use_with truetype freetype)
|
||||
$(use_with udev)
|
||||
$(use_with udisks dbus) # dbus is only used for udisks
|
||||
$(use_with unwind)
|
||||
$(use_with usb)
|
||||
$(use_with v4l v4l2)
|
||||
$(use_with vulkan)
|
||||
$(use_with wayland)
|
||||
$(use_with xcomposite)
|
||||
$(use_with xinerama)
|
||||
$(usev !odbc ac_cv_lib_soname_odbc=)
|
||||
)
|
||||
|
||||
tc-ld-force-bfd # builds with non-bfd but broken at runtime (bug #867097)
|
||||
filter-lto # build failure
|
||||
use mingw || filter-flags -fno-plt # build failure
|
||||
use custom-cflags || strip-flags # can break in obscure ways at runtime
|
||||
use crossdev-mingw || PATH=${BROOT}/usr/lib/mingw64-toolchain/bin:${PATH}
|
||||
|
||||
# temporary workaround for tc-ld-force-bfd not yet enforcing with mold
|
||||
# https://github.com/gentoo/gentoo/pull/28355
|
||||
[[ $($(tc-getCC) ${LDFLAGS} -Wl,--version 2>/dev/null) == mold* ]] &&
|
||||
append-ldflags -fuse-ld=bfd
|
||||
|
||||
# build using upstream's way (--with-wine64)
|
||||
# order matters: configure+compile 64->32, install 32->64
|
||||
local -i bits
|
||||
for bits in $(usev abi_x86_64 64) $(usev abi_x86_32 32); do
|
||||
(
|
||||
einfo "Configuring ${PN} for ${bits}bits in ${WORKDIR}/build${bits} ..."
|
||||
|
||||
mkdir ../build${bits} || die
|
||||
cd ../build${bits} || die
|
||||
|
||||
pe_arch=i386
|
||||
if (( bits == 64 )); then
|
||||
pe_arch=x86_64
|
||||
: "${CROSSCC:=${CROSSCC_amd64:-x86_64-w64-mingw32-gcc}}"
|
||||
conf+=( --enable-win64 )
|
||||
elif use amd64; then
|
||||
conf+=(
|
||||
$(usev abi_x86_64 --with-wine64=../build64)
|
||||
TARGETFLAGS=-m32 # for widl
|
||||
)
|
||||
# _setup is optional, but use over Wine's auto-detect (+#472038)
|
||||
multilib_toolchain_setup x86
|
||||
fi
|
||||
: "${CROSSCC:=${CROSSCC_x86:-i686-w64-mingw32-gcc}}"
|
||||
|
||||
if use mingw; then
|
||||
# CROSSCC is no longer recognized by Wine, but still use for now
|
||||
# (future handling for CROSS* variables is subject to changes)
|
||||
conf+=( ac_cv_prog_${pe_arch}_CC="${CROSSCC}" )
|
||||
|
||||
# use *FLAGS for mingw, but strip unsupported
|
||||
: "${CROSSCFLAGS:=$(
|
||||
# >=wine-7.21 configure.ac no longer adds -fno-strict by mistake
|
||||
append-cflags '-fno-strict-aliasing'
|
||||
filter-flags '-fstack-protector*' #870136
|
||||
filter-flags '-mfunction-return=thunk*' #878849
|
||||
# -mavx with mingw-gcc has a history of obscure issues and
|
||||
# disabling is seen as safer, e.g. `WINEARCH=win32 winecfg`
|
||||
# crashes with -march=skylake >=wine-8.10, similar issues with
|
||||
# znver4: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110273
|
||||
append-cflags -mno-avx
|
||||
CC=${CROSSCC} test-flags-CC ${CFLAGS:--O2})}"
|
||||
: "${CROSSLDFLAGS:=$(
|
||||
filter-flags '-fuse-ld=*'
|
||||
CC=${CROSSCC} test-flags-CCLD ${LDFLAGS})}"
|
||||
export CROSS{C,LD}FLAGS
|
||||
fi
|
||||
|
||||
ECONF_SOURCE=${S} econf "${conf[@]}"
|
||||
)
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use abi_x86_64 && emake -C ../build64 # do first
|
||||
use abi_x86_32 && emake -C ../build32
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use abi_x86_32 && emake DESTDIR="${D}" -C ../build32 install
|
||||
use abi_x86_64 && emake DESTDIR="${D}" -C ../build64 install # do last
|
||||
|
||||
# symlink for plain 'wine' and install its man pages if 64bit-only #404331
|
||||
if use abi_x86_64 && use !abi_x86_32; then
|
||||
dosym wine64 ${WINE_PREFIX}/bin/wine
|
||||
dosym wine64-preloader ${WINE_PREFIX}/bin/wine-preloader
|
||||
local man
|
||||
for man in ../build64/loader/wine.*man; do
|
||||
: "${man##*/wine}"
|
||||
: "${_%.*}"
|
||||
insinto ${WINE_DATADIR}/man/${_:+${_#.}/}man1
|
||||
newins ${man} wine.1
|
||||
done
|
||||
fi
|
||||
|
||||
use perl || rm "${ED}"${WINE_DATADIR}/man/man1/wine{dump,maker}.1 \
|
||||
"${ED}"${WINE_PREFIX}/bin/{function_grep.pl,wine{dump,maker}} || die
|
||||
|
||||
# create variant wrappers for eselect-wine
|
||||
local bin
|
||||
for bin in "${ED}"${WINE_PREFIX}/bin/*; do
|
||||
make_wrapper "${bin##*/}-${P#wine-}" "${bin#"${ED}"}"
|
||||
done
|
||||
|
||||
# don't let portage try to strip PE files with the wrong
|
||||
# strip executable and instead handle it here (saves ~120MB)
|
||||
if use mingw; then
|
||||
dostrip -x ${WINE_PREFIX}/wine/{i386,x86_64}-windows
|
||||
use debug ||
|
||||
find "${ED}"${WINE_PREFIX}/wine/*-windows -regex '.*\.\(a\|dll\|exe\)' \
|
||||
-exec $(usex abi_x86_64 x86_64 i686)-w64-mingw32-strip --strip-unneeded {} + || die
|
||||
fi
|
||||
|
||||
dodoc ANNOUNCE AUTHORS README* documentation/README*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect wine update --if-unset || die
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect wine update --if-unset || die
|
||||
}
|
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
DIST eselect-wine-2.0.2.tar.bz2 7449 BLAKE2B ce933920a7b6d1df0c0e5f5ae27b1ad1c7467489bd2d35c977b1d9894012b6bcb52d2830c3ebcef9228de40c6f31650e78d40051c82badf959c51339fe6bfa10 SHA512 c49c08e25d7e15c04205608118ea38e970db31f394534efd44070eec5c2148463c09d2b2787a9bb9c1b5f29010e99b4769d3f219b3ae826ceae56757aab596d1
|
||||
EBUILD eselect-wine-2.0.2-r1.ebuild 3296 BLAKE2B 38600efc70b5293a7ee976c7d9616095163e85da1f006a9f52e7ff1f7a8d6a80a695307e8bb92304480e46ea57e008c31488508b0149e02b48a935949b0385ca SHA512 dd57d0237c6089b159ab2c2b284dfd129a30a62d36c0c6d22d0c703ef292bfd1653bbb094823a21ffd65f41448fd12a8d6fe797d979522b94a14bd1554868f99
|
||||
EBUILD eselect-wine-2.0.2-r1.ebuild 3294 BLAKE2B 460da69deda04a53ac81981797dad15f556fca16eaba1f02f108fe8052dc2a2ae8ae056f8fa33f71d9c638503ee92de0f1fae5521a9f1ded0f03b05cd7f3b381 SHA512 af1268abd077ced5646620a680b4a2a02386b2f8cfa50e43a28beddeed56f7bb65f87cc9008f9bea98e36fdd480e02f17de4492ac4503307fcfb966c1635195c
|
||||
EBUILD eselect-wine-2.0.2.ebuild 2604 BLAKE2B 8132089785f2e13accdd1666e1f6c45b4506d0311f6265f948049b66fddc02802d37cf9a2fa233fe1d0edf115cfe69517e0c9f3e57b16729411a1c2456f2f904 SHA512 a2d1afc85ba070bc4e26c8bbaa1c100f6840d6e7c4db2ea999be71699eccad4f075d4711ea5720fa77280bd7121b2c184fe0745c5a903ef7249addd7f3336b67
|
||||
MISC metadata.xml 494 BLAKE2B 8b6b0225e0825473ffab8dd707a6ebfa1f491da865a8975eeeab8062537650e06d4703201af59bd775870f04f7422e6da1eab6e2a874faa24776a26c1bb48d19 SHA512 22a330313d9f4408b89dde624ce9e94601257d3650e25df6bc803ca10c52a7fb7c6723fc6b9527429eaea528431e89e985b16249252a0298b6f76c77ce3feb33
|
||||
|
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
AUX lynis.cron-new 72 BLAKE2B 1f2d683c74e9e85f142c23277f24e8c81b33e4d1691a6f171694194bd5d81a5e1473532afe2c6fca23c995d9c7bd08d18d6eed78a07661618c12e22b35e9ff81 SHA512 1cdaaee433912c2ccdec8ad7c9b88be55fe3f1d68e2fca79cc6e0e10112d465a70cfbe0a049623437f604bfc9793e0d29b709e035cbf710d4d38ba48acc5355f
|
||||
DIST lynis-3.0.8.tar.gz 339467 BLAKE2B 490bd6799619a4247c3fa68cc96f2f1fead651b23db0ffb512394960f8ca0360ab7f25d2bb8d9e742641558972e1fdd4b1e18d7de0d13007988276eed3a97b1f SHA512 df41aa8b7518a72ee17732eb7e69ccc62ca6e1323d3adc7aec509cd1c21494fece873e101bc317655dafbf58b32699f56dd27eec13a2ce615801cee75961cd33
|
||||
EBUILD lynis-3.0.8-r1.ebuild 1807 BLAKE2B 7011dff427deedcaecaa249c55a8c0ab796a01d0b908baf1321d86311158e360e29673a658621b72899a18f9cdbaeec800e3cd4c8c4386919c58d853b6875570 SHA512 bd39a2cc0d4c50a5f4beba5dcaa73ffc16305c06b7ca7e60b7c85c23b754028038d5aae47c32a6b66c1d2da95d95f1534cf7a6846888c03bfcdaaa8187b6ff47
|
||||
DIST lynis-3.0.9.tar.gz 339171 BLAKE2B dc7912c7d1782c3ffdf369cc7f0f004267bd2a2c408982909e654db14ecfa83ebdbd2f731c3d3ee8864e7de21945b1faa2f9d2845dedf3e742a4c79c62373eda SHA512 7fc0349be9ea9d6e311b834cb7f9089bd0d393381edb5325a0bea88ed83dcd3d816dc213c6a6d17f88ff937af71be72004570894e427e4faf1b0d39448aa3a43
|
||||
EBUILD lynis-3.0.9.ebuild 1807 BLAKE2B ac0eb355c2f0bae6585d1252c901d2a641266a09eb23152e3bda36f476069bb9d50745df512d7606394bf2af1f68ef89e7d2e5b2e78a3b3f22ca3d52735839e6 SHA512 357c53bc2b84a40985c2ef0bd84b6cbef8117aa16d69232b9c92d1baf9fb98afb4586d1af740a52d5047106cb7814e85fda7c58ef310199f6e697a43d96022fd
|
||||
MISC metadata.xml 324 BLAKE2B 3ccc9fa29e93b80f279e24768171e1ed3ae9c371ec0cc1fca13770f498c91a75235e886b1c873dbf2a6a7355caa054c614612054251f3cdd828813e93948b6be SHA512 349bad0292a35a2434456d7b9385163a41e2430651f3fe115a3953ae8419d4369b339691b84502ff661267c8948fac13eeffe9dec2cb0a92bdf3d478cb48b0a5
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
DIST iwdevtools-0.12.5.tar.gz 89999 BLAKE2B de7c1c98a93df42ca0436e9c08a6ec2eeec1ae5db524a8b95c94ab70e43a10f8a649cc489f671712c273fe52b1ee8223e4afac670aedccec254d9c035565feb0 SHA512 97372288421e5db71faf8d98544e8f273c2bfa7d36dd5ceb9bdde5e288547f7863fe7548f2dcc7db568a293e05bafce77e0cb29335f6e79841b0ecf78fbefecc
|
||||
DIST iwdevtools-0.12.6.tar.gz 90536 BLAKE2B e06e17c3b3705e5bfd0a3810c81c5d802b232c5ba42d9c19c28a24a059e30d4c802b067dde054f299118f5ad3cb74df849ab6c2ca06f9e3d74bc0dff7c65f163 SHA512 fa273b64f808b6e3cfafcc40166b509cc1da693c06e1246c453ad66c1919c485979223242252885359e5e5ddb06c816f43802c1b5f06b3b7d4c1bab324a8e6c8
|
||||
DIST iwdevtools-0.12.7.tar.gz 90988 BLAKE2B c02a8e44ea992f701f27f2d95c4e97a84806b5bf920ccc6097b3c6917162e9a22c5a5d020b43f8ca9ca99d43ec0ce2b2bfcd0c4f0f98eb27e8003346fb9ab70a SHA512 84cd91f6dcb5e080f4ab53f9eaef85d3093f9ce5110066b92e82f7ca1132612e70e8e6cd70a66b2452746a8879cd07bb60c1948c9ebfe9cc8c8c359ea19cc2b1
|
||||
EBUILD iwdevtools-0.12.5.ebuild 1939 BLAKE2B dbc70752e264fd7837c78a5e5814ae312f7cd20518876965a2e5d0d474fa9ffbb5d978dc6e695f35adb702dc325acd719dc29dfd8c00fc6edc91807779b6e037 SHA512 fc4ab54b4adc3896c7883d8ee6d1f6e38306fae4c49eba3232ee743a81d2993c337fbc938796c7afa04ac8ae74b4268e157973407193d8b1b8bb376ae4934bb8
|
||||
EBUILD iwdevtools-0.12.6.ebuild 1947 BLAKE2B 758016d13bf0eb02ba8ae49b24997d9fbbaac4a5ee03a8e4c39b63afba9c3926747bb85614df144c880643a2fe0ca371e32392ec20ea3acf358de533f5a60f4a SHA512 4b4796a3c1baffa0af88f638568808e1f843c609f0f3a74252b6f078a9039e1bf090119c23b26358be4f5d30d4db11582d91eb4a01c2791cce207b30f03e3ca9
|
||||
EBUILD iwdevtools-0.12.7.ebuild 1939 BLAKE2B dbc70752e264fd7837c78a5e5814ae312f7cd20518876965a2e5d0d474fa9ffbb5d978dc6e695f35adb702dc325acd719dc29dfd8c00fc6edc91807779b6e037 SHA512 fc4ab54b4adc3896c7883d8ee6d1f6e38306fae4c49eba3232ee743a81d2993c337fbc938796c7afa04ac8ae74b4268e157973407193d8b1b8bb376ae4934bb8
|
||||
EBUILD iwdevtools-9999.ebuild 1838 BLAKE2B ee36721fd640eb6c56f1203d4812bac64ba294c8ccf799b06d041ddc94a50c6768778646511617c8a1c7d9ecf1d7575227e93dbcee05e494961e0d194cdf0163 SHA512 c5e56cbcc69865a03a3669acad231edc41d3cb330d0dc3bb3a3862f69a2f61acb792a4ae98c6070554b69d1240a45bad03baf0458d6e1007cac11d9b1cb1a292
|
||||
MISC metadata.xml 354 BLAKE2B 752c8fbf18967fb380f0f5d460396222f5fea3f0c7b9ed960ff0dbe62a9a505a2d07c45750aaa55285d11169e01f5e83b82eb278b12fbc5e9c43353c0a5fc9ed SHA512 d8e5866d89b7f05a5a8cd8cc464083d3d096b4c03f8a83e9314dcf45e57c25369bf8a3bc725aed3b8db9f3f86e76bad358bfa58f1eca70f7ec0bf3d31286c2c3
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,283 +0,0 @@
|
||||
# Copyright 2021-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CRATES="
|
||||
aho-corasick@0.7.20
|
||||
aho-corasick@1.0.1
|
||||
ammonia@3.3.0
|
||||
android_system_properties@0.1.5
|
||||
anstream@0.3.2
|
||||
anstyle-parse@0.2.0
|
||||
anstyle-query@1.0.0
|
||||
anstyle-wincon@1.0.1
|
||||
anstyle@1.0.0
|
||||
anyhow@1.0.71
|
||||
assert_cmd@2.0.11
|
||||
autocfg@1.1.0
|
||||
base64@0.13.1
|
||||
base64@0.21.0
|
||||
bitflags@1.3.2
|
||||
bit-set@0.5.3
|
||||
bit-vec@0.6.3
|
||||
block-buffer@0.10.4
|
||||
bstr@1.4.0
|
||||
bumpalo@3.12.2
|
||||
byteorder@1.4.3
|
||||
bytes@1.4.0
|
||||
cc@1.0.79
|
||||
cfg-if@1.0.0
|
||||
chrono@0.4.24
|
||||
clap@4.2.7
|
||||
clap_builder@4.2.7
|
||||
clap_complete@4.2.3
|
||||
clap_lex@0.4.1
|
||||
colorchoice@1.0.0
|
||||
core-foundation-sys@0.8.4
|
||||
cpufeatures@0.2.7
|
||||
crossbeam-channel@0.5.8
|
||||
crossbeam-utils@0.8.15
|
||||
crypto-common@0.1.6
|
||||
ctor@0.1.26
|
||||
difflib@0.4.0
|
||||
diff@0.1.13
|
||||
digest@0.10.6
|
||||
doc-comment@0.3.3
|
||||
either@1.8.1
|
||||
elasticlunr-rs@3.0.2
|
||||
env_logger@0.10.0
|
||||
errno-dragonfly@0.1.2
|
||||
errno@0.2.8
|
||||
errno@0.3.1
|
||||
fastrand@1.9.0
|
||||
filetime@0.2.21
|
||||
float-cmp@0.9.0
|
||||
fnv@1.0.7
|
||||
form_urlencoded@1.1.0
|
||||
fsevent-sys@4.1.0
|
||||
futf@0.1.5
|
||||
futures-channel@0.3.28
|
||||
futures-core@0.3.28
|
||||
futures-macro@0.3.28
|
||||
futures-sink@0.3.28
|
||||
futures-task@0.3.28
|
||||
futures-util@0.3.28
|
||||
generic-array@0.14.7
|
||||
getrandom@0.2.9
|
||||
globset@0.4.10
|
||||
h2@0.3.19
|
||||
handlebars@4.3.7
|
||||
hashbrown@0.12.3
|
||||
headers-core@0.2.0
|
||||
headers@0.3.8
|
||||
hermit-abi@0.2.6
|
||||
hermit-abi@0.3.1
|
||||
html5ever@0.26.0
|
||||
httparse@1.8.0
|
||||
httpdate@1.0.2
|
||||
http-body@0.4.5
|
||||
http@0.2.9
|
||||
humantime@2.1.0
|
||||
hyper@0.14.26
|
||||
iana-time-zone-haiku@0.1.2
|
||||
iana-time-zone@0.1.56
|
||||
idna@0.3.0
|
||||
ignore@0.4.20
|
||||
indexmap@1.9.3
|
||||
inotify-sys@0.1.5
|
||||
inotify@0.9.6
|
||||
instant@0.1.12
|
||||
io-lifetimes@1.0.10
|
||||
is-terminal@0.4.7
|
||||
itertools@0.10.5
|
||||
itoa@1.0.6
|
||||
js-sys@0.3.62
|
||||
kqueue-sys@1.0.3
|
||||
kqueue@1.0.7
|
||||
lazy_static@1.4.0
|
||||
libc@0.2.144
|
||||
linux-raw-sys@0.1.4
|
||||
linux-raw-sys@0.3.7
|
||||
lock_api@0.4.9
|
||||
log@0.4.17
|
||||
mac@0.1.1
|
||||
maplit@1.0.2
|
||||
markup5ever@0.11.0
|
||||
markup5ever_rcdom@0.2.0
|
||||
memchr@2.5.0
|
||||
mime@0.3.17
|
||||
mime_guess@2.0.4
|
||||
mio@0.8.5
|
||||
new_debug_unreachable@1.0.4
|
||||
normalize-line-endings@0.3.0
|
||||
notify-debouncer-mini@0.2.1
|
||||
notify@5.1.0
|
||||
num-integer@0.1.45
|
||||
num-traits@0.2.15
|
||||
num_cpus@1.15.0
|
||||
once_cell@1.17.1
|
||||
opener@0.5.2
|
||||
output_vt100@0.1.3
|
||||
parking_lot@0.12.1
|
||||
parking_lot_core@0.9.6
|
||||
percent-encoding@2.2.0
|
||||
pest@2.6.0
|
||||
pest_derive@2.6.0
|
||||
pest_generator@2.6.0
|
||||
pest_meta@2.6.0
|
||||
phf@0.10.1
|
||||
phf_codegen@0.10.0
|
||||
phf_generator@0.10.0
|
||||
phf_shared@0.10.0
|
||||
pin-project-internal@1.1.0
|
||||
pin-project-lite@0.2.9
|
||||
pin-project@1.1.0
|
||||
pin-utils@0.1.0
|
||||
ppv-lite86@0.2.17
|
||||
precomputed-hash@0.1.1
|
||||
predicates-core@1.0.6
|
||||
predicates-tree@1.0.9
|
||||
predicates@2.1.5
|
||||
predicates@3.0.3
|
||||
pretty_assertions@1.3.0
|
||||
proc-macro2@1.0.63
|
||||
pulldown-cmark@0.9.3
|
||||
quote@1.0.27
|
||||
rand@0.8.5
|
||||
rand_chacha@0.3.1
|
||||
rand_core@0.6.4
|
||||
redox_syscall@0.2.16
|
||||
regex-automata@0.1.10
|
||||
regex-syntax@0.7.1
|
||||
regex@1.8.1
|
||||
rustix@0.36.7
|
||||
rustix@0.37.19
|
||||
rustls-pemfile@1.0.2
|
||||
ryu@1.0.13
|
||||
same-file@1.0.6
|
||||
scoped-tls@1.0.1
|
||||
scopeguard@1.1.0
|
||||
select@0.6.0
|
||||
semver@1.0.17
|
||||
serde@1.0.163
|
||||
serde_derive@1.0.163
|
||||
serde_json@1.0.96
|
||||
serde_urlencoded@0.7.1
|
||||
sha1@0.10.5
|
||||
sha2@0.10.6
|
||||
shlex@1.1.0
|
||||
siphasher@0.3.10
|
||||
slab@0.4.8
|
||||
smallvec@1.10.0
|
||||
socket2@0.4.9
|
||||
string_cache@0.8.7
|
||||
string_cache_codegen@0.5.2
|
||||
strsim@0.10.0
|
||||
syn@1.0.105
|
||||
syn@2.0.15
|
||||
tempfile@3.4.0
|
||||
tendril@0.4.3
|
||||
termcolor@1.2.0
|
||||
terminal_size@0.2.6
|
||||
termtree@0.4.1
|
||||
thiserror-impl@1.0.40
|
||||
thiserror@1.0.40
|
||||
thread_local@1.1.7
|
||||
tinyvec@1.6.0
|
||||
tinyvec_macros@0.1.1
|
||||
tokio-macros@2.1.0
|
||||
tokio-stream@0.1.14
|
||||
tokio-tungstenite@0.18.0
|
||||
tokio-util@0.7.8
|
||||
tokio@1.28.1
|
||||
toml@0.5.11
|
||||
topological-sort@0.2.2
|
||||
tower-service@0.3.2
|
||||
tracing-core@0.1.31
|
||||
tracing@0.1.37
|
||||
try-lock@0.2.4
|
||||
tungstenite@0.18.0
|
||||
typenum@1.16.0
|
||||
ucd-trie@0.1.5
|
||||
unicase@2.6.0
|
||||
unicode-bidi@0.3.13
|
||||
unicode-ident@1.0.8
|
||||
unicode-normalization@0.1.22
|
||||
url@2.3.1
|
||||
utf8parse@0.2.1
|
||||
utf-8@0.7.6
|
||||
version_check@0.9.4
|
||||
wait-timeout@0.2.0
|
||||
walkdir@2.3.3
|
||||
want@0.3.0
|
||||
warp@0.3.5
|
||||
wasi@0.11.0+wasi-snapshot-preview1
|
||||
wasm-bindgen-backend@0.2.85
|
||||
wasm-bindgen-macro-support@0.2.85
|
||||
wasm-bindgen-macro@0.2.85
|
||||
wasm-bindgen-shared@0.2.85
|
||||
wasm-bindgen@0.2.85
|
||||
winapi-i686-pc-windows-gnu@0.4.0
|
||||
winapi-util@0.1.5
|
||||
winapi-x86_64-pc-windows-gnu@0.4.0
|
||||
winapi@0.3.9
|
||||
windows-sys@0.42.0
|
||||
windows-sys@0.48.0
|
||||
windows-targets@0.48.0
|
||||
windows@0.48.0
|
||||
windows_aarch64_gnullvm@0.42.0
|
||||
windows_aarch64_gnullvm@0.48.0
|
||||
windows_aarch64_msvc@0.42.0
|
||||
windows_aarch64_msvc@0.48.0
|
||||
windows_i686_gnu@0.42.0
|
||||
windows_i686_gnu@0.48.0
|
||||
windows_i686_msvc@0.42.0
|
||||
windows_i686_msvc@0.48.0
|
||||
windows_x86_64_gnullvm@0.42.0
|
||||
windows_x86_64_gnullvm@0.48.0
|
||||
windows_x86_64_gnu@0.42.0
|
||||
windows_x86_64_gnu@0.48.0
|
||||
windows_x86_64_msvc@0.42.0
|
||||
windows_x86_64_msvc@0.48.0
|
||||
xml5ever@0.17.0
|
||||
yansi@0.5.1"
|
||||
inherit cargo toolchain-funcs
|
||||
|
||||
DESCRIPTION="Create a book from markdown files"
|
||||
HOMEPAGE="https://rust-lang.github.io/mdBook/"
|
||||
SRC_URI="
|
||||
https://github.com/rust-lang/mdBook/archive/refs/tags/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz
|
||||
${CARGO_CRATE_URIS}"
|
||||
S="${WORKDIR}/${P/b/B}"
|
||||
|
||||
# CC-BY-4.0/OFL-1.1: embeds fonts inside the executable
|
||||
LICENSE="MPL-2.0 CC-BY-4.0 OFL-1.1"
|
||||
LICENSE+="
|
||||
Apache-2.0 BSD ISC MIT Unicode-DFS-2016
|
||||
|| ( Artistic-2 CC0-1.0 )" # crates
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/${PN}"
|
||||
|
||||
src_compile() {
|
||||
cargo_src_compile
|
||||
|
||||
if use doc; then
|
||||
if tc-is-cross-compiler; then
|
||||
ewarn "html docs were skipped due to cross-compilation"
|
||||
else
|
||||
target/$(usex debug{,} release)/${PN} build -d html guide || die
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cargo_src_install
|
||||
|
||||
dodoc CHANGELOG.md README.md
|
||||
use doc && ! tc-is-cross-compiler && dodoc -r guide/html
|
||||
}
|
Binary file not shown.
@ -1,6 +1,4 @@
|
||||
AUX simpleini-4.20-pkgconfig-var.patch 378 BLAKE2B d22f5e06b4f58211fa7481f1bd99925fd3617afba560937581f1b3e95c561a764b13ed04dc3e2bc164ff741c68da1ab7ab0cfab8f2f009f91cebbdbc10d9f3bc SHA512 414904be7071405d67a2fdd0151c15e86e457316ec182b68574282d43542c33670af53f375bd8dd1d302f6f752d8bdccbb012b4e95ee1cbfc66fddd037047325
|
||||
DIST simpleini-4.19.tar.gz 62793 BLAKE2B f32a25743c89f954a0b1cce2cb29584d63083922b9b56d91b39412617067f7316ecb897474a7f3a4d550569a0d007e51780d3532079966a7ba72e2b89ff5a5cc SHA512 3f0f3120aca3350bab66fe1727f4d15536d933a0840a17b49203c2220fab7ace4383d856c1b77a84f4e36c9a5df0c3eb937ad729c977f84e7163d7e2cff400c5
|
||||
DIST simpleini-4.20.tar.gz 64807 BLAKE2B 5179fbdc1a46b352590a20bcaafa88d905d75ef3334becc03caf11f5b8c4bd3673971d688f9ec0077af3192244b29befd217dfa4ef218594f68c917698727b72 SHA512 e2518d10d63026b0fd423cbd77372b60bc693e8ec1878a91ab05364a49b48d38d8d379247a27a8ffc5582ba19e333b10996f4bf48899c06c567ae0dea067a9e3
|
||||
EBUILD simpleini-4.19.ebuild 1047 BLAKE2B 8b42b57fb12829b371732053a92da37fa3cd3f40b2d57c0117a49816ecb6ccfcd983de5ccf5911a42509aaa9e39276a69fe876d54cb9b13501b53145d9409afa SHA512 7286e10c0ac599f4500ebb37ab4c40c5e933ebc9e734be28ff392fb26d2420065277fb67e9eefdff1245dc280d71d4a6ffc48b990d5c6261cac7215f78078740
|
||||
EBUILD simpleini-4.20.ebuild 849 BLAKE2B 72e0da6011f4bf792587e328c43cc8576519cf94ecdfb8aa8c256c3fe09c08b5a30042b067a9e746003d8a8f31b297eb7f977202714f132f5c21ed22793fb767 SHA512 fbccfe0a1ec10db00bb261d08a25b174e570cb07e51d0c07049b4194991fda866bd683a56783e0b65fad440669a561d1f6a6c8aee6f144768da26ecc3773f4dc
|
||||
MISC metadata.xml 337 BLAKE2B fa98273f3b1289d766527689796a928b6ac1bb7d325aba1fe5ddd52683004bf083c272491976cf5751116c643926188af906dc3bbcb8e857ba3c12cc8b0567cd SHA512 cf72312d53f82f169c7bd3f78b9d29224e50c760f0bb0afe69d522969eadb8535c1085369daf11c6bfaa23310cba1bc0053ee997c3aa27103e457209a60be0af
|
||||
|
@ -1,40 +0,0 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="C++ library providing a simple API to read and write INI-style files"
|
||||
HOMEPAGE="https://github.com/brofield/simpleini/"
|
||||
SRC_URI="https://github.com/brofield/simpleini/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="test? ( dev-cpp/gtest )"
|
||||
BDEPEND="test? ( virtual/pkgconfig )"
|
||||
|
||||
src_compile() {
|
||||
if use test; then
|
||||
append-cppflags $($(tc-getPKG_CONFIG) --cflags gtest_main || die)
|
||||
append-ldflags $(test-flags-CCLD -pthread)
|
||||
append-libs $($(tc-getPKG_CONFIG) --libs gtest_main || die)
|
||||
local emakeargs=(
|
||||
{CC,CXX}="$(tc-getCXX)"
|
||||
CXXFLAGS="${CXXFLAGS}"
|
||||
CPPFLAGS="${CPPFLAGS}"
|
||||
LDFLAGS="${LDFLAGS} ${LIBS}"
|
||||
)
|
||||
emake -C tests "${emakeargs[@]}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# note: skipping ConvertUTF, can use -DSI_CONVERT_ICU instead if needed
|
||||
doheader SimpleIni.h
|
||||
einstalldocs
|
||||
}
|
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue