parent
0e2c2dbc4e
commit
efa0cb8334
@ -1,23 +1,23 @@
|
|||||||
-----BEGIN PGP SIGNED MESSAGE-----
|
-----BEGIN PGP SIGNED MESSAGE-----
|
||||||
Hash: SHA512
|
Hash: SHA512
|
||||||
|
|
||||||
MANIFEST Manifest.files.gz 29291 BLAKE2B 119154d81abcce1fb2296ab3a964ac3b105064a3d7c2802b1465941900f2bb7bfcf3f9bc629edb03ebe36c45a3cb358769790bd8e9e9be18f60dc1b3934bfafc SHA512 0a9fb3b244845a1c3a941942a95813031f64a12df296f505478c835516cf8a3a6b34df949fb7c59b56b1506bb3ca806ecbe1e97494477b8ac3fda4a4d8829419
|
MANIFEST Manifest.files.gz 29281 BLAKE2B ce6b155460bd5fd439e5238cd48c363e612f706b6fd27c789a76d71fd63836ece721340619cf2629a1998c3f4211bb3a3b9e67d462018c8ab71401e8556f2bc4 SHA512 fb6b9857059e65bc5dce20a90d8ba24057bfbb003970043491abdc97d6b34909fded69644ba03b5a9a92b25d14d8aa5fddeb985b5b12b5c48d22f8100764afdd
|
||||||
TIMESTAMP 2019-03-15T05:08:50Z
|
TIMESTAMP 2019-03-18T05:38:52Z
|
||||||
-----BEGIN PGP SIGNATURE-----
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAlyLM2JfFIAAAAAALgAo
|
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAlyPLuxfFIAAAAAALgAo
|
||||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||||
klA4VQ//RX0s5w1NqgNhSONUM2IeJCOvS9SLnpyKdX90yIlUayX5tvut0r3N1br4
|
klDjiw//bmj0F8KvbT1lQexl/AsikUfc+ZkoHdTzPhXDWWUgiytPUa7QJzp7ord0
|
||||||
YjpMK300pDIWna6XP/I5mOhC8A/3G4w+ZWpoh1UAqNkKuf4oCn6xAyFLrCn0sMP9
|
TRghcPCe+Vq6iRITAU6f2+PSfxV1JF52c7SHd6rBrd78Z8P+a+HKoNVlI4Ekp04R
|
||||||
FkTFjT4T58SOmj+WgdsLmzz7V7lN+09V1xfCVKHDZouTmoToPX60WyY/d3OWk/Kx
|
74idGRDB+1ZKHmaQVIDd9L6l9iNYa/AIoku0HjCVCyBna8F9NCa6bDThcdDXD3Lx
|
||||||
AWalggRIXWTwd68i0VAJJhGbFnn80ihtPY6OwlXJwKLfPK5i3pw5AsxzC0UqbdAw
|
33F0OzWP5YCbq/vaUov7lCaWd592DVIaNdl0SbthkbUaM1TJLTcTqI7pQoZFM4zq
|
||||||
d3DE9PgaZSFyUOZgizdZu8/dbpD+NpciHgVTSjhm17q0/zhWrp4iMEIyqh8bE6ZX
|
ZW9gPmj9mPR23o8oGy/WoQJNXMvZnxqnPjTINF7edtXAfEpYJu0ONhuSY2/HtR0a
|
||||||
YDgYu72CNE3WkHigy/JQQ0c+5Mz5DAoRezMvGfjG3QCtTynEd0sEH+5IchU0Cd/D
|
AtD166KUFjiUJ+2oRKY4esKF/ahi1f4ZLzNna4iJHqfyywubCmvjYl4lN57HbBQ/
|
||||||
X3FOrkuunoBEbGNhyg5PHBMjixJ/bHjZcfPtoZQMAsUF86r8pH2WUjxghP/staTJ
|
kN+oheR7E8AF26zWj0ZlX3pCYlop1SJ8luf5HGdHl8D+NzASHko9d19uhLsCWta0
|
||||||
rweiLB65FcCcTFGyFPSOj3C/7TZhLrBYFPWsrhEAxDTOaNyIVHPOFoomyQr+HnE6
|
OaYfooSpeTj7UQuFlwJlCsbubJNRo970KtiIjPvvjRr+5qnac5SrrScjC9oL/D5C
|
||||||
Ta3HB+0HrMQ1zspH2W3skOmFn2tRsPoi+hXBEjPaIc8CtwJ/Cxg0u59hHLe4D4/E
|
kXVHrdzwNysK9LDHt3hx3ES2N/vsrrdQ2kSdf8IlC8KKVsjZg+n+J7Oorb11Sp6s
|
||||||
coUn6fe+7T97ynDzEcYX6g+0Wti4ua2k5X9WzgexC29XDtCpwX2RRtuwzR2SydXo
|
2RXx+nDvVA3vtJLH20iVWhnaqs1GBb6N4kxqXq8uLaFf3uW41buDRx53oWUx1muG
|
||||||
bDPc3KXc/DqS+NX7WUyK1sjlRFSWiTN6e8vvmyWcNHKAZOyBKHk=
|
XIHaZH6X9gJDg4QFz/l5krh1ZFB7RWt9coN5shqtmi38mBq0eKo=
|
||||||
=S+ON
|
=03Ik
|
||||||
-----END PGP SIGNATURE-----
|
-----END PGP SIGNATURE-----
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -1,12 +1,16 @@
|
|||||||
DIST ansible-2.5.14.tar.gz 10119785 BLAKE2B 6e771aafc16053185ee6d275d6d41f64aa3f0d6dffbe721a66b548b97e84d78916e03827d592b961f9a4e0bb03fae09320731a4b8fdb814126cecdfb51f9f136 SHA512 9635b1c4bc9a93a24f4bb2894c9fed63803cecb01c5562559e3b808791d1007b26aa0aade4aa05fd4bae0f7d01216588d4e2e0bf4c5fb6cdf677d9b40e9e2de8
|
DIST ansible-2.5.14.tar.gz 10119785 BLAKE2B 6e771aafc16053185ee6d275d6d41f64aa3f0d6dffbe721a66b548b97e84d78916e03827d592b961f9a4e0bb03fae09320731a4b8fdb814126cecdfb51f9f136 SHA512 9635b1c4bc9a93a24f4bb2894c9fed63803cecb01c5562559e3b808791d1007b26aa0aade4aa05fd4bae0f7d01216588d4e2e0bf4c5fb6cdf677d9b40e9e2de8
|
||||||
DIST ansible-2.6.13.tar.gz 10730575 BLAKE2B 2442925421996731be59db7ca18994f9c158f0b1247554bc8252d76d6c8fe8574e4ec2e62d71d7de075a9b109c43620232c78d91dcb3aa8d574752862de4d156 SHA512 7592214bc5c0c4283c99d7a422d44a54f424afe848b40fa2c0b0a4b556361a6290b459d8bdb575ec323e4e96bbad7abc939cdb5664839bb13f5de3d054ffb880
|
DIST ansible-2.6.13.tar.gz 10730575 BLAKE2B 2442925421996731be59db7ca18994f9c158f0b1247554bc8252d76d6c8fe8574e4ec2e62d71d7de075a9b109c43620232c78d91dcb3aa8d574752862de4d156 SHA512 7592214bc5c0c4283c99d7a422d44a54f424afe848b40fa2c0b0a4b556361a6290b459d8bdb575ec323e4e96bbad7abc939cdb5664839bb13f5de3d054ffb880
|
||||||
DIST ansible-2.6.14.tar.gz 10732165 BLAKE2B c753860a521c37357c7a5042391957680865416c036fcaf3920a65e291dc3ed3a52e94ad5b99acdb0d2c919e3be68b8462e462a935497dfe83b406adf4e63dad SHA512 ee532c0d61ab03a0937e89bfa7565f27f1905987784f31895e8ac6e4a8ecf76ca9f30201d278a68a995b8fc27151712dba2e79c13269a472d923355e36072e4e
|
DIST ansible-2.6.14.tar.gz 10732165 BLAKE2B c753860a521c37357c7a5042391957680865416c036fcaf3920a65e291dc3ed3a52e94ad5b99acdb0d2c919e3be68b8462e462a935497dfe83b406adf4e63dad SHA512 ee532c0d61ab03a0937e89bfa7565f27f1905987784f31895e8ac6e4a8ecf76ca9f30201d278a68a995b8fc27151712dba2e79c13269a472d923355e36072e4e
|
||||||
|
DIST ansible-2.6.15.tar.gz 10734433 BLAKE2B 9c48d9de348a11a57b364921af26154b5a2106d0bfa2d7d341c06e2408b3f71d30b3cc2f5e4df1bb21eb6eebd39a4d297ce8d697d68826378d4e786a4acb4e25 SHA512 14951db33ed2124b3379adf1114a9c980f63668c18a79d436658d8ddc1bbbd38f26682520319bd0e399d6ced518ece0f01da5a6991003e8b30adf78f20c6d1e8
|
||||||
DIST ansible-2.7.7.tar.gz 11809560 BLAKE2B 3960e4dcd166fb77ddcb6bbae03b20fe679b76aee3db118ddd4642ab7b837a66929bd4ec76c071c53eba7ece47aaf8a52ceb34ea092d3e3db8355839575b684c SHA512 41e007ccc5b22eaa1a7aa9c16f8d012268cbd1055b5c10a204134b7707ab7bf205aab04efccda9fb5497034896542d29ba253ad4ea09b4755b665bada22b4c54
|
DIST ansible-2.7.7.tar.gz 11809560 BLAKE2B 3960e4dcd166fb77ddcb6bbae03b20fe679b76aee3db118ddd4642ab7b837a66929bd4ec76c071c53eba7ece47aaf8a52ceb34ea092d3e3db8355839575b684c SHA512 41e007ccc5b22eaa1a7aa9c16f8d012268cbd1055b5c10a204134b7707ab7bf205aab04efccda9fb5497034896542d29ba253ad4ea09b4755b665bada22b4c54
|
||||||
DIST ansible-2.7.8.tar.gz 11812884 BLAKE2B 867ed7072efc4effafd637ac0353bd722269046cae8ddb794eea8c6cf9d739bc567f2a5323a589c21a74bbb57565ef153fb8c52798c17809a42400abe72ce65c SHA512 f3501ce8b642f83fe3d5e21cdfa26bce8611e92bc6e68e40b3a7ff2443c7d8ee0b2175981c92a5e83f9ce8c5d7d75aac95106a237bb9325c66319d96a790009a
|
DIST ansible-2.7.8.tar.gz 11812884 BLAKE2B 867ed7072efc4effafd637ac0353bd722269046cae8ddb794eea8c6cf9d739bc567f2a5323a589c21a74bbb57565ef153fb8c52798c17809a42400abe72ce65c SHA512 f3501ce8b642f83fe3d5e21cdfa26bce8611e92bc6e68e40b3a7ff2443c7d8ee0b2175981c92a5e83f9ce8c5d7d75aac95106a237bb9325c66319d96a790009a
|
||||||
|
DIST ansible-2.7.9.tar.gz 11830476 BLAKE2B 7688ce9f74b0ab1fafd0e31dce90d995a9d8ca90bbe436f2d4ee9d005069b6e1b2c4dd679c2430a6873233da54ae06d3ebf08736681ec2e59e5b3ddafa6bb1e2 SHA512 4d39c7d4eb97264ce8f92812fb986b24af0c663efa6d8cd1d9a4cb25731d55e7518e503c04764e62d0458916b601baaa7acc623f9f83ce8b93e7f22900e29a53
|
||||||
EBUILD ansible-2.5.14.ebuild 1621 BLAKE2B f171fcbbeb00d59b77ef3d8b5dfcfa7c8819ffcf68cb99043de3916e47a469603b728715e6d006f44e6a32283727a1d04214085d6ab1e32dcbc079ca1353b5c5 SHA512 172e7af8d1ad44f41bcb0f6e919b6e4ea0a8e096943e43df2f6b5383c3f13c0727c288c47e2d4869b5a74637a980f1750b5dbc903c0a726041ed857e5f6d26ff
|
EBUILD ansible-2.5.14.ebuild 1621 BLAKE2B f171fcbbeb00d59b77ef3d8b5dfcfa7c8819ffcf68cb99043de3916e47a469603b728715e6d006f44e6a32283727a1d04214085d6ab1e32dcbc079ca1353b5c5 SHA512 172e7af8d1ad44f41bcb0f6e919b6e4ea0a8e096943e43df2f6b5383c3f13c0727c288c47e2d4869b5a74637a980f1750b5dbc903c0a726041ed857e5f6d26ff
|
||||||
EBUILD ansible-2.6.13.ebuild 1621 BLAKE2B f171fcbbeb00d59b77ef3d8b5dfcfa7c8819ffcf68cb99043de3916e47a469603b728715e6d006f44e6a32283727a1d04214085d6ab1e32dcbc079ca1353b5c5 SHA512 172e7af8d1ad44f41bcb0f6e919b6e4ea0a8e096943e43df2f6b5383c3f13c0727c288c47e2d4869b5a74637a980f1750b5dbc903c0a726041ed857e5f6d26ff
|
EBUILD ansible-2.6.13.ebuild 1621 BLAKE2B f171fcbbeb00d59b77ef3d8b5dfcfa7c8819ffcf68cb99043de3916e47a469603b728715e6d006f44e6a32283727a1d04214085d6ab1e32dcbc079ca1353b5c5 SHA512 172e7af8d1ad44f41bcb0f6e919b6e4ea0a8e096943e43df2f6b5383c3f13c0727c288c47e2d4869b5a74637a980f1750b5dbc903c0a726041ed857e5f6d26ff
|
||||||
EBUILD ansible-2.6.14.ebuild 1623 BLAKE2B 203df11aa81c78c98490b436317733203c9633da656d3b2a661df7a32269f57c46498d08aeef304a7c651585f0562b62f117e7c62e911b31eb325e1a14d8dcdc SHA512 3559db4b6b2ebf5d24c578506ebfa36d377e1bb508a36169c02ef35168c311393c917adbdf2c70b27bd93b58276d36806c974cba0f9443a4b9aabd6c07be6e58
|
EBUILD ansible-2.6.14.ebuild 1623 BLAKE2B 203df11aa81c78c98490b436317733203c9633da656d3b2a661df7a32269f57c46498d08aeef304a7c651585f0562b62f117e7c62e911b31eb325e1a14d8dcdc SHA512 3559db4b6b2ebf5d24c578506ebfa36d377e1bb508a36169c02ef35168c311393c917adbdf2c70b27bd93b58276d36806c974cba0f9443a4b9aabd6c07be6e58
|
||||||
|
EBUILD ansible-2.6.15.ebuild 1623 BLAKE2B 203df11aa81c78c98490b436317733203c9633da656d3b2a661df7a32269f57c46498d08aeef304a7c651585f0562b62f117e7c62e911b31eb325e1a14d8dcdc SHA512 3559db4b6b2ebf5d24c578506ebfa36d377e1bb508a36169c02ef35168c311393c917adbdf2c70b27bd93b58276d36806c974cba0f9443a4b9aabd6c07be6e58
|
||||||
EBUILD ansible-2.7.7.ebuild 1628 BLAKE2B b64016e802f967ca82cd90cbbf01a78b27ad44491bfaff47c8268fd959d072131f12771caf7a2fd386ea87ac46ecf3161acd0aaaedd2067322309b822128d6bc SHA512 90f07c63159f015e507340951b8a1de5d959b99654c5380b63b71dcd819e79e24713fd8a2b61ca4b6eb59bb3f8146ae0df5acf78ffaec39bf4786097110e8f72
|
EBUILD ansible-2.7.7.ebuild 1628 BLAKE2B b64016e802f967ca82cd90cbbf01a78b27ad44491bfaff47c8268fd959d072131f12771caf7a2fd386ea87ac46ecf3161acd0aaaedd2067322309b822128d6bc SHA512 90f07c63159f015e507340951b8a1de5d959b99654c5380b63b71dcd819e79e24713fd8a2b61ca4b6eb59bb3f8146ae0df5acf78ffaec39bf4786097110e8f72
|
||||||
EBUILD ansible-2.7.8.ebuild 1630 BLAKE2B 5ebaf32d9389e349ec01a1436cf55db7826d013ef03ebc2b51e76a01a9eaabeae7044203f1ab6a12db4b307f87e9b8cff36f7b557042f93e5700fce6f931b2d9 SHA512 66fcbedd85309b41c2d00dcd329699438941fafbefd06c3fb167c465ba5cc88f0d0964ae2e18a9a3245cd766d1197a87af4b9a1c00035ee74d26dec66cbbe17a
|
EBUILD ansible-2.7.8.ebuild 1630 BLAKE2B 5ebaf32d9389e349ec01a1436cf55db7826d013ef03ebc2b51e76a01a9eaabeae7044203f1ab6a12db4b307f87e9b8cff36f7b557042f93e5700fce6f931b2d9 SHA512 66fcbedd85309b41c2d00dcd329699438941fafbefd06c3fb167c465ba5cc88f0d0964ae2e18a9a3245cd766d1197a87af4b9a1c00035ee74d26dec66cbbe17a
|
||||||
|
EBUILD ansible-2.7.9.ebuild 1630 BLAKE2B 5ebaf32d9389e349ec01a1436cf55db7826d013ef03ebc2b51e76a01a9eaabeae7044203f1ab6a12db4b307f87e9b8cff36f7b557042f93e5700fce6f931b2d9 SHA512 66fcbedd85309b41c2d00dcd329699438941fafbefd06c3fb167c465ba5cc88f0d0964ae2e18a9a3245cd766d1197a87af4b9a1c00035ee74d26dec66cbbe17a
|
||||||
EBUILD ansible-9999.ebuild 1638 BLAKE2B 40aecbf314bb9e743fb7543c696a271842955853fe981bc4dc69293dcc9905e950a743a56398b0815e09107db801ba554b68ad9511ccb9e25dd3dec0f0b156d2 SHA512 814b1430d499d2e6f50879c41b1a51e07b5e5a79355deab730e26b9e9a28f9ac94e2a46b884a5e0e8ed4a12d7a74bbbdffc0a55b8e120b438c91aeb9e7ae718a
|
EBUILD ansible-9999.ebuild 1638 BLAKE2B 40aecbf314bb9e743fb7543c696a271842955853fe981bc4dc69293dcc9905e950a743a56398b0815e09107db801ba554b68ad9511ccb9e25dd3dec0f0b156d2 SHA512 814b1430d499d2e6f50879c41b1a51e07b5e5a79355deab730e26b9e9a28f9ac94e2a46b884a5e0e8ed4a12d7a74bbbdffc0a55b8e120b438c91aeb9e7ae718a
|
||||||
MISC metadata.xml 952 BLAKE2B 53640d081ebb558274f8c10095aa6e477820e28a7fdf62c169f5fb3b82153223a7f8ecd1807d14646eae2ec2262b50341919bbb13255293d379ba017b30b20bd SHA512 03b75d65cd0a4b32021b34d9f7ba21b6c4c6893cf185a36dbe6fc10728e0f18c65fc5b6a4c197be8c2b1dadb7243ddce02dbe2f504034a2df1c621f8ba6e26a7
|
MISC metadata.xml 952 BLAKE2B 53640d081ebb558274f8c10095aa6e477820e28a7fdf62c169f5fb3b82153223a7f8ecd1807d14646eae2ec2262b50341919bbb13255293d379ba017b30b20bd SHA512 03b75d65cd0a4b32021b34d9f7ba21b6c4c6893cf185a36dbe6fc10728e0f18c65fc5b6a4c197be8c2b1dadb7243ddce02dbe2f504034a2df1c621f8ba6e26a7
|
||||||
|
@ -0,0 +1,66 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python2_7 python3_{5,6} )
|
||||||
|
|
||||||
|
inherit distutils-r1 eutils
|
||||||
|
|
||||||
|
DESCRIPTION="Model-driven deployment, config management, and command execution framework"
|
||||||
|
HOMEPAGE="https://ansible.com/"
|
||||||
|
SRC_URI="https://releases.ansible.com/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86 ~x64-macos"
|
||||||
|
IUSE="doc test"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/paramiko[${PYTHON_USEDEP}]
|
||||||
|
dev-python/jinja[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||||
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||||
|
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||||
|
dev-python/httplib2[${PYTHON_USEDEP}]
|
||||||
|
dev-python/six[${PYTHON_USEDEP}]
|
||||||
|
dev-python/netaddr[${PYTHON_USEDEP}]
|
||||||
|
net-misc/sshpass
|
||||||
|
virtual/ssh
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/packaging-16.6[${PYTHON_USEDEP}]
|
||||||
|
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||||
|
test? (
|
||||||
|
${RDEPEND}
|
||||||
|
dev-python/nose[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
|
||||||
|
dev-python/passlib[${PYTHON_USEDEP}]
|
||||||
|
dev-python/coverage[${PYTHON_USEDEP}]
|
||||||
|
dev-python/unittest2[${PYTHON_USEDEP}]
|
||||||
|
dev-vcs/git
|
||||||
|
)"
|
||||||
|
|
||||||
|
# not included in release tarball
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
python_compile_all() {
|
||||||
|
if use doc; then
|
||||||
|
cd docs/docsite || die
|
||||||
|
export CPUS=4
|
||||||
|
emake -f Makefile.sphinx html
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
nosetests -d -w test/units -v --with-coverage --cover-package=ansible --cover-branches || die
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
use doc && local HTML_DOCS=( docs/docsite/_build/html/. )
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
|
||||||
|
doman docs/man/man1/*.1
|
||||||
|
dodoc -r examples
|
||||||
|
}
|
@ -0,0 +1,66 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
|
||||||
|
|
||||||
|
inherit distutils-r1 eutils
|
||||||
|
|
||||||
|
DESCRIPTION="Model-driven deployment, config management, and command execution framework"
|
||||||
|
HOMEPAGE="https://ansible.com/"
|
||||||
|
SRC_URI="https://releases.ansible.com/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~x86 ~x64-macos"
|
||||||
|
IUSE="doc test"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/paramiko[${PYTHON_USEDEP}]
|
||||||
|
dev-python/jinja[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||||
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||||
|
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||||
|
dev-python/httplib2[${PYTHON_USEDEP}]
|
||||||
|
dev-python/six[${PYTHON_USEDEP}]
|
||||||
|
dev-python/netaddr[${PYTHON_USEDEP}]
|
||||||
|
net-misc/sshpass
|
||||||
|
virtual/ssh
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/packaging-16.6[${PYTHON_USEDEP}]
|
||||||
|
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||||
|
test? (
|
||||||
|
${RDEPEND}
|
||||||
|
dev-python/nose[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
|
||||||
|
dev-python/passlib[${PYTHON_USEDEP}]
|
||||||
|
dev-python/coverage[${PYTHON_USEDEP}]
|
||||||
|
dev-python/unittest2[${PYTHON_USEDEP}]
|
||||||
|
dev-vcs/git
|
||||||
|
)"
|
||||||
|
|
||||||
|
# not included in release tarball
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
python_compile_all() {
|
||||||
|
if use doc; then
|
||||||
|
cd docs/docsite || die
|
||||||
|
export CPUS=4
|
||||||
|
emake -f Makefile.sphinx html
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
nosetests -d -w test/units -v --with-coverage --cover-package=ansible --cover-branches || die
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
use doc && local HTML_DOCS=( docs/docsite/_build/html/. )
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
|
||||||
|
doman docs/man/man1/*.1
|
||||||
|
dodoc -r examples
|
||||||
|
}
|
@ -1,70 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit fcaps golang-base golang-vcs-snapshot systemd user
|
|
||||||
|
|
||||||
EGO_PN="github.com/hashicorp/${PN}"
|
|
||||||
DESCRIPTION="A tool for managing secrets"
|
|
||||||
HOMEPAGE="https://vaultproject.io/"
|
|
||||||
SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
SLOT="0"
|
|
||||||
LICENSE="MPL-2.0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
DEPEND=">=dev-lang/go-1.10:=
|
|
||||||
dev-go/gox"
|
|
||||||
|
|
||||||
FILECAPS=(
|
|
||||||
-m 755 'cap_ipc_lock=+ep' usr/bin/${PN}
|
|
||||||
)
|
|
||||||
|
|
||||||
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}\':: \
|
|
||||||
-i src/${EGO_PN}/scripts/build.sh || die
|
|
||||||
sed -e "/hooks/d" -i src/${EGO_PN}/Makefile || die
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
enewgroup ${PN}
|
|
||||||
enewuser ${PN} -1 -1 -1 ${PN}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
mkdir bin || die
|
|
||||||
export GOPATH=${S}
|
|
||||||
cd src/${EGO_PN} || die
|
|
||||||
# The fmt target may need to be executed if it was previously
|
|
||||||
# executed by an older version of go (bug 665438).
|
|
||||||
emake fmt
|
|
||||||
XC_ARCH=$(go env GOARCH) \
|
|
||||||
XC_OS=$(go env GOOS) \
|
|
||||||
XC_OSARCH=$(go env GOOS)/$(go env GOARCH) \
|
|
||||||
emake
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dodoc src/${EGO_PN}/{CHANGELOG.md,CONTRIBUTING.md,README.md}
|
|
||||||
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
|
|
||||||
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
|
|
||||||
insinto /etc/logrotate.d
|
|
||||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
|
||||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
|
||||||
|
|
||||||
keepdir /etc/${PN}.d
|
|
||||||
insinto /etc/${PN}.d
|
|
||||||
doins "${FILESDIR}/"*.json.example
|
|
||||||
|
|
||||||
keepdir /var/log/${PN}
|
|
||||||
fowners ${PN}:${PN} /var/log/${PN}
|
|
||||||
|
|
||||||
dobin bin/${PN}
|
|
||||||
}
|
|
Binary file not shown.
@ -1,3 +1,5 @@
|
|||||||
DIST engrampa-1.18.3.tar.xz 1427036 BLAKE2B 816155b7e2a0583263959d77bb5079a3d69ade087cac39e8e9c2c77901d0bfcbdb63a87ec9ed7cf92d2e580ae810d3e46641d690d87c1af7db6f6dca6627dfbc SHA512 6a3872ed9ec1e9d2779842d30c352c5068608913f9261a875b707951a45ff3122df2f4a4ed4da10c4f8a4617cc1d7aae4635b3f1234052793c4a6baa765d80f8
|
DIST engrampa-1.18.3.tar.xz 1427036 BLAKE2B 816155b7e2a0583263959d77bb5079a3d69ade087cac39e8e9c2c77901d0bfcbdb63a87ec9ed7cf92d2e580ae810d3e46641d690d87c1af7db6f6dca6627dfbc SHA512 6a3872ed9ec1e9d2779842d30c352c5068608913f9261a875b707951a45ff3122df2f4a4ed4da10c4f8a4617cc1d7aae4635b3f1234052793c4a6baa765d80f8
|
||||||
|
DIST engrampa-1.22.0.tar.xz 1358552 BLAKE2B 542bb963d232dd75eba6102926e2cf31b52cab16eb890039609cf6ec44e86a7d6bf49ee04da316bb46e49d9c012c1f100e4acb20541cb8f46e245946f83cbac8 SHA512 7b4c3b85184c1530ec72eba174ee571cc14490c88f5fef1232acd4197f1020107f5172d6d4271753f9f6fcfadcf049273095b3dfbcef6fdd25a51ad8d2e17382
|
||||||
EBUILD engrampa-1.18.3.ebuild 1753 BLAKE2B 11e3876e0ea2061f7a4608ffe8795264594d4c2bafb14c430dc404cade3a15fa2c7f839be2acccfc8bd41f3325111b6bb6241570222c0a3048b6ea674c9f66ad SHA512 6ac876b38c305d108ac369231ae0cf1eed5e9d05e188a9be566fa014596b865781fd3953aac4ca3dd05adb4a552a5d9810a180ef073851990b437852e7ba1b1e
|
EBUILD engrampa-1.18.3.ebuild 1753 BLAKE2B 11e3876e0ea2061f7a4608ffe8795264594d4c2bafb14c430dc404cade3a15fa2c7f839be2acccfc8bd41f3325111b6bb6241570222c0a3048b6ea674c9f66ad SHA512 6ac876b38c305d108ac369231ae0cf1eed5e9d05e188a9be566fa014596b865781fd3953aac4ca3dd05adb4a552a5d9810a180ef073851990b437852e7ba1b1e
|
||||||
|
EBUILD engrampa-1.22.0.ebuild 1742 BLAKE2B 1e63c49922fbb82c9dd17b05de723b5a10b8c8b18feb580e199942199f5350a4d0bd13e398df3f2c9315c41fea9a284fa2c55914bedec7a427e189077ad43c9c SHA512 87546873b40cb9f64eecb75e530c3342105ab61792bb35761ee28ac5c6d55949edb8e7fc2dfaa8f3e3d738af98881be653f3bb56183294e995a8b85b5446c5c2
|
||||||
MISC metadata.xml 702 BLAKE2B de15449aa20cc44e6068bd8047630353f3389845a3332b57631bacdc9b9c4b188f8152678240e0142142db322af7058b09060f74413ff55fd1980fe697f32d0d SHA512 b465ea239cabf4ad1cd6b1f5ba7f87151e637595191c1a88cf17059f96ca1b03ce57d4200fc793d56be2b6ddb2ded20be460a4e1ac1727180e9662f9baba4522
|
MISC metadata.xml 702 BLAKE2B de15449aa20cc44e6068bd8047630353f3389845a3332b57631bacdc9b9c4b188f8152678240e0142142db322af7058b09060f74413ff55fd1980fe697f32d0d SHA512 b465ea239cabf4ad1cd6b1f5ba7f87151e637595191c1a88cf17059f96ca1b03ce57d4200fc793d56be2b6ddb2ded20be460a4e1ac1727180e9662f9baba4522
|
||||||
|
@ -0,0 +1,70 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
MATE_LA_PUNT="yes"
|
||||||
|
|
||||||
|
inherit mate
|
||||||
|
|
||||||
|
if [[ ${PV} != 9999 ]]; then
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="Engrampa archive manager for MATE"
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
IUSE="caja magic packagekit"
|
||||||
|
|
||||||
|
COMMON_DEPEND="
|
||||||
|
>=dev-libs/glib-2.50:2
|
||||||
|
>=dev-libs/json-glib-0.14
|
||||||
|
x11-libs/gdk-pixbuf:2
|
||||||
|
x11-libs/pango
|
||||||
|
virtual/libintl
|
||||||
|
caja? ( >=mate-base/caja-1.17.1 )
|
||||||
|
>=x11-libs/gtk+-3.22:3[X]
|
||||||
|
magic? ( sys-apps/file )
|
||||||
|
packagekit? ( app-admin/packagekit-base )
|
||||||
|
!!app-arch/mate-file-archiver"
|
||||||
|
|
||||||
|
RDEPEND="${COMMON_DEPEND}"
|
||||||
|
|
||||||
|
DEPEND="${COMMON_DEPEND}
|
||||||
|
app-text/yelp-tools
|
||||||
|
>=dev-util/intltool-0.50.1
|
||||||
|
sys-devel/gettext:*
|
||||||
|
virtual/pkgconfig:*"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
mate_src_configure \
|
||||||
|
--disable-run-in-place \
|
||||||
|
$(use_enable caja caja-actions) \
|
||||||
|
$(use_enable magic) \
|
||||||
|
$(use_enable packagekit)
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
mate_pkg_postinst
|
||||||
|
|
||||||
|
elog ""
|
||||||
|
elog "${PN} is a frontend for several archiving utilities. If you want a"
|
||||||
|
elog "particular achive format supported install the relevant package."
|
||||||
|
elog
|
||||||
|
elog "For example:"
|
||||||
|
elog " 7-zip : emerge app-arch/p7zip"
|
||||||
|
elog " ace : emerge app-arch/unace"
|
||||||
|
elog " arj : emerge app-arch/arj"
|
||||||
|
elog " cpio : emerge app-arch/cpio"
|
||||||
|
elog " deb : emerge app-arch/dpkg"
|
||||||
|
elog " iso : emerge app-cdr/cdrtools"
|
||||||
|
elog " jar,zip : emerge app-arch/zip or emerge app-arch/unzip"
|
||||||
|
elog " lha : emerge app-arch/lha"
|
||||||
|
elog " lzma : emerge app-arch/xz-utils"
|
||||||
|
elog " lzop : emerge app-arch/lzop"
|
||||||
|
elog " rar : emerge app-arch/unrar"
|
||||||
|
elog " rpm : emerge app-arch/rpm"
|
||||||
|
elog " unstuff : emerge app-arch/stuffit"
|
||||||
|
elog " zoo : emerge app-arch/zoo"
|
||||||
|
}
|
@ -1,6 +1,6 @@
|
|||||||
DIST lz4-1.8.2.tar.gz 320742 BLAKE2B cd97b6a31a1f45d410d598af0b0b696b3ccc3ffdc4fd523316576ebc68e24e545b8ce359889b0dca1968b1c296cb69951617b91b49cbe8eb98cfdb9ce400803c SHA512 5fadc79334d37739c947d6dfc24f48ce82989fc5ee4f2bb8201ccf7ee3230b9e6e7c8488beb64050a035369f4247161d258bdb539578bec224ccebfef1b8a763
|
DIST lz4-1.8.2.tar.gz 320742 BLAKE2B cd97b6a31a1f45d410d598af0b0b696b3ccc3ffdc4fd523316576ebc68e24e545b8ce359889b0dca1968b1c296cb69951617b91b49cbe8eb98cfdb9ce400803c SHA512 5fadc79334d37739c947d6dfc24f48ce82989fc5ee4f2bb8201ccf7ee3230b9e6e7c8488beb64050a035369f4247161d258bdb539578bec224ccebfef1b8a763
|
||||||
DIST lz4-1.8.3.tar.gz 327897 BLAKE2B e2be80be14c67cf1a07cc6a2e6f6777a87abdd15499b9c32b8096e09284aea19620adf930e28454ce105e325cff684d2625e0a38211705f3c105a80b72f56be5 SHA512 5d284f75a0c4ad11ebc4abb4394d98c863436da0718d62f648ef2e2cda8e5adf47617a4b43594375f7b0b673541a9ccfaf73880a55fd240986594558214dbf9f
|
DIST lz4-1.8.3.tar.gz 327897 BLAKE2B e2be80be14c67cf1a07cc6a2e6f6777a87abdd15499b9c32b8096e09284aea19620adf930e28454ce105e325cff684d2625e0a38211705f3c105a80b72f56be5 SHA512 5d284f75a0c4ad11ebc4abb4394d98c863436da0718d62f648ef2e2cda8e5adf47617a4b43594375f7b0b673541a9ccfaf73880a55fd240986594558214dbf9f
|
||||||
EBUILD lz4-1.8.2.ebuild 831 BLAKE2B 7c1174195af69c90beabacba0e6d90f74d08deb479707bcde45805abdcb65ccdc7946c48baac5b5f07156db5b3a8a4d00d4a8666b4be013af0e173b493af40da SHA512 40dace38b210312b8131e906cbb4ec762826da994e11e2aa8cd8400e32aca3122c7d71148c6c220996a61463b4c2ef5ff7a57acf0cdc27c8fef6b7e44d610a65
|
EBUILD lz4-1.8.2.ebuild 831 BLAKE2B 7c1174195af69c90beabacba0e6d90f74d08deb479707bcde45805abdcb65ccdc7946c48baac5b5f07156db5b3a8a4d00d4a8666b4be013af0e173b493af40da SHA512 40dace38b210312b8131e906cbb4ec762826da994e11e2aa8cd8400e32aca3122c7d71148c6c220996a61463b4c2ef5ff7a57acf0cdc27c8fef6b7e44d610a65
|
||||||
EBUILD lz4-1.8.3.ebuild 920 BLAKE2B c32ec1f695998eb753a08d19b7576fa51a12162cc435ea540ac43093907dede4b408c2affb734bc362e4978b285d0c4243edeaf670daf669a29853d42adcc109 SHA512 4a23222938a4513cb606e2a10300c2cf90867c2f428d72d219f939e6de992753592422838c096f988f0e142cdd48f159cf39847a1cd32ef4be09d63cf39cfc11
|
EBUILD lz4-1.8.3.ebuild 914 BLAKE2B a36b5d7e3abad0f4c591e148a601846fd7ad2acfeb7092aa1a0b0dd8bf09a165a927116b34ae8aedbbcdeae9f2591ce51f211377dd379a8e2381a0eb626806c8 SHA512 f36aadff683d86e7e61383fe030cd0a7ea7af6a447adadeaed003f770694985ba65870352e25b795304d9e353396aef124bb747a504cece838f1c06e778bc1ab
|
||||||
EBUILD lz4-9999.ebuild 824 BLAKE2B dbc4eeaf3f65d527eaafd48a1083c43b76fd564b9dec1e6393c93445be4a0d9b56e540a4dd24df5438ea9b2ffeeb8a53a113a69b40f9b1ded3af4567b00122d8 SHA512 f28250733aa50bab0d908f5288d69d3d78af865433864716474d6d8fc639a44de61fb25dff06614bee003b9fee1d1a71528f9b96d2347c3562a5eb5736a340a9
|
EBUILD lz4-9999.ebuild 824 BLAKE2B dbc4eeaf3f65d527eaafd48a1083c43b76fd564b9dec1e6393c93445be4a0d9b56e540a4dd24df5438ea9b2ffeeb8a53a113a69b40f9b1ded3af4567b00122d8 SHA512 f28250733aa50bab0d908f5288d69d3d78af865433864716474d6d8fc639a44de61fb25dff06614bee003b9fee1d1a71528f9b96d2347c3562a5eb5736a340a9
|
||||||
MISC metadata.xml 427 BLAKE2B 6d83f65cd913a612933b067bad6594e6e0e389a85a5b883e8d795f8c9591afa0bdb9b987ea35ceb3dbeebe3fbb81ca217a93fd5a8f8d42bec5aef6707dbf258b SHA512 022a6fcb7f89687c4817778b767e393f4488f893de14f0c68aff9aaa41a9ec3cae5034eed17c9d32e5ecff735cdad0f70bddfc0158d599f22bde70653e0d0f3e
|
MISC metadata.xml 427 BLAKE2B 6d83f65cd913a612933b067bad6594e6e0e389a85a5b883e8d795f8c9591afa0bdb9b987ea35ceb3dbeebe3fbb81ca217a93fd5a8f8d42bec5aef6707dbf258b SHA512 022a6fcb7f89687c4817778b767e393f4488f893de14f0c68aff9aaa41a9ec3cae5034eed17c9d32e5ecff735cdad0f70bddfc0158d599f22bde70653e0d0f3e
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
DIST lzip-1.20.tar.gz 103426 BLAKE2B 1d72b2132e9ceb67339a10bfdb728be2e5057df571306c698fb06b97c8fc310ce6cceca1a9fd6470fe34f4f6c3b63ee28d791d293418ffe302c84219cb92d35d SHA512 0349b4c6c0b41e601b7ee381c3254d741397beb3ef9354c08162f346f131f4f48f6613ee0a610cdc6d827530df634f884ecfeee35215b10045a40fee76f8e938
|
DIST lzip-1.20.tar.gz 103426 BLAKE2B 1d72b2132e9ceb67339a10bfdb728be2e5057df571306c698fb06b97c8fc310ce6cceca1a9fd6470fe34f4f6c3b63ee28d791d293418ffe302c84219cb92d35d SHA512 0349b4c6c0b41e601b7ee381c3254d741397beb3ef9354c08162f346f131f4f48f6613ee0a610cdc6d827530df634f884ecfeee35215b10045a40fee76f8e938
|
||||||
DIST lzip-1.21.tar.gz 105558 BLAKE2B 07658ec901bdfc255fef5af24b62614b2db9821b9a2820daa5137fd47ede0b68bbf3eac340ad5484d2ef7011d15c2eaccf19abc9e33b5c96273fc9b9d323083e SHA512 02e31a8fc9431e88edbb0fd467e9dd0947203e693e6581be1a8d25d96c74d9c3794f1fef9e4c993553ba74330c8f5851cad6315b49f263fe9cf2444225af4362
|
DIST lzip-1.21.tar.gz 105558 BLAKE2B 07658ec901bdfc255fef5af24b62614b2db9821b9a2820daa5137fd47ede0b68bbf3eac340ad5484d2ef7011d15c2eaccf19abc9e33b5c96273fc9b9d323083e SHA512 02e31a8fc9431e88edbb0fd467e9dd0947203e693e6581be1a8d25d96c74d9c3794f1fef9e4c993553ba74330c8f5851cad6315b49f263fe9cf2444225af4362
|
||||||
EBUILD lzip-1.20.ebuild 864 BLAKE2B d5f269e36be04a09fb683e522d08e2e49948b3a3af59a59dddaa26b0a0f33a8526e24bf1a5acdb02121b54ceb3c134c0300a290f1714a91b0d9b0cfddeee8147 SHA512 08a914e9d8d44246005f4bfc1c676d47a331bb0ba9969d9f917b0505a46915edbad6c351b34f65e7f61e9fb68c3379c442ccc8e71c98269998c9f137d509a6c3
|
EBUILD lzip-1.20.ebuild 864 BLAKE2B d5f269e36be04a09fb683e522d08e2e49948b3a3af59a59dddaa26b0a0f33a8526e24bf1a5acdb02121b54ceb3c134c0300a290f1714a91b0d9b0cfddeee8147 SHA512 08a914e9d8d44246005f4bfc1c676d47a331bb0ba9969d9f917b0505a46915edbad6c351b34f65e7f61e9fb68c3379c442ccc8e71c98269998c9f137d509a6c3
|
||||||
EBUILD lzip-1.21.ebuild 866 BLAKE2B 896721b182528cea4ee155ae340f90ba0ccfbc5c9cdef7b3c8597226bdd2ebbaea206c838515d8b1faecfe0465880d878aa64fc8580c2b93adfe67996986265f SHA512 6c41a0cd7a549476066fda99382102a2c8a3a25f701b65883e5cd6b123829eec42ed57e7cf0099543ead1354581ca86a3eef0b82a215d24c7ea0558c8f2ee90f
|
EBUILD lzip-1.21.ebuild 863 BLAKE2B adfb93a6cfdcee2c60a7910f119282b2af4f0dd896beb24a24ee523286820cdc4e62bf0c8c5e64dd34b94cded6337c844911731491c76312b74947497ab25ac9 SHA512 25ee8de69f816c55919dc4fafb81a1629680be3d03d25cb9a29092c67001479ee997b103e74ad2a50b4fe057358f21522107f40fb69f61a5e576eb67a30d5009
|
||||||
MISC metadata.xml 357 BLAKE2B baa377044f421ed8bc913a5bbdc72e49e026bf0529190f07aa2d0081208870453f140af7ce3d3a97121b563891b4a4b36196db233a3fdb6a98b6eee34af9e9ba SHA512 e5f560cf4a71e085f50e0710d39e81aeddff8fb72fb07126f86a080970dc2b79acef11522b2ca471fccbf4e20e34ea57712b0b178eaaaed7c9ab5df9910542e9
|
MISC metadata.xml 357 BLAKE2B baa377044f421ed8bc913a5bbdc72e49e026bf0529190f07aa2d0081208870453f140af7ce3d3a97121b563891b4a4b36196db233a3fdb6a98b6eee34af9e9ba SHA512 e5f560cf4a71e085f50e0710d39e81aeddff8fb72fb07126f86a080970dc2b79acef11522b2ca471fccbf4e20e34ea57712b0b178eaaaed7c9ab5df9910542e9
|
||||||
|
Binary file not shown.
@ -1,7 +1,9 @@
|
|||||||
DIST restic-0.8.3.tar.gz 48746281 BLAKE2B 4161326068165b5ba19e9ee0e6386aa1df29a961a42509a2cb7924958100b9412abd1dd27d299d1eef76fdd4731d4a56f0a68e796a46071229a3e6767d3a6bb7 SHA512 758b2c69af8aad6bb62dc750141d5f5a1954ca2b51350ef59c35fd10afefaddc4d8d0cdd5914f249594946db6138124a48fba531b8a24353f022ccea773a240c
|
DIST restic-0.8.3.tar.gz 48746281 BLAKE2B 4161326068165b5ba19e9ee0e6386aa1df29a961a42509a2cb7924958100b9412abd1dd27d299d1eef76fdd4731d4a56f0a68e796a46071229a3e6767d3a6bb7 SHA512 758b2c69af8aad6bb62dc750141d5f5a1954ca2b51350ef59c35fd10afefaddc4d8d0cdd5914f249594946db6138124a48fba531b8a24353f022ccea773a240c
|
||||||
DIST restic-0.9.2.tar.gz 27344284 BLAKE2B 17c121a0d4df470397b467e09ceac559848c34e6a43f289b68eff8b85af86a18a4d2e1340060812613cb7e9cecf86f706565a6bcce31fbcd5aab076a85b57c67 SHA512 e060e0e16031924df7347ec74972bf52c75c84cca8ae996b1c5dd8a6f42c9022062e004ec17af2ebc0b6e9480ecfdff4ca7f64956afab9b9799201848d0be731
|
DIST restic-0.9.2.tar.gz 27344284 BLAKE2B 17c121a0d4df470397b467e09ceac559848c34e6a43f289b68eff8b85af86a18a4d2e1340060812613cb7e9cecf86f706565a6bcce31fbcd5aab076a85b57c67 SHA512 e060e0e16031924df7347ec74972bf52c75c84cca8ae996b1c5dd8a6f42c9022062e004ec17af2ebc0b6e9480ecfdff4ca7f64956afab9b9799201848d0be731
|
||||||
DIST restic-0.9.3.tar.gz 26183792 BLAKE2B 2bb98bd0b5430f928cdc566e558e503d84e611d05da8866f4f5d6f75a325ed73e7674098d73976d8f37ba8d38232adaedc25e2ea211403ea482cecc81f476ba9 SHA512 a8d906984d17e46533a377fba464d909a92016595d7585f37942bc68c24f9356c47df83f2e6ec15b877ea20f864be87362db4421665b594fecb4bca78b520393
|
DIST restic-0.9.3.tar.gz 26183792 BLAKE2B 2bb98bd0b5430f928cdc566e558e503d84e611d05da8866f4f5d6f75a325ed73e7674098d73976d8f37ba8d38232adaedc25e2ea211403ea482cecc81f476ba9 SHA512 a8d906984d17e46533a377fba464d909a92016595d7585f37942bc68c24f9356c47df83f2e6ec15b877ea20f864be87362db4421665b594fecb4bca78b520393
|
||||||
|
DIST restic-0.9.4.tar.gz 26211163 BLAKE2B 950a8da8217500a910f0e5966787b668417f1168e81365ecda70469ef42c24fed876e97b6a44ed9dda89c07760db4678d791960d78760d68c8f1846c827cf340 SHA512 8e75a1da6ee9a364c2bf53ce8f9b014549e7065eae349dc6baf68b0e8a8e9736f83c0495b822aac87480751f448bd42da34c440290b5f0967aea7becda5c448b
|
||||||
EBUILD restic-0.8.3.ebuild 1190 BLAKE2B b67c12c01ad4f69c281ffeeee90eff0dc1eaba5341ff18c519b2183ef1460843a50d7adb9ec518f8affbe3546328f9f488d274ae99071799e7e3d1ef5415fd3a SHA512 980f1040b4f6b2c46598dd6ba70bd3e9bff8d89274002dad12e497f82ff2c0eb362a43e91473da05f982c1b4aad3e19e1124c8fd753fc371eb5f73f7a43f7b17
|
EBUILD restic-0.8.3.ebuild 1190 BLAKE2B b67c12c01ad4f69c281ffeeee90eff0dc1eaba5341ff18c519b2183ef1460843a50d7adb9ec518f8affbe3546328f9f488d274ae99071799e7e3d1ef5415fd3a SHA512 980f1040b4f6b2c46598dd6ba70bd3e9bff8d89274002dad12e497f82ff2c0eb362a43e91473da05f982c1b4aad3e19e1124c8fd753fc371eb5f73f7a43f7b17
|
||||||
EBUILD restic-0.9.2.ebuild 1155 BLAKE2B 2370d9923040125cab0b8831850d5c997638669eb1a1939e3f59a51d27f131b2631ea5866d77ac1ef85e73fd74c54cd3d49aafc619924e7afdc4c888c08f0864 SHA512 5cdd3cff4ff86b0502f8d6e31f647e144a84db086c43d33fd53cdadcebe4f440a84f82f5bc478f2043adc4ac007a1800a33bf97f9c8b4d43fc11ca5d287572bf
|
EBUILD restic-0.9.2.ebuild 1155 BLAKE2B 2370d9923040125cab0b8831850d5c997638669eb1a1939e3f59a51d27f131b2631ea5866d77ac1ef85e73fd74c54cd3d49aafc619924e7afdc4c888c08f0864 SHA512 5cdd3cff4ff86b0502f8d6e31f647e144a84db086c43d33fd53cdadcebe4f440a84f82f5bc478f2043adc4ac007a1800a33bf97f9c8b4d43fc11ca5d287572bf
|
||||||
EBUILD restic-0.9.3.ebuild 1155 BLAKE2B 2370d9923040125cab0b8831850d5c997638669eb1a1939e3f59a51d27f131b2631ea5866d77ac1ef85e73fd74c54cd3d49aafc619924e7afdc4c888c08f0864 SHA512 5cdd3cff4ff86b0502f8d6e31f647e144a84db086c43d33fd53cdadcebe4f440a84f82f5bc478f2043adc4ac007a1800a33bf97f9c8b4d43fc11ca5d287572bf
|
EBUILD restic-0.9.3.ebuild 1155 BLAKE2B 2370d9923040125cab0b8831850d5c997638669eb1a1939e3f59a51d27f131b2631ea5866d77ac1ef85e73fd74c54cd3d49aafc619924e7afdc4c888c08f0864 SHA512 5cdd3cff4ff86b0502f8d6e31f647e144a84db086c43d33fd53cdadcebe4f440a84f82f5bc478f2043adc4ac007a1800a33bf97f9c8b4d43fc11ca5d287572bf
|
||||||
|
EBUILD restic-0.9.4.ebuild 1152 BLAKE2B 64261a07bf725579fdd371250afaa9336e19c3ab6fb2c974f0a89461739bcafc0858f7b1742b539b9ee8c947eb0f027c0f71ccd0b2989185cae5552369a9feea SHA512 ea2c5668f69220e55234e3cc89b3da800d7538b15a499178da13ecccda0330e7a0477cfb1afcb30f345ec97362c00c5147568b3bcf43b6e57848eebdf6d664a9
|
||||||
MISC metadata.xml 444 BLAKE2B f9cc0e8188fbd02a7bacc258eac4052b88fcd3d3b878ce336f7f4635bd4fa94abdfa5112b35bbf6913dcbbfb64833d5f3a4d372c202b2f2488d5d0c750ce2f52 SHA512 8dbd7df10769ff8d0271588be8c97402d5917a4c0dbafa5daad2090245ee4b022193a6c271f71c342540d7599b029998c91c10364eae7d55de0275276342c0f4
|
MISC metadata.xml 444 BLAKE2B f9cc0e8188fbd02a7bacc258eac4052b88fcd3d3b878ce336f7f4635bd4fa94abdfa5112b35bbf6913dcbbfb64833d5f3a4d372c202b2f2488d5d0c750ce2f52 SHA512 8dbd7df10769ff8d0271588be8c97402d5917a4c0dbafa5daad2090245ee4b022193a6c271f71c342540d7599b029998c91c10364eae7d55de0275276342c0f4
|
||||||
|
@ -0,0 +1,54 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit bash-completion-r1 golang-vcs-snapshot
|
||||||
|
|
||||||
|
DESCRIPTION="A backup program that is fast, efficient and secure"
|
||||||
|
HOMEPAGE="https://restic.github.io/"
|
||||||
|
SRC_URI="https://github.com/restic/restic/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
EGO_PN="github.com/restic/restic"
|
||||||
|
|
||||||
|
LICENSE="BSD-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~x86"
|
||||||
|
IUSE="test"
|
||||||
|
|
||||||
|
RDEPEND="sys-fs/fuse:0"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${P}/src/${EGO_PN}"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
local mygoargs=(
|
||||||
|
-v
|
||||||
|
-work
|
||||||
|
-x
|
||||||
|
-tags release
|
||||||
|
-ldflags "-X main.version=${PV}"
|
||||||
|
-asmflags "-trimpath=${S}"
|
||||||
|
-gcflags "-trimpath=${S}"
|
||||||
|
-o restic ${EGO_PN}/cmd/restic
|
||||||
|
)
|
||||||
|
|
||||||
|
GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \
|
||||||
|
go build "${mygoargs[@]}" || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \
|
||||||
|
go test -timeout 30m -v -work -x ${EGO_PN}/cmd/... ${EGO_PN}/internal/... || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin restic
|
||||||
|
|
||||||
|
newbashcomp doc/bash-completion.sh "${PN}"
|
||||||
|
|
||||||
|
insinto /usr/share/zsh/site-functions
|
||||||
|
newins doc/zsh-completion.zsh _restic
|
||||||
|
|
||||||
|
doman doc/man/*
|
||||||
|
dodoc doc/*.rst
|
||||||
|
}
|
Binary file not shown.
@ -1,6 +1,4 @@
|
|||||||
AUX argon2-20161029-makefile-soname-symlinks.patch 807 BLAKE2B 128d7f8db6bc85839ba243a821ab4ba2a40708e8a4dd30be4f264b6280375defa716b430cd4a029f047e08a06a8a29ab4a07abbec50619155fa5e015bd59b48e SHA512 de2e9e0f5b378700aa01004684f7aa9fc60d6e49cd6f994663bb8bb7c357732cbf19c31a563c44b485d5b85a75ea76c283f606ce1d453864b987febd2cbeaa27
|
|
||||||
DIST argon2-20161029.tar.gz 1506864 BLAKE2B fbb0588439e811666af027710d1e5ef182b4d1c9012ca2c60d22ce103ceca14bb392dd8916b37c1c07799dc97f9401aa66d3bd08b250dd48314aa57a8599dff5 SHA512 e1f947a97e8b5f292dd32a6f1ea0ef3f2e411629218653821886ec4e1d5f8289d5b8f4b8bf0a37e69c344a83b975c695947d6b49fd2001a0e4273bebd4792892
|
|
||||||
DIST argon2-20171227.tar.gz 1503745 BLAKE2B 70171ce1b446974e18e6f7077f436c6b78f29fd3eb075314014219280fd984e51b00137d901175da5fcb8a8472df0cbb16ff0333a2f2f098e52d3e0ea496e2cc SHA512 9c9e1a3905e61ac6913d1e073c104477e419ddd0506adc4487e88e98d19165ed8901fe8bb11246ed0cc71b3523c190da9692d5926642f86be09c3e67510afe4d
|
DIST argon2-20171227.tar.gz 1503745 BLAKE2B 70171ce1b446974e18e6f7077f436c6b78f29fd3eb075314014219280fd984e51b00137d901175da5fcb8a8472df0cbb16ff0333a2f2f098e52d3e0ea496e2cc SHA512 9c9e1a3905e61ac6913d1e073c104477e419ddd0506adc4487e88e98d19165ed8901fe8bb11246ed0cc71b3523c190da9692d5926642f86be09c3e67510afe4d
|
||||||
EBUILD argon2-20161029-r1.ebuild 1059 BLAKE2B 5af6cfcc657b155477979103e641b1449c3c95430aed7594d5a7678b6c1622672e4b8581b6465721a8645065dd3bbf8c9be9bcd6d58f8f44c8844c9a4de09992 SHA512 bf74945ccbea5cd3017a91502a4ce67c5b39b02df1882b175c9d3c857b70914f3f91d41b10c7c46fc82ee4ab8e03b4b0b291e9f16a3a41f8f54f28216533ffec
|
EBUILD argon2-20171227-r1.ebuild 1209 BLAKE2B d4817c6a5b21a1aba841d8a590ce5583212741a6a374d1b6667b17eb15e89964b6540b2ef01ae08e014b69edae22416b91e24d8723198c20fba8d3070ed51f95 SHA512 bdcaaaf5d45ca6cf397dcf2f870e58bbcae2f319737de185dea594a8659d9841e875bb22c18c832b208a787c47febc3d697e445824a54f4a32fbb90f1a90fb44
|
||||||
EBUILD argon2-20171227.ebuild 932 BLAKE2B d4d35467d79c15fe30fdd120261f0452ff20e2433cfb59734d98dfca35bd587114bd49cb7e6186100ba57dd14b12371703eb7465298a8ee585286838e207f8c6 SHA512 88b54c07cc75e2011ebeb5c43636deafbc248d013b52e97a876aad02a1019477087d9c2652dcf21d4939f871c84a2255e826e5126cae1be8e9111e6b3055c498
|
EBUILD argon2-20171227.ebuild 932 BLAKE2B d4d35467d79c15fe30fdd120261f0452ff20e2433cfb59734d98dfca35bd587114bd49cb7e6186100ba57dd14b12371703eb7465298a8ee585286838e207f8c6 SHA512 88b54c07cc75e2011ebeb5c43636deafbc248d013b52e97a876aad02a1019477087d9c2652dcf21d4939f871c84a2255e826e5126cae1be8e9111e6b3055c498
|
||||||
MISC metadata.xml 660 BLAKE2B 1843f019c2cf7e8438209df6d90a20a9bcc88f5346aa02c953a28d84d712983fe3880b39b4b1766819bb88c670245447c37dc0c1da3b02b3f800a3d9706c4287 SHA512 76c1048a35a75b60d9e5fd56da50ba4bfe9537457e2021c226671d72e0456d2533f05361cad607cc86b8e01fd00a137a4cbc26a6d70c122918fe4e0f2ae3bee5
|
MISC metadata.xml 660 BLAKE2B 1843f019c2cf7e8438209df6d90a20a9bcc88f5346aa02c953a28d84d712983fe3880b39b4b1766819bb88c670245447c37dc0c1da3b02b3f800a3d9706c4287 SHA512 76c1048a35a75b60d9e5fd56da50ba4bfe9537457e2021c226671d72e0456d2533f05361cad607cc86b8e01fd00a137a4cbc26a6d70c122918fe4e0f2ae3bee5
|
||||||
|
@ -1,34 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit multilib
|
|
||||||
|
|
||||||
DESCRIPTION="Password hashing software that won the Password Hashing Competition (PHC)"
|
|
||||||
HOMEPAGE="https://github.com/P-H-C/phc-winner-argon2"
|
|
||||||
SRC_URI="https://github.com/P-H-C/phc-winner-argon2/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="|| ( Apache-2.0 CC0-1.0 )"
|
|
||||||
SLOT="0/0"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
|
||||||
IUSE="static-libs"
|
|
||||||
|
|
||||||
S="${WORKDIR}/phc-winner-${P}"
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/${P}-makefile-soname-symlinks.patch"
|
|
||||||
)
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
if ! use static-libs; then
|
|
||||||
sed -i -e 's/LIBRARIES = \$(LIB_SH) \$(LIB_ST)/LIBRARIES = \$(LIB_SH)/' Makefile || die "sed failed!"
|
|
||||||
fi
|
|
||||||
sed -i -e 's/-O3 //' Makefile || die "sed failed"
|
|
||||||
sed -i -e 's/-g //' Makefile || die "sed failed"
|
|
||||||
sed -i -e "s/-march=\$(OPTTARGET) /${CFLAGS} /" Makefile || die "sed failed"
|
|
||||||
sed -i -e 's/CFLAGS += -march=\$(OPTTARGET)//' Makefile || die "sed failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" LIBRARY_REL=$(get_libdir) install || die
|
|
||||||
}
|
|
@ -0,0 +1,40 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="Password hashing software that won the Password Hashing Competition (PHC)"
|
||||||
|
HOMEPAGE="https://github.com/P-H-C/phc-winner-argon2"
|
||||||
|
SRC_URI="https://github.com/P-H-C/phc-winner-argon2/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="|| ( Apache-2.0 CC0-1.0 )"
|
||||||
|
SLOT="0/1"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd"
|
||||||
|
IUSE="static-libs"
|
||||||
|
|
||||||
|
S="${WORKDIR}/phc-winner-${P}"
|
||||||
|
|
||||||
|
DOCS=( argon2-specs.pdf CHANGELOG.md README.md )
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
if ! use static-libs; then
|
||||||
|
sed -i -e 's/LIBRARIES = \$(LIB_SH) \$(LIB_ST)/LIBRARIES = \$(LIB_SH)/' Makefile || die "sed failed!"
|
||||||
|
fi
|
||||||
|
sed -i -e 's/-O3 //' -e 's/-g //' -e "s/-march=\$(OPTTARGET) /${CFLAGS} /" -e 's/CFLAGS += -march=\$(OPTTARGET)//' Makefile || die "sed failed"
|
||||||
|
|
||||||
|
sed -i -e "s/lib\/@HOST_MULTIARCH@/$(get_libdir)/" -e "s/@UPSTREAM_VER@/${PV}/" lib${PN}.pc || die
|
||||||
|
|
||||||
|
tc-export CC
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${ED}" LIBRARY_REL="$(get_libdir)" install
|
||||||
|
einstalldocs
|
||||||
|
doman man/${PN}.1
|
||||||
|
|
||||||
|
insinto /usr/$(get_libdir)/pkgconfig
|
||||||
|
doins lib${PN}.pc
|
||||||
|
}
|
@ -1,28 +0,0 @@
|
|||||||
diff --git a/Makefile b/Makefile
|
|
||||||
index 1838c13..85aa710 100644
|
|
||||||
--- a/Makefile
|
|
||||||
+++ b/Makefile
|
|
||||||
@@ -87,8 +87,10 @@ endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
LIB_SH := lib$(LIB_NAME).$(LIB_EXT)
|
|
||||||
+LIB_SH_VERSION := $(LIB_SH).0
|
|
||||||
LIB_ST := lib$(LIB_NAME).a
|
|
||||||
LIBRARIES = $(LIB_SH) $(LIB_ST)
|
|
||||||
+INSTALL_LIBRARIES = $(LIBRARIES) $(LIB_SH_VERSION)
|
|
||||||
HEADERS = include/argon2.h
|
|
||||||
|
|
||||||
INSTALL = install
|
|
||||||
@@ -153,9 +155,11 @@ format:
|
|
||||||
-i include/*.h src/*.c src/*.h src/blake2/*.c src/blake2/*.h
|
|
||||||
|
|
||||||
install: $(RUN) libs
|
|
||||||
+ mv $(LIB_SH) $(LIB_SH_VERSION)
|
|
||||||
+ ln -sf $(LIB_SH_VERSION) $(LIB_SH)
|
|
||||||
$(INSTALL) -d $(INST_INCLUDE)
|
|
||||||
$(INSTALL) $(HEADERS) $(INST_INCLUDE)
|
|
||||||
$(INSTALL) -d $(INST_LIBRARY)
|
|
||||||
- $(INSTALL) $(LIBRARIES) $(INST_LIBRARY)
|
|
||||||
+ $(INSTALL) $(INSTALL_LIBRARIES) $(INST_LIBRARY)
|
|
||||||
$(INSTALL) -d $(INST_BINARY)
|
|
||||||
$(INSTALL) $(RUN) $(INST_BINARY)
|
|
@ -1,3 +1,5 @@
|
|||||||
DIST ccrypt-1.10.tar.gz 669491 BLAKE2B 61aabe48fd3e368c4915697acc4a63837cb97246e31c2268385e419fc6912a1d0bf3f3773c78266bde0d648bb10f739628a55560e0eedbd397c5826b5019b602 SHA512 b0130998f9830f63e8181340b3138260ab3c2014174e74fbcca77299dc9e0f807471fbfb7cc403dec7d0809f136e8afcb4c9bfd4ee5e43a1b3cc7185e14c3188
|
DIST ccrypt-1.10.tar.gz 669491 BLAKE2B 61aabe48fd3e368c4915697acc4a63837cb97246e31c2268385e419fc6912a1d0bf3f3773c78266bde0d648bb10f739628a55560e0eedbd397c5826b5019b602 SHA512 b0130998f9830f63e8181340b3138260ab3c2014174e74fbcca77299dc9e0f807471fbfb7cc403dec7d0809f136e8afcb4c9bfd4ee5e43a1b3cc7185e14c3188
|
||||||
EBUILD ccrypt-1.10.ebuild 357 BLAKE2B bba77387ef299da2bded1e05efc71313f8821017af9589d4dea76e9602b9b95e2cb407e5d915264fdec00cd1152111fe28fb4e0a8f9f6246763191eed61d0c3f SHA512 4b8d7c74c6dac9032721fa320b0334a163bbc52771a327c1020d7559f94b2076ebef2684573d39d47e46a6217e50d554ee5a3a5f1fd6313eaa48d1ebe694fe64
|
DIST ccrypt-1.11.tar.gz 834575 BLAKE2B 6b3441f6b1c58ed63db43ddc999ee64e67afc3ce02222de2a41562bc066aad0f076e75ab496d94e7f3f1a9554b1382c083f3af04074904c1110f610cb5ac19b3 SHA512 75c2b93e855d36e717d3b7cabee7ce43ce372a21c8291beb43f24fd69e11114bb0e19e6dd03ec5d901e7e60eac9351afab65c346b7304b16054b91d392050313
|
||||||
|
EBUILD ccrypt-1.10.ebuild 358 BLAKE2B fc4735bb7aa9d73e3be45d96e95f1bf7008399d7ca2131210f35866c666860f0ca688b6119fb2ad3daa31eb2280fcc3698d519e95224889efeece5e280121b7c SHA512 ae6c14e585992e53f2087783d8479ea7ecb2d905276c157814cdb5378e8d0c7b911c1da0dc238ae40dd600478602b10627d48272b67fcfef2325db0a293117a2
|
||||||
|
EBUILD ccrypt-1.11.ebuild 361 BLAKE2B 201490ae6c3f90b2bb51838291abb67d4a9df956af06129c5b0e29a25a7657458e291ed12605faec10468202e0760b053000cf6c6ec49c07a12353c8e016e069 SHA512 92cc8780108f51e8e3f77f33531cee7a648598d2301c45049b858f01f816c83abcf18dde7e6df9633bd8e87e4a3d35fdee83b0763a4c00dbfe0abd0a4a54c19c
|
||||||
MISC metadata.xml 316 BLAKE2B b3ea9516824d2d6abce5b52bff59ef3935be62158f4b5f35c4946ac46ad6cbce01637f82979c0c7bc0d881b385dbef860b4ee1aaa28cba9121d388640ced2f11 SHA512 fd88aee15282c7205e31caa296006cb6e6d887843b5757676c00d7a0ed054046d9285c9d01ddf120131463eb03cef1ad7e9835a01f4fd71d9483bae2ecde296b
|
MISC metadata.xml 316 BLAKE2B b3ea9516824d2d6abce5b52bff59ef3935be62158f4b5f35c4946ac46ad6cbce01637f82979c0c7bc0d881b385dbef860b4ee1aaa28cba9121d388640ced2f11 SHA512 fd88aee15282c7205e31caa296006cb6e6d887843b5757676c00d7a0ed054046d9285c9d01ddf120131463eb03cef1ad7e9835a01f4fd71d9483bae2ecde296b
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI="7"
|
EAPI="7"
|
||||||
|
|
||||||
DESCRIPTION="Encryption and decryption"
|
DESCRIPTION="Encryption and decryption"
|
||||||
HOMEPAGE="https://ccrypt.sourceforge.net"
|
HOMEPAGE="https://sourceforge.net/projects/ccrypt/"
|
||||||
SRC_URI="http://ccrypt.sourceforge.net/download/${P}.tar.gz"
|
SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}.tar.gz"
|
||||||
LICENSE="GPL-2"
|
LICENSE="GPL-2"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||||
|
@ -0,0 +1,11 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
|
||||||
|
DESCRIPTION="Encryption and decryption"
|
||||||
|
HOMEPAGE="https://sourceforge.net/projects/ccrypt/"
|
||||||
|
SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}.tar.gz"
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
Binary file not shown.
@ -1,3 +1,5 @@
|
|||||||
DIST pluma-1.18.3.tar.xz 3355188 BLAKE2B d53f381aa9c74cad0df82ccc73aaab9f87347cb8e3886471a2531bdd4d49a84ee97a50f2333b2e375f9bc2a634c25dc69b36659dcb589ace716e523a9d0b4544 SHA512 62ad57a8d7626e34c15610e121869ee9b06a2498acb40ec0a60839ca0273d146bd59682d352c3e98d892460c444c5442d32673c2f63897bb8c3e9e595e771dc1
|
DIST pluma-1.18.3.tar.xz 3355188 BLAKE2B d53f381aa9c74cad0df82ccc73aaab9f87347cb8e3886471a2531bdd4d49a84ee97a50f2333b2e375f9bc2a634c25dc69b36659dcb589ace716e523a9d0b4544 SHA512 62ad57a8d7626e34c15610e121869ee9b06a2498acb40ec0a60839ca0273d146bd59682d352c3e98d892460c444c5442d32673c2f63897bb8c3e9e595e771dc1
|
||||||
|
DIST pluma-1.22.0.tar.xz 3235612 BLAKE2B a0cda23a6ee73e562cb32c3f1430590042248b6a6e7cbf021103db507450b2a594506f3d8283eeed08e2ba5006ff51376eb6db5e94ea5ac9d5707b29e0efc2c4 SHA512 7c74c2ce0a89ec3813c936449d3114957e7b319433875ef567ecc508a28a1d3ddc3d0da418b2eb1278b6dc9dbaa3c75a279524f5a061b5aecb52955edcf28f51
|
||||||
EBUILD pluma-1.18.3.ebuild 1762 BLAKE2B 5308bc86e3b681a3dd36fff0205dc4f45e4bbb1a490d135e975b38e1a66c400da7d3ee7014e34586d10ee5942e9366402a440d9cda2599e2dcbf256b524c1158 SHA512 8446e2f3c119ea9c1ed81b85265fc012c6d1990c5b12b56c9d3086e683c3b16b91e6e631c00f664b9027d60dfff1953b444e8135c9dc2af0da98eba6f0452b69
|
EBUILD pluma-1.18.3.ebuild 1762 BLAKE2B 5308bc86e3b681a3dd36fff0205dc4f45e4bbb1a490d135e975b38e1a66c400da7d3ee7014e34586d10ee5942e9366402a440d9cda2599e2dcbf256b524c1158 SHA512 8446e2f3c119ea9c1ed81b85265fc012c6d1990c5b12b56c9d3086e683c3b16b91e6e631c00f664b9027d60dfff1953b444e8135c9dc2af0da98eba6f0452b69
|
||||||
|
EBUILD pluma-1.22.0.ebuild 1728 BLAKE2B 57c49c3aefc6f5e42258e718b8fe9ec6446750f62008e650a5ab88e0da1757708b99b4ae9c09936433f76fecf6253b1783ca9d12627ee2ab429894afa6acbe4b SHA512 87ab096902be646229adcf401f3edd1050829bdba64bffeeb216443fa7da48504c7272b7bf53ae541efde6027fabf731ade8b167ada9edd6bbf24d37507adca6
|
||||||
MISC metadata.xml 334 BLAKE2B 2d5ac79ba6879f5486724c826a89ed81cf393bc3fedbdea40764b1fb23962672e7c2a625137080a16ccd8e67a55097a4f497269f89ccd8b256490ef99e15b9cb SHA512 fe30c9986ed7086a894a0835847351d92938c424af5b7da51211a23fc197eebbce53cc205014cdd2c3bcc951a5a449c5d5726bede7991716d81fb7bbfe8a3fca
|
MISC metadata.xml 334 BLAKE2B 2d5ac79ba6879f5486724c826a89ed81cf393bc3fedbdea40764b1fb23962672e7c2a625137080a16ccd8e67a55097a4f497269f89ccd8b256490ef99e15b9cb SHA512 fe30c9986ed7086a894a0835847351d92938c424af5b7da51211a23fc197eebbce53cc205014cdd2c3bcc951a5a449c5d5726bede7991716d81fb7bbfe8a3fca
|
||||||
|
@ -0,0 +1,77 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
MATE_LA_PUNT="yes"
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python2_7 )
|
||||||
|
|
||||||
|
inherit mate python-single-r1 virtualx
|
||||||
|
|
||||||
|
if [[ ${PV} != 9999 ]]; then
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="Pluma text editor for the MATE desktop"
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
IUSE="+introspection spell"
|
||||||
|
|
||||||
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||||
|
|
||||||
|
# Tests require gvfs sftp fs mounted and schema's installed. Disable tests.
|
||||||
|
# https://github.com/mate-desktop/mate-text-editor/issues/33
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
COMMON_DEPEND="dev-libs/atk
|
||||||
|
>=dev-libs/glib-2.50:2
|
||||||
|
>=dev-libs/libpeas-1.2.0[gtk]
|
||||||
|
>=dev-libs/libxml2-2.5:2
|
||||||
|
x11-libs/cairo
|
||||||
|
x11-libs/gdk-pixbuf:2
|
||||||
|
>=x11-libs/gtk+-3.22:3[introspection?]
|
||||||
|
>=x11-libs/gtksourceview-3.0.0:3.0
|
||||||
|
x11-libs/libICE
|
||||||
|
x11-libs/libX11
|
||||||
|
>=x11-libs/libSM-1.0
|
||||||
|
x11-libs/pango
|
||||||
|
virtual/libintl
|
||||||
|
introspection? ( >=dev-libs/gobject-introspection-0.9.3:= )
|
||||||
|
spell? (
|
||||||
|
>=app-text/enchant-1.2
|
||||||
|
>=app-text/iso-codes-0.35
|
||||||
|
)
|
||||||
|
!!app-editors/mate-text-editor"
|
||||||
|
|
||||||
|
RDEPEND="${PYTHON_DEPS}
|
||||||
|
${COMMON_DEPEND}
|
||||||
|
>=mate-base/mate-desktop-1.9[introspection?]"
|
||||||
|
|
||||||
|
DEPEND="${COMMON_DEPEND}
|
||||||
|
~app-text/docbook-xml-dtd-4.1.2
|
||||||
|
app-text/rarian
|
||||||
|
>=app-text/scrollkeeper-dtd-1:1.0
|
||||||
|
app-text/yelp-tools
|
||||||
|
dev-util/gtk-doc
|
||||||
|
dev-util/gtk-doc-am
|
||||||
|
>=dev-util/intltool-0.50.1
|
||||||
|
>=sys-devel/libtool-2.2.6:2
|
||||||
|
>=sys-devel/gettext-0.17:*
|
||||||
|
virtual/pkgconfig:*"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
mate_src_configure \
|
||||||
|
$(use_enable introspection) \
|
||||||
|
$(use_enable spell)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
# FIXME: This should be handled at eclass level.
|
||||||
|
"${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/data" || die
|
||||||
|
|
||||||
|
unset DBUS_SESSION_BUS_ADDRESS
|
||||||
|
|
||||||
|
GSETTINGS_SCHEMA_DIR="${S}/data" Xemake check
|
||||||
|
}
|
Binary file not shown.
@ -1,4 +1,4 @@
|
|||||||
DIST containers-storage-0_pre20180730.tar.gz 1410155 BLAKE2B 24595693e9f5706130dd5e9bf38d11b2b267a64924cb854ad2d9db8c0a3d7c47fec5a00fa100be67ceaf35ea1a08fada7314d5fbe114fe7508f54e8bfc4f64b4 SHA512 25c5c3c16bb9f0da4e590cf658e56cc2ce1dbc81751f984b426b5e09a95ee816632b0267c8f3028254e88fcd39f5d087f0357862b34379180b33ff38d7028453
|
DIST containers-storage-0_pre20180730.tar.gz 1410155 BLAKE2B 24595693e9f5706130dd5e9bf38d11b2b267a64924cb854ad2d9db8c0a3d7c47fec5a00fa100be67ceaf35ea1a08fada7314d5fbe114fe7508f54e8bfc4f64b4 SHA512 25c5c3c16bb9f0da4e590cf658e56cc2ce1dbc81751f984b426b5e09a95ee816632b0267c8f3028254e88fcd39f5d087f0357862b34379180b33ff38d7028453
|
||||||
DIST github.com-pquerna-ffjson-af8b230fcd2007c7095168ca8ab94c68b60840c6.tar.gz 103474 BLAKE2B 66b456484cec51106e328a6d2c58a8597c1208956fca0c9f0ea45108b8d0942561882004a1ed5b90daa21509c9e0bc090dc9beed89b5a161f52ee8cf58e5d48f SHA512 243d8aed943dbadf3b127e07ad29a830ecded24aa80bb3bcc101db90ba8f3bfa03832e9d1f452e94b3eaccd683a044d0687a168e7e41979eb470442e689659c9
|
DIST github.com-pquerna-ffjson-af8b230fcd2007c7095168ca8ab94c68b60840c6.tar.gz 103474 BLAKE2B 66b456484cec51106e328a6d2c58a8597c1208956fca0c9f0ea45108b8d0942561882004a1ed5b90daa21509c9e0bc090dc9beed89b5a161f52ee8cf58e5d48f SHA512 243d8aed943dbadf3b127e07ad29a830ecded24aa80bb3bcc101db90ba8f3bfa03832e9d1f452e94b3eaccd683a044d0687a168e7e41979eb470442e689659c9
|
||||||
EBUILD containers-storage-0_pre20180730.ebuild 3688 BLAKE2B 967aea99877e6f30d2100739390a73da5393e4a93d63a8c545122ffcfd4705afa257f917c6a37b739642619a4e4ba5513a184df141574f4dc939714be08296e0 SHA512 99217cbf6b5ebbbce066821a23a05d44fbbe585be04da4d7d8158ecbdda92361740b22665dc0876b0ef1ce1c6f0f0cd7645137e842bb3cd0be87dd47f2c39e26
|
EBUILD containers-storage-0_pre20180730.ebuild 3703 BLAKE2B 03c9f196330705267975f8635000be5a644ab04f1fa136bfcc47175f782e1e0e3d98b64892a8777be265f5f6b009a46b70de10a24779b4d6835e8940638b4b26 SHA512 4fd423ac41a16998df3312aa4679df86c69f40f089bc7ec8fe0093a6010c41c230eb1e2d1cb3e34b92f06a50084602d01468d5f58abb6c83f2abe682d3213a11
|
||||||
MISC metadata.xml 691 BLAKE2B 512255d8e2d91d64a04fcd5da04fa6db20fbaf66c580491f001716a06c0ff81ff572491cb9b4274229f2312c7235abcbe8e32b6de9e2344b418015c253866f26 SHA512 eeb059ee40101e47a81d4ff871a55295c68891c9bb6a5a2f87d7855e3aea36648f2db77317f3660602d338d6f3f8cf1018cc61f2722fcd6cb78f7f32ac62989b
|
MISC metadata.xml 691 BLAKE2B 512255d8e2d91d64a04fcd5da04fa6db20fbaf66c580491f001716a06c0ff81ff572491cb9b4274229f2312c7235abcbe8e32b6de9e2344b418015c253866f26 SHA512 eeb059ee40101e47a81d4ff871a55295c68891c9bb6a5a2f87d7855e3aea36648f2db77317f3660602d338d6f3f8cf1018cc61f2722fcd6cb78f7f32ac62989b
|
||||||
|
@ -0,0 +1,9 @@
|
|||||||
|
AUX faudio.pc 241 BLAKE2B 64fce2341df51cf608407d22953bcfdaac705f9031fe060eef9b9d45cf4eee5f8a5d747be76f0c68bbea5d3bda6aec5ca8fee6568a7355a90f95f04ef47531a2 SHA512 78ade9bf6b45ac0f942485844b023c2bc11dd77e72484da0260ce59a2dce6f9a70443ba4a64004d35b24b79688e03b6406e85fd7ed835e5952e1f50d1a9193ff
|
||||||
|
DIST FAudio-19.01.tar.gz 885398 BLAKE2B 00b9c05cf67ed540a503937184d1c05faa957765c903473f94fddb0aa467efe79d90eb6f4fc88f61376849126104096e4b1204a6de6a31a74368cb991e8e44c0 SHA512 59447368eae94fc8a4bc1724a826bb4d8d53f65e4e5efa1f68fe0f7ea168f2c139e775975d93b26180b687cfb7419ec04bd2b285142a1fddb59e9575cc53e375
|
||||||
|
DIST FAudio-19.02.tar.gz 885974 BLAKE2B f8b2402f4005125c583637482a595da9f1a05ffb8c2836498fa5abed1bdae17aa1f1c2c28eb58e0e311bc82f47d48bcb3c626801942f18ecac2eab46c5913e3b SHA512 f3ea82aae5f90bbac286b8e72c1cb6a70e41fdf86f9c1043b465cb242f1232574e59e0ec724f3c317ed4c44a12d4dde87c8b1bc03832e1b011b4e61d9f70da39
|
||||||
|
DIST FAudio-19.03.tar.gz 886621 BLAKE2B 0cf0b60766d48472c72dc2aa9bbdb9a99db27836f38eccacb4be4bd98cf387b6009998018438e46835a9b9616d426b8a2c9f3c200b377bce2dc9bc18e42b0d37 SHA512 94e3e4f3f023879ef821d657e5a73ac25aab55c7be6a0afe77d75cabe644c9da083ae3c6a240b71af542da53a3eb34804e6a3193a0e619f89fcc20ff7d6ef095
|
||||||
|
EBUILD faudio-19.01.ebuild 2399 BLAKE2B 2d8340562b9215a947b77de1af488c63a765ec654e73c5638cf7fab715f28a8067aad98c32bb8e0856d663f6ea9bc04f0af6bf78286b35f9685296bc53411a0c SHA512 b786b10dc4156c815fc1189add4afbbe164458b51fd25889f3730d76bd3ebd0a6dfd12f1166b8ac82f13c451be33582b8ee82c29dd96ba09eeecf57b76f46bed
|
||||||
|
EBUILD faudio-19.02.ebuild 2399 BLAKE2B 2d8340562b9215a947b77de1af488c63a765ec654e73c5638cf7fab715f28a8067aad98c32bb8e0856d663f6ea9bc04f0af6bf78286b35f9685296bc53411a0c SHA512 b786b10dc4156c815fc1189add4afbbe164458b51fd25889f3730d76bd3ebd0a6dfd12f1166b8ac82f13c451be33582b8ee82c29dd96ba09eeecf57b76f46bed
|
||||||
|
EBUILD faudio-19.03.ebuild 2399 BLAKE2B 2d8340562b9215a947b77de1af488c63a765ec654e73c5638cf7fab715f28a8067aad98c32bb8e0856d663f6ea9bc04f0af6bf78286b35f9685296bc53411a0c SHA512 b786b10dc4156c815fc1189add4afbbe164458b51fd25889f3730d76bd3ebd0a6dfd12f1166b8ac82f13c451be33582b8ee82c29dd96ba09eeecf57b76f46bed
|
||||||
|
EBUILD faudio-9999.ebuild 2399 BLAKE2B 2d8340562b9215a947b77de1af488c63a765ec654e73c5638cf7fab715f28a8067aad98c32bb8e0856d663f6ea9bc04f0af6bf78286b35f9685296bc53411a0c SHA512 b786b10dc4156c815fc1189add4afbbe164458b51fd25889f3730d76bd3ebd0a6dfd12f1166b8ac82f13c451be33582b8ee82c29dd96ba09eeecf57b76f46bed
|
||||||
|
MISC metadata.xml 1341 BLAKE2B a5fe79fca0c7f184466254e5f251c6248c20415795933b8797a4bd899535735ed93b54754937ed1003103cbbe3d5d6c5ffc5848c255cfd759cb06fb973065003 SHA512 8ad14c2ae094ff4ffd013458db62263b97cc5e616885cb229ef57ff8a4ab0dd943c2ab3840d086a81a4a10962c0d7411741ac6a8daaefb5167fe988a1dd8122a
|
@ -0,0 +1,95 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
# shellcheck disable=SC2034
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
CMAKE_MAKEFILE_GENERATOR="emake"
|
||||||
|
|
||||||
|
inherit cmake-multilib virtualx
|
||||||
|
|
||||||
|
FAUDIO_PN="FAudio"
|
||||||
|
FAUDIO_PV="${PV}"
|
||||||
|
FAUDIO_P="${FAUDIO_PN}-${FAUDIO_PV}"
|
||||||
|
|
||||||
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/FNA-XNA/${FAUDIO_PN}.git"
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/FNA-XNA/${FAUDIO_PN}/archive/${FAUDIO_PV}.tar.gz -> ${FAUDIO_P}.tar.gz"
|
||||||
|
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
|
||||||
|
S="${WORKDIR}/${FAUDIO_P}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="FAudio - Accuracy-focused XAudio reimplementation for open platforms"
|
||||||
|
HOMEPAGE="https://fna-xna.github.io/"
|
||||||
|
LICENSE="ZLIB"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
IUSE="+abi_x86_32 +abi_x86_64 debug ffmpeg xnasong test utils"
|
||||||
|
REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )"
|
||||||
|
|
||||||
|
COMMON_DEPEND="
|
||||||
|
>=media-libs/libsdl2-2.0.9[sound,${MULTILIB_USEDEP}]
|
||||||
|
ffmpeg? ( media-video/ffmpeg:=[${MULTILIB_USEDEP}] )
|
||||||
|
"
|
||||||
|
RDEPEND="${COMMON_DEPEND}
|
||||||
|
"
|
||||||
|
DEPEND="${COMMON_DEPEND}
|
||||||
|
"
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
"-DCMAKE_INSTALL_BINDIR=bin"
|
||||||
|
"-DCMAKE_INSTALL_INCLUDEDIR=include/${FAUDIO_PN}"
|
||||||
|
"-DCMAKE_INSTALL_LIBDIR=$(get_libdir)"
|
||||||
|
"-DCMAKE_INSTALL_PREFIX=${EPREFIX%/}/usr"
|
||||||
|
"-DCMAKE_BUILD_TYPE=$(usex debug Debug Release)"
|
||||||
|
"-DFORCE_ENABLE_DEBUGCONFIGURATION=$(usex debug ON OFF)"
|
||||||
|
"-DBUILD_TESTS=$(usex test ON OFF)"
|
||||||
|
"-DBUILD_UTILS=$(usex utils ON OFF)"
|
||||||
|
"-DFFMPEG=$(usex ffmpeg ON OFF)"
|
||||||
|
"-DXNASONG=$(usex xnasong ON OFF)"
|
||||||
|
)
|
||||||
|
if use ffmpeg; then
|
||||||
|
mycmakeargs+=( "-DFFmpeg_LIBRARY_DIRS=${PREFIX%/}/usr/$(get_libdir)" )
|
||||||
|
fi
|
||||||
|
cmake-utils_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
cmake-multilib_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_compile() {
|
||||||
|
cmake-utils_src_make
|
||||||
|
emake -C "${BUILD_DIR}" all
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install() {
|
||||||
|
# FIXME: do we want to install the FAudio tools?
|
||||||
|
cmake-utils_src_install
|
||||||
|
|
||||||
|
sed -e "s/%LIB%/$(get_libdir)/g" "${FILESDIR}/faudio.pc" \
|
||||||
|
> "${T}/faudio.pc" \
|
||||||
|
|| die "sed failed"
|
||||||
|
insinto "/usr/$(get_libdir)/pkgconfig"
|
||||||
|
doins "${T}/faudio.pc"
|
||||||
|
|
||||||
|
if use test; then
|
||||||
|
mkdir -p "${T}/$(get_libdir)"
|
||||||
|
cp "${BUILD_DIR}/faudio_tests" "${T}/$(get_libdir)/" || die "cp failed"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
faudio_test() {
|
||||||
|
XDG_RUNTIME_DIR="/run/user/0" virtx "${T}/$(get_libdir)/faudio_tests"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
use test || return
|
||||||
|
|
||||||
|
# FIXME: FAudio tests are broken and also don't appear to work
|
||||||
|
# in the Portage sandbox.
|
||||||
|
multilib_foreach_abi faudio_test
|
||||||
|
}
|
@ -0,0 +1,95 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
# shellcheck disable=SC2034
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
CMAKE_MAKEFILE_GENERATOR="emake"
|
||||||
|
|
||||||
|
inherit cmake-multilib virtualx
|
||||||
|
|
||||||
|
FAUDIO_PN="FAudio"
|
||||||
|
FAUDIO_PV="${PV}"
|
||||||
|
FAUDIO_P="${FAUDIO_PN}-${FAUDIO_PV}"
|
||||||
|
|
||||||
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/FNA-XNA/${FAUDIO_PN}.git"
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/FNA-XNA/${FAUDIO_PN}/archive/${FAUDIO_PV}.tar.gz -> ${FAUDIO_P}.tar.gz"
|
||||||
|
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
|
||||||
|
S="${WORKDIR}/${FAUDIO_P}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="FAudio - Accuracy-focused XAudio reimplementation for open platforms"
|
||||||
|
HOMEPAGE="https://fna-xna.github.io/"
|
||||||
|
LICENSE="ZLIB"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
IUSE="+abi_x86_32 +abi_x86_64 debug ffmpeg xnasong test utils"
|
||||||
|
REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )"
|
||||||
|
|
||||||
|
COMMON_DEPEND="
|
||||||
|
>=media-libs/libsdl2-2.0.9[sound,${MULTILIB_USEDEP}]
|
||||||
|
ffmpeg? ( media-video/ffmpeg:=[${MULTILIB_USEDEP}] )
|
||||||
|
"
|
||||||
|
RDEPEND="${COMMON_DEPEND}
|
||||||
|
"
|
||||||
|
DEPEND="${COMMON_DEPEND}
|
||||||
|
"
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
"-DCMAKE_INSTALL_BINDIR=bin"
|
||||||
|
"-DCMAKE_INSTALL_INCLUDEDIR=include/${FAUDIO_PN}"
|
||||||
|
"-DCMAKE_INSTALL_LIBDIR=$(get_libdir)"
|
||||||
|
"-DCMAKE_INSTALL_PREFIX=${EPREFIX%/}/usr"
|
||||||
|
"-DCMAKE_BUILD_TYPE=$(usex debug Debug Release)"
|
||||||
|
"-DFORCE_ENABLE_DEBUGCONFIGURATION=$(usex debug ON OFF)"
|
||||||
|
"-DBUILD_TESTS=$(usex test ON OFF)"
|
||||||
|
"-DBUILD_UTILS=$(usex utils ON OFF)"
|
||||||
|
"-DFFMPEG=$(usex ffmpeg ON OFF)"
|
||||||
|
"-DXNASONG=$(usex xnasong ON OFF)"
|
||||||
|
)
|
||||||
|
if use ffmpeg; then
|
||||||
|
mycmakeargs+=( "-DFFmpeg_LIBRARY_DIRS=${PREFIX%/}/usr/$(get_libdir)" )
|
||||||
|
fi
|
||||||
|
cmake-utils_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
cmake-multilib_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_compile() {
|
||||||
|
cmake-utils_src_make
|
||||||
|
emake -C "${BUILD_DIR}" all
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install() {
|
||||||
|
# FIXME: do we want to install the FAudio tools?
|
||||||
|
cmake-utils_src_install
|
||||||
|
|
||||||
|
sed -e "s/%LIB%/$(get_libdir)/g" "${FILESDIR}/faudio.pc" \
|
||||||
|
> "${T}/faudio.pc" \
|
||||||
|
|| die "sed failed"
|
||||||
|
insinto "/usr/$(get_libdir)/pkgconfig"
|
||||||
|
doins "${T}/faudio.pc"
|
||||||
|
|
||||||
|
if use test; then
|
||||||
|
mkdir -p "${T}/$(get_libdir)"
|
||||||
|
cp "${BUILD_DIR}/faudio_tests" "${T}/$(get_libdir)/" || die "cp failed"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
faudio_test() {
|
||||||
|
XDG_RUNTIME_DIR="/run/user/0" virtx "${T}/$(get_libdir)/faudio_tests"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
use test || return
|
||||||
|
|
||||||
|
# FIXME: FAudio tests are broken and also don't appear to work
|
||||||
|
# in the Portage sandbox.
|
||||||
|
multilib_foreach_abi faudio_test
|
||||||
|
}
|
@ -0,0 +1,95 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
# shellcheck disable=SC2034
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
CMAKE_MAKEFILE_GENERATOR="emake"
|
||||||
|
|
||||||
|
inherit cmake-multilib virtualx
|
||||||
|
|
||||||
|
FAUDIO_PN="FAudio"
|
||||||
|
FAUDIO_PV="${PV}"
|
||||||
|
FAUDIO_P="${FAUDIO_PN}-${FAUDIO_PV}"
|
||||||
|
|
||||||
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/FNA-XNA/${FAUDIO_PN}.git"
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/FNA-XNA/${FAUDIO_PN}/archive/${FAUDIO_PV}.tar.gz -> ${FAUDIO_P}.tar.gz"
|
||||||
|
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
|
||||||
|
S="${WORKDIR}/${FAUDIO_P}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="FAudio - Accuracy-focused XAudio reimplementation for open platforms"
|
||||||
|
HOMEPAGE="https://fna-xna.github.io/"
|
||||||
|
LICENSE="ZLIB"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
IUSE="+abi_x86_32 +abi_x86_64 debug ffmpeg xnasong test utils"
|
||||||
|
REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )"
|
||||||
|
|
||||||
|
COMMON_DEPEND="
|
||||||
|
>=media-libs/libsdl2-2.0.9[sound,${MULTILIB_USEDEP}]
|
||||||
|
ffmpeg? ( media-video/ffmpeg:=[${MULTILIB_USEDEP}] )
|
||||||
|
"
|
||||||
|
RDEPEND="${COMMON_DEPEND}
|
||||||
|
"
|
||||||
|
DEPEND="${COMMON_DEPEND}
|
||||||
|
"
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
"-DCMAKE_INSTALL_BINDIR=bin"
|
||||||
|
"-DCMAKE_INSTALL_INCLUDEDIR=include/${FAUDIO_PN}"
|
||||||
|
"-DCMAKE_INSTALL_LIBDIR=$(get_libdir)"
|
||||||
|
"-DCMAKE_INSTALL_PREFIX=${EPREFIX%/}/usr"
|
||||||
|
"-DCMAKE_BUILD_TYPE=$(usex debug Debug Release)"
|
||||||
|
"-DFORCE_ENABLE_DEBUGCONFIGURATION=$(usex debug ON OFF)"
|
||||||
|
"-DBUILD_TESTS=$(usex test ON OFF)"
|
||||||
|
"-DBUILD_UTILS=$(usex utils ON OFF)"
|
||||||
|
"-DFFMPEG=$(usex ffmpeg ON OFF)"
|
||||||
|
"-DXNASONG=$(usex xnasong ON OFF)"
|
||||||
|
)
|
||||||
|
if use ffmpeg; then
|
||||||
|
mycmakeargs+=( "-DFFmpeg_LIBRARY_DIRS=${PREFIX%/}/usr/$(get_libdir)" )
|
||||||
|
fi
|
||||||
|
cmake-utils_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
cmake-multilib_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_compile() {
|
||||||
|
cmake-utils_src_make
|
||||||
|
emake -C "${BUILD_DIR}" all
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install() {
|
||||||
|
# FIXME: do we want to install the FAudio tools?
|
||||||
|
cmake-utils_src_install
|
||||||
|
|
||||||
|
sed -e "s/%LIB%/$(get_libdir)/g" "${FILESDIR}/faudio.pc" \
|
||||||
|
> "${T}/faudio.pc" \
|
||||||
|
|| die "sed failed"
|
||||||
|
insinto "/usr/$(get_libdir)/pkgconfig"
|
||||||
|
doins "${T}/faudio.pc"
|
||||||
|
|
||||||
|
if use test; then
|
||||||
|
mkdir -p "${T}/$(get_libdir)"
|
||||||
|
cp "${BUILD_DIR}/faudio_tests" "${T}/$(get_libdir)/" || die "cp failed"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
faudio_test() {
|
||||||
|
XDG_RUNTIME_DIR="/run/user/0" virtx "${T}/$(get_libdir)/faudio_tests"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
use test || return
|
||||||
|
|
||||||
|
# FIXME: FAudio tests are broken and also don't appear to work
|
||||||
|
# in the Portage sandbox.
|
||||||
|
multilib_foreach_abi faudio_test
|
||||||
|
}
|
@ -0,0 +1,95 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
# shellcheck disable=SC2034
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
CMAKE_MAKEFILE_GENERATOR="emake"
|
||||||
|
|
||||||
|
inherit cmake-multilib virtualx
|
||||||
|
|
||||||
|
FAUDIO_PN="FAudio"
|
||||||
|
FAUDIO_PV="${PV}"
|
||||||
|
FAUDIO_P="${FAUDIO_PN}-${FAUDIO_PV}"
|
||||||
|
|
||||||
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/FNA-XNA/${FAUDIO_PN}.git"
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/FNA-XNA/${FAUDIO_PN}/archive/${FAUDIO_PV}.tar.gz -> ${FAUDIO_P}.tar.gz"
|
||||||
|
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
|
||||||
|
S="${WORKDIR}/${FAUDIO_P}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="FAudio - Accuracy-focused XAudio reimplementation for open platforms"
|
||||||
|
HOMEPAGE="https://fna-xna.github.io/"
|
||||||
|
LICENSE="ZLIB"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
IUSE="+abi_x86_32 +abi_x86_64 debug ffmpeg xnasong test utils"
|
||||||
|
REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )"
|
||||||
|
|
||||||
|
COMMON_DEPEND="
|
||||||
|
>=media-libs/libsdl2-2.0.9[sound,${MULTILIB_USEDEP}]
|
||||||
|
ffmpeg? ( media-video/ffmpeg:=[${MULTILIB_USEDEP}] )
|
||||||
|
"
|
||||||
|
RDEPEND="${COMMON_DEPEND}
|
||||||
|
"
|
||||||
|
DEPEND="${COMMON_DEPEND}
|
||||||
|
"
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
"-DCMAKE_INSTALL_BINDIR=bin"
|
||||||
|
"-DCMAKE_INSTALL_INCLUDEDIR=include/${FAUDIO_PN}"
|
||||||
|
"-DCMAKE_INSTALL_LIBDIR=$(get_libdir)"
|
||||||
|
"-DCMAKE_INSTALL_PREFIX=${EPREFIX%/}/usr"
|
||||||
|
"-DCMAKE_BUILD_TYPE=$(usex debug Debug Release)"
|
||||||
|
"-DFORCE_ENABLE_DEBUGCONFIGURATION=$(usex debug ON OFF)"
|
||||||
|
"-DBUILD_TESTS=$(usex test ON OFF)"
|
||||||
|
"-DBUILD_UTILS=$(usex utils ON OFF)"
|
||||||
|
"-DFFMPEG=$(usex ffmpeg ON OFF)"
|
||||||
|
"-DXNASONG=$(usex xnasong ON OFF)"
|
||||||
|
)
|
||||||
|
if use ffmpeg; then
|
||||||
|
mycmakeargs+=( "-DFFmpeg_LIBRARY_DIRS=${PREFIX%/}/usr/$(get_libdir)" )
|
||||||
|
fi
|
||||||
|
cmake-utils_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
cmake-multilib_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_compile() {
|
||||||
|
cmake-utils_src_make
|
||||||
|
emake -C "${BUILD_DIR}" all
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install() {
|
||||||
|
# FIXME: do we want to install the FAudio tools?
|
||||||
|
cmake-utils_src_install
|
||||||
|
|
||||||
|
sed -e "s/%LIB%/$(get_libdir)/g" "${FILESDIR}/faudio.pc" \
|
||||||
|
> "${T}/faudio.pc" \
|
||||||
|
|| die "sed failed"
|
||||||
|
insinto "/usr/$(get_libdir)/pkgconfig"
|
||||||
|
doins "${T}/faudio.pc"
|
||||||
|
|
||||||
|
if use test; then
|
||||||
|
mkdir -p "${T}/$(get_libdir)"
|
||||||
|
cp "${BUILD_DIR}/faudio_tests" "${T}/$(get_libdir)/" || die "cp failed"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
faudio_test() {
|
||||||
|
XDG_RUNTIME_DIR="/run/user/0" virtx "${T}/$(get_libdir)/faudio_tests"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
use test || return
|
||||||
|
|
||||||
|
# FIXME: FAudio tests are broken and also don't appear to work
|
||||||
|
# in the Portage sandbox.
|
||||||
|
multilib_foreach_abi faudio_test
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
prefix=/usr
|
||||||
|
exec_prefix=${prefix}
|
||||||
|
libdir=${prefix}/%LIB%
|
||||||
|
includedir=${prefix}/include/FAudio
|
||||||
|
|
||||||
|
Name: faudio
|
||||||
|
Description: Accuracy-focused XAudio reimplementation for open platforms
|
||||||
|
Version:
|
||||||
|
|
||||||
|
Libs: -L${libdir} -lFAudio
|
||||||
|
Cflags: -I${includedir}
|
@ -0,0 +1,29 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>wine@gentoo.org</email>
|
||||||
|
<name>Wine</name>
|
||||||
|
<description>
|
||||||
|
This package must be kept in sync with repo/proj/wine repository.
|
||||||
|
Any changes need to be run past the maintainer to ensure the two repositories are kept in sync.
|
||||||
|
</description>
|
||||||
|
</maintainer>
|
||||||
|
<longdescription>
|
||||||
|
FAudio, is an XAudio reimplementation that focuses solely on developing fully accurate DirectX Audio runtime libraries
|
||||||
|
for the FNA project, including XAudio2, X3DAudio, XAPO, and XACT3.
|
||||||
|
|
||||||
|
Project Website: http://fna-xna.github.io/
|
||||||
|
</longdescription>
|
||||||
|
<use>
|
||||||
|
<flag name="ffmpeg">FAudio has optional support for decoding xWMA resources using FFmpeg, requiring:
|
||||||
|
<pkg>media-video/ffmpeg</pkg> (note: this feature is not supported by <pkg>media-video/libav</pkg>).</flag>
|
||||||
|
<flag name="xnasong">Build support for optional XNG_SONG component (note: this not required by
|
||||||
|
<pkg>app-emulation/wine-staging</pkg>, <pkg>app-emulation/wine-vanilla</pkg> for faudio XAudio support).</flag>
|
||||||
|
<flag name="test">Build and run faudio testsuite.</flag>
|
||||||
|
<flag name="utils">Build all faudio utilities.</flag>
|
||||||
|
</use>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">FNA-XNA/FAudio</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,170 @@
|
|||||||
|
From 525d89d39f78a4099508f47a58c4ab65d1e59c0a Mon Sep 17 00:00:00 2001
|
||||||
|
Message-Id: <525d89d39f78a4099508f47a58c4ab65d1e59c0a.1552736006.git.mprivozn@redhat.com>
|
||||||
|
From: Michal Privoznik <mprivozn@redhat.com>
|
||||||
|
Date: Sat, 16 Mar 2019 12:33:00 +0100
|
||||||
|
Subject: [PATCH] gentoo: do not use sysconf
|
||||||
|
|
||||||
|
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
|
||||||
|
---
|
||||||
|
src/Makefile.am | 21 ++-------------------
|
||||||
|
src/locking/virtlockd.service.in | 3 +--
|
||||||
|
src/logging/virtlogd.service.in | 3 +--
|
||||||
|
src/remote/libvirtd.service.in | 3 +--
|
||||||
|
tools/Makefile.am | 13 ++-----------
|
||||||
|
tools/libvirt-guests.service.in | 2 +-
|
||||||
|
tools/libvirt-guests.sysconf | 7 +++++++
|
||||||
|
7 files changed, 15 insertions(+), 37 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/Makefile.am b/src/Makefile.am
|
||||||
|
index a73f43c483..47dd55c112 100644
|
||||||
|
--- a/src/Makefile.am
|
||||||
|
+++ b/src/Makefile.am
|
||||||
|
@@ -747,23 +747,6 @@ endif WITH_SETUID_RPC_CLIENT
|
||||||
|
|
||||||
|
EXTRA_DIST += $(SYSCONF_FILES)
|
||||||
|
|
||||||
|
-install-sysconfig:
|
||||||
|
- $(MKDIR_P) $(DESTDIR)$(sysconfdir)/sysconfig
|
||||||
|
- for f in $(SYSCONF_FILES:%.sysconf=%) ; \
|
||||||
|
- do \
|
||||||
|
- tgt=`basename $$f`; \
|
||||||
|
- $(INSTALL_DATA) $(srcdir)/$$f.sysconf \
|
||||||
|
- $(DESTDIR)$(sysconfdir)/sysconfig/$$tgt; \
|
||||||
|
- done
|
||||||
|
-
|
||||||
|
-uninstall-sysconfig:
|
||||||
|
- for f in $(SYSCONF_FILES:%.sysconf=%) ; \
|
||||||
|
- do \
|
||||||
|
- tgt=`basename $$f`; \
|
||||||
|
- rm -f $(DESTDIR)$(sysconfdir)/sysconfig/$$tgt; \
|
||||||
|
- done
|
||||||
|
- rmdir $(DESTDIR)$(sysconfdir)/sysconfig || :
|
||||||
|
-
|
||||||
|
LOGROTATE_FILES := $(LOGROTATE_FILES_IN:remote/%.in=%)
|
||||||
|
|
||||||
|
EXTRA_DIST += $(LOGROTATE_FILES_IN)
|
||||||
|
@@ -822,14 +805,14 @@ SYSTEMD_UNIT_FILES = $(notdir $(SYSTEMD_UNIT_FILES_IN:%.in=%))
|
||||||
|
BUILT_SOURCES += $(SYSTEMD_UNIT_FILES)
|
||||||
|
DISTCLEANFILES += $(SYSTEMD_UNIT_FILES)
|
||||||
|
|
||||||
|
-install-systemd: $(SYSTEMD_UNIT_FILES) install-sysconfig
|
||||||
|
+install-systemd: $(SYSTEMD_UNIT_FILES)
|
||||||
|
$(MKDIR_P) $(DESTDIR)$(SYSTEMD_UNIT_DIR)
|
||||||
|
for f in $(SYSTEMD_UNIT_FILES); \
|
||||||
|
do \
|
||||||
|
$(INSTALL_DATA) $$f $(DESTDIR)$(SYSTEMD_UNIT_DIR)/ ; \
|
||||||
|
done
|
||||||
|
|
||||||
|
-uninstall-systemd: uninstall-sysconfig
|
||||||
|
+uninstall-systemd:
|
||||||
|
rm -f $(SYSTEMD_UNIT_FILES:%=$(DESTDIR)$(SYSTEMD_UNIT_DIR)/%)
|
||||||
|
rmdir $(DESTDIR)$(SYSTEMD_UNIT_DIR) || :
|
||||||
|
|
||||||
|
diff --git a/src/locking/virtlockd.service.in b/src/locking/virtlockd.service.in
|
||||||
|
index 3c9d587032..2449b201d9 100644
|
||||||
|
--- a/src/locking/virtlockd.service.in
|
||||||
|
+++ b/src/locking/virtlockd.service.in
|
||||||
|
@@ -7,8 +7,7 @@ Documentation=man:virtlockd(8)
|
||||||
|
Documentation=https://libvirt.org
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
-EnvironmentFile=-/etc/sysconfig/virtlockd
|
||||||
|
-ExecStart=@sbindir@/virtlockd $VIRTLOCKD_ARGS
|
||||||
|
+ExecStart=@sbindir@/virtlockd
|
||||||
|
ExecReload=/bin/kill -USR1 $MAINPID
|
||||||
|
# Loosing the locks is a really bad thing that will
|
||||||
|
# cause the machine to be fenced (rebooted), so make
|
||||||
|
diff --git a/src/logging/virtlogd.service.in b/src/logging/virtlogd.service.in
|
||||||
|
index 3d9ae36150..43736191d5 100644
|
||||||
|
--- a/src/logging/virtlogd.service.in
|
||||||
|
+++ b/src/logging/virtlogd.service.in
|
||||||
|
@@ -7,8 +7,7 @@ Documentation=man:virtlogd(8)
|
||||||
|
Documentation=https://libvirt.org
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
-EnvironmentFile=-/etc/sysconfig/virtlogd
|
||||||
|
-ExecStart=@sbindir@/virtlogd $VIRTLOGD_ARGS
|
||||||
|
+ExecStart=@sbindir@/virtlogd
|
||||||
|
ExecReload=/bin/kill -USR1 $MAINPID
|
||||||
|
# Loosing the logs is a really bad thing that will
|
||||||
|
# cause the machine to be fenced (rebooted), so make
|
||||||
|
diff --git a/src/remote/libvirtd.service.in b/src/remote/libvirtd.service.in
|
||||||
|
index 7f689e08a8..239beeced9 100644
|
||||||
|
--- a/src/remote/libvirtd.service.in
|
||||||
|
+++ b/src/remote/libvirtd.service.in
|
||||||
|
@@ -22,8 +22,7 @@ Documentation=https://libvirt.org
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=notify
|
||||||
|
-EnvironmentFile=-/etc/sysconfig/libvirtd
|
||||||
|
-ExecStart=@sbindir@/libvirtd $LIBVIRTD_ARGS
|
||||||
|
+ExecStart=@sbindir@/libvirtd
|
||||||
|
ExecReload=/bin/kill -HUP $MAINPID
|
||||||
|
KillMode=process
|
||||||
|
Restart=on-failure
|
||||||
|
diff --git a/tools/Makefile.am b/tools/Makefile.am
|
||||||
|
index c6064dee08..40f41ddb38 100644
|
||||||
|
--- a/tools/Makefile.am
|
||||||
|
+++ b/tools/Makefile.am
|
||||||
|
@@ -333,15 +333,6 @@ install-data-local: install-systemd install-nss \
|
||||||
|
uninstall-local: uninstall-systemd uninstall-nss \
|
||||||
|
uninstall-bash-completion
|
||||||
|
|
||||||
|
-install-sysconfig:
|
||||||
|
- $(MKDIR_P) $(DESTDIR)$(sysconfdir)/sysconfig
|
||||||
|
- $(INSTALL_DATA) $(srcdir)/libvirt-guests.sysconf \
|
||||||
|
- $(DESTDIR)$(sysconfdir)/sysconfig/libvirt-guests
|
||||||
|
-
|
||||||
|
-uninstall-sysconfig:
|
||||||
|
- rm -f $(DESTDIR)$(sysconfdir)/sysconfig/libvirt-guests
|
||||||
|
- rmdir $(DESTDIR)$(sysconfdir)/sysconfig ||:
|
||||||
|
-
|
||||||
|
EXTRA_DIST += libvirt-guests.sh.in
|
||||||
|
|
||||||
|
libvirt-guests.sh: libvirt-guests.sh.in $(top_builddir)/config.status
|
||||||
|
@@ -361,12 +352,12 @@ EXTRA_DIST += libvirt-guests.service.in
|
||||||
|
SYSTEMD_UNIT_DIR = $(prefix)/lib/systemd/system
|
||||||
|
|
||||||
|
if LIBVIRT_INIT_SCRIPT_SYSTEMD
|
||||||
|
-install-systemd: libvirt-guests.service install-sysconfig libvirt-guests.sh
|
||||||
|
+install-systemd: libvirt-guests.service libvirt-guests.sh
|
||||||
|
$(MKDIR_P) $(DESTDIR)$(SYSTEMD_UNIT_DIR)
|
||||||
|
$(INSTALL_DATA) libvirt-guests.service \
|
||||||
|
$(DESTDIR)$(SYSTEMD_UNIT_DIR)/libvirt-guests.service
|
||||||
|
|
||||||
|
-uninstall-systemd: uninstall-sysconfig
|
||||||
|
+uninstall-systemd:
|
||||||
|
rm -f $(DESTDIR)$(SYSTEMD_UNIT_DIR)/libvirt-guests.service
|
||||||
|
rmdir $(DESTDIR)$(SYSTEMD_UNIT_DIR) ||:
|
||||||
|
|
||||||
|
diff --git a/tools/libvirt-guests.service.in b/tools/libvirt-guests.service.in
|
||||||
|
index 491ca62138..f0f417bffb 100644
|
||||||
|
--- a/tools/libvirt-guests.service.in
|
||||||
|
+++ b/tools/libvirt-guests.service.in
|
||||||
|
@@ -10,7 +10,7 @@ Documentation=man:libvirtd(8)
|
||||||
|
Documentation=https://libvirt.org
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
-EnvironmentFile=-/etc/sysconfig/libvirt-guests
|
||||||
|
+EnvironmentFile=-/etc/libvirt/libvirt-guests.conf
|
||||||
|
# Hack just call traditional service until we factor
|
||||||
|
# out the code
|
||||||
|
ExecStart=@libexecdir@/libvirt-guests.sh start
|
||||||
|
diff --git a/tools/libvirt-guests.sysconf b/tools/libvirt-guests.sysconf
|
||||||
|
index 669b046507..45b0b9ea46 100644
|
||||||
|
--- a/tools/libvirt-guests.sysconf
|
||||||
|
+++ b/tools/libvirt-guests.sysconf
|
||||||
|
@@ -1,3 +1,10 @@
|
||||||
|
+#
|
||||||
|
+# Warning: This configuration file is only sourced by the systemd
|
||||||
|
+# libvirt-guests.service unit. The coresponding openrc facility is in
|
||||||
|
+# /etc/init.d/libvirtd and /etc/conf.d/libvirtd
|
||||||
|
+#
|
||||||
|
+
|
||||||
|
+
|
||||||
|
# URIs to check for running guests
|
||||||
|
# example: URIS='default xen:///system vbox+tcp://host/system lxc:///system'
|
||||||
|
#URIS=default
|
||||||
|
--
|
||||||
|
2.19.2
|
||||||
|
|
@ -1,383 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{4,5,6} )
|
|
||||||
|
|
||||||
inherit autotools bash-completion-r1 eutils linux-info python-any-r1 readme.gentoo-r1 systemd user
|
|
||||||
|
|
||||||
if [[ ${PV} = *9999* ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://libvirt.org/git/libvirt.git"
|
|
||||||
SRC_URI=""
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
SLOT="0"
|
|
||||||
else
|
|
||||||
# Versions with 4 numbers are stable updates:
|
|
||||||
if [[ ${PV} =~ ^[0-9]+(\.[0-9]+){3} ]]; then
|
|
||||||
SRC_URI="https://libvirt.org/sources/stable_updates/${P}.tar.xz"
|
|
||||||
else
|
|
||||||
SRC_URI="https://libvirt.org/sources/${P}.tar.xz"
|
|
||||||
fi
|
|
||||||
KEYWORDS="amd64 ~arm64 x86"
|
|
||||||
SLOT="0/${PV}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="C toolkit to manipulate virtual machines"
|
|
||||||
HOMEPAGE="http://www.libvirt.org/"
|
|
||||||
LICENSE="LGPL-2.1"
|
|
||||||
IUSE="
|
|
||||||
apparmor audit +caps +dbus firewalld fuse glusterfs iscsi +libvirtd lvm
|
|
||||||
libssh lxc +macvtap nfs nls numa openvz parted pcap phyp policykit
|
|
||||||
+qemu rbd sasl selinux +udev uml +vepa virtualbox virt-network
|
|
||||||
wireshark-plugins xen zeroconf zfs
|
|
||||||
"
|
|
||||||
|
|
||||||
REQUIRED_USE="
|
|
||||||
firewalld? ( virt-network )
|
|
||||||
libvirtd? ( || ( lxc openvz qemu uml virtualbox xen ) )
|
|
||||||
lxc? ( caps libvirtd )
|
|
||||||
openvz? ( libvirtd )
|
|
||||||
policykit? ( dbus )
|
|
||||||
qemu? ( libvirtd )
|
|
||||||
uml? ( libvirtd )
|
|
||||||
vepa? ( macvtap )
|
|
||||||
virt-network? ( libvirtd )
|
|
||||||
virtualbox? ( libvirtd )
|
|
||||||
xen? ( libvirtd )"
|
|
||||||
|
|
||||||
# gettext.sh command is used by the libvirt command wrappers, and it's
|
|
||||||
# non-optional, so put it into RDEPEND.
|
|
||||||
# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
|
|
||||||
# package will use 3 by default. Since we don't have slot pinning in an API,
|
|
||||||
# we must go with the most recent
|
|
||||||
RDEPEND="
|
|
||||||
app-misc/scrub
|
|
||||||
dev-libs/libgcrypt:0
|
|
||||||
dev-libs/libnl:3
|
|
||||||
>=dev-libs/libxml2-2.7.6
|
|
||||||
|| ( >=net-analyzer/netcat6-1.0-r2 >=net-analyzer/openbsd-netcat-1.105-r1 )
|
|
||||||
>=net-libs/gnutls-1.0.25:0=
|
|
||||||
net-libs/libssh2
|
|
||||||
net-libs/libtirpc
|
|
||||||
net-libs/rpcsvc-proto
|
|
||||||
>=net-misc/curl-7.18.0
|
|
||||||
sys-apps/dmidecode
|
|
||||||
>=sys-apps/util-linux-2.17
|
|
||||||
sys-devel/gettext
|
|
||||||
sys-libs/ncurses:0=
|
|
||||||
sys-libs/readline:=
|
|
||||||
apparmor? ( sys-libs/libapparmor )
|
|
||||||
audit? ( sys-process/audit )
|
|
||||||
caps? ( sys-libs/libcap-ng )
|
|
||||||
dbus? ( sys-apps/dbus )
|
|
||||||
firewalld? ( net-firewall/firewalld )
|
|
||||||
fuse? ( >=sys-fs/fuse-2.8.6:= )
|
|
||||||
glusterfs? ( >=sys-cluster/glusterfs-3.4.1 )
|
|
||||||
iscsi? ( sys-block/open-iscsi )
|
|
||||||
libssh? ( net-libs/libssh )
|
|
||||||
lvm? ( >=sys-fs/lvm2-2.02.48-r2[-device-mapper-only(-)] )
|
|
||||||
nfs? ( net-fs/nfs-utils )
|
|
||||||
numa? (
|
|
||||||
>sys-process/numactl-2.0.2
|
|
||||||
sys-process/numad
|
|
||||||
)
|
|
||||||
parted? (
|
|
||||||
>=sys-block/parted-1.8[device-mapper]
|
|
||||||
sys-fs/lvm2[-device-mapper-only(-)]
|
|
||||||
)
|
|
||||||
pcap? ( >=net-libs/libpcap-1.0.0 )
|
|
||||||
policykit? ( >=sys-auth/polkit-0.9 )
|
|
||||||
qemu? (
|
|
||||||
>=app-emulation/qemu-0.13.0
|
|
||||||
dev-libs/yajl
|
|
||||||
)
|
|
||||||
rbd? ( sys-cluster/ceph )
|
|
||||||
sasl? ( dev-libs/cyrus-sasl )
|
|
||||||
selinux? ( >=sys-libs/libselinux-2.0.85 )
|
|
||||||
virt-network? (
|
|
||||||
net-dns/dnsmasq[script]
|
|
||||||
net-firewall/ebtables
|
|
||||||
>=net-firewall/iptables-1.4.10[ipv6]
|
|
||||||
net-misc/radvd
|
|
||||||
sys-apps/iproute2[-minimal]
|
|
||||||
)
|
|
||||||
virtualbox? ( || ( app-emulation/virtualbox >=app-emulation/virtualbox-bin-2.2.0 ) )
|
|
||||||
wireshark-plugins? ( net-analyzer/wireshark:= )
|
|
||||||
xen? (
|
|
||||||
app-emulation/xen
|
|
||||||
app-emulation/xen-tools:=
|
|
||||||
)
|
|
||||||
udev? (
|
|
||||||
virtual/udev
|
|
||||||
>=x11-libs/libpciaccess-0.10.9
|
|
||||||
)
|
|
||||||
zeroconf? ( >=net-dns/avahi-0.6[dbus] )
|
|
||||||
zfs? ( sys-fs/zfs )"
|
|
||||||
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
app-text/xhtml1
|
|
||||||
dev-lang/perl
|
|
||||||
dev-libs/libxslt
|
|
||||||
dev-perl/XML-XPath
|
|
||||||
virtual/pkgconfig"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${PN}-4.5.0-do_not_use_sysconf.patch
|
|
||||||
"${FILESDIR}"/${PN}-1.2.16-fix_paths_in_libvirt-guests_sh.patch
|
|
||||||
"${FILESDIR}"/${PN}-3.10.0-r2-fix_paths_for_apparmor.patch
|
|
||||||
"${FILESDIR}"/${PN}-4.5.0-fix_typo_in_apparmor_rule.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
if use qemu; then
|
|
||||||
enewgroup qemu 77
|
|
||||||
enewuser qemu 77 -1 -1 "qemu,kvm"
|
|
||||||
fi
|
|
||||||
|
|
||||||
use policykit && enewgroup libvirt
|
|
||||||
|
|
||||||
# Check kernel configuration:
|
|
||||||
CONFIG_CHECK=""
|
|
||||||
use fuse && CONFIG_CHECK+="
|
|
||||||
~FUSE_FS"
|
|
||||||
|
|
||||||
use lvm && CONFIG_CHECK+="
|
|
||||||
~BLK_DEV_DM
|
|
||||||
~DM_MULTIPATH
|
|
||||||
~DM_SNAPSHOT"
|
|
||||||
|
|
||||||
use lxc && CONFIG_CHECK+="
|
|
||||||
~BLK_CGROUP
|
|
||||||
~CGROUP_CPUACCT
|
|
||||||
~CGROUP_DEVICE
|
|
||||||
~CGROUP_FREEZER
|
|
||||||
~CGROUP_NET_PRIO
|
|
||||||
~CGROUP_PERF
|
|
||||||
~CGROUPS
|
|
||||||
~CGROUP_SCHED
|
|
||||||
~CPUSETS
|
|
||||||
~IPC_NS
|
|
||||||
~MACVLAN
|
|
||||||
~NAMESPACES
|
|
||||||
~NET_CLS_CGROUP
|
|
||||||
~NET_NS
|
|
||||||
~PID_NS
|
|
||||||
~POSIX_MQUEUE
|
|
||||||
~SECURITYFS
|
|
||||||
~USER_NS
|
|
||||||
~UTS_NS
|
|
||||||
~VETH
|
|
||||||
~!GRKERNSEC_CHROOT_MOUNT
|
|
||||||
~!GRKERNSEC_CHROOT_DOUBLE
|
|
||||||
~!GRKERNSEC_CHROOT_PIVOT
|
|
||||||
~!GRKERNSEC_CHROOT_CHMOD
|
|
||||||
~!GRKERNSEC_CHROOT_CAPS"
|
|
||||||
|
|
||||||
kernel_is lt 4 7 && use lxc && CONFIG_CHECK+="
|
|
||||||
~DEVPTS_MULTIPLE_INSTANCES"
|
|
||||||
|
|
||||||
use macvtap && CONFIG_CHECK+="
|
|
||||||
~MACVTAP"
|
|
||||||
|
|
||||||
use virt-network && CONFIG_CHECK+="
|
|
||||||
~BRIDGE_EBT_MARK_T
|
|
||||||
~BRIDGE_NF_EBTABLES
|
|
||||||
~NETFILTER_ADVANCED
|
|
||||||
~NETFILTER_XT_CONNMARK
|
|
||||||
~NETFILTER_XT_MARK
|
|
||||||
~NETFILTER_XT_TARGET_CHECKSUM"
|
|
||||||
# Bandwidth Limiting Support
|
|
||||||
use virt-network && CONFIG_CHECK+="
|
|
||||||
~BRIDGE_EBT_T_NAT
|
|
||||||
~NET_ACT_POLICE
|
|
||||||
~NET_CLS_FW
|
|
||||||
~NET_CLS_U32
|
|
||||||
~NET_SCH_HTB
|
|
||||||
~NET_SCH_INGRESS
|
|
||||||
~NET_SCH_SFQ"
|
|
||||||
|
|
||||||
# Handle specific kernel versions for different features
|
|
||||||
kernel_is lt 3 6 && CONFIG_CHECK+=" ~CGROUP_MEM_RES_CTLR"
|
|
||||||
if kernel_is ge 3 6; then
|
|
||||||
CONFIG_CHECK+=" ~MEMCG ~MEMCG_SWAP "
|
|
||||||
kernel_is lt 4 5 && CONFIG_CHECK+=" ~MEMCG_KMEM "
|
|
||||||
fi
|
|
||||||
|
|
||||||
ERROR_USER_NS="Optional depending on LXC configuration."
|
|
||||||
|
|
||||||
if [[ -n ${CONFIG_CHECK} ]]; then
|
|
||||||
linux-info_pkg_setup
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
touch "${S}/.mailmap"
|
|
||||||
|
|
||||||
default
|
|
||||||
|
|
||||||
if [[ ${PV} = *9999* ]]; then
|
|
||||||
# git checkouts require bootstrapping to create the configure script.
|
|
||||||
# Additionally the submodules must be cloned to the right locations
|
|
||||||
# bug #377279
|
|
||||||
./bootstrap || die "bootstrap failed"
|
|
||||||
(
|
|
||||||
git submodule status | sed 's/^[ +-]//;s/ .*//'
|
|
||||||
git hash-object bootstrap.conf
|
|
||||||
) >.git-module-status
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Tweak the init script:
|
|
||||||
cp "${FILESDIR}/libvirtd.init-r16" "${S}/libvirtd.init" || die
|
|
||||||
sed -e "s/USE_FLAG_FIREWALLD/$(usex firewalld 'need firewalld' '')/" \
|
|
||||||
-e "s/USE_FLAG_AVAHI/$(usex zeroconf 'use avahi-daemon' '')/" \
|
|
||||||
-e "s/USE_FLAG_ISCSI/$(usex iscsi 'use iscsid' '')/" \
|
|
||||||
-e "s/USE_FLAG_RBD/$(usex rbd 'use ceph' '')/" \
|
|
||||||
-i "${S}/libvirtd.init" || die "sed failed"
|
|
||||||
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local myeconfargs=(
|
|
||||||
$(use_with apparmor)
|
|
||||||
$(use_with apparmor apparmor-profiles)
|
|
||||||
$(use_with audit)
|
|
||||||
$(use_with caps capng)
|
|
||||||
$(use_with dbus)
|
|
||||||
$(use_with firewalld)
|
|
||||||
$(use_with fuse)
|
|
||||||
$(use_with glusterfs)
|
|
||||||
$(use_with glusterfs storage-gluster)
|
|
||||||
$(use_with iscsi storage-iscsi)
|
|
||||||
$(use_with libvirtd)
|
|
||||||
$(use_with libssh)
|
|
||||||
$(use_with lvm storage-lvm)
|
|
||||||
$(use_with lvm storage-mpath)
|
|
||||||
$(use_with lxc)
|
|
||||||
$(use_with macvtap)
|
|
||||||
$(use_enable nls)
|
|
||||||
$(use_with numa numactl)
|
|
||||||
$(use_with numa numad)
|
|
||||||
$(use_with openvz)
|
|
||||||
$(use_with parted storage-disk)
|
|
||||||
$(use_with pcap libpcap)
|
|
||||||
$(use_with phyp)
|
|
||||||
$(use_with policykit polkit)
|
|
||||||
$(use_with qemu)
|
|
||||||
$(use_with qemu yajl)
|
|
||||||
$(use_with rbd storage-rbd)
|
|
||||||
$(use_with sasl)
|
|
||||||
$(use_with selinux)
|
|
||||||
$(use_with udev)
|
|
||||||
$(use_with uml)
|
|
||||||
$(use_with vepa virtualport)
|
|
||||||
$(use_with virt-network network)
|
|
||||||
$(use_with wireshark-plugins wireshark-dissector)
|
|
||||||
$(use_with xen libxl)
|
|
||||||
$(use_with zeroconf avahi)
|
|
||||||
$(use_with zfs storage-zfs)
|
|
||||||
|
|
||||||
--without-hal
|
|
||||||
--without-netcf
|
|
||||||
--without-sanlock
|
|
||||||
--without-xenapi
|
|
||||||
|
|
||||||
--with-esx
|
|
||||||
--with-init-script=systemd
|
|
||||||
--with-qemu-group=$(usex caps qemu root)
|
|
||||||
--with-qemu-user=$(usex caps qemu root)
|
|
||||||
--with-remote
|
|
||||||
--with-storage-fs
|
|
||||||
--with-vmware
|
|
||||||
|
|
||||||
--disable-static
|
|
||||||
--disable-werror
|
|
||||||
|
|
||||||
--with-html-subdir=${PF}/html
|
|
||||||
--localstatedir=/var
|
|
||||||
)
|
|
||||||
|
|
||||||
if use virtualbox && has_version app-emulation/virtualbox-ose; then
|
|
||||||
myeconfargs+=( --with-vbox=/usr/lib/virtualbox-ose/ )
|
|
||||||
else
|
|
||||||
myeconfargs+=( $(use_with virtualbox vbox) )
|
|
||||||
fi
|
|
||||||
|
|
||||||
econf "${myeconfargs[@]}"
|
|
||||||
|
|
||||||
if [[ ${PV} = *9999* ]]; then
|
|
||||||
# Restore gnulib's config.sub and config.guess
|
|
||||||
# bug #377279
|
|
||||||
(cd .gnulib && git reset --hard > /dev/null)
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
cd "${BUILD_DIR}"
|
|
||||||
|
|
||||||
# remove problematic tests, bug #591416, bug #591418
|
|
||||||
sed -i -e 's#commandtest$(EXEEXT) # #' \
|
|
||||||
-e 's#virfirewalltest$(EXEEXT) # #' \
|
|
||||||
-e 's#nwfilterebiptablestest$(EXEEXT) # #' \
|
|
||||||
-e 's#nwfilterxml2firewalltest$(EXEEXT)$##' \
|
|
||||||
tests/Makefile
|
|
||||||
|
|
||||||
export VIR_TEST_DEBUG=1
|
|
||||||
HOME="${T}" emake check || die "tests failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" \
|
|
||||||
SYSTEMD_UNIT_DIR="$(systemd_get_systemunitdir)" install
|
|
||||||
|
|
||||||
find "${D}" -name '*.la' -delete || die
|
|
||||||
|
|
||||||
# Remove bogus, empty directories. They are either not used, or
|
|
||||||
# libvirtd is able to create them on demand
|
|
||||||
rm -rf "${D}"/etc/sysconfig
|
|
||||||
rm -rf "${D}"/var
|
|
||||||
|
|
||||||
use libvirtd || return 0
|
|
||||||
# From here, only libvirtd-related instructions, be warned!
|
|
||||||
|
|
||||||
systemd_install_serviced \
|
|
||||||
"${FILESDIR}"/libvirtd.service.conf libvirtd.service
|
|
||||||
|
|
||||||
systemd_newtmpfilesd "${FILESDIR}"/libvirtd.tmpfiles.conf libvirtd.conf
|
|
||||||
|
|
||||||
newinitd "${S}/libvirtd.init" libvirtd || die
|
|
||||||
newinitd "${FILESDIR}/libvirt-guests.init-r2" libvirt-guests || die
|
|
||||||
newinitd "${FILESDIR}/virtlockd.init-r1" virtlockd || die
|
|
||||||
newinitd "${FILESDIR}/virtlogd.init-r1" virtlogd || die
|
|
||||||
|
|
||||||
newconfd "${FILESDIR}/libvirtd.confd-r5" libvirtd || die
|
|
||||||
newconfd "${FILESDIR}/libvirt-guests.confd" libvirt-guests || die
|
|
||||||
|
|
||||||
newbashcomp "${S}/tools/bash-completion/vsh" vsh
|
|
||||||
bashcomp_alias vsh virsh virt-admin
|
|
||||||
|
|
||||||
DOC_CONTENTS=$(<"${FILESDIR}/README.gentoo-r2")
|
|
||||||
DISABLE_AUTOFORMATTING=true
|
|
||||||
readme.gentoo_create_doc
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
# we only ever want to generate this once
|
|
||||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
|
||||||
rm -rf "${D}"/etc/libvirt/qemu/networks/default.xml
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
|
||||||
touch "${ROOT}"/etc/libvirt/qemu/networks/default.xml
|
|
||||||
fi
|
|
||||||
|
|
||||||
use libvirtd || return 0
|
|
||||||
# From here, only libvirtd-related instructions, be warned!
|
|
||||||
|
|
||||||
readme.gentoo_print_elog
|
|
||||||
}
|
|
@ -0,0 +1,106 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python2_7 )
|
||||||
|
|
||||||
|
inherit desktop eutils python-single-r1 xdg
|
||||||
|
|
||||||
|
MY_PN="PlayOnLinux"
|
||||||
|
|
||||||
|
DESCRIPTION="Set of scripts to easily install and use Windows games and software"
|
||||||
|
HOMEPAGE="https://playonlinux.com/"
|
||||||
|
SRC_URI="https://www.playonlinux.com/script_files/${MY_PN}/${PV}/${MY_PN}_${PV}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="winbind"
|
||||||
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||||
|
|
||||||
|
DEPEND=""
|
||||||
|
RDEPEND="${PYTHON_DEPS}
|
||||||
|
app-arch/cabextract
|
||||||
|
app-arch/p7zip
|
||||||
|
app-arch/unzip
|
||||||
|
app-crypt/gnupg
|
||||||
|
app-misc/jq
|
||||||
|
dev-python/wxpython:3.0[${PYTHON_USEDEP}]
|
||||||
|
media-gfx/icoutils
|
||||||
|
|| ( net-analyzer/netcat net-analyzer/openbsd-netcat )
|
||||||
|
net-misc/wget
|
||||||
|
virtual/imagemagick-tools
|
||||||
|
virtual/wine
|
||||||
|
winbind? ( net-fs/samba[winbind] )
|
||||||
|
x11-apps/mesa-progs
|
||||||
|
x11-terms/xterm
|
||||||
|
"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${PN}"
|
||||||
|
|
||||||
|
# TODO:
|
||||||
|
# Having a real install script
|
||||||
|
# It will let using LANGUAGES easily
|
||||||
|
# How to deal with Microsoft Fonts installation asked every time ?
|
||||||
|
# How to deal with wine version installed ? (have a better mgmt of system one)
|
||||||
|
# Look at debian pkg: https://packages.debian.org/sid/playonlinux
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/${PN}-4.2.4-pol-bash.patch"
|
||||||
|
"${FILESDIR}/${PN}-4.2.4-binary-plugin.patch"
|
||||||
|
"${FILESDIR}/${PN}-4.2.6-stop-update-warning.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
python_fix_shebang .
|
||||||
|
|
||||||
|
# remove playonmac
|
||||||
|
rm etc/{playonmac.icns,terminal.applescript} || die
|
||||||
|
|
||||||
|
# remove desktop integration
|
||||||
|
rm etc/{PlayOnLinux.desktop,PlayOnLinux.directory,playonlinux-Programs.menu} || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
# all things without exec permissions
|
||||||
|
insinto "/usr/share/${PN}"
|
||||||
|
doins -r resources lang lib etc plugins
|
||||||
|
|
||||||
|
# bash/ install
|
||||||
|
exeinto "/usr/share/${PN}/bash"
|
||||||
|
find "${S}/bash" -type f -exec doexe '{}' +
|
||||||
|
exeinto "/usr/share/${PN}/bash/expert"
|
||||||
|
find "${S}/bash/expert" -type f -exec doexe '{}' +
|
||||||
|
|
||||||
|
# python/ install
|
||||||
|
python_moduleinto "/usr/share/${PN}"
|
||||||
|
python_domodule python
|
||||||
|
|
||||||
|
# main executable files
|
||||||
|
exeinto "/usr/share/${PN}"
|
||||||
|
doexe ${PN}{,-pkg,-bash,-shell,-url_handler}
|
||||||
|
|
||||||
|
# icons
|
||||||
|
doicon -s 128 etc/${PN}.png
|
||||||
|
for size in 16 22 32; do
|
||||||
|
newicon -s $size etc/${PN}$size.png ${PN}.png
|
||||||
|
done
|
||||||
|
|
||||||
|
doman "${FILESDIR}"/playonlinux{,-pkg}.1
|
||||||
|
dodoc CHANGELOG.md
|
||||||
|
|
||||||
|
make_wrapper ${PN} "./${PN}" "/usr/share/${PN}"
|
||||||
|
make_wrapper ${PN}-pkg "./${PN}-pkg" "/usr/share/${PN}"
|
||||||
|
make_desktop_entry ${PN} ${MY_PN} ${PN} Game
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_prerm() {
|
||||||
|
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||||
|
elog "Installed software and games with playonlinux have not been removed."
|
||||||
|
elog "To remove them, you can re-install playonlinux and remove them using it,"
|
||||||
|
elog "or do it manually by removing .PlayOnLinux/ in your home directory."
|
||||||
|
fi
|
||||||
|
}
|
@ -0,0 +1,21 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DESCRIPTION="Wine Mono is a replacement for the .NET runtime and class libraries in Wine"
|
||||||
|
HOMEPAGE="https://www.winehq.org/"
|
||||||
|
SRC_URI="https://dl.winehq.org/wine/${PN}/${PV}/${P}.msi"
|
||||||
|
|
||||||
|
LICENSE="BSD-2 GPL-2 LGPL-2.1 MIT MPL-1.1"
|
||||||
|
SLOT="${PV}"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
DEPEND="!!app-emulation/wine:0"
|
||||||
|
|
||||||
|
S="${WORKDIR}"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
insinto /usr/share/wine/mono
|
||||||
|
doins "${DISTDIR}/${P}.msi"
|
||||||
|
}
|
@ -1,15 +1,25 @@
|
|||||||
DIST gentoo-wine-patches-20180120.tar.xz 58672 BLAKE2B 84d621075b65475cec41a06429680b518d7eafb938cefd903f3f8aa71ea3049ac9d8de05af48f9f4f4a1b9172c7ef17784540413e410eb8ec11e8ec4a63858c6 SHA512 5b354a409c7a2b77499aaa593b9248a1d15d755e3687b095755faacc30068bfcdbdd5c2a2a78617cb1a78c46d2931162bd69ec3379b035d81494bea7108263c2
|
DIST gentoo-wine-patches-20180120.tar.xz 58672 BLAKE2B 84d621075b65475cec41a06429680b518d7eafb938cefd903f3f8aa71ea3049ac9d8de05af48f9f4f4a1b9172c7ef17784540413e410eb8ec11e8ec4a63858c6 SHA512 5b354a409c7a2b77499aaa593b9248a1d15d755e3687b095755faacc30068bfcdbdd5c2a2a78617cb1a78c46d2931162bd69ec3379b035d81494bea7108263c2
|
||||||
|
DIST gentoo-wine-patches-20190316.tar.xz 58848 BLAKE2B 76e66749638589dd6d6eceb4b78690483d14353597a4e47fe9e5325d8bdb2bceff66040c110f63b8bae698bc5838c280c048ff7375ba2ed8cc387cbe0422c79a SHA512 de2cf844ae686144c3f95f0a360c7fa8a62185500758f994b5a65836798bdc3092138dcd9c36d0267a6fcfdc13585258d31b281244a97b45965f40e0f2b29eda
|
||||||
DIST wine-3.20.tar.xz 21541928 BLAKE2B 9183dacd1c6ec15ae5283eca3d17db5a869bcba9a93800a422f0dea5d9cfb5d3124a3e942e8b6487cd4ba31cfeacdd66de39128dd66d64e1226d265eae922d3a SHA512 fb66d1d4b427f46dd048b13e53bcd15a5eaeb19039221fe98ec771140c33b3c245a974e52242eab5731ffa0de15f5932204032fe24f86e1a313ff8f11da59cc4
|
DIST wine-3.20.tar.xz 21541928 BLAKE2B 9183dacd1c6ec15ae5283eca3d17db5a869bcba9a93800a422f0dea5d9cfb5d3124a3e942e8b6487cd4ba31cfeacdd66de39128dd66d64e1226d265eae922d3a SHA512 fb66d1d4b427f46dd048b13e53bcd15a5eaeb19039221fe98ec771140c33b3c245a974e52242eab5731ffa0de15f5932204032fe24f86e1a313ff8f11da59cc4
|
||||||
DIST wine-3.21.tar.xz 21573872 BLAKE2B 54d8733b19f1377f856c9496f6263eef1916e03caf82c6fcfa39b3e7bec1fecd87466dc92f3739d704a9161a32d9ee680b2cc5e5cdf27a582dc1d89d0b1a6639 SHA512 dd64a6778bf1b848c8fe14dc26cfca21f6c1c92714ca1b2e932a28560a2adc1f69aa1b2cba250f49a5df4f91a4accde677a2afaf960c200d3998eac1957b5c6b
|
DIST wine-3.21.tar.xz 21573872 BLAKE2B 54d8733b19f1377f856c9496f6263eef1916e03caf82c6fcfa39b3e7bec1fecd87466dc92f3739d704a9161a32d9ee680b2cc5e5cdf27a582dc1d89d0b1a6639 SHA512 dd64a6778bf1b848c8fe14dc26cfca21f6c1c92714ca1b2e932a28560a2adc1f69aa1b2cba250f49a5df4f91a4accde677a2afaf960c200d3998eac1957b5c6b
|
||||||
DIST wine-4.0.tar.xz 21644692 BLAKE2B 9c426ef2249c16e908a3617c2844d8b12a2df843721338b1cfb69459815b902cfa0ddf3d74c09dc900fb2ceb003e54d97a7c0afaac51a9caab7d21beb82e26c3 SHA512 7607fa7a3d5f7bcd3d8c4c9e7bb6e1987466110bbfc672782ebe57c6d9da348c58e76abf40b0a70c725dfd703163db6e194ee0e3db11a47b6b60e225163308dd
|
DIST wine-4.0.tar.xz 21644692 BLAKE2B 9c426ef2249c16e908a3617c2844d8b12a2df843721338b1cfb69459815b902cfa0ddf3d74c09dc900fb2ceb003e54d97a7c0afaac51a9caab7d21beb82e26c3 SHA512 7607fa7a3d5f7bcd3d8c4c9e7bb6e1987466110bbfc672782ebe57c6d9da348c58e76abf40b0a70c725dfd703163db6e194ee0e3db11a47b6b60e225163308dd
|
||||||
DIST wine-4.1.tar.xz 21680916 BLAKE2B 1a040606e34e1aec6f63d9692c6cbf915f5b32c817116aed68203e6bdedb8cb129dad440f7e51e9fb2ebaf1aa537d1584333f06b8b2c5d68f9ff37921d5b8b95 SHA512 2b28fc82111552009a042d682ea8f4e54d90f14bb99f1fbe12732090e7562527c229683562630edada0b1f4143de226734337b20d1b23d711191dcc0a834e4dc
|
DIST wine-4.1.tar.xz 21680916 BLAKE2B 1a040606e34e1aec6f63d9692c6cbf915f5b32c817116aed68203e6bdedb8cb129dad440f7e51e9fb2ebaf1aa537d1584333f06b8b2c5d68f9ff37921d5b8b95 SHA512 2b28fc82111552009a042d682ea8f4e54d90f14bb99f1fbe12732090e7562527c229683562630edada0b1f4143de226734337b20d1b23d711191dcc0a834e4dc
|
||||||
|
DIST wine-4.2.tar.xz 21724960 BLAKE2B d3c4381265e5086a17582c28fd4d19c84ed8e9839d039d5f2eba32efcc09ae6dad2a25fa375042d98d35de30065eaa0095e36bb8fbca608ec74abc654bae5196 SHA512 408a846e92a0222f64ddd3c4d2c2a71b387ce51749e346c1fbca1fd57db910fa18dc6bb4ce0a350bef81e13be77c6b2d74537f7a1c0dcbb0e6d4c19d1ade288c
|
||||||
|
DIST wine-4.3.tar.xz 21764500 BLAKE2B dd94b710f2be20ce3225fb58e0a20f0ee46e59834dc77383e262620faa64597c41625382237c39563b3bb67b1850cca2460ca147e2c5ee3052f0fdfdee067ec5 SHA512 45c0519f8f2873ef65e1761d518a7148f3aa54c0e993a41a60849c01c8df17386d57edd83308cff289300adc6a8e3fc5918fb12513f5b85a88e556b420479e83
|
||||||
|
DIST wine-4.4.tar.xz 21805668 BLAKE2B cf973240a3f2a1ad1cac8690cdc5cd86be428220395d90bfe3b15567e6a2be0bb78e5828de3b77b617827122f5b0bb1dfeeef351102ca001722340ceaeb5625e SHA512 6678c9b0e086bdc9fab9f9fd2517226352b49f846bbae7be6000bb60db2f302aad49622192077b45880d45ad33ba4d82bfe3403fb82a1e65159f1352b40933de
|
||||||
DIST wine-staging-3.20.tar.gz 9950555 BLAKE2B ee66217b708287bd95d61e23fb92009d927a75556f22e89b9c5af66cb6c6445f77a1c3153da168da92ebac58606843c4639f1a99bd5089941595181f390980f0 SHA512 4b92e53e84046d99c3f7ec5e0d0d7e62fdb767b1c44e23605125744686439fe62991c8adea941950b390a01d251ecbb79f3b329cfe5a1b1fbc76c5372283579d
|
DIST wine-staging-3.20.tar.gz 9950555 BLAKE2B ee66217b708287bd95d61e23fb92009d927a75556f22e89b9c5af66cb6c6445f77a1c3153da168da92ebac58606843c4639f1a99bd5089941595181f390980f0 SHA512 4b92e53e84046d99c3f7ec5e0d0d7e62fdb767b1c44e23605125744686439fe62991c8adea941950b390a01d251ecbb79f3b329cfe5a1b1fbc76c5372283579d
|
||||||
DIST wine-staging-3.21.tar.gz 9945982 BLAKE2B 988927c644e9abf472c42021cae39f38cdae24b397072fb53dc803da32bc80e8b6256554d787db0b6bffafac4104a9abf4ab8fa6e78fd0a308bf8906d658a65d SHA512 17f8194954a420d1424d564ba9ad5e6d4dd574dc38da4895d5b6740c1990f8655cb573bd57c77ace2c78c71da4782b511a5ac937ca1f0fc958e3c925abaeefde
|
DIST wine-staging-3.21.tar.gz 9945982 BLAKE2B 988927c644e9abf472c42021cae39f38cdae24b397072fb53dc803da32bc80e8b6256554d787db0b6bffafac4104a9abf4ab8fa6e78fd0a308bf8906d658a65d SHA512 17f8194954a420d1424d564ba9ad5e6d4dd574dc38da4895d5b6740c1990f8655cb573bd57c77ace2c78c71da4782b511a5ac937ca1f0fc958e3c925abaeefde
|
||||||
DIST wine-staging-4.0.tar.gz 9945756 BLAKE2B bfd27d5677d01b4a14c4ef593b741b6fa6e75194de04a90659ecceaa8b087d594cafdd0a53cc2ad2d05e9c73928d70d0b6681ac0052df79f7b45cbb370b31d3d SHA512 4c2277449be17b83235bab7898818a886e84e82c0c5eb8216a5bc42e3d9a0e1dcf09d4522e1165d503fd9237673fa91c2c07d837cde58897f1b6fc8bc6fa5d33
|
DIST wine-staging-4.0.tar.gz 9945756 BLAKE2B bfd27d5677d01b4a14c4ef593b741b6fa6e75194de04a90659ecceaa8b087d594cafdd0a53cc2ad2d05e9c73928d70d0b6681ac0052df79f7b45cbb370b31d3d SHA512 4c2277449be17b83235bab7898818a886e84e82c0c5eb8216a5bc42e3d9a0e1dcf09d4522e1165d503fd9237673fa91c2c07d837cde58897f1b6fc8bc6fa5d33
|
||||||
DIST wine-staging-4.1.tar.gz 9941329 BLAKE2B e455a411d782dcb52b29ad6150b108a4a9b3fd7cd548e35c1392ee3bce581206d99520df19a153ddb80f135156a8d33f6acbbfe086c28f6bfe404fe9eae96556 SHA512 8f52fdae4f98fe67053b00d03234e0937652a9a9506c9e94b717502244eb741c062990678ede11342dc182a4fe9c066227814ebe394ef5f6aedec73983c08554
|
DIST wine-staging-4.1.tar.gz 9941329 BLAKE2B e455a411d782dcb52b29ad6150b108a4a9b3fd7cd548e35c1392ee3bce581206d99520df19a153ddb80f135156a8d33f6acbbfe086c28f6bfe404fe9eae96556 SHA512 8f52fdae4f98fe67053b00d03234e0937652a9a9506c9e94b717502244eb741c062990678ede11342dc182a4fe9c066227814ebe394ef5f6aedec73983c08554
|
||||||
|
DIST wine-staging-4.2.tar.gz 9850260 BLAKE2B 938d12bb44acef2920c6a47978f170cab532ddd785de394dddc95cc359b301e0db26a3ec9aa08abaf03542b59a97c16dfebb3bf5e4c9ddc9bed829200e529bb9 SHA512 2fb66bdeab084231983569d3884211a4d269a48bd6b25ba2e7c7e83d2dc98a205bd92dfc67c09528d57192086571d3f4f6c988c522b25aade1d525b74e662f2e
|
||||||
|
DIST wine-staging-4.3.tar.gz 9888763 BLAKE2B 095f2789f601822e34b7f9d0a078bd433aa2861e7cc55d5b74520bfedc2c88064bbffa3a73bcea170c4e4fb96e9eaa50f0cb927aba2cc6d1f12480bacfa49968 SHA512 9fd89c54200cf7c8e8a7f978fb6b34c89ece755976789f5c5c361ffb8d2882f14260c81ab8ac14ad140e41d807adbbaba05381a31b0177492aa222ef2fe04e4d
|
||||||
|
DIST wine-staging-4.4.tar.gz 9882230 BLAKE2B 705841e14abf3e3e65ae4b64ac2613f42f0e8caf32258ef6fc7e78b5410038c7cc766293488bb110e1f4c2c06d6b55b4cd3e59acea7e0f15c3bb6304e427f891 SHA512 4ddeddac2e2de9afd95ded71edb47f3eac15d1ca94254481e5369d6b69e401471b00ba16747621eb2d0f7d92c0558590f6efe89b3ea15012d9d3d45553d49196
|
||||||
EBUILD wine-staging-3.20.ebuild 20048 BLAKE2B 5c160439d7bb0b560d06b4d9e6bbc9d8d73c34a3f20a667490d4ad5b45011464aed7ea2eb1b06ace2133f7920192accb099c256dacd6223c74ee0bafcfbcf717 SHA512 adf71cb35a4108c2010fb3f64f3837913ea2af1489a81ccd3ae903f1173232bfb97e0bc655076085e4f595ea91d851260798cc33a79f8c58a67d99c6ba0920bf
|
EBUILD wine-staging-3.20.ebuild 20048 BLAKE2B 5c160439d7bb0b560d06b4d9e6bbc9d8d73c34a3f20a667490d4ad5b45011464aed7ea2eb1b06ace2133f7920192accb099c256dacd6223c74ee0bafcfbcf717 SHA512 adf71cb35a4108c2010fb3f64f3837913ea2af1489a81ccd3ae903f1173232bfb97e0bc655076085e4f595ea91d851260798cc33a79f8c58a67d99c6ba0920bf
|
||||||
EBUILD wine-staging-3.21.ebuild 20048 BLAKE2B 5c160439d7bb0b560d06b4d9e6bbc9d8d73c34a3f20a667490d4ad5b45011464aed7ea2eb1b06ace2133f7920192accb099c256dacd6223c74ee0bafcfbcf717 SHA512 adf71cb35a4108c2010fb3f64f3837913ea2af1489a81ccd3ae903f1173232bfb97e0bc655076085e4f595ea91d851260798cc33a79f8c58a67d99c6ba0920bf
|
EBUILD wine-staging-3.21.ebuild 20048 BLAKE2B 5c160439d7bb0b560d06b4d9e6bbc9d8d73c34a3f20a667490d4ad5b45011464aed7ea2eb1b06ace2133f7920192accb099c256dacd6223c74ee0bafcfbcf717 SHA512 adf71cb35a4108c2010fb3f64f3837913ea2af1489a81ccd3ae903f1173232bfb97e0bc655076085e4f595ea91d851260798cc33a79f8c58a67d99c6ba0920bf
|
||||||
EBUILD wine-staging-4.0.ebuild 20086 BLAKE2B 18f862a45df2bfa7a2b428e48cd028e48905127beccbd0d5b80fbb999720f9efe98f6e5c4022d18b5de5d4e0b28f9db07b5ba7b25a816fc7fa049236304556b2 SHA512 da9f41dd2faca0e65e4d69e0ebb77c6f348c12568e8bf3fda4effa3e62c75a5bb2415720f492cd86e03d04135815ece6cd1859d2b81da52d8d07ec0ac7c5e58d
|
EBUILD wine-staging-4.0.ebuild 20086 BLAKE2B 18f862a45df2bfa7a2b428e48cd028e48905127beccbd0d5b80fbb999720f9efe98f6e5c4022d18b5de5d4e0b28f9db07b5ba7b25a816fc7fa049236304556b2 SHA512 da9f41dd2faca0e65e4d69e0ebb77c6f348c12568e8bf3fda4effa3e62c75a5bb2415720f492cd86e03d04135815ece6cd1859d2b81da52d8d07ec0ac7c5e58d
|
||||||
EBUILD wine-staging-4.1.ebuild 20052 BLAKE2B eaf777d9096603570177c0839926a2ad7ff40e579c479e13a7639e3fbe39c44a89dc1e04a5eb4cdf07f569c9451ed6c016977ac8a23cf4638cbb9afeecf1022c SHA512 9b4a0dc664ba6f48c24f453d4f74be7f2378fa2c727334e258c7e9ffbc2e92a5f66d72325e60073c9a8f84043bdb42aabc7c3afd48d4daa1d41832f4e855f405
|
EBUILD wine-staging-4.1.ebuild 20052 BLAKE2B eaf777d9096603570177c0839926a2ad7ff40e579c479e13a7639e3fbe39c44a89dc1e04a5eb4cdf07f569c9451ed6c016977ac8a23cf4638cbb9afeecf1022c SHA512 9b4a0dc664ba6f48c24f453d4f74be7f2378fa2c727334e258c7e9ffbc2e92a5f66d72325e60073c9a8f84043bdb42aabc7c3afd48d4daa1d41832f4e855f405
|
||||||
EBUILD wine-staging-9999.ebuild 20048 BLAKE2B e06b98c8aa8b02a50336f91a946e4f138618d455379bf2a86c1fb228f61d5a912bc38ebecf0b506637e539f7f4313974602979ebdab115e99ac4a4b2561e75c1 SHA512 2637064739be6cfdc3b32864b190acf4b52eca789fc6e4a810f80f0fbfa77a15dbb69daa3d7f2c07c6dec6e6b6016ffbdf948e72de9e5d61a04060761bf1577d
|
EBUILD wine-staging-4.2.ebuild 20048 BLAKE2B e06b98c8aa8b02a50336f91a946e4f138618d455379bf2a86c1fb228f61d5a912bc38ebecf0b506637e539f7f4313974602979ebdab115e99ac4a4b2561e75c1 SHA512 2637064739be6cfdc3b32864b190acf4b52eca789fc6e4a810f80f0fbfa77a15dbb69daa3d7f2c07c6dec6e6b6016ffbdf948e72de9e5d61a04060761bf1577d
|
||||||
MISC metadata.xml 3610 BLAKE2B 6840ad896b4efc5cf532bbbb56c3610182b62b3063321378d16e418514ea372da30341e173975a2cc17b81774c0ecdfb11b52d12de6b4875cbac638a9f5a6a78 SHA512 b6372bfcb02b7917ac1d79a26639e9ca6440d373bfbd5688012d48344b4ad6966c23436853517fbe2236a720d77de71433edea1ddd6cb612f0fec65016ef91b2
|
EBUILD wine-staging-4.3.ebuild 20132 BLAKE2B 90871535471b596150bb5e5ded724d61558fe2f9e938ca691dbb8b5001d576749c3130a2119294e6a953626d0a51ff26080d8baa798765cbd1366e0ebb0d35ab SHA512 f195674a6977ba52bdea0a015f8ee1e8df5836870057c2ec4a5a1c683d7b58056a0d2460e9fa7637097c5d0962ac8e18239f048dd52a1b72acd4ee48fe570cb7
|
||||||
|
EBUILD wine-staging-4.4.ebuild 20129 BLAKE2B a77bab89cf1d863e1f75a8aae1a1dab18206ab1a380ed2c567340b79e705a84f0a79d9f7a6a1cf20aa99e344db177393b78da077c5ef4502366b474f3a7b7bb9 SHA512 cefe09b1b9ab4cddf8f336e178260959cba1a9e6033c31873648e40107e021afa0f05d3cff71256d511651804e9223544dccabc278128b8848c9c2d3b4e8dec7
|
||||||
|
EBUILD wine-staging-9999.ebuild 20129 BLAKE2B a77bab89cf1d863e1f75a8aae1a1dab18206ab1a380ed2c567340b79e705a84f0a79d9f7a6a1cf20aa99e344db177393b78da077c5ef4502366b474f3a7b7bb9 SHA512 cefe09b1b9ab4cddf8f336e178260959cba1a9e6033c31873648e40107e021afa0f05d3cff71256d511651804e9223544dccabc278128b8848c9c2d3b4e8dec7
|
||||||
|
MISC metadata.xml 3726 BLAKE2B 77d0abd355f8c85069f843cccaf16c0c0afe4ea4dc29f6d9111d7127685dfa9dd8e668b7413bac2a1aec2228da7880f72c601eb9f1525e8bc09bab330524863d SHA512 2b732c0519d7d01d0023457e8eb8aa05f06465f3479fa3093712c0ebe25ea103322e19be57cdea2c8df19da42fc29620a8989cfa77719f0f49b7aaa0bded073c
|
||||||
|
@ -0,0 +1,614 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
PLOCALES="ar bg ca cs da de el en en_US eo es fa fi fr he hi hr hu it ja ko lt ml nb_NO nl or pa pl pt_BR pt_PT rm ro ru sk sl sr_RS@cyrillic sr_RS@latin sv te th tr uk wa zh_CN zh_TW"
|
||||||
|
PLOCALE_BACKUP="en"
|
||||||
|
|
||||||
|
inherit autotools eapi7-ver estack eutils flag-o-matic gnome2-utils l10n multilib multilib-minimal pax-utils toolchain-funcs virtualx xdg-utils
|
||||||
|
|
||||||
|
MY_PN="${PN%%-*}"
|
||||||
|
MY_P="${MY_PN}-${PV}"
|
||||||
|
|
||||||
|
if [[ ${PV} == "9999" ]] ; then
|
||||||
|
EGIT_REPO_URI="https://source.winehq.org/git/wine.git"
|
||||||
|
EGIT_BRANCH="master"
|
||||||
|
inherit git-r3
|
||||||
|
SRC_URI=""
|
||||||
|
#KEYWORDS=""
|
||||||
|
else
|
||||||
|
MAJOR_V=$(ver_cut 1)
|
||||||
|
SRC_URI="https://dl.winehq.org/wine/source/${MAJOR_V}.x/${MY_P}.tar.xz"
|
||||||
|
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
|
||||||
|
fi
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
STAGING_P="wine-staging-${PV}"
|
||||||
|
STAGING_DIR="${WORKDIR}/${STAGING_P}"
|
||||||
|
GWP_V="20180120"
|
||||||
|
PATCHDIR="${WORKDIR}/gentoo-wine-patches"
|
||||||
|
|
||||||
|
DESCRIPTION="Free implementation of Windows(tm) on Unix, with Wine-Staging patchset"
|
||||||
|
HOMEPAGE="https://www.winehq.org/"
|
||||||
|
SRC_URI="${SRC_URI}
|
||||||
|
https://dev.gentoo.org/~np-hardass/distfiles/wine/gentoo-wine-patches-${GWP_V}.tar.xz
|
||||||
|
"
|
||||||
|
|
||||||
|
if [[ ${PV} == "9999" ]] ; then
|
||||||
|
STAGING_EGIT_REPO_URI="https://github.com/wine-staging/wine-staging.git"
|
||||||
|
else
|
||||||
|
SRC_URI="${SRC_URI}
|
||||||
|
staging? ( https://github.com/wine-staging/wine-staging/archive/v${PV}.tar.gz -> ${STAGING_P}.tar.gz )"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1"
|
||||||
|
SLOT="${PV}"
|
||||||
|
IUSE="+abi_x86_32 +abi_x86_64 +alsa capi cups custom-cflags dos elibc_glibc ffmpeg +fontconfig +gecko gphoto2 gsm gssapi gstreamer +jpeg kerberos kernel_FreeBSD +lcms ldap +mono mp3 ncurses netapi nls odbc openal opencl +opengl osmesa oss +perl pcap pipelight +png prelink pulseaudio +realtime +run-exes samba scanner sdl selinux +ssl staging test themes +threads +truetype udev +udisks v4l vaapi vkd3d vulkan +X +xcomposite xinerama +xml"
|
||||||
|
REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )
|
||||||
|
X? ( truetype )
|
||||||
|
elibc_glibc? ( threads )
|
||||||
|
ffmpeg? ( staging )
|
||||||
|
osmesa? ( opengl )
|
||||||
|
pipelight? ( staging )
|
||||||
|
test? ( abi_x86_32 )
|
||||||
|
themes? ( staging )
|
||||||
|
vaapi? ( staging )
|
||||||
|
vkd3d? ( vulkan )" # osmesa-opengl #286560 # X-truetype #551124
|
||||||
|
|
||||||
|
# FIXME: the test suite is unsuitable for us; many tests require net access
|
||||||
|
# or fail due to Xvfb's opengl limitations.
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
COMMON_DEPEND="
|
||||||
|
X? (
|
||||||
|
x11-libs/libXcursor[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXext[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXfixes[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXrandr[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXi[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
|
||||||
|
)
|
||||||
|
alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
|
||||||
|
capi? ( net-libs/libcapi[${MULTILIB_USEDEP}] )
|
||||||
|
cups? ( net-print/cups:=[${MULTILIB_USEDEP}] )
|
||||||
|
ffmpeg? ( >=media-video/ffmpeg-4:=[${MULTILIB_USEDEP}] )
|
||||||
|
fontconfig? ( media-libs/fontconfig:=[${MULTILIB_USEDEP}] )
|
||||||
|
gphoto2? ( media-libs/libgphoto2:=[${MULTILIB_USEDEP}] )
|
||||||
|
gsm? ( media-sound/gsm:=[${MULTILIB_USEDEP}] )
|
||||||
|
gssapi? ( virtual/krb5[${MULTILIB_USEDEP}] )
|
||||||
|
gstreamer? (
|
||||||
|
media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
|
||||||
|
media-plugins/gst-plugins-meta:1.0[${MULTILIB_USEDEP}]
|
||||||
|
)
|
||||||
|
jpeg? ( virtual/jpeg:0=[${MULTILIB_USEDEP}] )
|
||||||
|
kerberos? ( virtual/krb5:0=[${MULTILIB_USEDEP}] )
|
||||||
|
lcms? ( media-libs/lcms:2=[${MULTILIB_USEDEP}] )
|
||||||
|
ldap? ( net-nds/openldap:=[${MULTILIB_USEDEP}] )
|
||||||
|
mp3? ( >=media-sound/mpg123-1.5.0[${MULTILIB_USEDEP}] )
|
||||||
|
ncurses? ( >=sys-libs/ncurses-5.2:0=[${MULTILIB_USEDEP}] )
|
||||||
|
netapi? ( net-fs/samba[netapi(+),${MULTILIB_USEDEP}] )
|
||||||
|
nls? ( sys-devel/gettext[${MULTILIB_USEDEP}] )
|
||||||
|
odbc? ( dev-db/unixODBC:=[${MULTILIB_USEDEP}] )
|
||||||
|
openal? ( media-libs/openal:=[${MULTILIB_USEDEP}] )
|
||||||
|
opencl? ( virtual/opencl[${MULTILIB_USEDEP}] )
|
||||||
|
opengl? (
|
||||||
|
virtual/glu[${MULTILIB_USEDEP}]
|
||||||
|
virtual/opengl[${MULTILIB_USEDEP}]
|
||||||
|
)
|
||||||
|
osmesa? ( >=media-libs/mesa-13[osmesa,${MULTILIB_USEDEP}] )
|
||||||
|
pcap? ( net-libs/libpcap[${MULTILIB_USEDEP}] )
|
||||||
|
png? ( media-libs/libpng:0=[${MULTILIB_USEDEP}] )
|
||||||
|
pulseaudio? ( media-sound/pulseaudio[${MULTILIB_USEDEP}] )
|
||||||
|
scanner? ( media-gfx/sane-backends:=[${MULTILIB_USEDEP}] )
|
||||||
|
sdl? ( media-libs/libsdl2:=[haptic,joystick,${MULTILIB_USEDEP}] )
|
||||||
|
ssl? ( net-libs/gnutls:=[${MULTILIB_USEDEP}] )
|
||||||
|
staging? ( sys-apps/attr[${MULTILIB_USEDEP}] )
|
||||||
|
themes? (
|
||||||
|
dev-libs/glib:2[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/cairo[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/gtk+:3[${MULTILIB_USEDEP}]
|
||||||
|
)
|
||||||
|
truetype? ( >=media-libs/freetype-2.0.0[${MULTILIB_USEDEP}] )
|
||||||
|
udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] )
|
||||||
|
udisks? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
|
||||||
|
v4l? ( media-libs/libv4l[${MULTILIB_USEDEP}] )
|
||||||
|
vaapi? ( x11-libs/libva[X,${MULTILIB_USEDEP}] )
|
||||||
|
vkd3d? ( app-emulation/vkd3d[${MULTILIB_USEDEP}] )
|
||||||
|
vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )
|
||||||
|
xcomposite? ( x11-libs/libXcomposite[${MULTILIB_USEDEP}] )
|
||||||
|
xinerama? ( x11-libs/libXinerama[${MULTILIB_USEDEP}] )
|
||||||
|
xml? (
|
||||||
|
dev-libs/libxml2[${MULTILIB_USEDEP}]
|
||||||
|
dev-libs/libxslt[${MULTILIB_USEDEP}]
|
||||||
|
)"
|
||||||
|
|
||||||
|
RDEPEND="${COMMON_DEPEND}
|
||||||
|
app-emulation/wine-desktop-common
|
||||||
|
>app-eselect/eselect-wine-0.3
|
||||||
|
!app-emulation/wine:0
|
||||||
|
dos? ( >=games-emulation/dosbox-0.74_p20160629 )
|
||||||
|
gecko? ( app-emulation/wine-gecko:2.47[abi_x86_32?,abi_x86_64?] )
|
||||||
|
mono? ( app-emulation/wine-mono:4.7.5 )
|
||||||
|
perl? (
|
||||||
|
dev-lang/perl
|
||||||
|
dev-perl/XML-Simple
|
||||||
|
)
|
||||||
|
pulseaudio? (
|
||||||
|
realtime? ( sys-auth/rtkit )
|
||||||
|
)
|
||||||
|
samba? ( >=net-fs/samba-3.0.25[winbind] )
|
||||||
|
selinux? ( sec-policy/selinux-wine )
|
||||||
|
udisks? ( sys-fs/udisks:2 )"
|
||||||
|
|
||||||
|
# tools/make_requests requires perl
|
||||||
|
DEPEND="${COMMON_DEPEND}
|
||||||
|
sys-devel/flex
|
||||||
|
>=sys-kernel/linux-headers-2.6
|
||||||
|
virtual/pkgconfig
|
||||||
|
virtual/yacc
|
||||||
|
X? ( x11-base/xorg-proto )
|
||||||
|
prelink? ( sys-devel/prelink )
|
||||||
|
staging? (
|
||||||
|
dev-lang/perl
|
||||||
|
dev-perl/XML-Simple
|
||||||
|
)
|
||||||
|
xinerama? ( x11-base/xorg-proto )"
|
||||||
|
|
||||||
|
# These use a non-standard "Wine" category, which is provided by
|
||||||
|
# /etc/xdg/applications-merged/wine.menu
|
||||||
|
QA_DESKTOP_FILE="usr/share/applications/wine-browsedrive.desktop
|
||||||
|
usr/share/applications/wine-notepad.desktop
|
||||||
|
usr/share/applications/wine-uninstaller.desktop
|
||||||
|
usr/share/applications/wine-winecfg.desktop"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${PATCHDIR}/patches/${MY_PN}-1.5.26-winegcc.patch" #260726
|
||||||
|
"${PATCHDIR}/patches/${MY_PN}-1.9.5-multilib-portage.patch" #395615
|
||||||
|
"${PATCHDIR}/patches/${MY_PN}-1.6-memset-O3.patch" #480508
|
||||||
|
"${PATCHDIR}/patches/${MY_PN}-2.0-multislot-apploader.patch" #310611
|
||||||
|
)
|
||||||
|
PATCHES_BIN=()
|
||||||
|
|
||||||
|
# https://bugs.gentoo.org/show_bug.cgi?id=635222
|
||||||
|
if [[ ${#PATCHES_BIN[@]} -ge 1 ]] || [[ ${PV} == 9999 ]]; then
|
||||||
|
DEPEND+=" dev-util/patchbin"
|
||||||
|
fi
|
||||||
|
|
||||||
|
wine_compiler_check() {
|
||||||
|
[[ ${MERGE_TYPE} = "binary" ]] && return 0
|
||||||
|
|
||||||
|
# GCC-specific bugs
|
||||||
|
if tc-is-gcc; then
|
||||||
|
# bug #549768
|
||||||
|
if use abi_x86_64 && [[ $(gcc-major-version) = 5 && $(gcc-minor-version) -le 2 ]]; then
|
||||||
|
ebegin "Checking for gcc-5 ms_abi compiler bug"
|
||||||
|
$(tc-getCC) -O2 "${PATCHDIR}/files/pr66838.c" -o "${T}"/pr66838 || die
|
||||||
|
# Run in subshell to prevent "Aborted" message
|
||||||
|
( "${T}"/pr66838 || false ) >/dev/null 2>&1
|
||||||
|
if ! eend $?; then
|
||||||
|
eerror "64-bit wine cannot be built with gcc-5.1 or initial patchset of 5.2.0"
|
||||||
|
eerror "due to compiler bugs; please re-emerge the latest gcc-5.2.x ebuild,"
|
||||||
|
eerror "or use gcc-config to select a different compiler version."
|
||||||
|
eerror "See https://bugs.gentoo.org/549768"
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
# bug #574044
|
||||||
|
if use abi_x86_64 && [[ $(gcc-major-version) = 5 && $(gcc-minor-version) = 3 ]]; then
|
||||||
|
ebegin "Checking for gcc-5-3 stack realignment compiler bug"
|
||||||
|
# Compile in subshell to prevent "Aborted" message
|
||||||
|
( $(tc-getCC) -O2 -mincoming-stack-boundary=3 "${PATCHDIR}/files/pr69140.c" -o "${T}"/pr69140 ) >/dev/null 2>&1
|
||||||
|
if ! eend $?; then
|
||||||
|
eerror "Wine cannot be built with this version of gcc-5.3"
|
||||||
|
eerror "due to compiler bugs; please re-emerge the latest gcc-5.3.x ebuild,"
|
||||||
|
eerror "or use gcc-config to select a different compiler version."
|
||||||
|
eerror "See https://bugs.gentoo.org/574044"
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Ensure compiler support
|
||||||
|
if use abi_x86_64; then
|
||||||
|
ebegin "Checking for 64-bit compiler with builtin_ms_va_list support"
|
||||||
|
# Compile in subshell to prevent "Aborted" message
|
||||||
|
( $(tc-getCC) -O2 "${PATCHDIR}/files/builtin_ms_va_list.c" -o "${T}"/builtin_ms_va_list >/dev/null 2>&1)
|
||||||
|
if ! eend $?; then
|
||||||
|
eerror "This version of $(tc-getCC) does not support builtin_ms_va_list, can't enable 64-bit wine"
|
||||||
|
eerror
|
||||||
|
eerror "You need gcc-4.4+ or clang 3.8+ to build 64-bit wine"
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
wine_build_environment_check() {
|
||||||
|
[[ ${MERGE_TYPE} = "binary" ]] && return 0
|
||||||
|
|
||||||
|
if use abi_x86_64; then
|
||||||
|
if tc-is-gcc && [[ $(gcc-major-version) -lt 4 || ( $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 4 ) ]]; then
|
||||||
|
eerror "You need gcc-4.4+ to compile 64-bit wine"
|
||||||
|
die
|
||||||
|
elif tc-is-clang && [[ $(clang-major-version) -lt 3 || ( $(clang-major-version) -eq 3 && $(clang-minor-version) -lt 8 ) ]]; then
|
||||||
|
eerror "You need clang-3.8+ to compile 64-bit wine"
|
||||||
|
die
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if tc-is-gcc && [[ $(gcc-major-version) -eq 5 && $(gcc-minor-version) -le 3 ]]; then
|
||||||
|
ewarn "GCC-5.0-5.3 suffered from compiler bugs and are no longer supported by"
|
||||||
|
ewarn "Gentoo's Toolchain Team. If your ebuild fails the compiler checks in"
|
||||||
|
ewarn "the configure phase, either update your compiler or switch to <5.0 || >=5.4"
|
||||||
|
fi
|
||||||
|
if tc-is-gcc && [[ $(gcc-major-version) -eq 5 && $(gcc-minor-version) -eq 4 ]]; then
|
||||||
|
if has "-march=i686" ${CFLAGS} && ! has "-mtune=generic" ${CFLAGS}; then
|
||||||
|
ewarn "Compilation can hang with CFLAGS=\"-march=i686\". You can temporarily work"
|
||||||
|
ewarn "around this by adding \"-mtune=generic\" to your CFLAGS for wine."
|
||||||
|
ewarn "See package.env in man 5 portage for more information on how to do this."
|
||||||
|
ewarn "See https://bugs.gentoo.org/show_bug.cgi?id=613128 for more details"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use abi_x86_32 && use opencl && [[ "$(eselect opencl show 2> /dev/null)" == "intel" ]]; then
|
||||||
|
eerror "You cannot build wine with USE=opencl because intel-ocl-sdk is 64-bit only."
|
||||||
|
eerror "See https://bugs.gentoo.org/487864 for more details."
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
wine_env_vcs_vars() {
|
||||||
|
local pn_live_var="${PN//[-+]/_}_LIVE_COMMIT"
|
||||||
|
local pn_live_val="${pn_live_var}"
|
||||||
|
eval pn_live_val='$'${pn_live_val}
|
||||||
|
if [[ ! -z ${pn_live_val} ]]; then
|
||||||
|
if use staging; then
|
||||||
|
eerror "Because of the multi-repo nature of ${MY_PN}, ${pn_live_var}"
|
||||||
|
eerror "cannot be used to set the commit. Instead, you may use the"
|
||||||
|
eerror "environment variables:"
|
||||||
|
eerror " EGIT_OVERRIDE_COMMIT_WINE"
|
||||||
|
eerror " EGIT_OVERRIDE_COMMIT_WINE_STAGING_WINE_STAGING"
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if [[ ! -z ${EGIT_COMMIT} ]]; then
|
||||||
|
eerror "Commits must now be specified using the environment variables:"
|
||||||
|
eerror " EGIT_OVERRIDE_COMMIT_WINE"
|
||||||
|
eerror " EGIT_OVERRIDE_COMMIT_WINE_STAGING_WINE_STAGING"
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_pretend() {
|
||||||
|
wine_build_environment_check || die
|
||||||
|
|
||||||
|
# Verify OSS support
|
||||||
|
if use oss && ! use kernel_FreeBSD; then
|
||||||
|
if ! has_version ">=media-sound/oss-4"; then
|
||||||
|
eerror "You cannot build wine with USE=oss without having support from a"
|
||||||
|
eerror "FreeBSD kernel or >=media-sound/oss-4 (only available through external repos)"
|
||||||
|
eerror
|
||||||
|
die
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
wine_build_environment_check || die
|
||||||
|
wine_env_vcs_vars || die
|
||||||
|
|
||||||
|
WINE_VARIANT="${PN#wine}-${PV}"
|
||||||
|
WINE_VARIANT="${WINE_VARIANT#-}"
|
||||||
|
|
||||||
|
MY_PREFIX="${EPREFIX}/usr/lib/wine-${WINE_VARIANT}"
|
||||||
|
MY_DATAROOTDIR="${EPREFIX}/usr/share/wine-${WINE_VARIANT}"
|
||||||
|
MY_DATADIR="${MY_DATAROOTDIR}"
|
||||||
|
MY_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
|
||||||
|
MY_INCLUDEDIR="${EPREFIX}/usr/include/wine-${WINE_VARIANT}"
|
||||||
|
MY_LIBEXECDIR="${EPREFIX}/usr/libexec/wine-${WINE_VARIANT}"
|
||||||
|
MY_LOCALSTATEDIR="${EPREFIX}/var/wine-${WINE_VARIANT}"
|
||||||
|
MY_MANDIR="${MY_DATADIR}/man"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
if [[ ${PV} == "9999" ]] ; then
|
||||||
|
EGIT_CHECKOUT_DIR="${S}" git-r3_src_unpack
|
||||||
|
if use staging; then
|
||||||
|
local CURRENT_WINE_COMMIT=${EGIT_VERSION}
|
||||||
|
|
||||||
|
EGIT_CHECKOUT_DIR="${STAGING_DIR}" EGIT_REPO_URI="${STAGING_EGIT_REPO_URI}" git-r3_src_unpack
|
||||||
|
|
||||||
|
local COMPAT_WINE_COMMIT=$("${STAGING_DIR}/patches/patchinstall.sh" --upstream-commit) || die
|
||||||
|
|
||||||
|
if [[ "${CURRENT_WINE_COMMIT}" != "${COMPAT_WINE_COMMIT}" ]]; then
|
||||||
|
einfo "The current Staging patchset is not guaranteed to apply on this WINE commit."
|
||||||
|
einfo "If src_prepare fails, try emerging with the env var WINE_COMMIT."
|
||||||
|
einfo "Example: EGIT_OVERRIDE_COMMIT_WINE=${COMPAT_WINE_COMMIT} emerge -1 wine"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
default
|
||||||
|
|
||||||
|
l10n_find_plocales_changes "${S}/po" "" ".po"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
|
||||||
|
eapply_bin(){
|
||||||
|
local patch
|
||||||
|
for patch in ${PATCHES_BIN[@]}; do
|
||||||
|
patchbin --nogit < "${patch}" || die
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
local md5="$(md5sum server/protocol.def)"
|
||||||
|
|
||||||
|
if use staging; then
|
||||||
|
ewarn "Applying the Wine-Staging patchset. Any bug reports to the"
|
||||||
|
ewarn "Wine bugzilla should explicitly state that staging was used."
|
||||||
|
|
||||||
|
local STAGING_EXCLUDE=""
|
||||||
|
use pipelight || STAGING_EXCLUDE="${STAGING_EXCLUDE} -W Pipelight"
|
||||||
|
|
||||||
|
# Launch wine-staging patcher in a subshell, using eapply as a backend, and gitapply.sh as a backend for binary patches
|
||||||
|
ebegin "Running Wine-Staging patch installer"
|
||||||
|
(
|
||||||
|
set -- DESTDIR="${S}" --backend=eapply --no-autoconf --all ${STAGING_EXCLUDE}
|
||||||
|
cd "${STAGING_DIR}/patches"
|
||||||
|
source "${STAGING_DIR}/patches/patchinstall.sh"
|
||||||
|
)
|
||||||
|
eend $? || die "Failed to apply Wine-Staging patches"
|
||||||
|
fi
|
||||||
|
|
||||||
|
default
|
||||||
|
eapply_bin
|
||||||
|
eautoreconf
|
||||||
|
|
||||||
|
# Modification of the server protocol requires regenerating the server requests
|
||||||
|
if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then
|
||||||
|
einfo "server/protocol.def was patched; running tools/make_requests"
|
||||||
|
tools/make_requests || die #432348
|
||||||
|
fi
|
||||||
|
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
|
||||||
|
if ! use run-exes; then
|
||||||
|
sed -i '/^MimeType/d' loader/wine.desktop || die #117785
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Edit wine.desktop to work for specific variant
|
||||||
|
sed -e "/^Exec=/s/wine /wine-${WINE_VARIANT} /" -i loader/wine.desktop || die
|
||||||
|
|
||||||
|
# hi-res default icon, #472990, https://bugs.winehq.org/show_bug.cgi?id=24652
|
||||||
|
cp "${PATCHDIR}/files/oic_winlogo.ico" dlls/user32/resources/ || die
|
||||||
|
|
||||||
|
l10n_get_locales > po/LINGUAS || die # otherwise wine doesn't respect LINGUAS
|
||||||
|
|
||||||
|
# Fix manpage generation for locales #469418 and abi_x86_64 #617864
|
||||||
|
|
||||||
|
# Duplicate manpages input files for wine64
|
||||||
|
local f
|
||||||
|
for f in loader/*.man.in; do
|
||||||
|
cp ${f} ${f/wine/wine64} || die
|
||||||
|
done
|
||||||
|
# Add wine64 manpages to Makefile
|
||||||
|
if use abi_x86_64; then
|
||||||
|
sed -i "/wine.man.in/i \
|
||||||
|
\\\twine64.man.in \\\\" loader/Makefile.in || die
|
||||||
|
sed -i -E 's/(.*wine)(.*\.UTF-8\.man\.in.*)/&\
|
||||||
|
\164\2/' loader/Makefile.in || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm_man_file(){
|
||||||
|
local file="${1}"
|
||||||
|
loc=${2}
|
||||||
|
sed -i "/${loc}\.UTF-8\.man\.in/d" "${file}" || die
|
||||||
|
}
|
||||||
|
|
||||||
|
while read f; do
|
||||||
|
l10n_for_each_disabled_locale_do rm_man_file "${f}"
|
||||||
|
done < <(find -name "Makefile.in" -exec grep -q "UTF-8.man.in" "{}" \; -print)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
wine_compiler_check || die
|
||||||
|
|
||||||
|
export LDCONFIG=/bin/true
|
||||||
|
use custom-cflags || strip-flags
|
||||||
|
|
||||||
|
multilib-minimal_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
local myconf=(
|
||||||
|
--prefix="${MY_PREFIX}"
|
||||||
|
--datarootdir="${MY_DATAROOTDIR}"
|
||||||
|
--datadir="${MY_DATADIR}"
|
||||||
|
--docdir="${MY_DOCDIR}"
|
||||||
|
--includedir="${MY_INCLUDEDIR}"
|
||||||
|
--libdir="${EPREFIX}/usr/$(get_libdir)/wine-${WINE_VARIANT}"
|
||||||
|
--libexecdir="${MY_LIBEXECDIR}"
|
||||||
|
--localstatedir="${MY_LOCALSTATEDIR}"
|
||||||
|
--mandir="${MY_MANDIR}"
|
||||||
|
--sysconfdir=/etc/wine
|
||||||
|
$(use_with alsa)
|
||||||
|
$(use_with capi)
|
||||||
|
$(use_with lcms cms)
|
||||||
|
$(use_with cups)
|
||||||
|
$(use_with ncurses curses)
|
||||||
|
$(use_with udisks dbus)
|
||||||
|
$(use_with ffmpeg)
|
||||||
|
$(use_with fontconfig)
|
||||||
|
$(use_with ssl gnutls)
|
||||||
|
$(use_enable gecko mshtml)
|
||||||
|
$(use_with gphoto2 gphoto)
|
||||||
|
$(use_with gsm)
|
||||||
|
$(use_with gssapi)
|
||||||
|
$(use_with gstreamer)
|
||||||
|
--without-hal
|
||||||
|
$(use_with jpeg)
|
||||||
|
$(use_with kerberos krb5)
|
||||||
|
$(use_with ldap)
|
||||||
|
$(use_enable mono mscoree)
|
||||||
|
$(use_with mp3 mpg123)
|
||||||
|
$(use_with netapi)
|
||||||
|
$(use_with nls gettext)
|
||||||
|
$(use_with openal)
|
||||||
|
$(use_with opencl)
|
||||||
|
$(use_with opengl)
|
||||||
|
$(use_with osmesa)
|
||||||
|
$(use_with oss)
|
||||||
|
$(use_with pcap)
|
||||||
|
$(use_with png)
|
||||||
|
$(use_with pulseaudio pulse)
|
||||||
|
$(use_with threads pthread)
|
||||||
|
$(use_with scanner sane)
|
||||||
|
$(use_with sdl)
|
||||||
|
$(use_enable test tests)
|
||||||
|
$(use_with truetype freetype)
|
||||||
|
$(use_with udev)
|
||||||
|
$(use_with v4l)
|
||||||
|
$(use_with vkd3d)
|
||||||
|
$(use_with vulkan)
|
||||||
|
$(use_with X x)
|
||||||
|
$(use_with X xfixes)
|
||||||
|
$(use_with xcomposite)
|
||||||
|
$(use_with xinerama)
|
||||||
|
$(use_with xml)
|
||||||
|
$(use_with xml xslt)
|
||||||
|
)
|
||||||
|
|
||||||
|
use staging && myconf+=(
|
||||||
|
--with-xattr
|
||||||
|
$(use_with themes gtk3)
|
||||||
|
$(use_with vaapi va)
|
||||||
|
)
|
||||||
|
|
||||||
|
local PKG_CONFIG AR RANLIB
|
||||||
|
# Avoid crossdev's i686-pc-linux-gnu-pkg-config if building wine32 on amd64; #472038
|
||||||
|
# set AR and RANLIB to make QA scripts happy; #483342
|
||||||
|
tc-export PKG_CONFIG AR RANLIB
|
||||||
|
|
||||||
|
if use amd64; then
|
||||||
|
if [[ ${ABI} == amd64 ]]; then
|
||||||
|
myconf+=( --enable-win64 )
|
||||||
|
else
|
||||||
|
myconf+=( --disable-win64 )
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Note: using --with-wine64 results in problems with multilib.eclass
|
||||||
|
# CC/LD hackery. We're using separate tools instead.
|
||||||
|
fi
|
||||||
|
|
||||||
|
ECONF_SOURCE=${S} \
|
||||||
|
econf "${myconf[@]}"
|
||||||
|
emake depend
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_test() {
|
||||||
|
# FIXME: win32-only; wine64 tests fail with "could not find the Wine loader"
|
||||||
|
if [[ ${ABI} == x86 ]]; then
|
||||||
|
if [[ $(id -u) == 0 ]]; then
|
||||||
|
ewarn "Skipping tests since they cannot be run under the root user."
|
||||||
|
ewarn "To run the test ${MY_PN} suite, add userpriv to FEATURES in make.conf"
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
|
WINEPREFIX="${T}/.wine-${ABI}" \
|
||||||
|
Xemake test
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install_all() {
|
||||||
|
local DOCS=( ANNOUNCE AUTHORS README )
|
||||||
|
add_locale_docs() {
|
||||||
|
local locale_doc="documentation/README.$1"
|
||||||
|
[[ ! -e ${locale_doc} ]] || DOCS+=( ${locale_doc} )
|
||||||
|
}
|
||||||
|
l10n_for_each_locale_do add_locale_docs
|
||||||
|
|
||||||
|
einstalldocs
|
||||||
|
prune_libtool_files --all
|
||||||
|
|
||||||
|
if ! use perl ; then # winedump calls function_grep.pl, and winemaker is a perl script
|
||||||
|
rm "${D%/}${MY_PREFIX}"/bin/{wine{dump,maker},function_grep.pl} \
|
||||||
|
"${D%/}${MY_MANDIR}"/man1/wine{dump,maker}.1 || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Remove wineconsole if neither backend is installed #551124
|
||||||
|
if ! use X && ! use ncurses; then
|
||||||
|
rm "${D%/}${MY_PREFIX}"/bin/wineconsole* || die
|
||||||
|
rm "${D%/}${MY_MANDIR}"/man1/wineconsole* || die
|
||||||
|
rm_wineconsole() {
|
||||||
|
rm "${D%/}${MY_PREFIX}/$(get_libdir)"/wine/{,fakedlls/}wineconsole.exe* || die
|
||||||
|
}
|
||||||
|
multilib_foreach_abi rm_wineconsole
|
||||||
|
fi
|
||||||
|
|
||||||
|
use abi_x86_32 && pax-mark psmr "${D%/}${MY_PREFIX}"/bin/wine{,-preloader} #255055
|
||||||
|
use abi_x86_64 && pax-mark psmr "${D%/}${MY_PREFIX}"/bin/wine64{,-preloader}
|
||||||
|
|
||||||
|
if use abi_x86_64 && ! use abi_x86_32; then
|
||||||
|
dosym wine64 "${MY_PREFIX}"/bin/wine # 404331
|
||||||
|
dosym wine64-preloader "${MY_PREFIX}"/bin/wine-preloader
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Failglob for binloops, shouldn't be necessary, but including to stay safe
|
||||||
|
eshopts_push -s failglob #615218
|
||||||
|
# Make wrappers for binaries for handling multiple variants
|
||||||
|
# Note: wrappers instead of symlinks because some are shell which use basename
|
||||||
|
local b
|
||||||
|
for b in "${D%/}${MY_PREFIX}"/bin/*; do
|
||||||
|
make_wrapper "${b##*/}-${WINE_VARIANT}" "${MY_PREFIX}/bin/${b##*/}"
|
||||||
|
done
|
||||||
|
eshopts_pop
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
eselect wine register ${P}
|
||||||
|
if [[ ${PN} == "wine-vanilla" ]]; then
|
||||||
|
eselect wine register --vanilla ${P} || die
|
||||||
|
else
|
||||||
|
if use staging; then
|
||||||
|
eselect wine register --staging ${P} || die
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
eselect wine update --all --if-unset || die
|
||||||
|
|
||||||
|
xdg_desktop_database_update
|
||||||
|
|
||||||
|
if ! use gecko; then
|
||||||
|
ewarn "Without Wine Gecko, wine prefixes will not have a default"
|
||||||
|
ewarn "implementation of iexplore. Many older windows applications"
|
||||||
|
ewarn "rely upon the existence of an iexplore implementation, so"
|
||||||
|
ewarn "you will likely need to install an external one, like via winetricks"
|
||||||
|
fi
|
||||||
|
if ! use mono; then
|
||||||
|
ewarn "Without Wine Mono, wine prefixes will not have a default"
|
||||||
|
ewarn "implementation of .NET. Many windows applications rely upon"
|
||||||
|
ewarn "the existence of a .NET implementation, so you will likely need"
|
||||||
|
ewarn "to install an external one, like via winetricks"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_prerm() {
|
||||||
|
eselect wine deregister ${P}
|
||||||
|
if [[ ${PN} == "wine-vanilla" ]]; then
|
||||||
|
eselect wine deregister --vanilla ${P} || die
|
||||||
|
else
|
||||||
|
if use staging; then
|
||||||
|
eselect wine deregister --staging ${P} || die
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
eselect wine update --all --if-unset || die
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_desktop_database_update
|
||||||
|
}
|
@ -0,0 +1,616 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
PLOCALES="ar bg ca cs da de el en en_US eo es fa fi fr he hi hr hu it ja ko lt ml nb_NO nl or pa pl pt_BR pt_PT rm ro ru sk sl sr_RS@cyrillic sr_RS@latin sv te th tr uk wa zh_CN zh_TW"
|
||||||
|
PLOCALE_BACKUP="en"
|
||||||
|
|
||||||
|
inherit autotools eapi7-ver estack eutils flag-o-matic gnome2-utils l10n multilib multilib-minimal pax-utils toolchain-funcs virtualx xdg-utils
|
||||||
|
|
||||||
|
MY_PN="${PN%%-*}"
|
||||||
|
MY_P="${MY_PN}-${PV}"
|
||||||
|
|
||||||
|
if [[ ${PV} == "9999" ]] ; then
|
||||||
|
EGIT_REPO_URI="https://source.winehq.org/git/wine.git"
|
||||||
|
EGIT_BRANCH="master"
|
||||||
|
inherit git-r3
|
||||||
|
SRC_URI=""
|
||||||
|
#KEYWORDS=""
|
||||||
|
else
|
||||||
|
MAJOR_V=$(ver_cut 1)
|
||||||
|
SRC_URI="https://dl.winehq.org/wine/source/${MAJOR_V}.x/${MY_P}.tar.xz"
|
||||||
|
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
|
||||||
|
fi
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
STAGING_P="wine-staging-${PV}"
|
||||||
|
STAGING_DIR="${WORKDIR}/${STAGING_P}"
|
||||||
|
GWP_V="20180120"
|
||||||
|
PATCHDIR="${WORKDIR}/gentoo-wine-patches"
|
||||||
|
|
||||||
|
DESCRIPTION="Free implementation of Windows(tm) on Unix, with Wine-Staging patchset"
|
||||||
|
HOMEPAGE="https://www.winehq.org/"
|
||||||
|
SRC_URI="${SRC_URI}
|
||||||
|
https://dev.gentoo.org/~np-hardass/distfiles/wine/gentoo-wine-patches-${GWP_V}.tar.xz
|
||||||
|
"
|
||||||
|
|
||||||
|
if [[ ${PV} == "9999" ]] ; then
|
||||||
|
STAGING_EGIT_REPO_URI="https://github.com/wine-staging/wine-staging.git"
|
||||||
|
else
|
||||||
|
SRC_URI="${SRC_URI}
|
||||||
|
staging? ( https://github.com/wine-staging/wine-staging/archive/v${PV}.tar.gz -> ${STAGING_P}.tar.gz )"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1"
|
||||||
|
SLOT="${PV}"
|
||||||
|
IUSE="+abi_x86_32 +abi_x86_64 +alsa capi cups custom-cflags dos elibc_glibc faudio ffmpeg +fontconfig +gecko gphoto2 gsm gssapi gstreamer +jpeg kerberos kernel_FreeBSD +lcms ldap +mono mp3 ncurses netapi nls odbc openal opencl +opengl osmesa oss +perl pcap pipelight +png prelink pulseaudio +realtime +run-exes samba scanner sdl selinux +ssl staging test themes +threads +truetype udev +udisks v4l vaapi vkd3d vulkan +X +xcomposite xinerama +xml"
|
||||||
|
REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )
|
||||||
|
X? ( truetype )
|
||||||
|
elibc_glibc? ( threads )
|
||||||
|
ffmpeg? ( staging )
|
||||||
|
osmesa? ( opengl )
|
||||||
|
pipelight? ( staging )
|
||||||
|
test? ( abi_x86_32 )
|
||||||
|
themes? ( staging )
|
||||||
|
vaapi? ( staging )
|
||||||
|
vkd3d? ( vulkan )" # osmesa-opengl #286560 # X-truetype #551124
|
||||||
|
|
||||||
|
# FIXME: the test suite is unsuitable for us; many tests require net access
|
||||||
|
# or fail due to Xvfb's opengl limitations.
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
COMMON_DEPEND="
|
||||||
|
X? (
|
||||||
|
x11-libs/libXcursor[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXext[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXfixes[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXrandr[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXi[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
|
||||||
|
)
|
||||||
|
alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
|
||||||
|
capi? ( net-libs/libcapi[${MULTILIB_USEDEP}] )
|
||||||
|
cups? ( net-print/cups:=[${MULTILIB_USEDEP}] )
|
||||||
|
faudio? ( app-emulation/faudio:=[${MULTILIB_USEDEP}] )
|
||||||
|
ffmpeg? ( >=media-video/ffmpeg-4:=[${MULTILIB_USEDEP}] )
|
||||||
|
fontconfig? ( media-libs/fontconfig:=[${MULTILIB_USEDEP}] )
|
||||||
|
gphoto2? ( media-libs/libgphoto2:=[${MULTILIB_USEDEP}] )
|
||||||
|
gsm? ( media-sound/gsm:=[${MULTILIB_USEDEP}] )
|
||||||
|
gssapi? ( virtual/krb5[${MULTILIB_USEDEP}] )
|
||||||
|
gstreamer? (
|
||||||
|
media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
|
||||||
|
media-plugins/gst-plugins-meta:1.0[${MULTILIB_USEDEP}]
|
||||||
|
)
|
||||||
|
jpeg? ( virtual/jpeg:0=[${MULTILIB_USEDEP}] )
|
||||||
|
kerberos? ( virtual/krb5:0=[${MULTILIB_USEDEP}] )
|
||||||
|
lcms? ( media-libs/lcms:2=[${MULTILIB_USEDEP}] )
|
||||||
|
ldap? ( net-nds/openldap:=[${MULTILIB_USEDEP}] )
|
||||||
|
mp3? ( >=media-sound/mpg123-1.5.0[${MULTILIB_USEDEP}] )
|
||||||
|
ncurses? ( >=sys-libs/ncurses-5.2:0=[${MULTILIB_USEDEP}] )
|
||||||
|
netapi? ( net-fs/samba[netapi(+),${MULTILIB_USEDEP}] )
|
||||||
|
nls? ( sys-devel/gettext[${MULTILIB_USEDEP}] )
|
||||||
|
odbc? ( dev-db/unixODBC:=[${MULTILIB_USEDEP}] )
|
||||||
|
openal? ( media-libs/openal:=[${MULTILIB_USEDEP}] )
|
||||||
|
opencl? ( virtual/opencl[${MULTILIB_USEDEP}] )
|
||||||
|
opengl? (
|
||||||
|
virtual/glu[${MULTILIB_USEDEP}]
|
||||||
|
virtual/opengl[${MULTILIB_USEDEP}]
|
||||||
|
)
|
||||||
|
osmesa? ( >=media-libs/mesa-13[osmesa,${MULTILIB_USEDEP}] )
|
||||||
|
pcap? ( net-libs/libpcap[${MULTILIB_USEDEP}] )
|
||||||
|
png? ( media-libs/libpng:0=[${MULTILIB_USEDEP}] )
|
||||||
|
pulseaudio? ( media-sound/pulseaudio[${MULTILIB_USEDEP}] )
|
||||||
|
scanner? ( media-gfx/sane-backends:=[${MULTILIB_USEDEP}] )
|
||||||
|
sdl? ( media-libs/libsdl2:=[haptic,joystick,${MULTILIB_USEDEP}] )
|
||||||
|
ssl? ( net-libs/gnutls:=[${MULTILIB_USEDEP}] )
|
||||||
|
staging? ( sys-apps/attr[${MULTILIB_USEDEP}] )
|
||||||
|
themes? (
|
||||||
|
dev-libs/glib:2[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/cairo[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/gtk+:3[${MULTILIB_USEDEP}]
|
||||||
|
)
|
||||||
|
truetype? ( >=media-libs/freetype-2.0.0[${MULTILIB_USEDEP}] )
|
||||||
|
udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] )
|
||||||
|
udisks? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
|
||||||
|
v4l? ( media-libs/libv4l[${MULTILIB_USEDEP}] )
|
||||||
|
vaapi? ( x11-libs/libva[X,${MULTILIB_USEDEP}] )
|
||||||
|
vkd3d? ( app-emulation/vkd3d[${MULTILIB_USEDEP}] )
|
||||||
|
vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )
|
||||||
|
xcomposite? ( x11-libs/libXcomposite[${MULTILIB_USEDEP}] )
|
||||||
|
xinerama? ( x11-libs/libXinerama[${MULTILIB_USEDEP}] )
|
||||||
|
xml? (
|
||||||
|
dev-libs/libxml2[${MULTILIB_USEDEP}]
|
||||||
|
dev-libs/libxslt[${MULTILIB_USEDEP}]
|
||||||
|
)"
|
||||||
|
|
||||||
|
RDEPEND="${COMMON_DEPEND}
|
||||||
|
app-emulation/wine-desktop-common
|
||||||
|
>app-eselect/eselect-wine-0.3
|
||||||
|
!app-emulation/wine:0
|
||||||
|
dos? ( >=games-emulation/dosbox-0.74_p20160629 )
|
||||||
|
gecko? ( app-emulation/wine-gecko:2.47[abi_x86_32?,abi_x86_64?] )
|
||||||
|
mono? ( app-emulation/wine-mono:4.7.5 )
|
||||||
|
perl? (
|
||||||
|
dev-lang/perl
|
||||||
|
dev-perl/XML-Simple
|
||||||
|
)
|
||||||
|
pulseaudio? (
|
||||||
|
realtime? ( sys-auth/rtkit )
|
||||||
|
)
|
||||||
|
samba? ( >=net-fs/samba-3.0.25[winbind] )
|
||||||
|
selinux? ( sec-policy/selinux-wine )
|
||||||
|
udisks? ( sys-fs/udisks:2 )"
|
||||||
|
|
||||||
|
# tools/make_requests requires perl
|
||||||
|
DEPEND="${COMMON_DEPEND}
|
||||||
|
sys-devel/flex
|
||||||
|
>=sys-kernel/linux-headers-2.6
|
||||||
|
virtual/pkgconfig
|
||||||
|
virtual/yacc
|
||||||
|
X? ( x11-base/xorg-proto )
|
||||||
|
prelink? ( sys-devel/prelink )
|
||||||
|
staging? (
|
||||||
|
dev-lang/perl
|
||||||
|
dev-perl/XML-Simple
|
||||||
|
)
|
||||||
|
xinerama? ( x11-base/xorg-proto )"
|
||||||
|
|
||||||
|
# These use a non-standard "Wine" category, which is provided by
|
||||||
|
# /etc/xdg/applications-merged/wine.menu
|
||||||
|
QA_DESKTOP_FILE="usr/share/applications/wine-browsedrive.desktop
|
||||||
|
usr/share/applications/wine-notepad.desktop
|
||||||
|
usr/share/applications/wine-uninstaller.desktop
|
||||||
|
usr/share/applications/wine-winecfg.desktop"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${PATCHDIR}/patches/${MY_PN}-1.5.26-winegcc.patch" #260726
|
||||||
|
"${PATCHDIR}/patches/${MY_PN}-1.9.5-multilib-portage.patch" #395615
|
||||||
|
"${PATCHDIR}/patches/${MY_PN}-1.6-memset-O3.patch" #480508
|
||||||
|
"${PATCHDIR}/patches/${MY_PN}-2.0-multislot-apploader.patch" #310611
|
||||||
|
)
|
||||||
|
PATCHES_BIN=()
|
||||||
|
|
||||||
|
# https://bugs.gentoo.org/show_bug.cgi?id=635222
|
||||||
|
if [[ ${#PATCHES_BIN[@]} -ge 1 ]] || [[ ${PV} == 9999 ]]; then
|
||||||
|
DEPEND+=" dev-util/patchbin"
|
||||||
|
fi
|
||||||
|
|
||||||
|
wine_compiler_check() {
|
||||||
|
[[ ${MERGE_TYPE} = "binary" ]] && return 0
|
||||||
|
|
||||||
|
# GCC-specific bugs
|
||||||
|
if tc-is-gcc; then
|
||||||
|
# bug #549768
|
||||||
|
if use abi_x86_64 && [[ $(gcc-major-version) = 5 && $(gcc-minor-version) -le 2 ]]; then
|
||||||
|
ebegin "Checking for gcc-5 ms_abi compiler bug"
|
||||||
|
$(tc-getCC) -O2 "${PATCHDIR}/files/pr66838.c" -o "${T}"/pr66838 || die
|
||||||
|
# Run in subshell to prevent "Aborted" message
|
||||||
|
( "${T}"/pr66838 || false ) >/dev/null 2>&1
|
||||||
|
if ! eend $?; then
|
||||||
|
eerror "64-bit wine cannot be built with gcc-5.1 or initial patchset of 5.2.0"
|
||||||
|
eerror "due to compiler bugs; please re-emerge the latest gcc-5.2.x ebuild,"
|
||||||
|
eerror "or use gcc-config to select a different compiler version."
|
||||||
|
eerror "See https://bugs.gentoo.org/549768"
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
# bug #574044
|
||||||
|
if use abi_x86_64 && [[ $(gcc-major-version) = 5 && $(gcc-minor-version) = 3 ]]; then
|
||||||
|
ebegin "Checking for gcc-5-3 stack realignment compiler bug"
|
||||||
|
# Compile in subshell to prevent "Aborted" message
|
||||||
|
( $(tc-getCC) -O2 -mincoming-stack-boundary=3 "${PATCHDIR}/files/pr69140.c" -o "${T}"/pr69140 ) >/dev/null 2>&1
|
||||||
|
if ! eend $?; then
|
||||||
|
eerror "Wine cannot be built with this version of gcc-5.3"
|
||||||
|
eerror "due to compiler bugs; please re-emerge the latest gcc-5.3.x ebuild,"
|
||||||
|
eerror "or use gcc-config to select a different compiler version."
|
||||||
|
eerror "See https://bugs.gentoo.org/574044"
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Ensure compiler support
|
||||||
|
if use abi_x86_64; then
|
||||||
|
ebegin "Checking for 64-bit compiler with builtin_ms_va_list support"
|
||||||
|
# Compile in subshell to prevent "Aborted" message
|
||||||
|
( $(tc-getCC) -O2 "${PATCHDIR}/files/builtin_ms_va_list.c" -o "${T}"/builtin_ms_va_list >/dev/null 2>&1)
|
||||||
|
if ! eend $?; then
|
||||||
|
eerror "This version of $(tc-getCC) does not support builtin_ms_va_list, can't enable 64-bit wine"
|
||||||
|
eerror
|
||||||
|
eerror "You need gcc-4.4+ or clang 3.8+ to build 64-bit wine"
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
wine_build_environment_check() {
|
||||||
|
[[ ${MERGE_TYPE} = "binary" ]] && return 0
|
||||||
|
|
||||||
|
if use abi_x86_64; then
|
||||||
|
if tc-is-gcc && [[ $(gcc-major-version) -lt 4 || ( $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 4 ) ]]; then
|
||||||
|
eerror "You need gcc-4.4+ to compile 64-bit wine"
|
||||||
|
die
|
||||||
|
elif tc-is-clang && [[ $(clang-major-version) -lt 3 || ( $(clang-major-version) -eq 3 && $(clang-minor-version) -lt 8 ) ]]; then
|
||||||
|
eerror "You need clang-3.8+ to compile 64-bit wine"
|
||||||
|
die
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if tc-is-gcc && [[ $(gcc-major-version) -eq 5 && $(gcc-minor-version) -le 3 ]]; then
|
||||||
|
ewarn "GCC-5.0-5.3 suffered from compiler bugs and are no longer supported by"
|
||||||
|
ewarn "Gentoo's Toolchain Team. If your ebuild fails the compiler checks in"
|
||||||
|
ewarn "the configure phase, either update your compiler or switch to <5.0 || >=5.4"
|
||||||
|
fi
|
||||||
|
if tc-is-gcc && [[ $(gcc-major-version) -eq 5 && $(gcc-minor-version) -eq 4 ]]; then
|
||||||
|
if has "-march=i686" ${CFLAGS} && ! has "-mtune=generic" ${CFLAGS}; then
|
||||||
|
ewarn "Compilation can hang with CFLAGS=\"-march=i686\". You can temporarily work"
|
||||||
|
ewarn "around this by adding \"-mtune=generic\" to your CFLAGS for wine."
|
||||||
|
ewarn "See package.env in man 5 portage for more information on how to do this."
|
||||||
|
ewarn "See https://bugs.gentoo.org/show_bug.cgi?id=613128 for more details"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use abi_x86_32 && use opencl && [[ "$(eselect opencl show 2> /dev/null)" == "intel" ]]; then
|
||||||
|
eerror "You cannot build wine with USE=opencl because intel-ocl-sdk is 64-bit only."
|
||||||
|
eerror "See https://bugs.gentoo.org/487864 for more details."
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
wine_env_vcs_vars() {
|
||||||
|
local pn_live_var="${PN//[-+]/_}_LIVE_COMMIT"
|
||||||
|
local pn_live_val="${pn_live_var}"
|
||||||
|
eval pn_live_val='$'${pn_live_val}
|
||||||
|
if [[ ! -z ${pn_live_val} ]]; then
|
||||||
|
if use staging; then
|
||||||
|
eerror "Because of the multi-repo nature of ${MY_PN}, ${pn_live_var}"
|
||||||
|
eerror "cannot be used to set the commit. Instead, you may use the"
|
||||||
|
eerror "environment variables:"
|
||||||
|
eerror " EGIT_OVERRIDE_COMMIT_WINE"
|
||||||
|
eerror " EGIT_OVERRIDE_COMMIT_WINE_STAGING_WINE_STAGING"
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if [[ ! -z ${EGIT_COMMIT} ]]; then
|
||||||
|
eerror "Commits must now be specified using the environment variables:"
|
||||||
|
eerror " EGIT_OVERRIDE_COMMIT_WINE"
|
||||||
|
eerror " EGIT_OVERRIDE_COMMIT_WINE_STAGING_WINE_STAGING"
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_pretend() {
|
||||||
|
wine_build_environment_check || die
|
||||||
|
|
||||||
|
# Verify OSS support
|
||||||
|
if use oss && ! use kernel_FreeBSD; then
|
||||||
|
if ! has_version ">=media-sound/oss-4"; then
|
||||||
|
eerror "You cannot build wine with USE=oss without having support from a"
|
||||||
|
eerror "FreeBSD kernel or >=media-sound/oss-4 (only available through external repos)"
|
||||||
|
eerror
|
||||||
|
die
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
wine_build_environment_check || die
|
||||||
|
wine_env_vcs_vars || die
|
||||||
|
|
||||||
|
WINE_VARIANT="${PN#wine}-${PV}"
|
||||||
|
WINE_VARIANT="${WINE_VARIANT#-}"
|
||||||
|
|
||||||
|
MY_PREFIX="${EPREFIX}/usr/lib/wine-${WINE_VARIANT}"
|
||||||
|
MY_DATAROOTDIR="${EPREFIX}/usr/share/wine-${WINE_VARIANT}"
|
||||||
|
MY_DATADIR="${MY_DATAROOTDIR}"
|
||||||
|
MY_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
|
||||||
|
MY_INCLUDEDIR="${EPREFIX}/usr/include/wine-${WINE_VARIANT}"
|
||||||
|
MY_LIBEXECDIR="${EPREFIX}/usr/libexec/wine-${WINE_VARIANT}"
|
||||||
|
MY_LOCALSTATEDIR="${EPREFIX}/var/wine-${WINE_VARIANT}"
|
||||||
|
MY_MANDIR="${MY_DATADIR}/man"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
if [[ ${PV} == "9999" ]] ; then
|
||||||
|
EGIT_CHECKOUT_DIR="${S}" git-r3_src_unpack
|
||||||
|
if use staging; then
|
||||||
|
local CURRENT_WINE_COMMIT=${EGIT_VERSION}
|
||||||
|
|
||||||
|
EGIT_CHECKOUT_DIR="${STAGING_DIR}" EGIT_REPO_URI="${STAGING_EGIT_REPO_URI}" git-r3_src_unpack
|
||||||
|
|
||||||
|
local COMPAT_WINE_COMMIT=$("${STAGING_DIR}/patches/patchinstall.sh" --upstream-commit) || die
|
||||||
|
|
||||||
|
if [[ "${CURRENT_WINE_COMMIT}" != "${COMPAT_WINE_COMMIT}" ]]; then
|
||||||
|
einfo "The current Staging patchset is not guaranteed to apply on this WINE commit."
|
||||||
|
einfo "If src_prepare fails, try emerging with the env var WINE_COMMIT."
|
||||||
|
einfo "Example: EGIT_OVERRIDE_COMMIT_WINE=${COMPAT_WINE_COMMIT} emerge -1 wine"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
default
|
||||||
|
|
||||||
|
l10n_find_plocales_changes "${S}/po" "" ".po"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
|
||||||
|
eapply_bin(){
|
||||||
|
local patch
|
||||||
|
for patch in ${PATCHES_BIN[@]}; do
|
||||||
|
patchbin --nogit < "${patch}" || die
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
local md5="$(md5sum server/protocol.def)"
|
||||||
|
|
||||||
|
if use staging; then
|
||||||
|
ewarn "Applying the Wine-Staging patchset. Any bug reports to the"
|
||||||
|
ewarn "Wine bugzilla should explicitly state that staging was used."
|
||||||
|
|
||||||
|
local STAGING_EXCLUDE=""
|
||||||
|
use pipelight || STAGING_EXCLUDE="${STAGING_EXCLUDE} -W Pipelight"
|
||||||
|
|
||||||
|
# Launch wine-staging patcher in a subshell, using eapply as a backend, and gitapply.sh as a backend for binary patches
|
||||||
|
ebegin "Running Wine-Staging patch installer"
|
||||||
|
(
|
||||||
|
set -- DESTDIR="${S}" --backend=eapply --no-autoconf --all ${STAGING_EXCLUDE}
|
||||||
|
cd "${STAGING_DIR}/patches"
|
||||||
|
source "${STAGING_DIR}/patches/patchinstall.sh"
|
||||||
|
)
|
||||||
|
eend $? || die "Failed to apply Wine-Staging patches"
|
||||||
|
fi
|
||||||
|
|
||||||
|
default
|
||||||
|
eapply_bin
|
||||||
|
eautoreconf
|
||||||
|
|
||||||
|
# Modification of the server protocol requires regenerating the server requests
|
||||||
|
if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then
|
||||||
|
einfo "server/protocol.def was patched; running tools/make_requests"
|
||||||
|
tools/make_requests || die #432348
|
||||||
|
fi
|
||||||
|
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
|
||||||
|
if ! use run-exes; then
|
||||||
|
sed -i '/^MimeType/d' loader/wine.desktop || die #117785
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Edit wine.desktop to work for specific variant
|
||||||
|
sed -e "/^Exec=/s/wine /wine-${WINE_VARIANT} /" -i loader/wine.desktop || die
|
||||||
|
|
||||||
|
# hi-res default icon, #472990, https://bugs.winehq.org/show_bug.cgi?id=24652
|
||||||
|
cp "${PATCHDIR}/files/oic_winlogo.ico" dlls/user32/resources/ || die
|
||||||
|
|
||||||
|
l10n_get_locales > po/LINGUAS || die # otherwise wine doesn't respect LINGUAS
|
||||||
|
|
||||||
|
# Fix manpage generation for locales #469418 and abi_x86_64 #617864
|
||||||
|
|
||||||
|
# Duplicate manpages input files for wine64
|
||||||
|
local f
|
||||||
|
for f in loader/*.man.in; do
|
||||||
|
cp ${f} ${f/wine/wine64} || die
|
||||||
|
done
|
||||||
|
# Add wine64 manpages to Makefile
|
||||||
|
if use abi_x86_64; then
|
||||||
|
sed -i "/wine.man.in/i \
|
||||||
|
\\\twine64.man.in \\\\" loader/Makefile.in || die
|
||||||
|
sed -i -E 's/(.*wine)(.*\.UTF-8\.man\.in.*)/&\
|
||||||
|
\164\2/' loader/Makefile.in || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm_man_file(){
|
||||||
|
local file="${1}"
|
||||||
|
loc=${2}
|
||||||
|
sed -i "/${loc}\.UTF-8\.man\.in/d" "${file}" || die
|
||||||
|
}
|
||||||
|
|
||||||
|
while read f; do
|
||||||
|
l10n_for_each_disabled_locale_do rm_man_file "${f}"
|
||||||
|
done < <(find -name "Makefile.in" -exec grep -q "UTF-8.man.in" "{}" \; -print)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
wine_compiler_check || die
|
||||||
|
|
||||||
|
export LDCONFIG=/bin/true
|
||||||
|
use custom-cflags || strip-flags
|
||||||
|
|
||||||
|
multilib-minimal_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
local myconf=(
|
||||||
|
--prefix="${MY_PREFIX}"
|
||||||
|
--datarootdir="${MY_DATAROOTDIR}"
|
||||||
|
--datadir="${MY_DATADIR}"
|
||||||
|
--docdir="${MY_DOCDIR}"
|
||||||
|
--includedir="${MY_INCLUDEDIR}"
|
||||||
|
--libdir="${EPREFIX}/usr/$(get_libdir)/wine-${WINE_VARIANT}"
|
||||||
|
--libexecdir="${MY_LIBEXECDIR}"
|
||||||
|
--localstatedir="${MY_LOCALSTATEDIR}"
|
||||||
|
--mandir="${MY_MANDIR}"
|
||||||
|
--sysconfdir=/etc/wine
|
||||||
|
$(use_with alsa)
|
||||||
|
$(use_with capi)
|
||||||
|
$(use_with lcms cms)
|
||||||
|
$(use_with cups)
|
||||||
|
$(use_with ncurses curses)
|
||||||
|
$(use_with udisks dbus)
|
||||||
|
$(use_with faudio)
|
||||||
|
$(use_with ffmpeg)
|
||||||
|
$(use_with fontconfig)
|
||||||
|
$(use_with ssl gnutls)
|
||||||
|
$(use_enable gecko mshtml)
|
||||||
|
$(use_with gphoto2 gphoto)
|
||||||
|
$(use_with gsm)
|
||||||
|
$(use_with gssapi)
|
||||||
|
$(use_with gstreamer)
|
||||||
|
--without-hal
|
||||||
|
$(use_with jpeg)
|
||||||
|
$(use_with kerberos krb5)
|
||||||
|
$(use_with ldap)
|
||||||
|
$(use_enable mono mscoree)
|
||||||
|
$(use_with mp3 mpg123)
|
||||||
|
$(use_with netapi)
|
||||||
|
$(use_with nls gettext)
|
||||||
|
$(use_with openal)
|
||||||
|
$(use_with opencl)
|
||||||
|
$(use_with opengl)
|
||||||
|
$(use_with osmesa)
|
||||||
|
$(use_with oss)
|
||||||
|
$(use_with pcap)
|
||||||
|
$(use_with png)
|
||||||
|
$(use_with pulseaudio pulse)
|
||||||
|
$(use_with threads pthread)
|
||||||
|
$(use_with scanner sane)
|
||||||
|
$(use_with sdl)
|
||||||
|
$(use_enable test tests)
|
||||||
|
$(use_with truetype freetype)
|
||||||
|
$(use_with udev)
|
||||||
|
$(use_with v4l)
|
||||||
|
$(use_with vkd3d)
|
||||||
|
$(use_with vulkan)
|
||||||
|
$(use_with X x)
|
||||||
|
$(use_with X xfixes)
|
||||||
|
$(use_with xcomposite)
|
||||||
|
$(use_with xinerama)
|
||||||
|
$(use_with xml)
|
||||||
|
$(use_with xml xslt)
|
||||||
|
)
|
||||||
|
|
||||||
|
use staging && myconf+=(
|
||||||
|
--with-xattr
|
||||||
|
$(use_with themes gtk3)
|
||||||
|
$(use_with vaapi va)
|
||||||
|
)
|
||||||
|
|
||||||
|
local PKG_CONFIG AR RANLIB
|
||||||
|
# Avoid crossdev's i686-pc-linux-gnu-pkg-config if building wine32 on amd64; #472038
|
||||||
|
# set AR and RANLIB to make QA scripts happy; #483342
|
||||||
|
tc-export PKG_CONFIG AR RANLIB
|
||||||
|
|
||||||
|
if use amd64; then
|
||||||
|
if [[ ${ABI} == amd64 ]]; then
|
||||||
|
myconf+=( --enable-win64 )
|
||||||
|
else
|
||||||
|
myconf+=( --disable-win64 )
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Note: using --with-wine64 results in problems with multilib.eclass
|
||||||
|
# CC/LD hackery. We're using separate tools instead.
|
||||||
|
fi
|
||||||
|
|
||||||
|
ECONF_SOURCE=${S} \
|
||||||
|
econf "${myconf[@]}"
|
||||||
|
emake depend
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_test() {
|
||||||
|
# FIXME: win32-only; wine64 tests fail with "could not find the Wine loader"
|
||||||
|
if [[ ${ABI} == x86 ]]; then
|
||||||
|
if [[ $(id -u) == 0 ]]; then
|
||||||
|
ewarn "Skipping tests since they cannot be run under the root user."
|
||||||
|
ewarn "To run the test ${MY_PN} suite, add userpriv to FEATURES in make.conf"
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
|
WINEPREFIX="${T}/.wine-${ABI}" \
|
||||||
|
Xemake test
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install_all() {
|
||||||
|
local DOCS=( ANNOUNCE AUTHORS README )
|
||||||
|
add_locale_docs() {
|
||||||
|
local locale_doc="documentation/README.$1"
|
||||||
|
[[ ! -e ${locale_doc} ]] || DOCS+=( ${locale_doc} )
|
||||||
|
}
|
||||||
|
l10n_for_each_locale_do add_locale_docs
|
||||||
|
|
||||||
|
einstalldocs
|
||||||
|
prune_libtool_files --all
|
||||||
|
|
||||||
|
if ! use perl ; then # winedump calls function_grep.pl, and winemaker is a perl script
|
||||||
|
rm "${D%/}${MY_PREFIX}"/bin/{wine{dump,maker},function_grep.pl} \
|
||||||
|
"${D%/}${MY_MANDIR}"/man1/wine{dump,maker}.1 || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Remove wineconsole if neither backend is installed #551124
|
||||||
|
if ! use X && ! use ncurses; then
|
||||||
|
rm "${D%/}${MY_PREFIX}"/bin/wineconsole* || die
|
||||||
|
rm "${D%/}${MY_MANDIR}"/man1/wineconsole* || die
|
||||||
|
rm_wineconsole() {
|
||||||
|
rm "${D%/}${MY_PREFIX}/$(get_libdir)"/wine/{,fakedlls/}wineconsole.exe* || die
|
||||||
|
}
|
||||||
|
multilib_foreach_abi rm_wineconsole
|
||||||
|
fi
|
||||||
|
|
||||||
|
use abi_x86_32 && pax-mark psmr "${D%/}${MY_PREFIX}"/bin/wine{,-preloader} #255055
|
||||||
|
use abi_x86_64 && pax-mark psmr "${D%/}${MY_PREFIX}"/bin/wine64{,-preloader}
|
||||||
|
|
||||||
|
if use abi_x86_64 && ! use abi_x86_32; then
|
||||||
|
dosym wine64 "${MY_PREFIX}"/bin/wine # 404331
|
||||||
|
dosym wine64-preloader "${MY_PREFIX}"/bin/wine-preloader
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Failglob for binloops, shouldn't be necessary, but including to stay safe
|
||||||
|
eshopts_push -s failglob #615218
|
||||||
|
# Make wrappers for binaries for handling multiple variants
|
||||||
|
# Note: wrappers instead of symlinks because some are shell which use basename
|
||||||
|
local b
|
||||||
|
for b in "${D%/}${MY_PREFIX}"/bin/*; do
|
||||||
|
make_wrapper "${b##*/}-${WINE_VARIANT}" "${MY_PREFIX}/bin/${b##*/}"
|
||||||
|
done
|
||||||
|
eshopts_pop
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
eselect wine register ${P}
|
||||||
|
if [[ ${PN} == "wine-vanilla" ]]; then
|
||||||
|
eselect wine register --vanilla ${P} || die
|
||||||
|
else
|
||||||
|
if use staging; then
|
||||||
|
eselect wine register --staging ${P} || die
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
eselect wine update --all --if-unset || die
|
||||||
|
|
||||||
|
xdg_desktop_database_update
|
||||||
|
|
||||||
|
if ! use gecko; then
|
||||||
|
ewarn "Without Wine Gecko, wine prefixes will not have a default"
|
||||||
|
ewarn "implementation of iexplore. Many older windows applications"
|
||||||
|
ewarn "rely upon the existence of an iexplore implementation, so"
|
||||||
|
ewarn "you will likely need to install an external one, like via winetricks"
|
||||||
|
fi
|
||||||
|
if ! use mono; then
|
||||||
|
ewarn "Without Wine Mono, wine prefixes will not have a default"
|
||||||
|
ewarn "implementation of .NET. Many windows applications rely upon"
|
||||||
|
ewarn "the existence of a .NET implementation, so you will likely need"
|
||||||
|
ewarn "to install an external one, like via winetricks"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_prerm() {
|
||||||
|
eselect wine deregister ${P}
|
||||||
|
if [[ ${PN} == "wine-vanilla" ]]; then
|
||||||
|
eselect wine deregister --vanilla ${P} || die
|
||||||
|
else
|
||||||
|
if use staging; then
|
||||||
|
eselect wine deregister --staging ${P} || die
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
eselect wine update --all --if-unset || die
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_desktop_database_update
|
||||||
|
}
|
@ -0,0 +1,616 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
PLOCALES="ar bg ca cs da de el en en_US eo es fa fi fr he hi hr hu it ja ko lt ml nb_NO nl or pa pl pt_BR pt_PT rm ro ru sk sl sr_RS@cyrillic sr_RS@latin sv te th tr uk wa zh_CN zh_TW"
|
||||||
|
PLOCALE_BACKUP="en"
|
||||||
|
|
||||||
|
inherit autotools eapi7-ver estack eutils flag-o-matic gnome2-utils l10n multilib multilib-minimal pax-utils toolchain-funcs virtualx xdg-utils
|
||||||
|
|
||||||
|
MY_PN="${PN%%-*}"
|
||||||
|
MY_P="${MY_PN}-${PV}"
|
||||||
|
|
||||||
|
if [[ ${PV} == "9999" ]] ; then
|
||||||
|
EGIT_REPO_URI="https://source.winehq.org/git/wine.git"
|
||||||
|
EGIT_BRANCH="master"
|
||||||
|
inherit git-r3
|
||||||
|
SRC_URI=""
|
||||||
|
#KEYWORDS=""
|
||||||
|
else
|
||||||
|
MAJOR_V=$(ver_cut 1)
|
||||||
|
SRC_URI="https://dl.winehq.org/wine/source/${MAJOR_V}.x/${MY_P}.tar.xz"
|
||||||
|
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
|
||||||
|
fi
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
STAGING_P="wine-staging-${PV}"
|
||||||
|
STAGING_DIR="${WORKDIR}/${STAGING_P}"
|
||||||
|
GWP_V="20190316"
|
||||||
|
PATCHDIR="${WORKDIR}/gentoo-wine-patches"
|
||||||
|
|
||||||
|
DESCRIPTION="Free implementation of Windows(tm) on Unix, with Wine-Staging patchset"
|
||||||
|
HOMEPAGE="https://www.winehq.org/"
|
||||||
|
SRC_URI="${SRC_URI}
|
||||||
|
https://dev.gentoo.org/~np-hardass/distfiles/wine/gentoo-wine-patches-${GWP_V}.tar.xz
|
||||||
|
"
|
||||||
|
|
||||||
|
if [[ ${PV} == "9999" ]] ; then
|
||||||
|
STAGING_EGIT_REPO_URI="https://github.com/wine-staging/wine-staging.git"
|
||||||
|
else
|
||||||
|
SRC_URI="${SRC_URI}
|
||||||
|
staging? ( https://github.com/wine-staging/wine-staging/archive/v${PV}.tar.gz -> ${STAGING_P}.tar.gz )"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1"
|
||||||
|
SLOT="${PV}"
|
||||||
|
IUSE="+abi_x86_32 +abi_x86_64 +alsa capi cups custom-cflags dos elibc_glibc faudio ffmpeg +fontconfig +gecko gphoto2 gsm gssapi gstreamer +jpeg kerberos kernel_FreeBSD +lcms ldap +mono mp3 ncurses netapi nls odbc openal opencl +opengl osmesa oss +perl pcap pipelight +png prelink pulseaudio +realtime +run-exes samba scanner sdl selinux +ssl staging test themes +threads +truetype udev +udisks v4l vaapi vkd3d vulkan +X +xcomposite xinerama +xml"
|
||||||
|
REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )
|
||||||
|
X? ( truetype )
|
||||||
|
elibc_glibc? ( threads )
|
||||||
|
ffmpeg? ( staging )
|
||||||
|
osmesa? ( opengl )
|
||||||
|
pipelight? ( staging )
|
||||||
|
test? ( abi_x86_32 )
|
||||||
|
themes? ( staging )
|
||||||
|
vaapi? ( staging )
|
||||||
|
vkd3d? ( vulkan )" # osmesa-opengl #286560 # X-truetype #551124
|
||||||
|
|
||||||
|
# FIXME: the test suite is unsuitable for us; many tests require net access
|
||||||
|
# or fail due to Xvfb's opengl limitations.
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
COMMON_DEPEND="
|
||||||
|
X? (
|
||||||
|
x11-libs/libXcursor[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXext[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXfixes[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXrandr[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXi[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
|
||||||
|
)
|
||||||
|
alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
|
||||||
|
capi? ( net-libs/libcapi[${MULTILIB_USEDEP}] )
|
||||||
|
cups? ( net-print/cups:=[${MULTILIB_USEDEP}] )
|
||||||
|
faudio? ( app-emulation/faudio:=[${MULTILIB_USEDEP}] )
|
||||||
|
ffmpeg? ( >=media-video/ffmpeg-4:=[${MULTILIB_USEDEP}] )
|
||||||
|
fontconfig? ( media-libs/fontconfig:=[${MULTILIB_USEDEP}] )
|
||||||
|
gphoto2? ( media-libs/libgphoto2:=[${MULTILIB_USEDEP}] )
|
||||||
|
gsm? ( media-sound/gsm:=[${MULTILIB_USEDEP}] )
|
||||||
|
gssapi? ( virtual/krb5[${MULTILIB_USEDEP}] )
|
||||||
|
gstreamer? (
|
||||||
|
media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
|
||||||
|
media-plugins/gst-plugins-meta:1.0[${MULTILIB_USEDEP}]
|
||||||
|
)
|
||||||
|
jpeg? ( virtual/jpeg:0=[${MULTILIB_USEDEP}] )
|
||||||
|
kerberos? ( virtual/krb5:0=[${MULTILIB_USEDEP}] )
|
||||||
|
lcms? ( media-libs/lcms:2=[${MULTILIB_USEDEP}] )
|
||||||
|
ldap? ( net-nds/openldap:=[${MULTILIB_USEDEP}] )
|
||||||
|
mp3? ( >=media-sound/mpg123-1.5.0[${MULTILIB_USEDEP}] )
|
||||||
|
ncurses? ( >=sys-libs/ncurses-5.2:0=[${MULTILIB_USEDEP}] )
|
||||||
|
netapi? ( net-fs/samba[netapi(+),${MULTILIB_USEDEP}] )
|
||||||
|
nls? ( sys-devel/gettext[${MULTILIB_USEDEP}] )
|
||||||
|
odbc? ( dev-db/unixODBC:=[${MULTILIB_USEDEP}] )
|
||||||
|
openal? ( media-libs/openal:=[${MULTILIB_USEDEP}] )
|
||||||
|
opencl? ( virtual/opencl[${MULTILIB_USEDEP}] )
|
||||||
|
opengl? (
|
||||||
|
virtual/glu[${MULTILIB_USEDEP}]
|
||||||
|
virtual/opengl[${MULTILIB_USEDEP}]
|
||||||
|
)
|
||||||
|
osmesa? ( >=media-libs/mesa-13[osmesa,${MULTILIB_USEDEP}] )
|
||||||
|
pcap? ( net-libs/libpcap[${MULTILIB_USEDEP}] )
|
||||||
|
png? ( media-libs/libpng:0=[${MULTILIB_USEDEP}] )
|
||||||
|
pulseaudio? ( media-sound/pulseaudio[${MULTILIB_USEDEP}] )
|
||||||
|
scanner? ( media-gfx/sane-backends:=[${MULTILIB_USEDEP}] )
|
||||||
|
sdl? ( media-libs/libsdl2:=[haptic,joystick,${MULTILIB_USEDEP}] )
|
||||||
|
ssl? ( net-libs/gnutls:=[${MULTILIB_USEDEP}] )
|
||||||
|
staging? ( sys-apps/attr[${MULTILIB_USEDEP}] )
|
||||||
|
themes? (
|
||||||
|
dev-libs/glib:2[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/cairo[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/gtk+:3[${MULTILIB_USEDEP}]
|
||||||
|
)
|
||||||
|
truetype? ( >=media-libs/freetype-2.0.0[${MULTILIB_USEDEP}] )
|
||||||
|
udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] )
|
||||||
|
udisks? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
|
||||||
|
v4l? ( media-libs/libv4l[${MULTILIB_USEDEP}] )
|
||||||
|
vaapi? ( x11-libs/libva[X,${MULTILIB_USEDEP}] )
|
||||||
|
vkd3d? ( app-emulation/vkd3d[${MULTILIB_USEDEP}] )
|
||||||
|
vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )
|
||||||
|
xcomposite? ( x11-libs/libXcomposite[${MULTILIB_USEDEP}] )
|
||||||
|
xinerama? ( x11-libs/libXinerama[${MULTILIB_USEDEP}] )
|
||||||
|
xml? (
|
||||||
|
dev-libs/libxml2[${MULTILIB_USEDEP}]
|
||||||
|
dev-libs/libxslt[${MULTILIB_USEDEP}]
|
||||||
|
)"
|
||||||
|
|
||||||
|
RDEPEND="${COMMON_DEPEND}
|
||||||
|
app-emulation/wine-desktop-common
|
||||||
|
>app-eselect/eselect-wine-0.3
|
||||||
|
!app-emulation/wine:0
|
||||||
|
dos? ( >=games-emulation/dosbox-0.74_p20160629 )
|
||||||
|
gecko? ( app-emulation/wine-gecko:2.47[abi_x86_32?,abi_x86_64?] )
|
||||||
|
mono? ( app-emulation/wine-mono:4.7.5 )
|
||||||
|
perl? (
|
||||||
|
dev-lang/perl
|
||||||
|
dev-perl/XML-Simple
|
||||||
|
)
|
||||||
|
pulseaudio? (
|
||||||
|
realtime? ( sys-auth/rtkit )
|
||||||
|
)
|
||||||
|
samba? ( >=net-fs/samba-3.0.25[winbind] )
|
||||||
|
selinux? ( sec-policy/selinux-wine )
|
||||||
|
udisks? ( sys-fs/udisks:2 )"
|
||||||
|
|
||||||
|
# tools/make_requests requires perl
|
||||||
|
DEPEND="${COMMON_DEPEND}
|
||||||
|
sys-devel/flex
|
||||||
|
>=sys-kernel/linux-headers-2.6
|
||||||
|
virtual/pkgconfig
|
||||||
|
virtual/yacc
|
||||||
|
X? ( x11-base/xorg-proto )
|
||||||
|
prelink? ( sys-devel/prelink )
|
||||||
|
staging? (
|
||||||
|
dev-lang/perl
|
||||||
|
dev-perl/XML-Simple
|
||||||
|
)
|
||||||
|
xinerama? ( x11-base/xorg-proto )"
|
||||||
|
|
||||||
|
# These use a non-standard "Wine" category, which is provided by
|
||||||
|
# /etc/xdg/applications-merged/wine.menu
|
||||||
|
QA_DESKTOP_FILE="usr/share/applications/wine-browsedrive.desktop
|
||||||
|
usr/share/applications/wine-notepad.desktop
|
||||||
|
usr/share/applications/wine-uninstaller.desktop
|
||||||
|
usr/share/applications/wine-winecfg.desktop"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${PATCHDIR}/patches/${MY_PN}-4.4-winegcc.patch" #260726
|
||||||
|
"${PATCHDIR}/patches/${MY_PN}-1.9.5-multilib-portage.patch" #395615
|
||||||
|
"${PATCHDIR}/patches/${MY_PN}-1.6-memset-O3.patch" #480508
|
||||||
|
"${PATCHDIR}/patches/${MY_PN}-2.0-multislot-apploader.patch" #310611
|
||||||
|
)
|
||||||
|
PATCHES_BIN=()
|
||||||
|
|
||||||
|
# https://bugs.gentoo.org/show_bug.cgi?id=635222
|
||||||
|
if [[ ${#PATCHES_BIN[@]} -ge 1 ]] || [[ ${PV} == 9999 ]]; then
|
||||||
|
DEPEND+=" dev-util/patchbin"
|
||||||
|
fi
|
||||||
|
|
||||||
|
wine_compiler_check() {
|
||||||
|
[[ ${MERGE_TYPE} = "binary" ]] && return 0
|
||||||
|
|
||||||
|
# GCC-specific bugs
|
||||||
|
if tc-is-gcc; then
|
||||||
|
# bug #549768
|
||||||
|
if use abi_x86_64 && [[ $(gcc-major-version) = 5 && $(gcc-minor-version) -le 2 ]]; then
|
||||||
|
ebegin "Checking for gcc-5 ms_abi compiler bug"
|
||||||
|
$(tc-getCC) -O2 "${PATCHDIR}/files/pr66838.c" -o "${T}"/pr66838 || die
|
||||||
|
# Run in subshell to prevent "Aborted" message
|
||||||
|
( "${T}"/pr66838 || false ) >/dev/null 2>&1
|
||||||
|
if ! eend $?; then
|
||||||
|
eerror "64-bit wine cannot be built with gcc-5.1 or initial patchset of 5.2.0"
|
||||||
|
eerror "due to compiler bugs; please re-emerge the latest gcc-5.2.x ebuild,"
|
||||||
|
eerror "or use gcc-config to select a different compiler version."
|
||||||
|
eerror "See https://bugs.gentoo.org/549768"
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
# bug #574044
|
||||||
|
if use abi_x86_64 && [[ $(gcc-major-version) = 5 && $(gcc-minor-version) = 3 ]]; then
|
||||||
|
ebegin "Checking for gcc-5-3 stack realignment compiler bug"
|
||||||
|
# Compile in subshell to prevent "Aborted" message
|
||||||
|
( $(tc-getCC) -O2 -mincoming-stack-boundary=3 "${PATCHDIR}/files/pr69140.c" -o "${T}"/pr69140 ) >/dev/null 2>&1
|
||||||
|
if ! eend $?; then
|
||||||
|
eerror "Wine cannot be built with this version of gcc-5.3"
|
||||||
|
eerror "due to compiler bugs; please re-emerge the latest gcc-5.3.x ebuild,"
|
||||||
|
eerror "or use gcc-config to select a different compiler version."
|
||||||
|
eerror "See https://bugs.gentoo.org/574044"
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Ensure compiler support
|
||||||
|
if use abi_x86_64; then
|
||||||
|
ebegin "Checking for 64-bit compiler with builtin_ms_va_list support"
|
||||||
|
# Compile in subshell to prevent "Aborted" message
|
||||||
|
( $(tc-getCC) -O2 "${PATCHDIR}/files/builtin_ms_va_list.c" -o "${T}"/builtin_ms_va_list >/dev/null 2>&1)
|
||||||
|
if ! eend $?; then
|
||||||
|
eerror "This version of $(tc-getCC) does not support builtin_ms_va_list, can't enable 64-bit wine"
|
||||||
|
eerror
|
||||||
|
eerror "You need gcc-4.4+ or clang 3.8+ to build 64-bit wine"
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
wine_build_environment_check() {
|
||||||
|
[[ ${MERGE_TYPE} = "binary" ]] && return 0
|
||||||
|
|
||||||
|
if use abi_x86_64; then
|
||||||
|
if tc-is-gcc && [[ $(gcc-major-version) -lt 4 || ( $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 4 ) ]]; then
|
||||||
|
eerror "You need gcc-4.4+ to compile 64-bit wine"
|
||||||
|
die
|
||||||
|
elif tc-is-clang && [[ $(clang-major-version) -lt 3 || ( $(clang-major-version) -eq 3 && $(clang-minor-version) -lt 8 ) ]]; then
|
||||||
|
eerror "You need clang-3.8+ to compile 64-bit wine"
|
||||||
|
die
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if tc-is-gcc && [[ $(gcc-major-version) -eq 5 && $(gcc-minor-version) -le 3 ]]; then
|
||||||
|
ewarn "GCC-5.0-5.3 suffered from compiler bugs and are no longer supported by"
|
||||||
|
ewarn "Gentoo's Toolchain Team. If your ebuild fails the compiler checks in"
|
||||||
|
ewarn "the configure phase, either update your compiler or switch to <5.0 || >=5.4"
|
||||||
|
fi
|
||||||
|
if tc-is-gcc && [[ $(gcc-major-version) -eq 5 && $(gcc-minor-version) -eq 4 ]]; then
|
||||||
|
if has "-march=i686" ${CFLAGS} && ! has "-mtune=generic" ${CFLAGS}; then
|
||||||
|
ewarn "Compilation can hang with CFLAGS=\"-march=i686\". You can temporarily work"
|
||||||
|
ewarn "around this by adding \"-mtune=generic\" to your CFLAGS for wine."
|
||||||
|
ewarn "See package.env in man 5 portage for more information on how to do this."
|
||||||
|
ewarn "See https://bugs.gentoo.org/show_bug.cgi?id=613128 for more details"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use abi_x86_32 && use opencl && [[ "$(eselect opencl show 2> /dev/null)" == "intel" ]]; then
|
||||||
|
eerror "You cannot build wine with USE=opencl because intel-ocl-sdk is 64-bit only."
|
||||||
|
eerror "See https://bugs.gentoo.org/487864 for more details."
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
wine_env_vcs_vars() {
|
||||||
|
local pn_live_var="${PN//[-+]/_}_LIVE_COMMIT"
|
||||||
|
local pn_live_val="${pn_live_var}"
|
||||||
|
eval pn_live_val='$'${pn_live_val}
|
||||||
|
if [[ ! -z ${pn_live_val} ]]; then
|
||||||
|
if use staging; then
|
||||||
|
eerror "Because of the multi-repo nature of ${MY_PN}, ${pn_live_var}"
|
||||||
|
eerror "cannot be used to set the commit. Instead, you may use the"
|
||||||
|
eerror "environment variables:"
|
||||||
|
eerror " EGIT_OVERRIDE_COMMIT_WINE"
|
||||||
|
eerror " EGIT_OVERRIDE_COMMIT_WINE_STAGING_WINE_STAGING"
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if [[ ! -z ${EGIT_COMMIT} ]]; then
|
||||||
|
eerror "Commits must now be specified using the environment variables:"
|
||||||
|
eerror " EGIT_OVERRIDE_COMMIT_WINE"
|
||||||
|
eerror " EGIT_OVERRIDE_COMMIT_WINE_STAGING_WINE_STAGING"
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_pretend() {
|
||||||
|
wine_build_environment_check || die
|
||||||
|
|
||||||
|
# Verify OSS support
|
||||||
|
if use oss && ! use kernel_FreeBSD; then
|
||||||
|
if ! has_version ">=media-sound/oss-4"; then
|
||||||
|
eerror "You cannot build wine with USE=oss without having support from a"
|
||||||
|
eerror "FreeBSD kernel or >=media-sound/oss-4 (only available through external repos)"
|
||||||
|
eerror
|
||||||
|
die
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
wine_build_environment_check || die
|
||||||
|
wine_env_vcs_vars || die
|
||||||
|
|
||||||
|
WINE_VARIANT="${PN#wine}-${PV}"
|
||||||
|
WINE_VARIANT="${WINE_VARIANT#-}"
|
||||||
|
|
||||||
|
MY_PREFIX="${EPREFIX}/usr/lib/wine-${WINE_VARIANT}"
|
||||||
|
MY_DATAROOTDIR="${EPREFIX}/usr/share/wine-${WINE_VARIANT}"
|
||||||
|
MY_DATADIR="${MY_DATAROOTDIR}"
|
||||||
|
MY_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
|
||||||
|
MY_INCLUDEDIR="${EPREFIX}/usr/include/wine-${WINE_VARIANT}"
|
||||||
|
MY_LIBEXECDIR="${EPREFIX}/usr/libexec/wine-${WINE_VARIANT}"
|
||||||
|
MY_LOCALSTATEDIR="${EPREFIX}/var/wine-${WINE_VARIANT}"
|
||||||
|
MY_MANDIR="${MY_DATADIR}/man"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
if [[ ${PV} == "9999" ]] ; then
|
||||||
|
EGIT_CHECKOUT_DIR="${S}" git-r3_src_unpack
|
||||||
|
if use staging; then
|
||||||
|
local CURRENT_WINE_COMMIT=${EGIT_VERSION}
|
||||||
|
|
||||||
|
EGIT_CHECKOUT_DIR="${STAGING_DIR}" EGIT_REPO_URI="${STAGING_EGIT_REPO_URI}" git-r3_src_unpack
|
||||||
|
|
||||||
|
local COMPAT_WINE_COMMIT=$("${STAGING_DIR}/patches/patchinstall.sh" --upstream-commit) || die
|
||||||
|
|
||||||
|
if [[ "${CURRENT_WINE_COMMIT}" != "${COMPAT_WINE_COMMIT}" ]]; then
|
||||||
|
einfo "The current Staging patchset is not guaranteed to apply on this WINE commit."
|
||||||
|
einfo "If src_prepare fails, try emerging with the env var WINE_COMMIT."
|
||||||
|
einfo "Example: EGIT_OVERRIDE_COMMIT_WINE=${COMPAT_WINE_COMMIT} emerge -1 wine"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
default
|
||||||
|
|
||||||
|
l10n_find_plocales_changes "${S}/po" "" ".po"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
|
||||||
|
eapply_bin(){
|
||||||
|
local patch
|
||||||
|
for patch in ${PATCHES_BIN[@]}; do
|
||||||
|
patchbin --nogit < "${patch}" || die
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
local md5="$(md5sum server/protocol.def)"
|
||||||
|
|
||||||
|
if use staging; then
|
||||||
|
ewarn "Applying the Wine-Staging patchset. Any bug reports to the"
|
||||||
|
ewarn "Wine bugzilla should explicitly state that staging was used."
|
||||||
|
|
||||||
|
local STAGING_EXCLUDE=""
|
||||||
|
use pipelight || STAGING_EXCLUDE="${STAGING_EXCLUDE} -W Pipelight"
|
||||||
|
|
||||||
|
# Launch wine-staging patcher in a subshell, using eapply as a backend, and gitapply.sh as a backend for binary patches
|
||||||
|
ebegin "Running Wine-Staging patch installer"
|
||||||
|
(
|
||||||
|
set -- DESTDIR="${S}" --backend=eapply --no-autoconf --all ${STAGING_EXCLUDE}
|
||||||
|
cd "${STAGING_DIR}/patches"
|
||||||
|
source "${STAGING_DIR}/patches/patchinstall.sh"
|
||||||
|
)
|
||||||
|
eend $? || die "Failed to apply Wine-Staging patches"
|
||||||
|
fi
|
||||||
|
|
||||||
|
default
|
||||||
|
eapply_bin
|
||||||
|
eautoreconf
|
||||||
|
|
||||||
|
# Modification of the server protocol requires regenerating the server requests
|
||||||
|
if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then
|
||||||
|
einfo "server/protocol.def was patched; running tools/make_requests"
|
||||||
|
tools/make_requests || die #432348
|
||||||
|
fi
|
||||||
|
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
|
||||||
|
if ! use run-exes; then
|
||||||
|
sed -i '/^MimeType/d' loader/wine.desktop || die #117785
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Edit wine.desktop to work for specific variant
|
||||||
|
sed -e "/^Exec=/s/wine /wine-${WINE_VARIANT} /" -i loader/wine.desktop || die
|
||||||
|
|
||||||
|
# hi-res default icon, #472990, https://bugs.winehq.org/show_bug.cgi?id=24652
|
||||||
|
cp "${PATCHDIR}/files/oic_winlogo.ico" dlls/user32/resources/ || die
|
||||||
|
|
||||||
|
l10n_get_locales > po/LINGUAS || die # otherwise wine doesn't respect LINGUAS
|
||||||
|
|
||||||
|
# Fix manpage generation for locales #469418 and abi_x86_64 #617864
|
||||||
|
|
||||||
|
# Duplicate manpages input files for wine64
|
||||||
|
local f
|
||||||
|
for f in loader/*.man.in; do
|
||||||
|
cp ${f} ${f/wine/wine64} || die
|
||||||
|
done
|
||||||
|
# Add wine64 manpages to Makefile
|
||||||
|
if use abi_x86_64; then
|
||||||
|
sed -i "/wine.man.in/i \
|
||||||
|
\\\twine64.man.in \\\\" loader/Makefile.in || die
|
||||||
|
sed -i -E 's/(.*wine)(.*\.UTF-8\.man\.in.*)/&\
|
||||||
|
\164\2/' loader/Makefile.in || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm_man_file(){
|
||||||
|
local file="${1}"
|
||||||
|
loc=${2}
|
||||||
|
sed -i "/${loc}\.UTF-8\.man\.in/d" "${file}" || die
|
||||||
|
}
|
||||||
|
|
||||||
|
while read f; do
|
||||||
|
l10n_for_each_disabled_locale_do rm_man_file "${f}"
|
||||||
|
done < <(find -name "Makefile.in" -exec grep -q "UTF-8.man.in" "{}" \; -print)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
wine_compiler_check || die
|
||||||
|
|
||||||
|
export LDCONFIG=/bin/true
|
||||||
|
use custom-cflags || strip-flags
|
||||||
|
|
||||||
|
multilib-minimal_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
local myconf=(
|
||||||
|
--prefix="${MY_PREFIX}"
|
||||||
|
--datarootdir="${MY_DATAROOTDIR}"
|
||||||
|
--datadir="${MY_DATADIR}"
|
||||||
|
--docdir="${MY_DOCDIR}"
|
||||||
|
--includedir="${MY_INCLUDEDIR}"
|
||||||
|
--libdir="${EPREFIX}/usr/$(get_libdir)/wine-${WINE_VARIANT}"
|
||||||
|
--libexecdir="${MY_LIBEXECDIR}"
|
||||||
|
--localstatedir="${MY_LOCALSTATEDIR}"
|
||||||
|
--mandir="${MY_MANDIR}"
|
||||||
|
--sysconfdir=/etc/wine
|
||||||
|
$(use_with alsa)
|
||||||
|
$(use_with capi)
|
||||||
|
$(use_with lcms cms)
|
||||||
|
$(use_with cups)
|
||||||
|
$(use_with ncurses curses)
|
||||||
|
$(use_with udisks dbus)
|
||||||
|
$(use_with faudio)
|
||||||
|
$(use_with ffmpeg)
|
||||||
|
$(use_with fontconfig)
|
||||||
|
$(use_with ssl gnutls)
|
||||||
|
$(use_enable gecko mshtml)
|
||||||
|
$(use_with gphoto2 gphoto)
|
||||||
|
$(use_with gsm)
|
||||||
|
$(use_with gssapi)
|
||||||
|
$(use_with gstreamer)
|
||||||
|
--without-hal
|
||||||
|
$(use_with jpeg)
|
||||||
|
$(use_with kerberos krb5)
|
||||||
|
$(use_with ldap)
|
||||||
|
$(use_enable mono mscoree)
|
||||||
|
$(use_with mp3 mpg123)
|
||||||
|
$(use_with netapi)
|
||||||
|
$(use_with nls gettext)
|
||||||
|
$(use_with openal)
|
||||||
|
$(use_with opencl)
|
||||||
|
$(use_with opengl)
|
||||||
|
$(use_with osmesa)
|
||||||
|
$(use_with oss)
|
||||||
|
$(use_with pcap)
|
||||||
|
$(use_with png)
|
||||||
|
$(use_with pulseaudio pulse)
|
||||||
|
$(use_with threads pthread)
|
||||||
|
$(use_with scanner sane)
|
||||||
|
$(use_with sdl)
|
||||||
|
$(use_enable test tests)
|
||||||
|
$(use_with truetype freetype)
|
||||||
|
$(use_with udev)
|
||||||
|
$(use_with v4l)
|
||||||
|
$(use_with vkd3d)
|
||||||
|
$(use_with vulkan)
|
||||||
|
$(use_with X x)
|
||||||
|
$(use_with X xfixes)
|
||||||
|
$(use_with xcomposite)
|
||||||
|
$(use_with xinerama)
|
||||||
|
$(use_with xml)
|
||||||
|
$(use_with xml xslt)
|
||||||
|
)
|
||||||
|
|
||||||
|
use staging && myconf+=(
|
||||||
|
--with-xattr
|
||||||
|
$(use_with themes gtk3)
|
||||||
|
$(use_with vaapi va)
|
||||||
|
)
|
||||||
|
|
||||||
|
local PKG_CONFIG AR RANLIB
|
||||||
|
# Avoid crossdev's i686-pc-linux-gnu-pkg-config if building wine32 on amd64; #472038
|
||||||
|
# set AR and RANLIB to make QA scripts happy; #483342
|
||||||
|
tc-export PKG_CONFIG AR RANLIB
|
||||||
|
|
||||||
|
if use amd64; then
|
||||||
|
if [[ ${ABI} == amd64 ]]; then
|
||||||
|
myconf+=( --enable-win64 )
|
||||||
|
else
|
||||||
|
myconf+=( --disable-win64 )
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Note: using --with-wine64 results in problems with multilib.eclass
|
||||||
|
# CC/LD hackery. We're using separate tools instead.
|
||||||
|
fi
|
||||||
|
|
||||||
|
ECONF_SOURCE=${S} \
|
||||||
|
econf "${myconf[@]}"
|
||||||
|
emake depend
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_test() {
|
||||||
|
# FIXME: win32-only; wine64 tests fail with "could not find the Wine loader"
|
||||||
|
if [[ ${ABI} == x86 ]]; then
|
||||||
|
if [[ $(id -u) == 0 ]]; then
|
||||||
|
ewarn "Skipping tests since they cannot be run under the root user."
|
||||||
|
ewarn "To run the test ${MY_PN} suite, add userpriv to FEATURES in make.conf"
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
|
WINEPREFIX="${T}/.wine-${ABI}" \
|
||||||
|
Xemake test
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install_all() {
|
||||||
|
local DOCS=( ANNOUNCE AUTHORS README )
|
||||||
|
add_locale_docs() {
|
||||||
|
local locale_doc="documentation/README.$1"
|
||||||
|
[[ ! -e ${locale_doc} ]] || DOCS+=( ${locale_doc} )
|
||||||
|
}
|
||||||
|
l10n_for_each_locale_do add_locale_docs
|
||||||
|
|
||||||
|
einstalldocs
|
||||||
|
prune_libtool_files --all
|
||||||
|
|
||||||
|
if ! use perl ; then # winedump calls function_grep.pl, and winemaker is a perl script
|
||||||
|
rm "${D%/}${MY_PREFIX}"/bin/{wine{dump,maker},function_grep.pl} \
|
||||||
|
"${D%/}${MY_MANDIR}"/man1/wine{dump,maker}.1 || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Remove wineconsole if neither backend is installed #551124
|
||||||
|
if ! use X && ! use ncurses; then
|
||||||
|
rm "${D%/}${MY_PREFIX}"/bin/wineconsole* || die
|
||||||
|
rm "${D%/}${MY_MANDIR}"/man1/wineconsole* || die
|
||||||
|
rm_wineconsole() {
|
||||||
|
rm "${D%/}${MY_PREFIX}/$(get_libdir)"/wine/{,fakedlls/}wineconsole.exe* || die
|
||||||
|
}
|
||||||
|
multilib_foreach_abi rm_wineconsole
|
||||||
|
fi
|
||||||
|
|
||||||
|
use abi_x86_32 && pax-mark psmr "${D%/}${MY_PREFIX}"/bin/wine{,-preloader} #255055
|
||||||
|
use abi_x86_64 && pax-mark psmr "${D%/}${MY_PREFIX}"/bin/wine64{,-preloader}
|
||||||
|
|
||||||
|
if use abi_x86_64 && ! use abi_x86_32; then
|
||||||
|
dosym wine64 "${MY_PREFIX}"/bin/wine # 404331
|
||||||
|
dosym wine64-preloader "${MY_PREFIX}"/bin/wine-preloader
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Failglob for binloops, shouldn't be necessary, but including to stay safe
|
||||||
|
eshopts_push -s failglob #615218
|
||||||
|
# Make wrappers for binaries for handling multiple variants
|
||||||
|
# Note: wrappers instead of symlinks because some are shell which use basename
|
||||||
|
local b
|
||||||
|
for b in "${D%/}${MY_PREFIX}"/bin/*; do
|
||||||
|
make_wrapper "${b##*/}-${WINE_VARIANT}" "${MY_PREFIX}/bin/${b##*/}"
|
||||||
|
done
|
||||||
|
eshopts_pop
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
eselect wine register ${P}
|
||||||
|
if [[ ${PN} == "wine-vanilla" ]]; then
|
||||||
|
eselect wine register --vanilla ${P} || die
|
||||||
|
else
|
||||||
|
if use staging; then
|
||||||
|
eselect wine register --staging ${P} || die
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
eselect wine update --all --if-unset || die
|
||||||
|
|
||||||
|
xdg_desktop_database_update
|
||||||
|
|
||||||
|
if ! use gecko; then
|
||||||
|
ewarn "Without Wine Gecko, wine prefixes will not have a default"
|
||||||
|
ewarn "implementation of iexplore. Many older windows applications"
|
||||||
|
ewarn "rely upon the existence of an iexplore implementation, so"
|
||||||
|
ewarn "you will likely need to install an external one, like via winetricks"
|
||||||
|
fi
|
||||||
|
if ! use mono; then
|
||||||
|
ewarn "Without Wine Mono, wine prefixes will not have a default"
|
||||||
|
ewarn "implementation of .NET. Many windows applications rely upon"
|
||||||
|
ewarn "the existence of a .NET implementation, so you will likely need"
|
||||||
|
ewarn "to install an external one, like via winetricks"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_prerm() {
|
||||||
|
eselect wine deregister ${P}
|
||||||
|
if [[ ${PN} == "wine-vanilla" ]]; then
|
||||||
|
eselect wine deregister --vanilla ${P} || die
|
||||||
|
else
|
||||||
|
if use staging; then
|
||||||
|
eselect wine deregister --staging ${P} || die
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
eselect wine update --all --if-unset || die
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_desktop_database_update
|
||||||
|
}
|
@ -1,15 +1,22 @@
|
|||||||
DIST gentoo-wine-patches-20180120.tar.xz 58672 BLAKE2B 84d621075b65475cec41a06429680b518d7eafb938cefd903f3f8aa71ea3049ac9d8de05af48f9f4f4a1b9172c7ef17784540413e410eb8ec11e8ec4a63858c6 SHA512 5b354a409c7a2b77499aaa593b9248a1d15d755e3687b095755faacc30068bfcdbdd5c2a2a78617cb1a78c46d2931162bd69ec3379b035d81494bea7108263c2
|
DIST gentoo-wine-patches-20180120.tar.xz 58672 BLAKE2B 84d621075b65475cec41a06429680b518d7eafb938cefd903f3f8aa71ea3049ac9d8de05af48f9f4f4a1b9172c7ef17784540413e410eb8ec11e8ec4a63858c6 SHA512 5b354a409c7a2b77499aaa593b9248a1d15d755e3687b095755faacc30068bfcdbdd5c2a2a78617cb1a78c46d2931162bd69ec3379b035d81494bea7108263c2
|
||||||
|
DIST gentoo-wine-patches-20190316.tar.xz 58848 BLAKE2B 76e66749638589dd6d6eceb4b78690483d14353597a4e47fe9e5325d8bdb2bceff66040c110f63b8bae698bc5838c280c048ff7375ba2ed8cc387cbe0422c79a SHA512 de2cf844ae686144c3f95f0a360c7fa8a62185500758f994b5a65836798bdc3092138dcd9c36d0267a6fcfdc13585258d31b281244a97b45965f40e0f2b29eda
|
||||||
DIST wine-3.0.3.tar.xz 19735412 BLAKE2B f0ccbe272f1013386f89805cf1573cf001eb875bccb31a1884fad1dff5f90caf727c460406af80f63db7a227d85f25f57c8e8e650a171adbe0c3f5178ddf17e8 SHA512 11043a9a9434681f9c73590688b600b3b9e3d311be2c4d97b5f58f0740500ebcfbdc826bd6584d5dd392dccbdd9389ffa04c8fedbba43a4df2e6aeb922414412
|
DIST wine-3.0.3.tar.xz 19735412 BLAKE2B f0ccbe272f1013386f89805cf1573cf001eb875bccb31a1884fad1dff5f90caf727c460406af80f63db7a227d85f25f57c8e8e650a171adbe0c3f5178ddf17e8 SHA512 11043a9a9434681f9c73590688b600b3b9e3d311be2c4d97b5f58f0740500ebcfbdc826bd6584d5dd392dccbdd9389ffa04c8fedbba43a4df2e6aeb922414412
|
||||||
DIST wine-3.0.4.tar.xz 20556944 BLAKE2B 122c06e38cae9f9d2358908d0d325ed4e0dc3d1bf3e189fcfd1a713ca147d5360934cc21c387939bb5ba6dec9410d85b586d95207089b6aa033eea15bfc209e3 SHA512 e1ce33bbc165a9c640a38965a229b757b67746f2150d545eb0e29ba6d21cdf150bd8eb9a450d8dd71733fbea3b2ac24839dd8e381b7da9cd15ddf98c59304198
|
DIST wine-3.0.4.tar.xz 20556944 BLAKE2B 122c06e38cae9f9d2358908d0d325ed4e0dc3d1bf3e189fcfd1a713ca147d5360934cc21c387939bb5ba6dec9410d85b586d95207089b6aa033eea15bfc209e3 SHA512 e1ce33bbc165a9c640a38965a229b757b67746f2150d545eb0e29ba6d21cdf150bd8eb9a450d8dd71733fbea3b2ac24839dd8e381b7da9cd15ddf98c59304198
|
||||||
DIST wine-3.20.tar.xz 21541928 BLAKE2B 9183dacd1c6ec15ae5283eca3d17db5a869bcba9a93800a422f0dea5d9cfb5d3124a3e942e8b6487cd4ba31cfeacdd66de39128dd66d64e1226d265eae922d3a SHA512 fb66d1d4b427f46dd048b13e53bcd15a5eaeb19039221fe98ec771140c33b3c245a974e52242eab5731ffa0de15f5932204032fe24f86e1a313ff8f11da59cc4
|
DIST wine-3.20.tar.xz 21541928 BLAKE2B 9183dacd1c6ec15ae5283eca3d17db5a869bcba9a93800a422f0dea5d9cfb5d3124a3e942e8b6487cd4ba31cfeacdd66de39128dd66d64e1226d265eae922d3a SHA512 fb66d1d4b427f46dd048b13e53bcd15a5eaeb19039221fe98ec771140c33b3c245a974e52242eab5731ffa0de15f5932204032fe24f86e1a313ff8f11da59cc4
|
||||||
DIST wine-3.21.tar.xz 21573872 BLAKE2B 54d8733b19f1377f856c9496f6263eef1916e03caf82c6fcfa39b3e7bec1fecd87466dc92f3739d704a9161a32d9ee680b2cc5e5cdf27a582dc1d89d0b1a6639 SHA512 dd64a6778bf1b848c8fe14dc26cfca21f6c1c92714ca1b2e932a28560a2adc1f69aa1b2cba250f49a5df4f91a4accde677a2afaf960c200d3998eac1957b5c6b
|
DIST wine-3.21.tar.xz 21573872 BLAKE2B 54d8733b19f1377f856c9496f6263eef1916e03caf82c6fcfa39b3e7bec1fecd87466dc92f3739d704a9161a32d9ee680b2cc5e5cdf27a582dc1d89d0b1a6639 SHA512 dd64a6778bf1b848c8fe14dc26cfca21f6c1c92714ca1b2e932a28560a2adc1f69aa1b2cba250f49a5df4f91a4accde677a2afaf960c200d3998eac1957b5c6b
|
||||||
DIST wine-4.0.tar.xz 21644692 BLAKE2B 9c426ef2249c16e908a3617c2844d8b12a2df843721338b1cfb69459815b902cfa0ddf3d74c09dc900fb2ceb003e54d97a7c0afaac51a9caab7d21beb82e26c3 SHA512 7607fa7a3d5f7bcd3d8c4c9e7bb6e1987466110bbfc672782ebe57c6d9da348c58e76abf40b0a70c725dfd703163db6e194ee0e3db11a47b6b60e225163308dd
|
DIST wine-4.0.tar.xz 21644692 BLAKE2B 9c426ef2249c16e908a3617c2844d8b12a2df843721338b1cfb69459815b902cfa0ddf3d74c09dc900fb2ceb003e54d97a7c0afaac51a9caab7d21beb82e26c3 SHA512 7607fa7a3d5f7bcd3d8c4c9e7bb6e1987466110bbfc672782ebe57c6d9da348c58e76abf40b0a70c725dfd703163db6e194ee0e3db11a47b6b60e225163308dd
|
||||||
DIST wine-4.1.tar.xz 21680916 BLAKE2B 1a040606e34e1aec6f63d9692c6cbf915f5b32c817116aed68203e6bdedb8cb129dad440f7e51e9fb2ebaf1aa537d1584333f06b8b2c5d68f9ff37921d5b8b95 SHA512 2b28fc82111552009a042d682ea8f4e54d90f14bb99f1fbe12732090e7562527c229683562630edada0b1f4143de226734337b20d1b23d711191dcc0a834e4dc
|
DIST wine-4.1.tar.xz 21680916 BLAKE2B 1a040606e34e1aec6f63d9692c6cbf915f5b32c817116aed68203e6bdedb8cb129dad440f7e51e9fb2ebaf1aa537d1584333f06b8b2c5d68f9ff37921d5b8b95 SHA512 2b28fc82111552009a042d682ea8f4e54d90f14bb99f1fbe12732090e7562527c229683562630edada0b1f4143de226734337b20d1b23d711191dcc0a834e4dc
|
||||||
|
DIST wine-4.2.tar.xz 21724960 BLAKE2B d3c4381265e5086a17582c28fd4d19c84ed8e9839d039d5f2eba32efcc09ae6dad2a25fa375042d98d35de30065eaa0095e36bb8fbca608ec74abc654bae5196 SHA512 408a846e92a0222f64ddd3c4d2c2a71b387ce51749e346c1fbca1fd57db910fa18dc6bb4ce0a350bef81e13be77c6b2d74537f7a1c0dcbb0e6d4c19d1ade288c
|
||||||
|
DIST wine-4.3.tar.xz 21764500 BLAKE2B dd94b710f2be20ce3225fb58e0a20f0ee46e59834dc77383e262620faa64597c41625382237c39563b3bb67b1850cca2460ca147e2c5ee3052f0fdfdee067ec5 SHA512 45c0519f8f2873ef65e1761d518a7148f3aa54c0e993a41a60849c01c8df17386d57edd83308cff289300adc6a8e3fc5918fb12513f5b85a88e556b420479e83
|
||||||
|
DIST wine-4.4.tar.xz 21805668 BLAKE2B cf973240a3f2a1ad1cac8690cdc5cd86be428220395d90bfe3b15567e6a2be0bb78e5828de3b77b617827122f5b0bb1dfeeef351102ca001722340ceaeb5625e SHA512 6678c9b0e086bdc9fab9f9fd2517226352b49f846bbae7be6000bb60db2f302aad49622192077b45880d45ad33ba4d82bfe3403fb82a1e65159f1352b40933de
|
||||||
EBUILD wine-vanilla-3.0.3.ebuild 17120 BLAKE2B a8cf3d4872ba5f91a691817bfc9421a6a5bc1079141c8c3d53dc5726bc2aacd46090d253390278ec5e8e19c63e613c1289a62957a75487f7dc10ee68b8e4778d SHA512 36c54300f1d396a0e5d990316525dd68103a5e25623e84134b35e708d35d7c8b4cbf6100e91396b29daed058fc64a51bac39b7b14684baffafe1e2f05f695b23
|
EBUILD wine-vanilla-3.0.3.ebuild 17120 BLAKE2B a8cf3d4872ba5f91a691817bfc9421a6a5bc1079141c8c3d53dc5726bc2aacd46090d253390278ec5e8e19c63e613c1289a62957a75487f7dc10ee68b8e4778d SHA512 36c54300f1d396a0e5d990316525dd68103a5e25623e84134b35e708d35d7c8b4cbf6100e91396b29daed058fc64a51bac39b7b14684baffafe1e2f05f695b23
|
||||||
EBUILD wine-vanilla-3.0.4.ebuild 17085 BLAKE2B d1831445374f36c0fd20b930b2786c79054473868b1d319d1824b935e5e3f2fd07aafa24948040ac1cade51e5748843438f51e473a385c654fa3fe282277e0d7 SHA512 20342989e375114278c77c3dbd8fc1e9483281ab4147006a5f7fc6e657287c327b25cf002581c1a94fec9e9e982710b179415af4cbcf9eebae708ac41079765e
|
EBUILD wine-vanilla-3.0.4.ebuild 17085 BLAKE2B d1831445374f36c0fd20b930b2786c79054473868b1d319d1824b935e5e3f2fd07aafa24948040ac1cade51e5748843438f51e473a385c654fa3fe282277e0d7 SHA512 20342989e375114278c77c3dbd8fc1e9483281ab4147006a5f7fc6e657287c327b25cf002581c1a94fec9e9e982710b179415af4cbcf9eebae708ac41079765e
|
||||||
EBUILD wine-vanilla-3.20.ebuild 17308 BLAKE2B bdd30e07641146aabc517f4f46b34d71e4182428dae9e89f564eebd8f057e78cf4b6ea5b8bfcfe1172d95265cd3bc6c3f2d32ba29bed40c39a7b1f8b02cf5e40 SHA512 a2cbbba40bc4fb97ef5b730f26818fc9153c27b5fdf248b587d12ef63dbcfe6f0c98f0bf7efd421ef4bc0dec473a780d2913afb3b806c6a30f9ad73f546d9536
|
EBUILD wine-vanilla-3.20.ebuild 17308 BLAKE2B bdd30e07641146aabc517f4f46b34d71e4182428dae9e89f564eebd8f057e78cf4b6ea5b8bfcfe1172d95265cd3bc6c3f2d32ba29bed40c39a7b1f8b02cf5e40 SHA512 a2cbbba40bc4fb97ef5b730f26818fc9153c27b5fdf248b587d12ef63dbcfe6f0c98f0bf7efd421ef4bc0dec473a780d2913afb3b806c6a30f9ad73f546d9536
|
||||||
EBUILD wine-vanilla-3.21.ebuild 17308 BLAKE2B bdd30e07641146aabc517f4f46b34d71e4182428dae9e89f564eebd8f057e78cf4b6ea5b8bfcfe1172d95265cd3bc6c3f2d32ba29bed40c39a7b1f8b02cf5e40 SHA512 a2cbbba40bc4fb97ef5b730f26818fc9153c27b5fdf248b587d12ef63dbcfe6f0c98f0bf7efd421ef4bc0dec473a780d2913afb3b806c6a30f9ad73f546d9536
|
EBUILD wine-vanilla-3.21.ebuild 17308 BLAKE2B bdd30e07641146aabc517f4f46b34d71e4182428dae9e89f564eebd8f057e78cf4b6ea5b8bfcfe1172d95265cd3bc6c3f2d32ba29bed40c39a7b1f8b02cf5e40 SHA512 a2cbbba40bc4fb97ef5b730f26818fc9153c27b5fdf248b587d12ef63dbcfe6f0c98f0bf7efd421ef4bc0dec473a780d2913afb3b806c6a30f9ad73f546d9536
|
||||||
EBUILD wine-vanilla-4.0.ebuild 17341 BLAKE2B bdb219c3352300bfa6bf2194696ed44a4632170ae6c03c938203c57b9b6aa23c5de2276a42bc9943dfbcbc942214fcdeb7a313deebf25c9b8570c3fe51c9bc8e SHA512 65e06fc637ec397e3365d7be2e58b130852675a93ea235e6066e01f9e5b7efd098868fdc1c3fce810dd72dd1c0e66bab9a4941b7f3a1ceff40a744776cb91055
|
EBUILD wine-vanilla-4.0.ebuild 17341 BLAKE2B bdb219c3352300bfa6bf2194696ed44a4632170ae6c03c938203c57b9b6aa23c5de2276a42bc9943dfbcbc942214fcdeb7a313deebf25c9b8570c3fe51c9bc8e SHA512 65e06fc637ec397e3365d7be2e58b130852675a93ea235e6066e01f9e5b7efd098868fdc1c3fce810dd72dd1c0e66bab9a4941b7f3a1ceff40a744776cb91055
|
||||||
EBUILD wine-vanilla-4.1.ebuild 17311 BLAKE2B 55106a1bc3703f647d3d4119e14aa45b6655e8b9e800dc72dad77f25fdb60e2b10845098030986bc0c6c7649dc1c40f3b67bb74d184110891717b2f00abff49a SHA512 12eee5f6a461476802cacf7253b93d53b6e76c5cc2062c373ecd3845fede2ea4549074997549266e5b71636706d5d50fe5e57060046041489deb9134c5b0495e
|
EBUILD wine-vanilla-4.1.ebuild 17311 BLAKE2B 55106a1bc3703f647d3d4119e14aa45b6655e8b9e800dc72dad77f25fdb60e2b10845098030986bc0c6c7649dc1c40f3b67bb74d184110891717b2f00abff49a SHA512 12eee5f6a461476802cacf7253b93d53b6e76c5cc2062c373ecd3845fede2ea4549074997549266e5b71636706d5d50fe5e57060046041489deb9134c5b0495e
|
||||||
EBUILD wine-vanilla-9999.ebuild 17311 BLAKE2B 55106a1bc3703f647d3d4119e14aa45b6655e8b9e800dc72dad77f25fdb60e2b10845098030986bc0c6c7649dc1c40f3b67bb74d184110891717b2f00abff49a SHA512 12eee5f6a461476802cacf7253b93d53b6e76c5cc2062c373ecd3845fede2ea4549074997549266e5b71636706d5d50fe5e57060046041489deb9134c5b0495e
|
EBUILD wine-vanilla-4.2.ebuild 17311 BLAKE2B 55106a1bc3703f647d3d4119e14aa45b6655e8b9e800dc72dad77f25fdb60e2b10845098030986bc0c6c7649dc1c40f3b67bb74d184110891717b2f00abff49a SHA512 12eee5f6a461476802cacf7253b93d53b6e76c5cc2062c373ecd3845fede2ea4549074997549266e5b71636706d5d50fe5e57060046041489deb9134c5b0495e
|
||||||
MISC metadata.xml 3157 BLAKE2B 917ac49661429459c488ba4e4e83a0fb558dab3068635d2ac307eabd9e1576c9034fe53ec80bd71023be925d184aca442d8c61eb5ab788a947e22a0d2aa0882b SHA512 2709187f3765e00e14c19049fa81f920a8f8ef60dc4b36db17faccf26df8b04edd017368d820fce91c65836662ba21d29a104b6ac0ac17164047f29bb7c85d91
|
EBUILD wine-vanilla-4.3.ebuild 17395 BLAKE2B f71df5ceb17a1c01e6e2e0c2251e9d69dea54a8bf277740ba4c6267bedd655bb7e37196622c83be17432ad4d1ae907a61dace0210b4559e93cf2fa87c0ea8ff6 SHA512 4ed4915ec3b577c9eff884289dbddbf77d8b65f3afe09438cc8ecd9ffb73c8738946e6ad53184db0a26a6e6ccdf19bf643dc7272cac86664e23d917c961ef5f0
|
||||||
|
EBUILD wine-vanilla-4.4.ebuild 17388 BLAKE2B 9c94eb8e9abe44affab51ef71143d4292af3bbc077f860879fbc44f43be84af775ff276d34a509da57b09f14705948433c33f0f76f7482028fbcd86c42ae12bd SHA512 fb65ac21807aa3f46f83569658907fb0be01bf579bd598fabce37ac071f48d2bd27c3badcdca6ea4221ba373eccaa0600b00b19aa2bf2252341a54086ee57dc3
|
||||||
|
EBUILD wine-vanilla-9999.ebuild 17388 BLAKE2B 9c94eb8e9abe44affab51ef71143d4292af3bbc077f860879fbc44f43be84af775ff276d34a509da57b09f14705948433c33f0f76f7482028fbcd86c42ae12bd SHA512 fb65ac21807aa3f46f83569658907fb0be01bf579bd598fabce37ac071f48d2bd27c3badcdca6ea4221ba373eccaa0600b00b19aa2bf2252341a54086ee57dc3
|
||||||
|
MISC metadata.xml 3273 BLAKE2B 1a060f5a0877c948b46a7fa128e265b682c3a367651629454a38114a112c4d43faeb53dfc335f10e84635fac6adf50f8b9429f060252e11191dfabee031dc81d SHA512 151c4e3b2039180194e6d50983ec4d298296810b2ad794b06a4189e07d0b4800afa4ff62a9b3133bbf04b02644da9938b6f5139fecb332f2dcf955f9e3f34faa
|
||||||
|
@ -0,0 +1,532 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
PLOCALES="ar bg ca cs da de el en en_US eo es fa fi fr he hi hr hu it ja ko lt ml nb_NO nl or pa pl pt_BR pt_PT rm ro ru si sk sl sr_RS@cyrillic sr_RS@latin sv te th tr uk wa zh_CN zh_TW"
|
||||||
|
PLOCALE_BACKUP="en"
|
||||||
|
|
||||||
|
inherit autotools eapi7-ver estack eutils flag-o-matic gnome2-utils l10n multilib multilib-minimal pax-utils toolchain-funcs virtualx xdg-utils
|
||||||
|
|
||||||
|
MY_PN="${PN%%-*}"
|
||||||
|
MY_P="${MY_PN}-${PV}"
|
||||||
|
|
||||||
|
if [[ ${PV} == "9999" ]] ; then
|
||||||
|
EGIT_REPO_URI="https://source.winehq.org/git/wine.git"
|
||||||
|
EGIT_BRANCH="master"
|
||||||
|
inherit git-r3
|
||||||
|
SRC_URI=""
|
||||||
|
#KEYWORDS=""
|
||||||
|
else
|
||||||
|
MAJOR_V=$(ver_cut 1)
|
||||||
|
SRC_URI="https://dl.winehq.org/wine/source/${MAJOR_V}.x/${MY_P}.tar.xz"
|
||||||
|
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
|
||||||
|
fi
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
GWP_V="20180120"
|
||||||
|
PATCHDIR="${WORKDIR}/gentoo-wine-patches"
|
||||||
|
|
||||||
|
DESCRIPTION="Free implementation of Windows(tm) on Unix, without external patchsets"
|
||||||
|
HOMEPAGE="https://www.winehq.org/"
|
||||||
|
SRC_URI="${SRC_URI}
|
||||||
|
https://dev.gentoo.org/~np-hardass/distfiles/wine/gentoo-wine-patches-${GWP_V}.tar.xz
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1"
|
||||||
|
SLOT="${PV}"
|
||||||
|
IUSE="+abi_x86_32 +abi_x86_64 +alsa capi cups custom-cflags dos elibc_glibc +fontconfig +gecko gphoto2 gsm gssapi gstreamer +jpeg kerberos kernel_FreeBSD +lcms ldap +mono mp3 ncurses netapi nls odbc openal opencl +opengl osmesa oss +perl pcap +png prelink pulseaudio +realtime +run-exes samba scanner sdl selinux +ssl test +threads +truetype udev +udisks v4l vkd3d vulkan +X +xcomposite xinerama +xml"
|
||||||
|
REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )
|
||||||
|
X? ( truetype )
|
||||||
|
elibc_glibc? ( threads )
|
||||||
|
osmesa? ( opengl )
|
||||||
|
test? ( abi_x86_32 )
|
||||||
|
vkd3d? ( vulkan )" # osmesa-opengl #286560 # X-truetype #551124
|
||||||
|
|
||||||
|
# FIXME: the test suite is unsuitable for us; many tests require net access
|
||||||
|
# or fail due to Xvfb's opengl limitations.
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
COMMON_DEPEND="
|
||||||
|
X? (
|
||||||
|
x11-libs/libXcursor[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXext[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXfixes[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXrandr[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXi[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
|
||||||
|
)
|
||||||
|
alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
|
||||||
|
capi? ( net-libs/libcapi[${MULTILIB_USEDEP}] )
|
||||||
|
cups? ( net-print/cups:=[${MULTILIB_USEDEP}] )
|
||||||
|
fontconfig? ( media-libs/fontconfig:=[${MULTILIB_USEDEP}] )
|
||||||
|
gphoto2? ( media-libs/libgphoto2:=[${MULTILIB_USEDEP}] )
|
||||||
|
gsm? ( media-sound/gsm:=[${MULTILIB_USEDEP}] )
|
||||||
|
gssapi? ( virtual/krb5[${MULTILIB_USEDEP}] )
|
||||||
|
gstreamer? (
|
||||||
|
media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
|
||||||
|
media-plugins/gst-plugins-meta:1.0[${MULTILIB_USEDEP}]
|
||||||
|
)
|
||||||
|
jpeg? ( virtual/jpeg:0=[${MULTILIB_USEDEP}] )
|
||||||
|
kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] )
|
||||||
|
lcms? ( media-libs/lcms:2=[${MULTILIB_USEDEP}] )
|
||||||
|
ldap? ( net-nds/openldap:=[${MULTILIB_USEDEP}] )
|
||||||
|
mp3? ( >=media-sound/mpg123-1.5.0[${MULTILIB_USEDEP}] )
|
||||||
|
ncurses? ( >=sys-libs/ncurses-5.2:0=[${MULTILIB_USEDEP}] )
|
||||||
|
netapi? ( net-fs/samba[netapi(+),${MULTILIB_USEDEP}] )
|
||||||
|
nls? ( sys-devel/gettext[${MULTILIB_USEDEP}] )
|
||||||
|
odbc? ( dev-db/unixODBC:=[${MULTILIB_USEDEP}] )
|
||||||
|
openal? ( media-libs/openal:=[${MULTILIB_USEDEP}] )
|
||||||
|
opencl? ( virtual/opencl[${MULTILIB_USEDEP}] )
|
||||||
|
opengl? (
|
||||||
|
virtual/glu[${MULTILIB_USEDEP}]
|
||||||
|
virtual/opengl[${MULTILIB_USEDEP}]
|
||||||
|
)
|
||||||
|
osmesa? ( >=media-libs/mesa-13[osmesa,${MULTILIB_USEDEP}] )
|
||||||
|
pcap? ( net-libs/libpcap[${MULTILIB_USEDEP}] )
|
||||||
|
png? ( media-libs/libpng:0=[${MULTILIB_USEDEP}] )
|
||||||
|
pulseaudio? ( media-sound/pulseaudio[${MULTILIB_USEDEP}] )
|
||||||
|
scanner? ( media-gfx/sane-backends:=[${MULTILIB_USEDEP}] )
|
||||||
|
sdl? ( media-libs/libsdl2:=[haptic,joystick,${MULTILIB_USEDEP}] )
|
||||||
|
ssl? ( net-libs/gnutls:=[${MULTILIB_USEDEP}] )
|
||||||
|
truetype? ( >=media-libs/freetype-2.0.0[${MULTILIB_USEDEP}] )
|
||||||
|
udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] )
|
||||||
|
udisks? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
|
||||||
|
v4l? ( media-libs/libv4l[${MULTILIB_USEDEP}] )
|
||||||
|
vkd3d? ( app-emulation/vkd3d[${MULTILIB_USEDEP}] )
|
||||||
|
vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )
|
||||||
|
xcomposite? ( x11-libs/libXcomposite[${MULTILIB_USEDEP}] )
|
||||||
|
xinerama? ( x11-libs/libXinerama[${MULTILIB_USEDEP}] )
|
||||||
|
xml? (
|
||||||
|
dev-libs/libxml2[${MULTILIB_USEDEP}]
|
||||||
|
dev-libs/libxslt[${MULTILIB_USEDEP}]
|
||||||
|
)"
|
||||||
|
|
||||||
|
RDEPEND="${COMMON_DEPEND}
|
||||||
|
app-emulation/wine-desktop-common
|
||||||
|
>app-eselect/eselect-wine-0.3
|
||||||
|
!app-emulation/wine:0
|
||||||
|
dos? ( >=games-emulation/dosbox-0.74_p20160629 )
|
||||||
|
gecko? ( app-emulation/wine-gecko:2.47[abi_x86_32?,abi_x86_64?] )
|
||||||
|
mono? ( app-emulation/wine-mono:4.7.5 )
|
||||||
|
perl? (
|
||||||
|
dev-lang/perl
|
||||||
|
dev-perl/XML-Simple
|
||||||
|
)
|
||||||
|
pulseaudio? (
|
||||||
|
realtime? ( sys-auth/rtkit )
|
||||||
|
)
|
||||||
|
samba? ( >=net-fs/samba-3.0.25[winbind] )
|
||||||
|
selinux? ( sec-policy/selinux-wine )
|
||||||
|
udisks? ( sys-fs/udisks:2 )"
|
||||||
|
|
||||||
|
# tools/make_requests requires perl
|
||||||
|
DEPEND="${COMMON_DEPEND}
|
||||||
|
sys-devel/flex
|
||||||
|
>=sys-kernel/linux-headers-2.6
|
||||||
|
virtual/pkgconfig
|
||||||
|
virtual/yacc
|
||||||
|
X? ( x11-base/xorg-proto )
|
||||||
|
prelink? ( sys-devel/prelink )
|
||||||
|
xinerama? ( x11-base/xorg-proto )"
|
||||||
|
|
||||||
|
# These use a non-standard "Wine" category, which is provided by
|
||||||
|
# /etc/xdg/applications-merged/wine.menu
|
||||||
|
QA_DESKTOP_FILE="usr/share/applications/wine-browsedrive.desktop
|
||||||
|
usr/share/applications/wine-notepad.desktop
|
||||||
|
usr/share/applications/wine-uninstaller.desktop
|
||||||
|
usr/share/applications/wine-winecfg.desktop"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${PATCHDIR}/patches/${MY_PN}-1.5.26-winegcc.patch" #260726
|
||||||
|
"${PATCHDIR}/patches/${MY_PN}-1.9.5-multilib-portage.patch" #395615
|
||||||
|
"${PATCHDIR}/patches/${MY_PN}-1.6-memset-O3.patch" #480508
|
||||||
|
"${PATCHDIR}/patches/${MY_PN}-2.0-multislot-apploader.patch" #310611
|
||||||
|
)
|
||||||
|
PATCHES_BIN=()
|
||||||
|
|
||||||
|
# https://bugs.gentoo.org/show_bug.cgi?id=635222
|
||||||
|
if [[ ${#PATCHES_BIN[@]} -ge 1 ]] || [[ ${PV} == 9999 ]]; then
|
||||||
|
DEPEND+=" dev-util/patchbin"
|
||||||
|
fi
|
||||||
|
|
||||||
|
wine_compiler_check() {
|
||||||
|
[[ ${MERGE_TYPE} = "binary" ]] && return 0
|
||||||
|
|
||||||
|
# GCC-specific bugs
|
||||||
|
if tc-is-gcc; then
|
||||||
|
# bug #549768
|
||||||
|
if use abi_x86_64 && [[ $(gcc-major-version) = 5 && $(gcc-minor-version) -le 2 ]]; then
|
||||||
|
ebegin "Checking for gcc-5 ms_abi compiler bug"
|
||||||
|
$(tc-getCC) -O2 "${PATCHDIR}/files/pr66838.c" -o "${T}"/pr66838 || die
|
||||||
|
# Run in subshell to prevent "Aborted" message
|
||||||
|
( "${T}"/pr66838 || false ) >/dev/null 2>&1
|
||||||
|
if ! eend $?; then
|
||||||
|
eerror "64-bit wine cannot be built with gcc-5.1 or initial patchset of 5.2.0"
|
||||||
|
eerror "due to compiler bugs; please re-emerge the latest gcc-5.2.x ebuild,"
|
||||||
|
eerror "or use gcc-config to select a different compiler version."
|
||||||
|
eerror "See https://bugs.gentoo.org/549768"
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
# bug #574044
|
||||||
|
if use abi_x86_64 && [[ $(gcc-major-version) = 5 && $(gcc-minor-version) = 3 ]]; then
|
||||||
|
ebegin "Checking for gcc-5-3 stack realignment compiler bug"
|
||||||
|
# Compile in subshell to prevent "Aborted" message
|
||||||
|
( $(tc-getCC) -O2 -mincoming-stack-boundary=3 "${PATCHDIR}/files/pr69140.c" -o "${T}"/pr69140 ) >/dev/null 2>&1
|
||||||
|
if ! eend $?; then
|
||||||
|
eerror "Wine cannot be built with this version of gcc-5.3"
|
||||||
|
eerror "due to compiler bugs; please re-emerge the latest gcc-5.3.x ebuild,"
|
||||||
|
eerror "or use gcc-config to select a different compiler version."
|
||||||
|
eerror "See https://bugs.gentoo.org/574044"
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Ensure compiler support
|
||||||
|
if use abi_x86_64; then
|
||||||
|
ebegin "Checking for 64-bit compiler with builtin_ms_va_list support"
|
||||||
|
# Compile in subshell to prevent "Aborted" message
|
||||||
|
( $(tc-getCC) -O2 "${PATCHDIR}/files/builtin_ms_va_list.c" -o "${T}"/builtin_ms_va_list >/dev/null 2>&1)
|
||||||
|
if ! eend $?; then
|
||||||
|
eerror "This version of $(tc-getCC) does not support builtin_ms_va_list, can't enable 64-bit wine"
|
||||||
|
eerror
|
||||||
|
eerror "You need gcc-4.4+ or clang 3.8+ to build 64-bit wine"
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
wine_build_environment_check() {
|
||||||
|
[[ ${MERGE_TYPE} = "binary" ]] && return 0
|
||||||
|
|
||||||
|
if use abi_x86_64; then
|
||||||
|
if tc-is-gcc && [[ $(gcc-major-version) -lt 4 || ( $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 4 ) ]]; then
|
||||||
|
eerror "You need gcc-4.4+ to compile 64-bit wine"
|
||||||
|
die
|
||||||
|
elif tc-is-clang && [[ $(clang-major-version) -lt 3 || ( $(clang-major-version) -eq 3 && $(clang-minor-version) -lt 8 ) ]]; then
|
||||||
|
eerror "You need clang-3.8+ to compile 64-bit wine"
|
||||||
|
die
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if tc-is-gcc && [[ $(gcc-major-version) -eq 5 && $(gcc-minor-version) -le 3 ]]; then
|
||||||
|
ewarn "GCC-5.0-5.3 suffered from compiler bugs and are no longer supported by"
|
||||||
|
ewarn "Gentoo's Toolchain Team. If your ebuild fails the compiler checks in"
|
||||||
|
ewarn "the configure phase, either update your compiler or switch to <5.0 || >=5.4"
|
||||||
|
fi
|
||||||
|
if tc-is-gcc && [[ $(gcc-major-version) -eq 5 && $(gcc-minor-version) -eq 4 ]]; then
|
||||||
|
if has "-march=i686" ${CFLAGS} && ! has "-mtune=generic" ${CFLAGS}; then
|
||||||
|
ewarn "Compilation can hang with CFLAGS=\"-march=i686\". You can temporarily work"
|
||||||
|
ewarn "around this by adding \"-mtune=generic\" to your CFLAGS for wine."
|
||||||
|
ewarn "See package.env in man 5 portage for more information on how to do this."
|
||||||
|
ewarn "See https://bugs.gentoo.org/show_bug.cgi?id=613128 for more details"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use abi_x86_32 && use opencl && [[ "$(eselect opencl show 2> /dev/null)" == "intel" ]]; then
|
||||||
|
eerror "You cannot build wine with USE=opencl because intel-ocl-sdk is 64-bit only."
|
||||||
|
eerror "See https://bugs.gentoo.org/487864 for more details."
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
wine_env_vcs_vars() {
|
||||||
|
local pn_live_var="${PN//[-+]/_}_LIVE_COMMIT"
|
||||||
|
local pn_live_val="${pn_live_var}"
|
||||||
|
eval pn_live_val='$'${pn_live_val}
|
||||||
|
if [[ ! -z ${EGIT_COMMIT} ]]; then
|
||||||
|
eerror "Commits must now be specified using the environmental variables"
|
||||||
|
eerror "EGIT_OVERRIDE_COMMIT_WINE"
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_pretend() {
|
||||||
|
wine_build_environment_check || die
|
||||||
|
|
||||||
|
# Verify OSS support
|
||||||
|
if use oss && ! use kernel_FreeBSD; then
|
||||||
|
if ! has_version ">=media-sound/oss-4"; then
|
||||||
|
eerror "You cannot build wine with USE=oss without having support from a"
|
||||||
|
eerror "FreeBSD kernel or >=media-sound/oss-4 (only available through external repos)"
|
||||||
|
eerror
|
||||||
|
die
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
wine_build_environment_check || die
|
||||||
|
wine_env_vcs_vars || die
|
||||||
|
|
||||||
|
WINE_VARIANT="${PN#wine}-${PV}"
|
||||||
|
WINE_VARIANT="${WINE_VARIANT#-}"
|
||||||
|
|
||||||
|
MY_PREFIX="${EPREFIX}/usr/lib/wine-${WINE_VARIANT}"
|
||||||
|
MY_DATAROOTDIR="${EPREFIX}/usr/share/wine-${WINE_VARIANT}"
|
||||||
|
MY_DATADIR="${MY_DATAROOTDIR}"
|
||||||
|
MY_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
|
||||||
|
MY_INCLUDEDIR="${EPREFIX}/usr/include/wine-${WINE_VARIANT}"
|
||||||
|
MY_LIBEXECDIR="${EPREFIX}/usr/libexec/wine-${WINE_VARIANT}"
|
||||||
|
MY_LOCALSTATEDIR="${EPREFIX}/var/wine-${WINE_VARIANT}"
|
||||||
|
MY_MANDIR="${MY_DATADIR}/man"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
if [[ ${PV} == "9999" ]] ; then
|
||||||
|
EGIT_CHECKOUT_DIR="${S}" git-r3_src_unpack
|
||||||
|
fi
|
||||||
|
|
||||||
|
default
|
||||||
|
|
||||||
|
l10n_find_plocales_changes "${S}/po" "" ".po"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
|
||||||
|
eapply_bin(){
|
||||||
|
local patch
|
||||||
|
for patch in ${PATCHES_BIN[@]}; do
|
||||||
|
patchbin --nogit < "${patch}" || die
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
local md5="$(md5sum server/protocol.def)"
|
||||||
|
|
||||||
|
default
|
||||||
|
eapply_bin
|
||||||
|
eautoreconf
|
||||||
|
|
||||||
|
# Modification of the server protocol requires regenerating the server requests
|
||||||
|
if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then
|
||||||
|
einfo "server/protocol.def was patched; running tools/make_requests"
|
||||||
|
tools/make_requests || die #432348
|
||||||
|
fi
|
||||||
|
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
|
||||||
|
if ! use run-exes; then
|
||||||
|
sed -i '/^MimeType/d' loader/wine.desktop || die #117785
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Edit wine.desktop to work for specific variant
|
||||||
|
sed -e "/^Exec=/s/wine /wine-${WINE_VARIANT} /" -i loader/wine.desktop || die
|
||||||
|
|
||||||
|
# hi-res default icon, #472990, https://bugs.winehq.org/show_bug.cgi?id=24652
|
||||||
|
cp "${PATCHDIR}/files/oic_winlogo.ico" dlls/user32/resources/ || die
|
||||||
|
|
||||||
|
l10n_get_locales > po/LINGUAS || die # otherwise wine doesn't respect LINGUAS
|
||||||
|
|
||||||
|
# Fix manpage generation for locales #469418 and abi_x86_64 #617864
|
||||||
|
|
||||||
|
# Duplicate manpages input files for wine64
|
||||||
|
local f
|
||||||
|
for f in loader/*.man.in; do
|
||||||
|
cp ${f} ${f/wine/wine64} || die
|
||||||
|
done
|
||||||
|
# Add wine64 manpages to Makefile
|
||||||
|
if use abi_x86_64; then
|
||||||
|
sed -i "/wine.man.in/i \
|
||||||
|
\\\twine64.man.in \\\\" loader/Makefile.in || die
|
||||||
|
sed -i -E 's/(.*wine)(.*\.UTF-8\.man\.in.*)/&\
|
||||||
|
\164\2/' loader/Makefile.in || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm_man_file(){
|
||||||
|
local file="${1}"
|
||||||
|
loc=${2}
|
||||||
|
sed -i "/${loc}\.UTF-8\.man\.in/d" "${file}" || die
|
||||||
|
}
|
||||||
|
|
||||||
|
while read f; do
|
||||||
|
l10n_for_each_disabled_locale_do rm_man_file "${f}"
|
||||||
|
done < <(find -name "Makefile.in" -exec grep -q "UTF-8.man.in" "{}" \; -print)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
wine_compiler_check || die
|
||||||
|
|
||||||
|
export LDCONFIG=/bin/true
|
||||||
|
use custom-cflags || strip-flags
|
||||||
|
|
||||||
|
multilib-minimal_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
local myconf=(
|
||||||
|
--prefix="${MY_PREFIX}"
|
||||||
|
--datarootdir="${MY_DATAROOTDIR}"
|
||||||
|
--datadir="${MY_DATADIR}"
|
||||||
|
--docdir="${MY_DOCDIR}"
|
||||||
|
--includedir="${MY_INCLUDEDIR}"
|
||||||
|
--libdir="${EPREFIX}/usr/$(get_libdir)/wine-${WINE_VARIANT}"
|
||||||
|
--libexecdir="${MY_LIBEXECDIR}"
|
||||||
|
--localstatedir="${MY_LOCALSTATEDIR}"
|
||||||
|
--mandir="${MY_MANDIR}"
|
||||||
|
--sysconfdir=/etc/wine
|
||||||
|
$(use_with alsa)
|
||||||
|
$(use_with capi)
|
||||||
|
$(use_with lcms cms)
|
||||||
|
$(use_with cups)
|
||||||
|
$(use_with ncurses curses)
|
||||||
|
$(use_with udisks dbus)
|
||||||
|
$(use_with fontconfig)
|
||||||
|
$(use_with ssl gnutls)
|
||||||
|
$(use_enable gecko mshtml)
|
||||||
|
$(use_with gphoto2 gphoto)
|
||||||
|
$(use_with gsm)
|
||||||
|
$(use_with gssapi)
|
||||||
|
$(use_with gstreamer)
|
||||||
|
--without-hal
|
||||||
|
$(use_with jpeg)
|
||||||
|
$(use_with kerberos krb5)
|
||||||
|
$(use_with ldap)
|
||||||
|
$(use_enable mono mscoree)
|
||||||
|
$(use_with mp3 mpg123)
|
||||||
|
$(use_with netapi)
|
||||||
|
$(use_with nls gettext)
|
||||||
|
$(use_with openal)
|
||||||
|
$(use_with opencl)
|
||||||
|
$(use_with opengl)
|
||||||
|
$(use_with osmesa)
|
||||||
|
$(use_with oss)
|
||||||
|
$(use_with pcap)
|
||||||
|
$(use_with png)
|
||||||
|
$(use_with pulseaudio pulse)
|
||||||
|
$(use_with threads pthread)
|
||||||
|
$(use_with scanner sane)
|
||||||
|
$(use_with sdl)
|
||||||
|
$(use_enable test tests)
|
||||||
|
$(use_with truetype freetype)
|
||||||
|
$(use_with udev)
|
||||||
|
$(use_with v4l)
|
||||||
|
$(use_with vkd3d)
|
||||||
|
$(use_with vulkan)
|
||||||
|
$(use_with X x)
|
||||||
|
$(use_with X xfixes)
|
||||||
|
$(use_with xcomposite)
|
||||||
|
$(use_with xinerama)
|
||||||
|
$(use_with xml)
|
||||||
|
$(use_with xml xslt)
|
||||||
|
)
|
||||||
|
|
||||||
|
local PKG_CONFIG AR RANLIB
|
||||||
|
# Avoid crossdev's i686-pc-linux-gnu-pkg-config if building wine32 on amd64; #472038
|
||||||
|
# set AR and RANLIB to make QA scripts happy; #483342
|
||||||
|
tc-export PKG_CONFIG AR RANLIB
|
||||||
|
|
||||||
|
if use amd64; then
|
||||||
|
if [[ ${ABI} == amd64 ]]; then
|
||||||
|
myconf+=( --enable-win64 )
|
||||||
|
else
|
||||||
|
myconf+=( --disable-win64 )
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Note: using --with-wine64 results in problems with multilib.eclass
|
||||||
|
# CC/LD hackery. We're using separate tools instead.
|
||||||
|
fi
|
||||||
|
|
||||||
|
ECONF_SOURCE=${S} \
|
||||||
|
econf "${myconf[@]}"
|
||||||
|
emake depend
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_test() {
|
||||||
|
# FIXME: win32-only; wine64 tests fail with "could not find the Wine loader"
|
||||||
|
if [[ ${ABI} == x86 ]]; then
|
||||||
|
if [[ $(id -u) == 0 ]]; then
|
||||||
|
ewarn "Skipping tests since they cannot be run under the root user."
|
||||||
|
ewarn "To run the test ${MY_PN} suite, add userpriv to FEATURES in make.conf"
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
|
WINEPREFIX="${T}/.wine-${ABI}" \
|
||||||
|
Xemake test
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install_all() {
|
||||||
|
local DOCS=( ANNOUNCE AUTHORS README )
|
||||||
|
add_locale_docs() {
|
||||||
|
local locale_doc="documentation/README.$1"
|
||||||
|
[[ ! -e ${locale_doc} ]] || DOCS+=( ${locale_doc} )
|
||||||
|
}
|
||||||
|
l10n_for_each_locale_do add_locale_docs
|
||||||
|
|
||||||
|
einstalldocs
|
||||||
|
prune_libtool_files --all
|
||||||
|
|
||||||
|
if ! use perl ; then # winedump calls function_grep.pl, and winemaker is a perl script
|
||||||
|
rm "${D%/}${MY_PREFIX}"/bin/{wine{dump,maker},function_grep.pl} \
|
||||||
|
"${D%/}${MY_MANDIR}"/man1/wine{dump,maker}.1 || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Remove wineconsole if neither backend is installed #551124
|
||||||
|
if ! use X && ! use ncurses; then
|
||||||
|
rm "${D%/}${MY_PREFIX}"/bin/wineconsole* || die
|
||||||
|
rm "${D%/}${MY_MANDIR}"/man1/wineconsole* || die
|
||||||
|
rm_wineconsole() {
|
||||||
|
rm "${D%/}${MY_PREFIX}/$(get_libdir)"/wine/{,fakedlls/}wineconsole.exe* || die
|
||||||
|
}
|
||||||
|
multilib_foreach_abi rm_wineconsole
|
||||||
|
fi
|
||||||
|
|
||||||
|
use abi_x86_32 && pax-mark psmr "${D%/}${MY_PREFIX}"/bin/wine{,-preloader} #255055
|
||||||
|
use abi_x86_64 && pax-mark psmr "${D%/}${MY_PREFIX}"/bin/wine64{,-preloader}
|
||||||
|
|
||||||
|
if use abi_x86_64 && ! use abi_x86_32; then
|
||||||
|
dosym wine64 "${MY_PREFIX}"/bin/wine # 404331
|
||||||
|
dosym wine64-preloader "${MY_PREFIX}"/bin/wine-preloader
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Failglob for binloops, shouldn't be necessary, but including to stay safe
|
||||||
|
eshopts_push -s failglob #615218
|
||||||
|
# Make wrappers for binaries for handling multiple variants
|
||||||
|
# Note: wrappers instead of symlinks because some are shell which use basename
|
||||||
|
local b
|
||||||
|
for b in "${D%/}${MY_PREFIX}"/bin/*; do
|
||||||
|
make_wrapper "${b##*/}-${WINE_VARIANT}" "${MY_PREFIX}/bin/${b##*/}"
|
||||||
|
done
|
||||||
|
eshopts_pop
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
eselect wine register ${P}
|
||||||
|
if [[ ${PN} == "wine-vanilla" ]]; then
|
||||||
|
eselect wine register --vanilla ${P} || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
eselect wine update --all --if-unset || die
|
||||||
|
|
||||||
|
xdg_desktop_database_update
|
||||||
|
|
||||||
|
if ! use gecko; then
|
||||||
|
ewarn "Without Wine Gecko, wine prefixes will not have a default"
|
||||||
|
ewarn "implementation of iexplore. Many older windows applications"
|
||||||
|
ewarn "rely upon the existence of an iexplore implementation, so"
|
||||||
|
ewarn "you will likely need to install an external one, like via winetricks"
|
||||||
|
fi
|
||||||
|
if ! use mono; then
|
||||||
|
ewarn "Without Wine Mono, wine prefixes will not have a default"
|
||||||
|
ewarn "implementation of .NET. Many windows applications rely upon"
|
||||||
|
ewarn "the existence of a .NET implementation, so you will likely need"
|
||||||
|
ewarn "to install an external one, like via winetricks"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_prerm() {
|
||||||
|
eselect wine deregister ${P}
|
||||||
|
if [[ ${PN} == "wine-vanilla" ]]; then
|
||||||
|
eselect wine deregister --vanilla ${P} || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
eselect wine update --all --if-unset || die
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_desktop_database_update
|
||||||
|
}
|
@ -0,0 +1,534 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
PLOCALES="ar bg ca cs da de el en en_US eo es fa fi fr he hi hr hu it ja ko lt ml nb_NO nl or pa pl pt_BR pt_PT rm ro ru si sk sl sr_RS@cyrillic sr_RS@latin sv te th tr uk wa zh_CN zh_TW"
|
||||||
|
PLOCALE_BACKUP="en"
|
||||||
|
|
||||||
|
inherit autotools eapi7-ver estack eutils flag-o-matic gnome2-utils l10n multilib multilib-minimal pax-utils toolchain-funcs virtualx xdg-utils
|
||||||
|
|
||||||
|
MY_PN="${PN%%-*}"
|
||||||
|
MY_P="${MY_PN}-${PV}"
|
||||||
|
|
||||||
|
if [[ ${PV} == "9999" ]] ; then
|
||||||
|
EGIT_REPO_URI="https://source.winehq.org/git/wine.git"
|
||||||
|
EGIT_BRANCH="master"
|
||||||
|
inherit git-r3
|
||||||
|
SRC_URI=""
|
||||||
|
#KEYWORDS=""
|
||||||
|
else
|
||||||
|
MAJOR_V=$(ver_cut 1)
|
||||||
|
SRC_URI="https://dl.winehq.org/wine/source/${MAJOR_V}.x/${MY_P}.tar.xz"
|
||||||
|
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
|
||||||
|
fi
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
GWP_V="20180120"
|
||||||
|
PATCHDIR="${WORKDIR}/gentoo-wine-patches"
|
||||||
|
|
||||||
|
DESCRIPTION="Free implementation of Windows(tm) on Unix, without external patchsets"
|
||||||
|
HOMEPAGE="https://www.winehq.org/"
|
||||||
|
SRC_URI="${SRC_URI}
|
||||||
|
https://dev.gentoo.org/~np-hardass/distfiles/wine/gentoo-wine-patches-${GWP_V}.tar.xz
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1"
|
||||||
|
SLOT="${PV}"
|
||||||
|
IUSE="+abi_x86_32 +abi_x86_64 +alsa capi cups custom-cflags dos elibc_glibc faudio +fontconfig +gecko gphoto2 gsm gssapi gstreamer +jpeg kerberos kernel_FreeBSD +lcms ldap +mono mp3 ncurses netapi nls odbc openal opencl +opengl osmesa oss +perl pcap +png prelink pulseaudio +realtime +run-exes samba scanner sdl selinux +ssl test +threads +truetype udev +udisks v4l vkd3d vulkan +X +xcomposite xinerama +xml"
|
||||||
|
REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )
|
||||||
|
X? ( truetype )
|
||||||
|
elibc_glibc? ( threads )
|
||||||
|
osmesa? ( opengl )
|
||||||
|
test? ( abi_x86_32 )
|
||||||
|
vkd3d? ( vulkan )" # osmesa-opengl #286560 # X-truetype #551124
|
||||||
|
|
||||||
|
# FIXME: the test suite is unsuitable for us; many tests require net access
|
||||||
|
# or fail due to Xvfb's opengl limitations.
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
COMMON_DEPEND="
|
||||||
|
X? (
|
||||||
|
x11-libs/libXcursor[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXext[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXfixes[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXrandr[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXi[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
|
||||||
|
)
|
||||||
|
alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
|
||||||
|
capi? ( net-libs/libcapi[${MULTILIB_USEDEP}] )
|
||||||
|
cups? ( net-print/cups:=[${MULTILIB_USEDEP}] )
|
||||||
|
faudio? ( app-emulation/faudio:=[${MULTILIB_USEDEP}] )
|
||||||
|
fontconfig? ( media-libs/fontconfig:=[${MULTILIB_USEDEP}] )
|
||||||
|
gphoto2? ( media-libs/libgphoto2:=[${MULTILIB_USEDEP}] )
|
||||||
|
gsm? ( media-sound/gsm:=[${MULTILIB_USEDEP}] )
|
||||||
|
gssapi? ( virtual/krb5[${MULTILIB_USEDEP}] )
|
||||||
|
gstreamer? (
|
||||||
|
media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
|
||||||
|
media-plugins/gst-plugins-meta:1.0[${MULTILIB_USEDEP}]
|
||||||
|
)
|
||||||
|
jpeg? ( virtual/jpeg:0=[${MULTILIB_USEDEP}] )
|
||||||
|
kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] )
|
||||||
|
lcms? ( media-libs/lcms:2=[${MULTILIB_USEDEP}] )
|
||||||
|
ldap? ( net-nds/openldap:=[${MULTILIB_USEDEP}] )
|
||||||
|
mp3? ( >=media-sound/mpg123-1.5.0[${MULTILIB_USEDEP}] )
|
||||||
|
ncurses? ( >=sys-libs/ncurses-5.2:0=[${MULTILIB_USEDEP}] )
|
||||||
|
netapi? ( net-fs/samba[netapi(+),${MULTILIB_USEDEP}] )
|
||||||
|
nls? ( sys-devel/gettext[${MULTILIB_USEDEP}] )
|
||||||
|
odbc? ( dev-db/unixODBC:=[${MULTILIB_USEDEP}] )
|
||||||
|
openal? ( media-libs/openal:=[${MULTILIB_USEDEP}] )
|
||||||
|
opencl? ( virtual/opencl[${MULTILIB_USEDEP}] )
|
||||||
|
opengl? (
|
||||||
|
virtual/glu[${MULTILIB_USEDEP}]
|
||||||
|
virtual/opengl[${MULTILIB_USEDEP}]
|
||||||
|
)
|
||||||
|
osmesa? ( >=media-libs/mesa-13[osmesa,${MULTILIB_USEDEP}] )
|
||||||
|
pcap? ( net-libs/libpcap[${MULTILIB_USEDEP}] )
|
||||||
|
png? ( media-libs/libpng:0=[${MULTILIB_USEDEP}] )
|
||||||
|
pulseaudio? ( media-sound/pulseaudio[${MULTILIB_USEDEP}] )
|
||||||
|
scanner? ( media-gfx/sane-backends:=[${MULTILIB_USEDEP}] )
|
||||||
|
sdl? ( media-libs/libsdl2:=[haptic,joystick,${MULTILIB_USEDEP}] )
|
||||||
|
ssl? ( net-libs/gnutls:=[${MULTILIB_USEDEP}] )
|
||||||
|
truetype? ( >=media-libs/freetype-2.0.0[${MULTILIB_USEDEP}] )
|
||||||
|
udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] )
|
||||||
|
udisks? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
|
||||||
|
v4l? ( media-libs/libv4l[${MULTILIB_USEDEP}] )
|
||||||
|
vkd3d? ( app-emulation/vkd3d[${MULTILIB_USEDEP}] )
|
||||||
|
vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )
|
||||||
|
xcomposite? ( x11-libs/libXcomposite[${MULTILIB_USEDEP}] )
|
||||||
|
xinerama? ( x11-libs/libXinerama[${MULTILIB_USEDEP}] )
|
||||||
|
xml? (
|
||||||
|
dev-libs/libxml2[${MULTILIB_USEDEP}]
|
||||||
|
dev-libs/libxslt[${MULTILIB_USEDEP}]
|
||||||
|
)"
|
||||||
|
|
||||||
|
RDEPEND="${COMMON_DEPEND}
|
||||||
|
app-emulation/wine-desktop-common
|
||||||
|
>app-eselect/eselect-wine-0.3
|
||||||
|
!app-emulation/wine:0
|
||||||
|
dos? ( >=games-emulation/dosbox-0.74_p20160629 )
|
||||||
|
gecko? ( app-emulation/wine-gecko:2.47[abi_x86_32?,abi_x86_64?] )
|
||||||
|
mono? ( app-emulation/wine-mono:4.7.5 )
|
||||||
|
perl? (
|
||||||
|
dev-lang/perl
|
||||||
|
dev-perl/XML-Simple
|
||||||
|
)
|
||||||
|
pulseaudio? (
|
||||||
|
realtime? ( sys-auth/rtkit )
|
||||||
|
)
|
||||||
|
samba? ( >=net-fs/samba-3.0.25[winbind] )
|
||||||
|
selinux? ( sec-policy/selinux-wine )
|
||||||
|
udisks? ( sys-fs/udisks:2 )"
|
||||||
|
|
||||||
|
# tools/make_requests requires perl
|
||||||
|
DEPEND="${COMMON_DEPEND}
|
||||||
|
sys-devel/flex
|
||||||
|
>=sys-kernel/linux-headers-2.6
|
||||||
|
virtual/pkgconfig
|
||||||
|
virtual/yacc
|
||||||
|
X? ( x11-base/xorg-proto )
|
||||||
|
prelink? ( sys-devel/prelink )
|
||||||
|
xinerama? ( x11-base/xorg-proto )"
|
||||||
|
|
||||||
|
# These use a non-standard "Wine" category, which is provided by
|
||||||
|
# /etc/xdg/applications-merged/wine.menu
|
||||||
|
QA_DESKTOP_FILE="usr/share/applications/wine-browsedrive.desktop
|
||||||
|
usr/share/applications/wine-notepad.desktop
|
||||||
|
usr/share/applications/wine-uninstaller.desktop
|
||||||
|
usr/share/applications/wine-winecfg.desktop"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${PATCHDIR}/patches/${MY_PN}-1.5.26-winegcc.patch" #260726
|
||||||
|
"${PATCHDIR}/patches/${MY_PN}-1.9.5-multilib-portage.patch" #395615
|
||||||
|
"${PATCHDIR}/patches/${MY_PN}-1.6-memset-O3.patch" #480508
|
||||||
|
"${PATCHDIR}/patches/${MY_PN}-2.0-multislot-apploader.patch" #310611
|
||||||
|
)
|
||||||
|
PATCHES_BIN=()
|
||||||
|
|
||||||
|
# https://bugs.gentoo.org/show_bug.cgi?id=635222
|
||||||
|
if [[ ${#PATCHES_BIN[@]} -ge 1 ]] || [[ ${PV} == 9999 ]]; then
|
||||||
|
DEPEND+=" dev-util/patchbin"
|
||||||
|
fi
|
||||||
|
|
||||||
|
wine_compiler_check() {
|
||||||
|
[[ ${MERGE_TYPE} = "binary" ]] && return 0
|
||||||
|
|
||||||
|
# GCC-specific bugs
|
||||||
|
if tc-is-gcc; then
|
||||||
|
# bug #549768
|
||||||
|
if use abi_x86_64 && [[ $(gcc-major-version) = 5 && $(gcc-minor-version) -le 2 ]]; then
|
||||||
|
ebegin "Checking for gcc-5 ms_abi compiler bug"
|
||||||
|
$(tc-getCC) -O2 "${PATCHDIR}/files/pr66838.c" -o "${T}"/pr66838 || die
|
||||||
|
# Run in subshell to prevent "Aborted" message
|
||||||
|
( "${T}"/pr66838 || false ) >/dev/null 2>&1
|
||||||
|
if ! eend $?; then
|
||||||
|
eerror "64-bit wine cannot be built with gcc-5.1 or initial patchset of 5.2.0"
|
||||||
|
eerror "due to compiler bugs; please re-emerge the latest gcc-5.2.x ebuild,"
|
||||||
|
eerror "or use gcc-config to select a different compiler version."
|
||||||
|
eerror "See https://bugs.gentoo.org/549768"
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
# bug #574044
|
||||||
|
if use abi_x86_64 && [[ $(gcc-major-version) = 5 && $(gcc-minor-version) = 3 ]]; then
|
||||||
|
ebegin "Checking for gcc-5-3 stack realignment compiler bug"
|
||||||
|
# Compile in subshell to prevent "Aborted" message
|
||||||
|
( $(tc-getCC) -O2 -mincoming-stack-boundary=3 "${PATCHDIR}/files/pr69140.c" -o "${T}"/pr69140 ) >/dev/null 2>&1
|
||||||
|
if ! eend $?; then
|
||||||
|
eerror "Wine cannot be built with this version of gcc-5.3"
|
||||||
|
eerror "due to compiler bugs; please re-emerge the latest gcc-5.3.x ebuild,"
|
||||||
|
eerror "or use gcc-config to select a different compiler version."
|
||||||
|
eerror "See https://bugs.gentoo.org/574044"
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Ensure compiler support
|
||||||
|
if use abi_x86_64; then
|
||||||
|
ebegin "Checking for 64-bit compiler with builtin_ms_va_list support"
|
||||||
|
# Compile in subshell to prevent "Aborted" message
|
||||||
|
( $(tc-getCC) -O2 "${PATCHDIR}/files/builtin_ms_va_list.c" -o "${T}"/builtin_ms_va_list >/dev/null 2>&1)
|
||||||
|
if ! eend $?; then
|
||||||
|
eerror "This version of $(tc-getCC) does not support builtin_ms_va_list, can't enable 64-bit wine"
|
||||||
|
eerror
|
||||||
|
eerror "You need gcc-4.4+ or clang 3.8+ to build 64-bit wine"
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
wine_build_environment_check() {
|
||||||
|
[[ ${MERGE_TYPE} = "binary" ]] && return 0
|
||||||
|
|
||||||
|
if use abi_x86_64; then
|
||||||
|
if tc-is-gcc && [[ $(gcc-major-version) -lt 4 || ( $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 4 ) ]]; then
|
||||||
|
eerror "You need gcc-4.4+ to compile 64-bit wine"
|
||||||
|
die
|
||||||
|
elif tc-is-clang && [[ $(clang-major-version) -lt 3 || ( $(clang-major-version) -eq 3 && $(clang-minor-version) -lt 8 ) ]]; then
|
||||||
|
eerror "You need clang-3.8+ to compile 64-bit wine"
|
||||||
|
die
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if tc-is-gcc && [[ $(gcc-major-version) -eq 5 && $(gcc-minor-version) -le 3 ]]; then
|
||||||
|
ewarn "GCC-5.0-5.3 suffered from compiler bugs and are no longer supported by"
|
||||||
|
ewarn "Gentoo's Toolchain Team. If your ebuild fails the compiler checks in"
|
||||||
|
ewarn "the configure phase, either update your compiler or switch to <5.0 || >=5.4"
|
||||||
|
fi
|
||||||
|
if tc-is-gcc && [[ $(gcc-major-version) -eq 5 && $(gcc-minor-version) -eq 4 ]]; then
|
||||||
|
if has "-march=i686" ${CFLAGS} && ! has "-mtune=generic" ${CFLAGS}; then
|
||||||
|
ewarn "Compilation can hang with CFLAGS=\"-march=i686\". You can temporarily work"
|
||||||
|
ewarn "around this by adding \"-mtune=generic\" to your CFLAGS for wine."
|
||||||
|
ewarn "See package.env in man 5 portage for more information on how to do this."
|
||||||
|
ewarn "See https://bugs.gentoo.org/show_bug.cgi?id=613128 for more details"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use abi_x86_32 && use opencl && [[ "$(eselect opencl show 2> /dev/null)" == "intel" ]]; then
|
||||||
|
eerror "You cannot build wine with USE=opencl because intel-ocl-sdk is 64-bit only."
|
||||||
|
eerror "See https://bugs.gentoo.org/487864 for more details."
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
wine_env_vcs_vars() {
|
||||||
|
local pn_live_var="${PN//[-+]/_}_LIVE_COMMIT"
|
||||||
|
local pn_live_val="${pn_live_var}"
|
||||||
|
eval pn_live_val='$'${pn_live_val}
|
||||||
|
if [[ ! -z ${EGIT_COMMIT} ]]; then
|
||||||
|
eerror "Commits must now be specified using the environmental variables"
|
||||||
|
eerror "EGIT_OVERRIDE_COMMIT_WINE"
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_pretend() {
|
||||||
|
wine_build_environment_check || die
|
||||||
|
|
||||||
|
# Verify OSS support
|
||||||
|
if use oss && ! use kernel_FreeBSD; then
|
||||||
|
if ! has_version ">=media-sound/oss-4"; then
|
||||||
|
eerror "You cannot build wine with USE=oss without having support from a"
|
||||||
|
eerror "FreeBSD kernel or >=media-sound/oss-4 (only available through external repos)"
|
||||||
|
eerror
|
||||||
|
die
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
wine_build_environment_check || die
|
||||||
|
wine_env_vcs_vars || die
|
||||||
|
|
||||||
|
WINE_VARIANT="${PN#wine}-${PV}"
|
||||||
|
WINE_VARIANT="${WINE_VARIANT#-}"
|
||||||
|
|
||||||
|
MY_PREFIX="${EPREFIX}/usr/lib/wine-${WINE_VARIANT}"
|
||||||
|
MY_DATAROOTDIR="${EPREFIX}/usr/share/wine-${WINE_VARIANT}"
|
||||||
|
MY_DATADIR="${MY_DATAROOTDIR}"
|
||||||
|
MY_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
|
||||||
|
MY_INCLUDEDIR="${EPREFIX}/usr/include/wine-${WINE_VARIANT}"
|
||||||
|
MY_LIBEXECDIR="${EPREFIX}/usr/libexec/wine-${WINE_VARIANT}"
|
||||||
|
MY_LOCALSTATEDIR="${EPREFIX}/var/wine-${WINE_VARIANT}"
|
||||||
|
MY_MANDIR="${MY_DATADIR}/man"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
if [[ ${PV} == "9999" ]] ; then
|
||||||
|
EGIT_CHECKOUT_DIR="${S}" git-r3_src_unpack
|
||||||
|
fi
|
||||||
|
|
||||||
|
default
|
||||||
|
|
||||||
|
l10n_find_plocales_changes "${S}/po" "" ".po"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
|
||||||
|
eapply_bin(){
|
||||||
|
local patch
|
||||||
|
for patch in ${PATCHES_BIN[@]}; do
|
||||||
|
patchbin --nogit < "${patch}" || die
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
local md5="$(md5sum server/protocol.def)"
|
||||||
|
|
||||||
|
default
|
||||||
|
eapply_bin
|
||||||
|
eautoreconf
|
||||||
|
|
||||||
|
# Modification of the server protocol requires regenerating the server requests
|
||||||
|
if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then
|
||||||
|
einfo "server/protocol.def was patched; running tools/make_requests"
|
||||||
|
tools/make_requests || die #432348
|
||||||
|
fi
|
||||||
|
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
|
||||||
|
if ! use run-exes; then
|
||||||
|
sed -i '/^MimeType/d' loader/wine.desktop || die #117785
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Edit wine.desktop to work for specific variant
|
||||||
|
sed -e "/^Exec=/s/wine /wine-${WINE_VARIANT} /" -i loader/wine.desktop || die
|
||||||
|
|
||||||
|
# hi-res default icon, #472990, https://bugs.winehq.org/show_bug.cgi?id=24652
|
||||||
|
cp "${PATCHDIR}/files/oic_winlogo.ico" dlls/user32/resources/ || die
|
||||||
|
|
||||||
|
l10n_get_locales > po/LINGUAS || die # otherwise wine doesn't respect LINGUAS
|
||||||
|
|
||||||
|
# Fix manpage generation for locales #469418 and abi_x86_64 #617864
|
||||||
|
|
||||||
|
# Duplicate manpages input files for wine64
|
||||||
|
local f
|
||||||
|
for f in loader/*.man.in; do
|
||||||
|
cp ${f} ${f/wine/wine64} || die
|
||||||
|
done
|
||||||
|
# Add wine64 manpages to Makefile
|
||||||
|
if use abi_x86_64; then
|
||||||
|
sed -i "/wine.man.in/i \
|
||||||
|
\\\twine64.man.in \\\\" loader/Makefile.in || die
|
||||||
|
sed -i -E 's/(.*wine)(.*\.UTF-8\.man\.in.*)/&\
|
||||||
|
\164\2/' loader/Makefile.in || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm_man_file(){
|
||||||
|
local file="${1}"
|
||||||
|
loc=${2}
|
||||||
|
sed -i "/${loc}\.UTF-8\.man\.in/d" "${file}" || die
|
||||||
|
}
|
||||||
|
|
||||||
|
while read f; do
|
||||||
|
l10n_for_each_disabled_locale_do rm_man_file "${f}"
|
||||||
|
done < <(find -name "Makefile.in" -exec grep -q "UTF-8.man.in" "{}" \; -print)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
wine_compiler_check || die
|
||||||
|
|
||||||
|
export LDCONFIG=/bin/true
|
||||||
|
use custom-cflags || strip-flags
|
||||||
|
|
||||||
|
multilib-minimal_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
local myconf=(
|
||||||
|
--prefix="${MY_PREFIX}"
|
||||||
|
--datarootdir="${MY_DATAROOTDIR}"
|
||||||
|
--datadir="${MY_DATADIR}"
|
||||||
|
--docdir="${MY_DOCDIR}"
|
||||||
|
--includedir="${MY_INCLUDEDIR}"
|
||||||
|
--libdir="${EPREFIX}/usr/$(get_libdir)/wine-${WINE_VARIANT}"
|
||||||
|
--libexecdir="${MY_LIBEXECDIR}"
|
||||||
|
--localstatedir="${MY_LOCALSTATEDIR}"
|
||||||
|
--mandir="${MY_MANDIR}"
|
||||||
|
--sysconfdir=/etc/wine
|
||||||
|
$(use_with alsa)
|
||||||
|
$(use_with capi)
|
||||||
|
$(use_with lcms cms)
|
||||||
|
$(use_with cups)
|
||||||
|
$(use_with ncurses curses)
|
||||||
|
$(use_with udisks dbus)
|
||||||
|
$(use_with faudio)
|
||||||
|
$(use_with fontconfig)
|
||||||
|
$(use_with ssl gnutls)
|
||||||
|
$(use_enable gecko mshtml)
|
||||||
|
$(use_with gphoto2 gphoto)
|
||||||
|
$(use_with gsm)
|
||||||
|
$(use_with gssapi)
|
||||||
|
$(use_with gstreamer)
|
||||||
|
--without-hal
|
||||||
|
$(use_with jpeg)
|
||||||
|
$(use_with kerberos krb5)
|
||||||
|
$(use_with ldap)
|
||||||
|
$(use_enable mono mscoree)
|
||||||
|
$(use_with mp3 mpg123)
|
||||||
|
$(use_with netapi)
|
||||||
|
$(use_with nls gettext)
|
||||||
|
$(use_with openal)
|
||||||
|
$(use_with opencl)
|
||||||
|
$(use_with opengl)
|
||||||
|
$(use_with osmesa)
|
||||||
|
$(use_with oss)
|
||||||
|
$(use_with pcap)
|
||||||
|
$(use_with png)
|
||||||
|
$(use_with pulseaudio pulse)
|
||||||
|
$(use_with threads pthread)
|
||||||
|
$(use_with scanner sane)
|
||||||
|
$(use_with sdl)
|
||||||
|
$(use_enable test tests)
|
||||||
|
$(use_with truetype freetype)
|
||||||
|
$(use_with udev)
|
||||||
|
$(use_with v4l)
|
||||||
|
$(use_with vkd3d)
|
||||||
|
$(use_with vulkan)
|
||||||
|
$(use_with X x)
|
||||||
|
$(use_with X xfixes)
|
||||||
|
$(use_with xcomposite)
|
||||||
|
$(use_with xinerama)
|
||||||
|
$(use_with xml)
|
||||||
|
$(use_with xml xslt)
|
||||||
|
)
|
||||||
|
|
||||||
|
local PKG_CONFIG AR RANLIB
|
||||||
|
# Avoid crossdev's i686-pc-linux-gnu-pkg-config if building wine32 on amd64; #472038
|
||||||
|
# set AR and RANLIB to make QA scripts happy; #483342
|
||||||
|
tc-export PKG_CONFIG AR RANLIB
|
||||||
|
|
||||||
|
if use amd64; then
|
||||||
|
if [[ ${ABI} == amd64 ]]; then
|
||||||
|
myconf+=( --enable-win64 )
|
||||||
|
else
|
||||||
|
myconf+=( --disable-win64 )
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Note: using --with-wine64 results in problems with multilib.eclass
|
||||||
|
# CC/LD hackery. We're using separate tools instead.
|
||||||
|
fi
|
||||||
|
|
||||||
|
ECONF_SOURCE=${S} \
|
||||||
|
econf "${myconf[@]}"
|
||||||
|
emake depend
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_test() {
|
||||||
|
# FIXME: win32-only; wine64 tests fail with "could not find the Wine loader"
|
||||||
|
if [[ ${ABI} == x86 ]]; then
|
||||||
|
if [[ $(id -u) == 0 ]]; then
|
||||||
|
ewarn "Skipping tests since they cannot be run under the root user."
|
||||||
|
ewarn "To run the test ${MY_PN} suite, add userpriv to FEATURES in make.conf"
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
|
WINEPREFIX="${T}/.wine-${ABI}" \
|
||||||
|
Xemake test
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install_all() {
|
||||||
|
local DOCS=( ANNOUNCE AUTHORS README )
|
||||||
|
add_locale_docs() {
|
||||||
|
local locale_doc="documentation/README.$1"
|
||||||
|
[[ ! -e ${locale_doc} ]] || DOCS+=( ${locale_doc} )
|
||||||
|
}
|
||||||
|
l10n_for_each_locale_do add_locale_docs
|
||||||
|
|
||||||
|
einstalldocs
|
||||||
|
prune_libtool_files --all
|
||||||
|
|
||||||
|
if ! use perl ; then # winedump calls function_grep.pl, and winemaker is a perl script
|
||||||
|
rm "${D%/}${MY_PREFIX}"/bin/{wine{dump,maker},function_grep.pl} \
|
||||||
|
"${D%/}${MY_MANDIR}"/man1/wine{dump,maker}.1 || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Remove wineconsole if neither backend is installed #551124
|
||||||
|
if ! use X && ! use ncurses; then
|
||||||
|
rm "${D%/}${MY_PREFIX}"/bin/wineconsole* || die
|
||||||
|
rm "${D%/}${MY_MANDIR}"/man1/wineconsole* || die
|
||||||
|
rm_wineconsole() {
|
||||||
|
rm "${D%/}${MY_PREFIX}/$(get_libdir)"/wine/{,fakedlls/}wineconsole.exe* || die
|
||||||
|
}
|
||||||
|
multilib_foreach_abi rm_wineconsole
|
||||||
|
fi
|
||||||
|
|
||||||
|
use abi_x86_32 && pax-mark psmr "${D%/}${MY_PREFIX}"/bin/wine{,-preloader} #255055
|
||||||
|
use abi_x86_64 && pax-mark psmr "${D%/}${MY_PREFIX}"/bin/wine64{,-preloader}
|
||||||
|
|
||||||
|
if use abi_x86_64 && ! use abi_x86_32; then
|
||||||
|
dosym wine64 "${MY_PREFIX}"/bin/wine # 404331
|
||||||
|
dosym wine64-preloader "${MY_PREFIX}"/bin/wine-preloader
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Failglob for binloops, shouldn't be necessary, but including to stay safe
|
||||||
|
eshopts_push -s failglob #615218
|
||||||
|
# Make wrappers for binaries for handling multiple variants
|
||||||
|
# Note: wrappers instead of symlinks because some are shell which use basename
|
||||||
|
local b
|
||||||
|
for b in "${D%/}${MY_PREFIX}"/bin/*; do
|
||||||
|
make_wrapper "${b##*/}-${WINE_VARIANT}" "${MY_PREFIX}/bin/${b##*/}"
|
||||||
|
done
|
||||||
|
eshopts_pop
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
eselect wine register ${P}
|
||||||
|
if [[ ${PN} == "wine-vanilla" ]]; then
|
||||||
|
eselect wine register --vanilla ${P} || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
eselect wine update --all --if-unset || die
|
||||||
|
|
||||||
|
xdg_desktop_database_update
|
||||||
|
|
||||||
|
if ! use gecko; then
|
||||||
|
ewarn "Without Wine Gecko, wine prefixes will not have a default"
|
||||||
|
ewarn "implementation of iexplore. Many older windows applications"
|
||||||
|
ewarn "rely upon the existence of an iexplore implementation, so"
|
||||||
|
ewarn "you will likely need to install an external one, like via winetricks"
|
||||||
|
fi
|
||||||
|
if ! use mono; then
|
||||||
|
ewarn "Without Wine Mono, wine prefixes will not have a default"
|
||||||
|
ewarn "implementation of .NET. Many windows applications rely upon"
|
||||||
|
ewarn "the existence of a .NET implementation, so you will likely need"
|
||||||
|
ewarn "to install an external one, like via winetricks"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_prerm() {
|
||||||
|
eselect wine deregister ${P}
|
||||||
|
if [[ ${PN} == "wine-vanilla" ]]; then
|
||||||
|
eselect wine deregister --vanilla ${P} || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
eselect wine update --all --if-unset || die
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_desktop_database_update
|
||||||
|
}
|
@ -0,0 +1,534 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
PLOCALES="ar bg ca cs da de el en en_US eo es fa fi fr he hi hr hu it ja ko lt ml nb_NO nl or pa pl pt_BR pt_PT rm ro ru si sk sl sr_RS@cyrillic sr_RS@latin sv te th tr uk wa zh_CN zh_TW"
|
||||||
|
PLOCALE_BACKUP="en"
|
||||||
|
|
||||||
|
inherit autotools eapi7-ver estack eutils flag-o-matic gnome2-utils l10n multilib multilib-minimal pax-utils toolchain-funcs virtualx xdg-utils
|
||||||
|
|
||||||
|
MY_PN="${PN%%-*}"
|
||||||
|
MY_P="${MY_PN}-${PV}"
|
||||||
|
|
||||||
|
if [[ ${PV} == "9999" ]] ; then
|
||||||
|
EGIT_REPO_URI="https://source.winehq.org/git/wine.git"
|
||||||
|
EGIT_BRANCH="master"
|
||||||
|
inherit git-r3
|
||||||
|
SRC_URI=""
|
||||||
|
#KEYWORDS=""
|
||||||
|
else
|
||||||
|
MAJOR_V=$(ver_cut 1)
|
||||||
|
SRC_URI="https://dl.winehq.org/wine/source/${MAJOR_V}.x/${MY_P}.tar.xz"
|
||||||
|
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
|
||||||
|
fi
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
GWP_V="20190316"
|
||||||
|
PATCHDIR="${WORKDIR}/gentoo-wine-patches"
|
||||||
|
|
||||||
|
DESCRIPTION="Free implementation of Windows(tm) on Unix, without external patchsets"
|
||||||
|
HOMEPAGE="https://www.winehq.org/"
|
||||||
|
SRC_URI="${SRC_URI}
|
||||||
|
https://dev.gentoo.org/~sarnex/distfiles/wine/gentoo-wine-patches-${GWP_V}.tar.xz
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1"
|
||||||
|
SLOT="${PV}"
|
||||||
|
IUSE="+abi_x86_32 +abi_x86_64 +alsa capi cups custom-cflags dos elibc_glibc faudio +fontconfig +gecko gphoto2 gsm gssapi gstreamer +jpeg kerberos kernel_FreeBSD +lcms ldap +mono mp3 ncurses netapi nls odbc openal opencl +opengl osmesa oss +perl pcap +png prelink pulseaudio +realtime +run-exes samba scanner sdl selinux +ssl test +threads +truetype udev +udisks v4l vkd3d vulkan +X +xcomposite xinerama +xml"
|
||||||
|
REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )
|
||||||
|
X? ( truetype )
|
||||||
|
elibc_glibc? ( threads )
|
||||||
|
osmesa? ( opengl )
|
||||||
|
test? ( abi_x86_32 )
|
||||||
|
vkd3d? ( vulkan )" # osmesa-opengl #286560 # X-truetype #551124
|
||||||
|
|
||||||
|
# FIXME: the test suite is unsuitable for us; many tests require net access
|
||||||
|
# or fail due to Xvfb's opengl limitations.
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
COMMON_DEPEND="
|
||||||
|
X? (
|
||||||
|
x11-libs/libXcursor[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXext[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXfixes[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXrandr[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXi[${MULTILIB_USEDEP}]
|
||||||
|
x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
|
||||||
|
)
|
||||||
|
alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
|
||||||
|
capi? ( net-libs/libcapi[${MULTILIB_USEDEP}] )
|
||||||
|
cups? ( net-print/cups:=[${MULTILIB_USEDEP}] )
|
||||||
|
faudio? ( app-emulation/faudio:=[${MULTILIB_USEDEP}] )
|
||||||
|
fontconfig? ( media-libs/fontconfig:=[${MULTILIB_USEDEP}] )
|
||||||
|
gphoto2? ( media-libs/libgphoto2:=[${MULTILIB_USEDEP}] )
|
||||||
|
gsm? ( media-sound/gsm:=[${MULTILIB_USEDEP}] )
|
||||||
|
gssapi? ( virtual/krb5[${MULTILIB_USEDEP}] )
|
||||||
|
gstreamer? (
|
||||||
|
media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
|
||||||
|
media-plugins/gst-plugins-meta:1.0[${MULTILIB_USEDEP}]
|
||||||
|
)
|
||||||
|
jpeg? ( virtual/jpeg:0=[${MULTILIB_USEDEP}] )
|
||||||
|
kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] )
|
||||||
|
lcms? ( media-libs/lcms:2=[${MULTILIB_USEDEP}] )
|
||||||
|
ldap? ( net-nds/openldap:=[${MULTILIB_USEDEP}] )
|
||||||
|
mp3? ( >=media-sound/mpg123-1.5.0[${MULTILIB_USEDEP}] )
|
||||||
|
ncurses? ( >=sys-libs/ncurses-5.2:0=[${MULTILIB_USEDEP}] )
|
||||||
|
netapi? ( net-fs/samba[netapi(+),${MULTILIB_USEDEP}] )
|
||||||
|
nls? ( sys-devel/gettext[${MULTILIB_USEDEP}] )
|
||||||
|
odbc? ( dev-db/unixODBC:=[${MULTILIB_USEDEP}] )
|
||||||
|
openal? ( media-libs/openal:=[${MULTILIB_USEDEP}] )
|
||||||
|
opencl? ( virtual/opencl[${MULTILIB_USEDEP}] )
|
||||||
|
opengl? (
|
||||||
|
virtual/glu[${MULTILIB_USEDEP}]
|
||||||
|
virtual/opengl[${MULTILIB_USEDEP}]
|
||||||
|
)
|
||||||
|
osmesa? ( >=media-libs/mesa-13[osmesa,${MULTILIB_USEDEP}] )
|
||||||
|
pcap? ( net-libs/libpcap[${MULTILIB_USEDEP}] )
|
||||||
|
png? ( media-libs/libpng:0=[${MULTILIB_USEDEP}] )
|
||||||
|
pulseaudio? ( media-sound/pulseaudio[${MULTILIB_USEDEP}] )
|
||||||
|
scanner? ( media-gfx/sane-backends:=[${MULTILIB_USEDEP}] )
|
||||||
|
sdl? ( media-libs/libsdl2:=[haptic,joystick,${MULTILIB_USEDEP}] )
|
||||||
|
ssl? ( net-libs/gnutls:=[${MULTILIB_USEDEP}] )
|
||||||
|
truetype? ( >=media-libs/freetype-2.0.0[${MULTILIB_USEDEP}] )
|
||||||
|
udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] )
|
||||||
|
udisks? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
|
||||||
|
v4l? ( media-libs/libv4l[${MULTILIB_USEDEP}] )
|
||||||
|
vkd3d? ( app-emulation/vkd3d[${MULTILIB_USEDEP}] )
|
||||||
|
vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )
|
||||||
|
xcomposite? ( x11-libs/libXcomposite[${MULTILIB_USEDEP}] )
|
||||||
|
xinerama? ( x11-libs/libXinerama[${MULTILIB_USEDEP}] )
|
||||||
|
xml? (
|
||||||
|
dev-libs/libxml2[${MULTILIB_USEDEP}]
|
||||||
|
dev-libs/libxslt[${MULTILIB_USEDEP}]
|
||||||
|
)"
|
||||||
|
|
||||||
|
RDEPEND="${COMMON_DEPEND}
|
||||||
|
app-emulation/wine-desktop-common
|
||||||
|
>app-eselect/eselect-wine-0.3
|
||||||
|
!app-emulation/wine:0
|
||||||
|
dos? ( >=games-emulation/dosbox-0.74_p20160629 )
|
||||||
|
gecko? ( app-emulation/wine-gecko:2.47[abi_x86_32?,abi_x86_64?] )
|
||||||
|
mono? ( app-emulation/wine-mono:4.7.5 )
|
||||||
|
perl? (
|
||||||
|
dev-lang/perl
|
||||||
|
dev-perl/XML-Simple
|
||||||
|
)
|
||||||
|
pulseaudio? (
|
||||||
|
realtime? ( sys-auth/rtkit )
|
||||||
|
)
|
||||||
|
samba? ( >=net-fs/samba-3.0.25[winbind] )
|
||||||
|
selinux? ( sec-policy/selinux-wine )
|
||||||
|
udisks? ( sys-fs/udisks:2 )"
|
||||||
|
|
||||||
|
# tools/make_requests requires perl
|
||||||
|
DEPEND="${COMMON_DEPEND}
|
||||||
|
sys-devel/flex
|
||||||
|
>=sys-kernel/linux-headers-2.6
|
||||||
|
virtual/pkgconfig
|
||||||
|
virtual/yacc
|
||||||
|
X? ( x11-base/xorg-proto )
|
||||||
|
prelink? ( sys-devel/prelink )
|
||||||
|
xinerama? ( x11-base/xorg-proto )"
|
||||||
|
|
||||||
|
# These use a non-standard "Wine" category, which is provided by
|
||||||
|
# /etc/xdg/applications-merged/wine.menu
|
||||||
|
QA_DESKTOP_FILE="usr/share/applications/wine-browsedrive.desktop
|
||||||
|
usr/share/applications/wine-notepad.desktop
|
||||||
|
usr/share/applications/wine-uninstaller.desktop
|
||||||
|
usr/share/applications/wine-winecfg.desktop"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${PATCHDIR}/patches/${MY_PN}-4.4-winegcc.patch" #260726
|
||||||
|
"${PATCHDIR}/patches/${MY_PN}-1.9.5-multilib-portage.patch" #395615
|
||||||
|
"${PATCHDIR}/patches/${MY_PN}-1.6-memset-O3.patch" #480508
|
||||||
|
"${PATCHDIR}/patches/${MY_PN}-2.0-multislot-apploader.patch" #310611
|
||||||
|
)
|
||||||
|
PATCHES_BIN=()
|
||||||
|
|
||||||
|
# https://bugs.gentoo.org/show_bug.cgi?id=635222
|
||||||
|
if [[ ${#PATCHES_BIN[@]} -ge 1 ]] || [[ ${PV} == 9999 ]]; then
|
||||||
|
DEPEND+=" dev-util/patchbin"
|
||||||
|
fi
|
||||||
|
|
||||||
|
wine_compiler_check() {
|
||||||
|
[[ ${MERGE_TYPE} = "binary" ]] && return 0
|
||||||
|
|
||||||
|
# GCC-specific bugs
|
||||||
|
if tc-is-gcc; then
|
||||||
|
# bug #549768
|
||||||
|
if use abi_x86_64 && [[ $(gcc-major-version) = 5 && $(gcc-minor-version) -le 2 ]]; then
|
||||||
|
ebegin "Checking for gcc-5 ms_abi compiler bug"
|
||||||
|
$(tc-getCC) -O2 "${PATCHDIR}/files/pr66838.c" -o "${T}"/pr66838 || die
|
||||||
|
# Run in subshell to prevent "Aborted" message
|
||||||
|
( "${T}"/pr66838 || false ) >/dev/null 2>&1
|
||||||
|
if ! eend $?; then
|
||||||
|
eerror "64-bit wine cannot be built with gcc-5.1 or initial patchset of 5.2.0"
|
||||||
|
eerror "due to compiler bugs; please re-emerge the latest gcc-5.2.x ebuild,"
|
||||||
|
eerror "or use gcc-config to select a different compiler version."
|
||||||
|
eerror "See https://bugs.gentoo.org/549768"
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
# bug #574044
|
||||||
|
if use abi_x86_64 && [[ $(gcc-major-version) = 5 && $(gcc-minor-version) = 3 ]]; then
|
||||||
|
ebegin "Checking for gcc-5-3 stack realignment compiler bug"
|
||||||
|
# Compile in subshell to prevent "Aborted" message
|
||||||
|
( $(tc-getCC) -O2 -mincoming-stack-boundary=3 "${PATCHDIR}/files/pr69140.c" -o "${T}"/pr69140 ) >/dev/null 2>&1
|
||||||
|
if ! eend $?; then
|
||||||
|
eerror "Wine cannot be built with this version of gcc-5.3"
|
||||||
|
eerror "due to compiler bugs; please re-emerge the latest gcc-5.3.x ebuild,"
|
||||||
|
eerror "or use gcc-config to select a different compiler version."
|
||||||
|
eerror "See https://bugs.gentoo.org/574044"
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Ensure compiler support
|
||||||
|
if use abi_x86_64; then
|
||||||
|
ebegin "Checking for 64-bit compiler with builtin_ms_va_list support"
|
||||||
|
# Compile in subshell to prevent "Aborted" message
|
||||||
|
( $(tc-getCC) -O2 "${PATCHDIR}/files/builtin_ms_va_list.c" -o "${T}"/builtin_ms_va_list >/dev/null 2>&1)
|
||||||
|
if ! eend $?; then
|
||||||
|
eerror "This version of $(tc-getCC) does not support builtin_ms_va_list, can't enable 64-bit wine"
|
||||||
|
eerror
|
||||||
|
eerror "You need gcc-4.4+ or clang 3.8+ to build 64-bit wine"
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
wine_build_environment_check() {
|
||||||
|
[[ ${MERGE_TYPE} = "binary" ]] && return 0
|
||||||
|
|
||||||
|
if use abi_x86_64; then
|
||||||
|
if tc-is-gcc && [[ $(gcc-major-version) -lt 4 || ( $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 4 ) ]]; then
|
||||||
|
eerror "You need gcc-4.4+ to compile 64-bit wine"
|
||||||
|
die
|
||||||
|
elif tc-is-clang && [[ $(clang-major-version) -lt 3 || ( $(clang-major-version) -eq 3 && $(clang-minor-version) -lt 8 ) ]]; then
|
||||||
|
eerror "You need clang-3.8+ to compile 64-bit wine"
|
||||||
|
die
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if tc-is-gcc && [[ $(gcc-major-version) -eq 5 && $(gcc-minor-version) -le 3 ]]; then
|
||||||
|
ewarn "GCC-5.0-5.3 suffered from compiler bugs and are no longer supported by"
|
||||||
|
ewarn "Gentoo's Toolchain Team. If your ebuild fails the compiler checks in"
|
||||||
|
ewarn "the configure phase, either update your compiler or switch to <5.0 || >=5.4"
|
||||||
|
fi
|
||||||
|
if tc-is-gcc && [[ $(gcc-major-version) -eq 5 && $(gcc-minor-version) -eq 4 ]]; then
|
||||||
|
if has "-march=i686" ${CFLAGS} && ! has "-mtune=generic" ${CFLAGS}; then
|
||||||
|
ewarn "Compilation can hang with CFLAGS=\"-march=i686\". You can temporarily work"
|
||||||
|
ewarn "around this by adding \"-mtune=generic\" to your CFLAGS for wine."
|
||||||
|
ewarn "See package.env in man 5 portage for more information on how to do this."
|
||||||
|
ewarn "See https://bugs.gentoo.org/show_bug.cgi?id=613128 for more details"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use abi_x86_32 && use opencl && [[ "$(eselect opencl show 2> /dev/null)" == "intel" ]]; then
|
||||||
|
eerror "You cannot build wine with USE=opencl because intel-ocl-sdk is 64-bit only."
|
||||||
|
eerror "See https://bugs.gentoo.org/487864 for more details."
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
wine_env_vcs_vars() {
|
||||||
|
local pn_live_var="${PN//[-+]/_}_LIVE_COMMIT"
|
||||||
|
local pn_live_val="${pn_live_var}"
|
||||||
|
eval pn_live_val='$'${pn_live_val}
|
||||||
|
if [[ ! -z ${EGIT_COMMIT} ]]; then
|
||||||
|
eerror "Commits must now be specified using the environmental variables"
|
||||||
|
eerror "EGIT_OVERRIDE_COMMIT_WINE"
|
||||||
|
eerror
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_pretend() {
|
||||||
|
wine_build_environment_check || die
|
||||||
|
|
||||||
|
# Verify OSS support
|
||||||
|
if use oss && ! use kernel_FreeBSD; then
|
||||||
|
if ! has_version ">=media-sound/oss-4"; then
|
||||||
|
eerror "You cannot build wine with USE=oss without having support from a"
|
||||||
|
eerror "FreeBSD kernel or >=media-sound/oss-4 (only available through external repos)"
|
||||||
|
eerror
|
||||||
|
die
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
wine_build_environment_check || die
|
||||||
|
wine_env_vcs_vars || die
|
||||||
|
|
||||||
|
WINE_VARIANT="${PN#wine}-${PV}"
|
||||||
|
WINE_VARIANT="${WINE_VARIANT#-}"
|
||||||
|
|
||||||
|
MY_PREFIX="${EPREFIX}/usr/lib/wine-${WINE_VARIANT}"
|
||||||
|
MY_DATAROOTDIR="${EPREFIX}/usr/share/wine-${WINE_VARIANT}"
|
||||||
|
MY_DATADIR="${MY_DATAROOTDIR}"
|
||||||
|
MY_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
|
||||||
|
MY_INCLUDEDIR="${EPREFIX}/usr/include/wine-${WINE_VARIANT}"
|
||||||
|
MY_LIBEXECDIR="${EPREFIX}/usr/libexec/wine-${WINE_VARIANT}"
|
||||||
|
MY_LOCALSTATEDIR="${EPREFIX}/var/wine-${WINE_VARIANT}"
|
||||||
|
MY_MANDIR="${MY_DATADIR}/man"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
if [[ ${PV} == "9999" ]] ; then
|
||||||
|
EGIT_CHECKOUT_DIR="${S}" git-r3_src_unpack
|
||||||
|
fi
|
||||||
|
|
||||||
|
default
|
||||||
|
|
||||||
|
l10n_find_plocales_changes "${S}/po" "" ".po"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
|
||||||
|
eapply_bin(){
|
||||||
|
local patch
|
||||||
|
for patch in ${PATCHES_BIN[@]}; do
|
||||||
|
patchbin --nogit < "${patch}" || die
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
local md5="$(md5sum server/protocol.def)"
|
||||||
|
|
||||||
|
default
|
||||||
|
eapply_bin
|
||||||
|
eautoreconf
|
||||||
|
|
||||||
|
# Modification of the server protocol requires regenerating the server requests
|
||||||
|
if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then
|
||||||
|
einfo "server/protocol.def was patched; running tools/make_requests"
|
||||||
|
tools/make_requests || die #432348
|
||||||
|
fi
|
||||||
|
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
|
||||||
|
if ! use run-exes; then
|
||||||
|
sed -i '/^MimeType/d' loader/wine.desktop || die #117785
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Edit wine.desktop to work for specific variant
|
||||||
|
sed -e "/^Exec=/s/wine /wine-${WINE_VARIANT} /" -i loader/wine.desktop || die
|
||||||
|
|
||||||
|
# hi-res default icon, #472990, https://bugs.winehq.org/show_bug.cgi?id=24652
|
||||||
|
cp "${PATCHDIR}/files/oic_winlogo.ico" dlls/user32/resources/ || die
|
||||||
|
|
||||||
|
l10n_get_locales > po/LINGUAS || die # otherwise wine doesn't respect LINGUAS
|
||||||
|
|
||||||
|
# Fix manpage generation for locales #469418 and abi_x86_64 #617864
|
||||||
|
|
||||||
|
# Duplicate manpages input files for wine64
|
||||||
|
local f
|
||||||
|
for f in loader/*.man.in; do
|
||||||
|
cp ${f} ${f/wine/wine64} || die
|
||||||
|
done
|
||||||
|
# Add wine64 manpages to Makefile
|
||||||
|
if use abi_x86_64; then
|
||||||
|
sed -i "/wine.man.in/i \
|
||||||
|
\\\twine64.man.in \\\\" loader/Makefile.in || die
|
||||||
|
sed -i -E 's/(.*wine)(.*\.UTF-8\.man\.in.*)/&\
|
||||||
|
\164\2/' loader/Makefile.in || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm_man_file(){
|
||||||
|
local file="${1}"
|
||||||
|
loc=${2}
|
||||||
|
sed -i "/${loc}\.UTF-8\.man\.in/d" "${file}" || die
|
||||||
|
}
|
||||||
|
|
||||||
|
while read f; do
|
||||||
|
l10n_for_each_disabled_locale_do rm_man_file "${f}"
|
||||||
|
done < <(find -name "Makefile.in" -exec grep -q "UTF-8.man.in" "{}" \; -print)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
wine_compiler_check || die
|
||||||
|
|
||||||
|
export LDCONFIG=/bin/true
|
||||||
|
use custom-cflags || strip-flags
|
||||||
|
|
||||||
|
multilib-minimal_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
local myconf=(
|
||||||
|
--prefix="${MY_PREFIX}"
|
||||||
|
--datarootdir="${MY_DATAROOTDIR}"
|
||||||
|
--datadir="${MY_DATADIR}"
|
||||||
|
--docdir="${MY_DOCDIR}"
|
||||||
|
--includedir="${MY_INCLUDEDIR}"
|
||||||
|
--libdir="${EPREFIX}/usr/$(get_libdir)/wine-${WINE_VARIANT}"
|
||||||
|
--libexecdir="${MY_LIBEXECDIR}"
|
||||||
|
--localstatedir="${MY_LOCALSTATEDIR}"
|
||||||
|
--mandir="${MY_MANDIR}"
|
||||||
|
--sysconfdir=/etc/wine
|
||||||
|
$(use_with alsa)
|
||||||
|
$(use_with capi)
|
||||||
|
$(use_with lcms cms)
|
||||||
|
$(use_with cups)
|
||||||
|
$(use_with ncurses curses)
|
||||||
|
$(use_with udisks dbus)
|
||||||
|
$(use_with faudio)
|
||||||
|
$(use_with fontconfig)
|
||||||
|
$(use_with ssl gnutls)
|
||||||
|
$(use_enable gecko mshtml)
|
||||||
|
$(use_with gphoto2 gphoto)
|
||||||
|
$(use_with gsm)
|
||||||
|
$(use_with gssapi)
|
||||||
|
$(use_with gstreamer)
|
||||||
|
--without-hal
|
||||||
|
$(use_with jpeg)
|
||||||
|
$(use_with kerberos krb5)
|
||||||
|
$(use_with ldap)
|
||||||
|
$(use_enable mono mscoree)
|
||||||
|
$(use_with mp3 mpg123)
|
||||||
|
$(use_with netapi)
|
||||||
|
$(use_with nls gettext)
|
||||||
|
$(use_with openal)
|
||||||
|
$(use_with opencl)
|
||||||
|
$(use_with opengl)
|
||||||
|
$(use_with osmesa)
|
||||||
|
$(use_with oss)
|
||||||
|
$(use_with pcap)
|
||||||
|
$(use_with png)
|
||||||
|
$(use_with pulseaudio pulse)
|
||||||
|
$(use_with threads pthread)
|
||||||
|
$(use_with scanner sane)
|
||||||
|
$(use_with sdl)
|
||||||
|
$(use_enable test tests)
|
||||||
|
$(use_with truetype freetype)
|
||||||
|
$(use_with udev)
|
||||||
|
$(use_with v4l)
|
||||||
|
$(use_with vkd3d)
|
||||||
|
$(use_with vulkan)
|
||||||
|
$(use_with X x)
|
||||||
|
$(use_with X xfixes)
|
||||||
|
$(use_with xcomposite)
|
||||||
|
$(use_with xinerama)
|
||||||
|
$(use_with xml)
|
||||||
|
$(use_with xml xslt)
|
||||||
|
)
|
||||||
|
|
||||||
|
local PKG_CONFIG AR RANLIB
|
||||||
|
# Avoid crossdev's i686-pc-linux-gnu-pkg-config if building wine32 on amd64; #472038
|
||||||
|
# set AR and RANLIB to make QA scripts happy; #483342
|
||||||
|
tc-export PKG_CONFIG AR RANLIB
|
||||||
|
|
||||||
|
if use amd64; then
|
||||||
|
if [[ ${ABI} == amd64 ]]; then
|
||||||
|
myconf+=( --enable-win64 )
|
||||||
|
else
|
||||||
|
myconf+=( --disable-win64 )
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Note: using --with-wine64 results in problems with multilib.eclass
|
||||||
|
# CC/LD hackery. We're using separate tools instead.
|
||||||
|
fi
|
||||||
|
|
||||||
|
ECONF_SOURCE=${S} \
|
||||||
|
econf "${myconf[@]}"
|
||||||
|
emake depend
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_test() {
|
||||||
|
# FIXME: win32-only; wine64 tests fail with "could not find the Wine loader"
|
||||||
|
if [[ ${ABI} == x86 ]]; then
|
||||||
|
if [[ $(id -u) == 0 ]]; then
|
||||||
|
ewarn "Skipping tests since they cannot be run under the root user."
|
||||||
|
ewarn "To run the test ${MY_PN} suite, add userpriv to FEATURES in make.conf"
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
|
WINEPREFIX="${T}/.wine-${ABI}" \
|
||||||
|
Xemake test
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install_all() {
|
||||||
|
local DOCS=( ANNOUNCE AUTHORS README )
|
||||||
|
add_locale_docs() {
|
||||||
|
local locale_doc="documentation/README.$1"
|
||||||
|
[[ ! -e ${locale_doc} ]] || DOCS+=( ${locale_doc} )
|
||||||
|
}
|
||||||
|
l10n_for_each_locale_do add_locale_docs
|
||||||
|
|
||||||
|
einstalldocs
|
||||||
|
prune_libtool_files --all
|
||||||
|
|
||||||
|
if ! use perl ; then # winedump calls function_grep.pl, and winemaker is a perl script
|
||||||
|
rm "${D%/}${MY_PREFIX}"/bin/{wine{dump,maker},function_grep.pl} \
|
||||||
|
"${D%/}${MY_MANDIR}"/man1/wine{dump,maker}.1 || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Remove wineconsole if neither backend is installed #551124
|
||||||
|
if ! use X && ! use ncurses; then
|
||||||
|
rm "${D%/}${MY_PREFIX}"/bin/wineconsole* || die
|
||||||
|
rm "${D%/}${MY_MANDIR}"/man1/wineconsole* || die
|
||||||
|
rm_wineconsole() {
|
||||||
|
rm "${D%/}${MY_PREFIX}/$(get_libdir)"/wine/{,fakedlls/}wineconsole.exe* || die
|
||||||
|
}
|
||||||
|
multilib_foreach_abi rm_wineconsole
|
||||||
|
fi
|
||||||
|
|
||||||
|
use abi_x86_32 && pax-mark psmr "${D%/}${MY_PREFIX}"/bin/wine{,-preloader} #255055
|
||||||
|
use abi_x86_64 && pax-mark psmr "${D%/}${MY_PREFIX}"/bin/wine64{,-preloader}
|
||||||
|
|
||||||
|
if use abi_x86_64 && ! use abi_x86_32; then
|
||||||
|
dosym wine64 "${MY_PREFIX}"/bin/wine # 404331
|
||||||
|
dosym wine64-preloader "${MY_PREFIX}"/bin/wine-preloader
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Failglob for binloops, shouldn't be necessary, but including to stay safe
|
||||||
|
eshopts_push -s failglob #615218
|
||||||
|
# Make wrappers for binaries for handling multiple variants
|
||||||
|
# Note: wrappers instead of symlinks because some are shell which use basename
|
||||||
|
local b
|
||||||
|
for b in "${D%/}${MY_PREFIX}"/bin/*; do
|
||||||
|
make_wrapper "${b##*/}-${WINE_VARIANT}" "${MY_PREFIX}/bin/${b##*/}"
|
||||||
|
done
|
||||||
|
eshopts_pop
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
eselect wine register ${P}
|
||||||
|
if [[ ${PN} == "wine-vanilla" ]]; then
|
||||||
|
eselect wine register --vanilla ${P} || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
eselect wine update --all --if-unset || die
|
||||||
|
|
||||||
|
xdg_desktop_database_update
|
||||||
|
|
||||||
|
if ! use gecko; then
|
||||||
|
ewarn "Without Wine Gecko, wine prefixes will not have a default"
|
||||||
|
ewarn "implementation of iexplore. Many older windows applications"
|
||||||
|
ewarn "rely upon the existence of an iexplore implementation, so"
|
||||||
|
ewarn "you will likely need to install an external one, like via winetricks"
|
||||||
|
fi
|
||||||
|
if ! use mono; then
|
||||||
|
ewarn "Without Wine Mono, wine prefixes will not have a default"
|
||||||
|
ewarn "implementation of .NET. Many windows applications rely upon"
|
||||||
|
ewarn "the existence of a .NET implementation, so you will likely need"
|
||||||
|
ewarn "to install an external one, like via winetricks"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_prerm() {
|
||||||
|
eselect wine deregister ${P}
|
||||||
|
if [[ ${PN} == "wine-vanilla" ]]; then
|
||||||
|
eselect wine deregister --vanilla ${P} || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
eselect wine update --all --if-unset || die
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_desktop_database_update
|
||||||
|
}
|
@ -0,0 +1,464 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python2_7 )
|
||||||
|
PYTHON_REQ_USE='ncurses,xml,threads'
|
||||||
|
|
||||||
|
inherit bash-completion-r1 flag-o-matic multilib python-single-r1 toolchain-funcs
|
||||||
|
|
||||||
|
MY_PV=${PV/_/-}
|
||||||
|
|
||||||
|
if [[ $PV == *9999 ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
REPO="xen.git"
|
||||||
|
EGIT_REPO_URI="git://xenbits.xen.org/${REPO}"
|
||||||
|
S="${WORKDIR}/${REPO}"
|
||||||
|
else
|
||||||
|
KEYWORDS="amd64 ~arm ~arm64 ~x86"
|
||||||
|
UPSTREAM_VER=1
|
||||||
|
SECURITY_VER=
|
||||||
|
# xen-tools's gentoo patches tarball
|
||||||
|
GENTOO_VER=16
|
||||||
|
# xen-tools's gentoo patches version which apply to this specific ebuild
|
||||||
|
GENTOO_GPV=1
|
||||||
|
# xen-tools ovmf's patches
|
||||||
|
OVMF_VER=3
|
||||||
|
|
||||||
|
SEABIOS_VER=1.10.0
|
||||||
|
# OVMF upstream 5920a9d16b1ab887c2858224316a98e961d71b05
|
||||||
|
OVMF_PV=20170321
|
||||||
|
|
||||||
|
[[ -n ${UPSTREAM_VER} ]] && \
|
||||||
|
UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz
|
||||||
|
https://github.com/hydrapolic/gentoo-dist/raw/master/xen/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||||
|
[[ -n ${SECURITY_VER} ]] && \
|
||||||
|
SECURITY_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-security-patches-${SECURITY_VER}.tar.xz"
|
||||||
|
[[ -n ${GENTOO_VER} ]] && \
|
||||||
|
GENTOO_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-gentoo-patches-${GENTOO_VER}.tar.xz
|
||||||
|
https://github.com/hydrapolic/gentoo-dist/raw/master/xen/${PN/-tools/}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
||||||
|
[[ -n ${OVMF_VER} ]] && \
|
||||||
|
OVMF_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-ovmf-patches-${OVMF_VER}.tar.xz"
|
||||||
|
|
||||||
|
SRC_URI="https://downloads.xenproject.org/release/xen/${MY_PV}/xen-${MY_PV}.tar.gz
|
||||||
|
http://code.coreboot.org/p/seabios/downloads/get/seabios-${SEABIOS_VER}.tar.gz
|
||||||
|
https://dev.gentoo.org/~dlan/distfiles/seabios-${SEABIOS_VER}.tar.gz
|
||||||
|
ovmf? ( https://dev.gentoo.org/~dlan/distfiles/ovmf-${OVMF_PV}.tar.xz
|
||||||
|
${OVMF_PATCHSET_URI} )
|
||||||
|
${UPSTREAM_PATCHSET_URI}
|
||||||
|
${SECURITY_PATCHSET_URI}
|
||||||
|
${GENTOO_PATCHSET_URI}"
|
||||||
|
|
||||||
|
S="${WORKDIR}/xen-${MY_PV}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="Xen tools including QEMU and xl"
|
||||||
|
HOMEPAGE="https://www.xenproject.org"
|
||||||
|
DOCS=( README docs/README.xen-bugtool )
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0/$(ver_cut 1-2)"
|
||||||
|
# Inclusion of IUSE ocaml on stabalizing requires maintainer of ocaml to (get off his hands and) make
|
||||||
|
# >=dev-lang/ocaml-4 stable
|
||||||
|
# Masked in profiles/eapi-5-files instead
|
||||||
|
IUSE="api custom-cflags debug doc flask hvm ocaml ovmf +pam pygrub python +qemu +qemu-traditional screen sdl static-libs system-qemu system-seabios"
|
||||||
|
|
||||||
|
REQUIRED_USE="
|
||||||
|
${PYTHON_REQUIRED_USE}
|
||||||
|
pygrub? ( python )
|
||||||
|
ovmf? ( hvm )
|
||||||
|
^^ ( qemu system-qemu )"
|
||||||
|
|
||||||
|
COMMON_DEPEND="
|
||||||
|
sys-apps/pciutils
|
||||||
|
dev-libs/lzo:2
|
||||||
|
dev-libs/glib:2
|
||||||
|
dev-libs/yajl
|
||||||
|
dev-libs/libaio
|
||||||
|
dev-libs/libgcrypt:0
|
||||||
|
sys-libs/zlib
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPEND="${COMMON_DEPEND}
|
||||||
|
>=sys-kernel/linux-headers-4.11
|
||||||
|
dev-python/lxml[${PYTHON_USEDEP}]
|
||||||
|
x86? ( sys-devel/dev86
|
||||||
|
sys-power/iasl )
|
||||||
|
pam? ( dev-python/pypam[${PYTHON_USEDEP}] )
|
||||||
|
api? ( dev-libs/libxml2
|
||||||
|
net-misc/curl )
|
||||||
|
ovmf? (
|
||||||
|
!arm? ( !arm64? ( dev-lang/nasm ) )
|
||||||
|
$(python_gen_impl_dep sqlite)
|
||||||
|
)
|
||||||
|
!amd64? ( >=sys-apps/dtc-1.4.0 )
|
||||||
|
amd64? ( sys-devel/bin86
|
||||||
|
system-seabios? ( sys-firmware/seabios )
|
||||||
|
sys-firmware/ipxe
|
||||||
|
sys-devel/dev86
|
||||||
|
sys-power/iasl )
|
||||||
|
dev-lang/perl
|
||||||
|
app-misc/pax-utils
|
||||||
|
doc? (
|
||||||
|
app-text/ghostscript-gpl
|
||||||
|
app-text/pandoc
|
||||||
|
dev-python/markdown[${PYTHON_USEDEP}]
|
||||||
|
dev-texlive/texlive-latexextra
|
||||||
|
media-gfx/transfig
|
||||||
|
)
|
||||||
|
hvm? ( x11-base/xorg-proto )
|
||||||
|
qemu? (
|
||||||
|
app-arch/snappy:=
|
||||||
|
x11-libs/pixman
|
||||||
|
sdl? ( media-libs/libsdl[X] )
|
||||||
|
)
|
||||||
|
system-qemu? ( app-emulation/qemu[xen] )
|
||||||
|
ocaml? ( dev-ml/findlib
|
||||||
|
>=dev-lang/ocaml-4 )"
|
||||||
|
|
||||||
|
RDEPEND="${COMMON_DEPEND}
|
||||||
|
sys-apps/iproute2[-minimal]
|
||||||
|
net-misc/bridge-utils
|
||||||
|
screen? (
|
||||||
|
app-misc/screen
|
||||||
|
app-admin/logrotate
|
||||||
|
)"
|
||||||
|
|
||||||
|
# hvmloader is used to bootstrap a fully virtualized kernel
|
||||||
|
# Approved by QA team in bug #144032
|
||||||
|
QA_WX_LOAD="
|
||||||
|
usr/libexec/xen/boot/hvmloader
|
||||||
|
usr/share/qemu-xen/qemu/s390-ccw.img
|
||||||
|
usr/share/qemu-xen/qemu/u-boot.e500
|
||||||
|
"
|
||||||
|
|
||||||
|
QA_PREBUILT="
|
||||||
|
usr/libexec/xen/bin/ivshmem-client
|
||||||
|
usr/libexec/xen/bin/ivshmem-server
|
||||||
|
usr/libexec/xen/bin/qemu-img
|
||||||
|
usr/libexec/xen/bin/qemu-io
|
||||||
|
usr/libexec/xen/bin/qemu-nbd
|
||||||
|
usr/libexec/xen/bin/qemu-system-i386
|
||||||
|
usr/libexec/xen/bin/virtfs-proxy-helper
|
||||||
|
usr/libexec/xen/libexec/xen-bridge-helper
|
||||||
|
usr/share/qemu-xen/qemu/s390-ccw.img
|
||||||
|
usr/share/qemu-xen/qemu/s390-netboot.img
|
||||||
|
usr/share/qemu-xen/qemu/u-boot.e500
|
||||||
|
"
|
||||||
|
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
python_setup
|
||||||
|
export "CONFIG_LOMOUNT=y"
|
||||||
|
|
||||||
|
#bug 522642, disable compile tools/tests
|
||||||
|
export "CONFIG_TESTS=n"
|
||||||
|
|
||||||
|
if [[ -z ${XEN_TARGET_ARCH} ]] ; then
|
||||||
|
if use x86 && use amd64; then
|
||||||
|
die "Confusion! Both x86 and amd64 are set in your use flags!"
|
||||||
|
elif use x86; then
|
||||||
|
export XEN_TARGET_ARCH="x86_32"
|
||||||
|
elif use amd64 ; then
|
||||||
|
export XEN_TARGET_ARCH="x86_64"
|
||||||
|
elif use arm; then
|
||||||
|
export XEN_TARGET_ARCH="arm32"
|
||||||
|
elif use arm64; then
|
||||||
|
export XEN_TARGET_ARCH="arm64"
|
||||||
|
else
|
||||||
|
die "Unsupported architecture!"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
local i
|
||||||
|
|
||||||
|
# Upstream's patchset
|
||||||
|
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||||
|
einfo "Try to apply Xen Upstream patch set"
|
||||||
|
eapply "${WORKDIR}"/patches-upstream
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Security patchset
|
||||||
|
if [[ -n ${SECURITY_VER} ]]; then
|
||||||
|
einfo "Try to apply Xen Security patch set"
|
||||||
|
# apply main xen patches
|
||||||
|
# Two parallel systems, both work side by side
|
||||||
|
# Over time they may concdense into one. This will suffice for now
|
||||||
|
EPATCH_SUFFIX="patch"
|
||||||
|
EPATCH_FORCE="yes"
|
||||||
|
|
||||||
|
source "${WORKDIR}"/patches-security/${PV}.conf || die
|
||||||
|
|
||||||
|
for i in ${XEN_SECURITY_MAIN}; do
|
||||||
|
eapply "${WORKDIR}"/patches-security/xen/$i
|
||||||
|
done
|
||||||
|
|
||||||
|
# apply qemu-xen/upstream patches
|
||||||
|
pushd "${S}"/tools/qemu-xen/ > /dev/null
|
||||||
|
for i in ${XEN_SECURITY_QEMUU}; do
|
||||||
|
eapply "${WORKDIR}"/patches-security/qemuu/$i
|
||||||
|
done
|
||||||
|
popd > /dev/null
|
||||||
|
|
||||||
|
# apply qemu-traditional patches
|
||||||
|
pushd "${S}"/tools/qemu-xen-traditional/ > /dev/null
|
||||||
|
for i in ${XEN_SECURITY_QEMUT}; do
|
||||||
|
eapply "${WORKDIR}"/patches-security/qemut/$i
|
||||||
|
done
|
||||||
|
popd > /dev/null
|
||||||
|
fi
|
||||||
|
|
||||||
|
# move before Gentoo patch, one patch should apply to seabios, to fix gcc-4.5.x build err
|
||||||
|
mv ../seabios-${SEABIOS_VER} tools/firmware/seabios-dir-remote || die
|
||||||
|
pushd tools/firmware/ > /dev/null
|
||||||
|
ln -s seabios-dir-remote seabios-dir || die
|
||||||
|
popd > /dev/null
|
||||||
|
|
||||||
|
# Gentoo's patchset
|
||||||
|
if [[ -n ${GENTOO_VER} && -n ${GENTOO_GPV} ]]; then
|
||||||
|
einfo "Try to apply Gentoo specific patch set"
|
||||||
|
source "${FILESDIR}"/gentoo-patches.conf || die
|
||||||
|
_gpv=_gpv_${PN/-/_}_${PV//./}_${GENTOO_GPV}
|
||||||
|
for i in ${!_gpv}; do
|
||||||
|
eapply "${WORKDIR}"/patches-gentoo/$i
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Ovmf's patchset
|
||||||
|
if use ovmf; then
|
||||||
|
if [[ -n ${OVMF_VER} ]];then
|
||||||
|
einfo "Try to apply Ovmf patch set"
|
||||||
|
pushd "${WORKDIR}"/ovmf-*/ > /dev/null
|
||||||
|
eapply "${WORKDIR}"/patches-ovmf
|
||||||
|
popd > /dev/null
|
||||||
|
fi
|
||||||
|
mv ../ovmf-${OVMF_PV} tools/firmware/ovmf-dir-remote || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
mv tools/qemu-xen/qemu-bridge-helper.c tools/qemu-xen/xen-bridge-helper.c || die
|
||||||
|
|
||||||
|
# Fix texi2html build error with new texi2html, qemu.doc.html
|
||||||
|
sed -i -e "/texi2html -monolithic/s/-number//" tools/qemu-xen-traditional/Makefile || die
|
||||||
|
|
||||||
|
use api || sed -e "/SUBDIRS-\$(LIBXENAPI_BINDINGS) += libxen/d" -i tools/Makefile || die
|
||||||
|
sed -e 's:$(MAKE) PYTHON=$(PYTHON) subdirs-$@:LC_ALL=C "$(MAKE)" PYTHON=$(PYTHON) subdirs-$@:' \
|
||||||
|
-i tools/firmware/Makefile || die
|
||||||
|
|
||||||
|
# Drop .config, fixes to gcc-4.6
|
||||||
|
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
|
||||||
|
|
||||||
|
# if the user *really* wants to use their own custom-cflags, let them
|
||||||
|
if use custom-cflags; then
|
||||||
|
einfo "User wants their own CFLAGS - removing defaults"
|
||||||
|
|
||||||
|
# try and remove all the default cflags
|
||||||
|
find "${S}" \( -name Makefile -o -name Rules.mk -o -name Config.mk \) \
|
||||||
|
-exec sed \
|
||||||
|
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
|
||||||
|
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
|
||||||
|
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
|
||||||
|
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
|
||||||
|
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
|
||||||
|
-i {} + || die "failed to re-set custom-cflags"
|
||||||
|
else
|
||||||
|
unset CFLAGS
|
||||||
|
unset LDFLAGS
|
||||||
|
unset ASFLAGS
|
||||||
|
unset CPPFLAGS
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! use pygrub; then
|
||||||
|
sed -e '/^SUBDIRS-y += pygrub/d' -i tools/Makefile || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! use python; then
|
||||||
|
sed -e '/^SUBDIRS-y += python$/d' -i tools/Makefile || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! use hvm; then
|
||||||
|
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
|
||||||
|
# Bug 351648
|
||||||
|
elif ! use x86 && ! has x86 $(get_all_abis); then
|
||||||
|
mkdir -p "${WORKDIR}"/extra-headers/gnu || die
|
||||||
|
touch "${WORKDIR}"/extra-headers/gnu/stubs-32.h || die
|
||||||
|
export CPATH="${WORKDIR}"/extra-headers
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use qemu; then
|
||||||
|
if use sdl; then
|
||||||
|
sed -i -e "s:\$\$source/configure:\0 --enable-sdl:" \
|
||||||
|
tools/Makefile || die
|
||||||
|
else
|
||||||
|
sed -i -e "s:\${QEMU_ROOT\:\-\.}/configure:\0 --disable-sdl:" \
|
||||||
|
tools/qemu-xen-traditional/xen-setup || die
|
||||||
|
sed -i -e "s:\$\$source/configure:\0 --disable-sdl:" \
|
||||||
|
tools/Makefile || die
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
# Don't bother with qemu, only needed for fully virtualised guests
|
||||||
|
sed -e "s:install-tools\: tools/qemu-xen-traditional-dir:install-tools\: :g" -i Makefile || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Reset bash completion dir; Bug 472438
|
||||||
|
sed -e "s:^BASH_COMPLETION_DIR ?= \$(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(get_bashcompdir):" \
|
||||||
|
-i Config.mk || die
|
||||||
|
sed -i -e "/bash-completion/s/xl\.sh/xl/g" tools/libxl/Makefile || die
|
||||||
|
|
||||||
|
# xencommons, Bug #492332, sed lighter weight than patching
|
||||||
|
sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \
|
||||||
|
-i tools/hotplug/Linux/init.d/xencommons.in || die
|
||||||
|
|
||||||
|
# fix bashishm
|
||||||
|
sed -e '/Usage/s/\$//g' \
|
||||||
|
-i tools/hotplug/Linux/init.d/xendriverdomain.in || die
|
||||||
|
|
||||||
|
# respect multilib, usr/lib/libcacard.so.0.0.0
|
||||||
|
sed -e "/^libdir=/s/\/lib/\/$(get_libdir)/" \
|
||||||
|
-i tools/qemu-xen/configure || die
|
||||||
|
|
||||||
|
#bug 518136, don't build 32bit exactuable for nomultilib profile
|
||||||
|
if [[ "${ARCH}" == 'amd64' ]] && ! has_multilib_profile; then
|
||||||
|
sed -i -e "/x86_emulator/d" tools/tests/Makefile || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
# uncomment lines in xl.conf
|
||||||
|
sed -e 's:^#autoballoon=:autoballoon=:' \
|
||||||
|
-e 's:^#lockfile=:lockfile=:' \
|
||||||
|
-e 's:^#vif.default.script=:vif.default.script=:' \
|
||||||
|
-i tools/examples/xl.conf || die
|
||||||
|
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local myconf="--prefix=${PREFIX}/usr \
|
||||||
|
--libdir=${PREFIX}/usr/$(get_libdir) \
|
||||||
|
--libexecdir=${PREFIX}/usr/libexec \
|
||||||
|
--localstatedir=${EPREFIX}/var \
|
||||||
|
--disable-werror \
|
||||||
|
--disable-xen \
|
||||||
|
--enable-tools \
|
||||||
|
--enable-docs \
|
||||||
|
$(use_enable pam) \
|
||||||
|
$(use_enable api xenapi) \
|
||||||
|
$(use_enable ovmf) \
|
||||||
|
$(use_enable ocaml ocamltools) \
|
||||||
|
--with-xenstored=$(usex ocaml 'oxenstored' 'xenstored') \
|
||||||
|
"
|
||||||
|
|
||||||
|
use system-seabios && myconf+=" --with-system-seabios=/usr/share/seabios/bios.bin"
|
||||||
|
use system-qemu && myconf+=" --with-system-qemu=/usr/bin/qemu-system-x86_64"
|
||||||
|
use amd64 && myconf+=" $(use_enable qemu-traditional)"
|
||||||
|
tc-ld-disable-gold # Bug 669570
|
||||||
|
econf ${myconf}
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
local myopt
|
||||||
|
use debug && myopt="${myopt} debug=y"
|
||||||
|
|
||||||
|
if test-flag-CC -fno-strict-overflow; then
|
||||||
|
append-flags -fno-strict-overflow
|
||||||
|
fi
|
||||||
|
|
||||||
|
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" build-tools ${myopt}
|
||||||
|
|
||||||
|
if use doc; then
|
||||||
|
emake -C docs build
|
||||||
|
else
|
||||||
|
emake -C docs man-pages
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
# Override auto-detection in the build system, bug #382573
|
||||||
|
export INITD_DIR=/tmp/init.d
|
||||||
|
export CONFIG_LEAF_DIR=../tmp/default
|
||||||
|
|
||||||
|
# Let the build system compile installed Python modules.
|
||||||
|
local PYTHONDONTWRITEBYTECODE
|
||||||
|
export PYTHONDONTWRITEBYTECODE
|
||||||
|
|
||||||
|
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" \
|
||||||
|
XEN_PYTHON_NATIVE_INSTALL=y install-tools
|
||||||
|
|
||||||
|
# Created at runtime
|
||||||
|
rm -rv "${ED%/}/var/run" || die
|
||||||
|
|
||||||
|
# Fix the remaining Python shebangs.
|
||||||
|
python_fix_shebang "${D}"
|
||||||
|
|
||||||
|
# Remove RedHat-specific stuff
|
||||||
|
rm -rf "${D}"tmp || die
|
||||||
|
|
||||||
|
if use doc; then
|
||||||
|
emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs
|
||||||
|
dodoc -r docs/{pdf,txt}
|
||||||
|
else
|
||||||
|
emake -C docs DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-man-pages # Bug 668032
|
||||||
|
fi
|
||||||
|
dodoc ${DOCS[@]}
|
||||||
|
|
||||||
|
newconfd "${FILESDIR}"/xendomains.confd xendomains
|
||||||
|
newconfd "${FILESDIR}"/xenstored.confd xenstored
|
||||||
|
newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled
|
||||||
|
newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains
|
||||||
|
newinitd "${FILESDIR}"/xenstored.initd-r1 xenstored
|
||||||
|
newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled
|
||||||
|
newinitd "${FILESDIR}"/xencommons.initd xencommons
|
||||||
|
newconfd "${FILESDIR}"/xencommons.confd xencommons
|
||||||
|
newinitd "${FILESDIR}"/xenqemudev.initd xenqemudev
|
||||||
|
newconfd "${FILESDIR}"/xenqemudev.confd xenqemudev
|
||||||
|
newinitd "${FILESDIR}"/xen-watchdog.initd xen-watchdog
|
||||||
|
|
||||||
|
if use screen; then
|
||||||
|
cat "${FILESDIR}"/xendomains-screen.confd >> "${D}"/etc/conf.d/xendomains || die
|
||||||
|
cp "${FILESDIR}"/xen-consoles.logrotate "${D}"/etc/xen/ || die
|
||||||
|
keepdir /var/log/xen-consoles
|
||||||
|
fi
|
||||||
|
|
||||||
|
# For -static-libs wrt Bug 384355
|
||||||
|
if ! use static-libs; then
|
||||||
|
rm -f "${D}"usr/$(get_libdir)/*.a "${D}"usr/$(get_libdir)/ocaml/*/*.a
|
||||||
|
fi
|
||||||
|
|
||||||
|
# for xendomains
|
||||||
|
keepdir /etc/xen/auto
|
||||||
|
|
||||||
|
# Remove files failing QA AFTER emake installs them, avoiding seeking absent files
|
||||||
|
find "${D}" \( -name openbios-sparc32 -o -name openbios-sparc64 \
|
||||||
|
-o -name openbios-ppc -o -name palcode-clipper \) -delete || die
|
||||||
|
|
||||||
|
keepdir /var/lib/xen/dump
|
||||||
|
keepdir /var/lib/xen/xenpaging
|
||||||
|
keepdir /var/lib/xenstored
|
||||||
|
keepdir /var/log/xen
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
elog "Official Xen Guide and the offical wiki page:"
|
||||||
|
elog "https://wiki.gentoo.org/wiki/Xen"
|
||||||
|
elog "https://wiki.xen.org/wiki/Main_Page"
|
||||||
|
elog ""
|
||||||
|
elog "Recommended to utilise the xencommons script to config system at boot"
|
||||||
|
elog "Add by use of rc-update on completion of the install"
|
||||||
|
|
||||||
|
if ! use hvm; then
|
||||||
|
echo
|
||||||
|
elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm"
|
||||||
|
elog "support enable the hvm use flag."
|
||||||
|
elog "An x86 or amd64 system is required to build HVM support."
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use qemu; then
|
||||||
|
elog "The qemu-bridge-helper is renamed to the xen-bridge-helper in the in source"
|
||||||
|
elog "build of qemu. This allows for app-emulation/qemu to be emerged concurrently"
|
||||||
|
elog "with the qemu capable xen. It is up to the user to distinguish between and utilise"
|
||||||
|
elog "the qemu-bridge-helper and the xen-bridge-helper. File bugs of any issues that arise"
|
||||||
|
fi
|
||||||
|
}
|
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
AUX fontconfig.eselect-1.0 4394 BLAKE2B 47b3570309471efbe4c0c5bfe64949a2933ff6067fe2766e03eccd3b2de6ea044debbe3de92ca6384db76ee9d25d8a541be9a1e65e24b7e0c468e6cf0fca1d9e SHA512 5ca29ddbb672193eac8edc1acdefee0f7924aaba23d8ce40317d3dacd339e820462382d3fdf233c2cf4e4b258a2956e7b86ec6f4f541876789ab234aeaa81f42
|
AUX fontconfig.eselect-1.0 4394 BLAKE2B 47b3570309471efbe4c0c5bfe64949a2933ff6067fe2766e03eccd3b2de6ea044debbe3de92ca6384db76ee9d25d8a541be9a1e65e24b7e0c468e6cf0fca1d9e SHA512 5ca29ddbb672193eac8edc1acdefee0f7924aaba23d8ce40317d3dacd339e820462382d3fdf233c2cf4e4b258a2956e7b86ec6f4f541876789ab234aeaa81f42
|
||||||
DIST fontconfig.eselect-1.1.bz2 1713 BLAKE2B 30af0471a52d7e2785e6e0e5847f51f3a11d0fb53eb800a5314e18dbb61694f1542d71c3e0f4ceccf82a396432113529b0fdb1b5fc6eba37550b27410565c61e SHA512 3b5978e20009754f09cd39e39771e8151cbb7bda60378cda718182b2df2c267a64af5ead220a079fbeeffb30586bc432bbc83b94e4f910205c4a29040cd2ccbd
|
DIST fontconfig.eselect-1.1.bz2 1713 BLAKE2B 30af0471a52d7e2785e6e0e5847f51f3a11d0fb53eb800a5314e18dbb61694f1542d71c3e0f4ceccf82a396432113529b0fdb1b5fc6eba37550b27410565c61e SHA512 3b5978e20009754f09cd39e39771e8151cbb7bda60378cda718182b2df2c267a64af5ead220a079fbeeffb30586bc432bbc83b94e4f910205c4a29040cd2ccbd
|
||||||
EBUILD eselect-fontconfig-1.0.ebuild 547 BLAKE2B b70e0ed2e214ebd2d1cce70b0973ab1e0dee2f69d0b2f04676d1c691972f7d62a6d811ebabb7cadd214201ba0bcd17dc4c644070234b5687c23c56efd4dc6572 SHA512 db69bba98ea30fa5d61696e0ab25b74528c5c27a8410be24ed0efccc9955e7cec91f397b6c901c3f1300e80ce38b9c80c2f81e0a135f6233d8a8ef47f9ae7d83
|
EBUILD eselect-fontconfig-1.0.ebuild 547 BLAKE2B b70e0ed2e214ebd2d1cce70b0973ab1e0dee2f69d0b2f04676d1c691972f7d62a6d811ebabb7cadd214201ba0bcd17dc4c644070234b5687c23c56efd4dc6572 SHA512 db69bba98ea30fa5d61696e0ab25b74528c5c27a8410be24ed0efccc9955e7cec91f397b6c901c3f1300e80ce38b9c80c2f81e0a135f6233d8a8ef47f9ae7d83
|
||||||
EBUILD eselect-fontconfig-1.1-r1.ebuild 768 BLAKE2B 38dbc25bc298ebf8cce8184b3a424849b5f55af04c1fae1f7bcdfa22d0bf556b82ba1f40978326b22e12dae7442b682ad72422a7abdec80029b8e3c9a0ead56d SHA512 b78e7027c5b64cfd456c4772d9ddddb5a13d59c0562972058da79cc37ca57d0bbeb54e367d1a950ff036665796771906d3cfc1dfe043e8f92c94415142ffd5be
|
EBUILD eselect-fontconfig-1.1-r1.ebuild 755 BLAKE2B fbc218b174d7bac9efdf69d5303e58f665e9676810a3c2e23cbbde492d4f304869c786e46aa80499852bb646982f1f5d0d69bcef0be3cbeabbde2a6b52f5dde8 SHA512 e2cd91f2e8b9aa6725540c4063e561f719d8c46e5326ff8d4619538d5f0f86b347eb87397d74152efcd5d82613662dbec4950e8890f1a9a7749279e121a2fb15
|
||||||
EBUILD eselect-fontconfig-1.1.ebuild 767 BLAKE2B d730bb072e7dfb81e9cf86d00b7f6f9a033496286cf4eb20fcec9c830ca6c427f072e221662a5bcbd57f1e960b93b61780d5daed8ba35f8ad59d6f96d33e42c3 SHA512 0dda75358d0a16579170859506e8cf878ffc3540d8e89009a492f5f3c2c6ad5b3c7f92244f3990e951a2ee15e8d49a2fc7e2b5c10be222794ffdc5d05e6b22b9
|
EBUILD eselect-fontconfig-1.1.ebuild 767 BLAKE2B d730bb072e7dfb81e9cf86d00b7f6f9a033496286cf4eb20fcec9c830ca6c427f072e221662a5bcbd57f1e960b93b61780d5daed8ba35f8ad59d6f96d33e42c3 SHA512 0dda75358d0a16579170859506e8cf878ffc3540d8e89009a492f5f3c2c6ad5b3c7f92244f3990e951a2ee15e8d49a2fc7e2b5c10be222794ffdc5d05e6b22b9
|
||||||
MISC metadata.xml 238 BLAKE2B 17d20fcdaa0f86ce589db9b1e55e6fffbe693f41d7a05bde4a82faa8f6b5e237bc754e02e67d8116a9e5053c5164dc47edb679c086bce8a866dc224728ef4a52 SHA512 5ecba42349e9c39d750f007ac73f6100b85cf54174805a6673b0373434ea83c0f2b64c8a5b167e1fdd5a6c55d366f50cb9ba5a367b9d6dd8d53d797b8839fd5e
|
MISC metadata.xml 238 BLAKE2B 17d20fcdaa0f86ce589db9b1e55e6fffbe693f41d7a05bde4a82faa8f6b5e237bc754e02e67d8116a9e5053c5164dc47edb679c086bce8a866dc224728ef4a52 SHA512 5ecba42349e9c39d750f007ac73f6100b85cf54174805a6673b0373434ea83c0f2b64c8a5b167e1fdd5a6c55d366f50cb9ba5a367b9d6dd8d53d797b8839fd5e
|
||||||
|
Binary file not shown.
@ -0,0 +1,47 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit user golang-build golang-vcs-snapshot
|
||||||
|
|
||||||
|
EGO_PN=github.com/percona/mongodb_exporter
|
||||||
|
EXPORTER_COMMIT=a642618
|
||||||
|
|
||||||
|
DESCRIPTION="Prometheus exporter for MongoDB"
|
||||||
|
HOMEPAGE="https://github.com/percona/mongodb_exporter"
|
||||||
|
SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
DEPEND="dev-util/promu"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
enewgroup ${PN}
|
||||||
|
enewuser ${PN} -1 -1 -1 ${PN}
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
sed -i -e "/-s$/d" -e "s/{{.Revision}}/${EXPORTER_COMMIT}/" src/${EGO_PN}/.promu.yml || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
pushd src/${EGO_PN} || die
|
||||||
|
mkdir -p bin || die
|
||||||
|
GOPATH="${S}" promu build -v --prefix bin || die
|
||||||
|
popd || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
pushd src/${EGO_PN} || die
|
||||||
|
dobin bin/mongodb_exporter
|
||||||
|
dodoc {README,CHANGELOG}.md
|
||||||
|
popd || die
|
||||||
|
keepdir /var/log/mongodb_exporter
|
||||||
|
fowners ${PN}:${PN} /var/log/mongodb_exporter
|
||||||
|
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||||
|
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
||||||
|
}
|
Binary file not shown.
@ -1,4 +1,9 @@
|
|||||||
|
AUX fdutils-5.5-superformat-snprintf.patch 655 BLAKE2B 635b89f3a3f20a6e255e56ed7e2cd306365a7b7bfa5047cb20d551919daffe4b956d53bc3896814d9aae84ab9586a98017c9e70df3101b5efd1f02d88173e1b7 SHA512 42d6fb5beed1548815c67921d74dcdef05e76c45cbfde08ba4265de29a58f26af22b1ea7bdd5b1b71a34f0268c7cdb9063652565c7856cd6503dd0425d56171a
|
||||||
|
AUX fdutils-5.5.20060227-r1-parallel.patch 607 BLAKE2B 2fc63e7a08071afbe90c891785fb3bedcc93bb7b47077eee1af6ca19a449df3ea4c9b48885f0a6d58d6a47d0397b35c21ca7ba1aa93f5fe42e9b0b9d81b220f5 SHA512 c3ef752ae6580816e3a451cbd1d56f169d71608c723d5a7ce77cd80db5021b7ea2c85c78dddc4219f9cf59b5995248c222bb39f746b72f7244ab0c998f3cf732
|
||||||
|
DIST fdutils-5.5-20060227_20081027.diff.gz 6748 BLAKE2B a6d9bf332a777c6c09c85ea85adfaf02422ed2e459d3cb5248c5f6c122e11d39c1a426288d8b611f61ee5ed33ceb5695644f6fbf5421e7a0b1b9937c6a3c26f3 SHA512 979ad8116a5e0c82584a534095e60689d3920d16f0685a184619012d4146f89d6dce063d896668242bf10a6372579ad16ee3e2093e386ff430f265a23458750d
|
||||||
DIST fdutils_5.5-20060227-6.debian.tar.gz 54489 BLAKE2B 4d0fbd1c9c4f115a9df3f7092e062173f6a8956df8d465bb0186f712f51f6ef9e4fc67c4c642cdf7ae7e9daa775d6657c4306f5837307a51daa0abcc12639b0e SHA512 db6759bd2b98ae65bca39cf5b09fdb250371e02daa7665d8d21f93c3ab968cfe345cecb20faedaf2600104b22e2fb4df6868860dac3ead0ffb28d2141c8d7149
|
DIST fdutils_5.5-20060227-6.debian.tar.gz 54489 BLAKE2B 4d0fbd1c9c4f115a9df3f7092e062173f6a8956df8d465bb0186f712f51f6ef9e4fc67c4c642cdf7ae7e9daa775d6657c4306f5837307a51daa0abcc12639b0e SHA512 db6759bd2b98ae65bca39cf5b09fdb250371e02daa7665d8d21f93c3ab968cfe345cecb20faedaf2600104b22e2fb4df6868860dac3ead0ffb28d2141c8d7149
|
||||||
|
DIST fdutils_5.5-20060227-8.debian.tar.xz 48480 BLAKE2B 16de5a3b9f634c3eafbe9048d84c6ff29933e5b5ad878de79e6b03aac49ec44334e7e8e090ad0518bc83e8adb91dd19612850f0de7e28bc9d9c10663fd9a5252 SHA512 a55823c2a4defe1ebad5a92c96a85766520a744b75f49e9f99eb14ec2c0ec44f91a72437d070942a4603f7e337ed60c380f61635b4aba57dbb5ddc8d771d8b89
|
||||||
DIST fdutils_5.5-20060227.orig.tar.gz 222915 BLAKE2B d76a4b30ab60ea081e333817af11fe3815e8e19149c643afbcb931dc670fa3893cb96bb6be2136dea10fea06894a02e7fd1ecc4500ca6dd786054bbdaea19262 SHA512 a25d23827b9178a9a54d0012ad20248072e07aa5798bb3661fd0412d2441239b7bbf1778b5e34acb1a09a25a76e44c1801b706a242ce3b2337c06757e0ac02dd
|
DIST fdutils_5.5-20060227.orig.tar.gz 222915 BLAKE2B d76a4b30ab60ea081e333817af11fe3815e8e19149c643afbcb931dc670fa3893cb96bb6be2136dea10fea06894a02e7fd1ecc4500ca6dd786054bbdaea19262 SHA512 a25d23827b9178a9a54d0012ad20248072e07aa5798bb3661fd0412d2441239b7bbf1778b5e34acb1a09a25a76e44c1801b706a242ce3b2337c06757e0ac02dd
|
||||||
|
EBUILD fdutils-5.5.20060227-r1.ebuild 1727 BLAKE2B d3d56facbd81c613526ab722d59fc9a11e5c4f17f6bdc3b49e7c6cb0b0a2d873e469abd02fc95fea5a0db6212771c742af2b5189f32ad5c878d8e225140d991b SHA512 6ac168d7f5b0ce3fec16c8f9027f4f9eaeb11e0d47f997c6215fd6c33ac62d56c0a24df7fddd160c09cb91b0e3dc035b2dafd4b3b62e71a33fd1b2c33dbe4833
|
||||||
EBUILD fdutils-5.5.20060227.ebuild 1344 BLAKE2B 3e80aef85d10e768ba7a18aabc9e25e746adf1eb4ff7b4c9b7a340e3158159901bdf7c071abdb817afba9c805708bdd8ed3c2b97a668793929fa534ce65b69ce SHA512 52042b4a2d05e325a64cd85703c777af4c154d6e79e59ac04fb138f1798ccaa60dfc9f5312390a382214d41ef59dcd933bf40b8c369952747ecea8a4791d95e9
|
EBUILD fdutils-5.5.20060227.ebuild 1344 BLAKE2B 3e80aef85d10e768ba7a18aabc9e25e746adf1eb4ff7b4c9b7a340e3158159901bdf7c071abdb817afba9c805708bdd8ed3c2b97a668793929fa534ce65b69ce SHA512 52042b4a2d05e325a64cd85703c777af4c154d6e79e59ac04fb138f1798ccaa60dfc9f5312390a382214d41ef59dcd933bf40b8c369952747ecea8a4791d95e9
|
||||||
MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84
|
MISC metadata.xml 250 BLAKE2B fe89695d5dcb55e3a59fe901cba061e1b73e5d09cc72d362bb3ec127aecdba741ba23920096bfad7a39c43e35ffbc006fe84f3e50a34c91097a32deceeb91e84 SHA512 c599b09b9aaf744dfe13d0707adde7d3dfd1a8a411e937fcba25e65c6045792cdcf6ceb9004e3dd38b014c486c9f1334bfc898419f59806ec6abebfc71bca382
|
||||||
|
@ -0,0 +1,59 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
inherit eutils
|
||||||
|
|
||||||
|
MY_P=${PN}_5.5-20060227
|
||||||
|
|
||||||
|
DESCRIPTION="utilities for configuring and debugging the Linux floppy driver"
|
||||||
|
HOMEPAGE="https://fdutils.linux.lu"
|
||||||
|
SRC_URI="mirror://debian/pool/main/f/${PN}/${MY_P}.orig.tar.gz
|
||||||
|
mirror://debian/pool/main/f/${PN}/${MY_P}-8.debian.tar.xz
|
||||||
|
https://dev.gentoo.org/~robbat2/distfiles/fdutils-5.5-20060227_20081027.diff.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~x86"
|
||||||
|
IUSE="doc"
|
||||||
|
|
||||||
|
RDEPEND=">=sys-fs/mtools-4"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
sys-apps/texinfo
|
||||||
|
virtual/os-headers
|
||||||
|
doc? ( virtual/texi2dvi )"
|
||||||
|
|
||||||
|
S=${WORKDIR}/${PN}-5.5-20060227
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
local d="${WORKDIR}"/debian/patches
|
||||||
|
EPATCH_SOURCE="${d}" epatch $(<"${d}"/series)
|
||||||
|
sed -i -e 's:{LDFLAFS}:(LDFLAGS):' src/Makefile.in || die #337721
|
||||||
|
# The build sets up config.h and uses some symbols, but forgots to
|
||||||
|
# actually include it in most places.
|
||||||
|
sed -i '1i#include "../config.h"' src/*.c || die #580060
|
||||||
|
epatch "${FILESDIR}"/fdutils-5.5.20060227-r1-parallel.patch || die # 315577
|
||||||
|
epatch "${DISTDIR}"/fdutils-5.5-20060227_20081027.diff.gz || die # upstream did make a patch-based release after 20060227!
|
||||||
|
epatch "${FILESDIR}"/fdutils-5.5-superformat-snprintf.patch || die # but it had a bug that strict GCC catches
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf --enable-fdmount-floppy-only
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake $(use doc || echo compile)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dodir /etc
|
||||||
|
use doc && dodir /usr/share/info
|
||||||
|
|
||||||
|
emake DESTDIR="${D}" install
|
||||||
|
|
||||||
|
# The copy in sys-apps/man-pages is more recent
|
||||||
|
rm -f "${ED}"/usr/share/man/man4/fd.4 || die
|
||||||
|
|
||||||
|
# Rename to match binary
|
||||||
|
mv "${ED}"/usr/share/man/man1/{makefloppies,MAKEFLOPPIES}.1 || die
|
||||||
|
}
|
@ -0,0 +1,16 @@
|
|||||||
|
Fix of snprintf bug in upstream's 20081027 diff.
|
||||||
|
|
||||||
|
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
||||||
|
|
||||||
|
diff -Nuar --exclude '*.orig' --exclude '*~' fdutils-5.5-20060227.orig/src/superformat.c fdutils-5.5-20060227/src/superformat.c
|
||||||
|
--- fdutils-5.5-20060227.orig/src/superformat.c 2019-03-17 14:46:44.051851597 -0700
|
||||||
|
+++ fdutils-5.5-20060227/src/superformat.c 2019-03-17 14:48:34.550873108 -0700
|
||||||
|
@@ -1140,7 +1140,7 @@
|
||||||
|
if (verbosity >= 5)
|
||||||
|
printf("calling mformat\n");
|
||||||
|
if (use_2m)
|
||||||
|
- snprintf(twom_buffer, 5, "-2 %2d", fd0.dsect);
|
||||||
|
+ snprintf(twom_buffer, 6, "-2 %2d", fd0.dsect);
|
||||||
|
else
|
||||||
|
twom_buffer[0]='\0';
|
||||||
|
snprintf(command_buffer, 79,
|
@ -0,0 +1,18 @@
|
|||||||
|
The Makefile implicit archive format ('Archives' in make.info) from, e.g.
|
||||||
|
'libfdutils.a($(LIBFILES))' does not support parallel operations. Convert to
|
||||||
|
parallel-safe structure.
|
||||||
|
|
||||||
|
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
||||||
|
|
||||||
|
--- fdutils-5.5-20060227.orig/src/Makefile.in 2019-03-17 13:25:43.891918479 -0700
|
||||||
|
+++ fdutils-5.5-20060227/src/Makefile.in 2019-03-17 13:30:05.067424657 -0700
|
||||||
|
@@ -67,7 +67,7 @@
|
||||||
|
lex.%.c: %.lex
|
||||||
|
lex -P$* $<
|
||||||
|
|
||||||
|
-libfdutils.a: libfdutils.a($(LIBFILES))
|
||||||
|
- ranlib libfdutils.a
|
||||||
|
+libfdutils.a: $(LIBFILES)
|
||||||
|
+ ar rcs $@ $^
|
||||||
|
|
||||||
|
floppycontrol.o getfdprm setfdprm: /usr/include/linux/fd.h
|
@ -1,5 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<!-- maintainer-needed -->
|
<maintainer type="person">
|
||||||
|
<email>robbat2@gentoo.org</email>
|
||||||
|
<name>Robin H. Johnson</name>
|
||||||
|
</maintainer>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
@ -1,38 +1,83 @@
|
|||||||
|
DIST aho-corasick-0.6.10.crate 26122 BLAKE2B 752eccb2fbf36fbc73b8694033d2f80f6ab6d2a8c2ae023329b90bb252b537adb1e80a604b4266bfb1ccc2963fcaa6579be48ef011c9728734c7cb77fa3eab99 SHA512 4a21b0e68c416e5dcfe99ded917577abdbe7c92e50227b7906a2b3bd25105f8e7d03103514d388171a41090cc7bcb63bb5b4dc3c6847a9b4e09bb3856a1bbd9d
|
||||||
DIST aho-corasick-0.6.4.crate 25443 BLAKE2B b866fec3f2d7bf39152b30d4c95c921c3912c832cb5d7016c771bf19cb8bf02851ee942c891cc95f339b35c0545f9b45e26ce893486660b26227129aa7792b84 SHA512 0191f627896469bdb271f1b9d2f3d3b0f7952579cd07c2659996ad66a961dbe605c6a4a929100d6b9c246e65199c0e180b1e8349943f06a6f08250e003e62b65
|
DIST aho-corasick-0.6.4.crate 25443 BLAKE2B b866fec3f2d7bf39152b30d4c95c921c3912c832cb5d7016c771bf19cb8bf02851ee942c891cc95f339b35c0545f9b45e26ce893486660b26227129aa7792b84 SHA512 0191f627896469bdb271f1b9d2f3d3b0f7952579cd07c2659996ad66a961dbe605c6a4a929100d6b9c246e65199c0e180b1e8349943f06a6f08250e003e62b65
|
||||||
DIST ansi_term-0.10.2.crate 16642 BLAKE2B 69c001a07e02f48eeea8d63b1a242fc1eeb2ab9cb874e6c0e6cf40efbb6a1d585572330f9b69abb4d8df3012edc6e861854f816571b35aa55ee759fce79f1203 SHA512 ad4572845913cb21fdd9d8c0bffc5fce1571ef62c32fe83fd41262f7955e918400a446077494038299c4c0dfb0bd030d089336b3f169e726a5e15ee5c78ea3b5
|
DIST ansi_term-0.10.2.crate 16642 BLAKE2B 69c001a07e02f48eeea8d63b1a242fc1eeb2ab9cb874e6c0e6cf40efbb6a1d585572330f9b69abb4d8df3012edc6e861854f816571b35aa55ee759fce79f1203 SHA512 ad4572845913cb21fdd9d8c0bffc5fce1571ef62c32fe83fd41262f7955e918400a446077494038299c4c0dfb0bd030d089336b3f169e726a5e15ee5c78ea3b5
|
||||||
|
DIST ansi_term-0.11.0.crate 17087 BLAKE2B 9bd35c045a01ce4c6c4a5db1b4f15e9412bb97426eec19d4421dffbec633de8d13452c13c1dc1b30998690b78d7ed38311aca700087f13a81f66bd1d5d7300c4 SHA512 a637466a380748f939b3af090b8c0333f35581925bc03f4dda9b3f95d338836403cf5487ae3af9ff68f8245a837f8ab061aabe57a126a6a2c20f2e972c77d1fa
|
||||||
|
DIST arrayvec-0.4.10.crate 26133 BLAKE2B 43772765a9be4e3e6dd5b2ee8864f7894aab3128123a673fd0ddf18dafb69d7ed94709dad6de26e222f080b1de83d31aacbb3419b1d926ec4005de64e4db8b30 SHA512 8aa327fcc18220da496c63c76a521c383c7d506e8c39448f5cc6535c47b8c70ca74f73322b0c368fae7b8a8cec11c9854ac45b4eb7e537fed34e007aa3ad175f
|
||||||
|
DIST atty-0.2.11.crate 5916 BLAKE2B e502c23faaa9dd27cc5865b68a721b0403071edb483fca0c745707f4c0ca1b1787b5677b2d8ad7f327b8f5588ba784126ce78496c1db54f7ca4ce0ccea669499 SHA512 9d6417dc1e8abdb4969418525b36c451274fd76769adb57bef9875ef62ef521c50d58626ebc4f96d2bea32cbadb6999fd67653b570293d7253b403b6d0736c79
|
||||||
DIST atty-0.2.3.crate 5486 BLAKE2B 5c1b3bc8cd680ae639302d51fd54a10ad2595ed112d7e179d200d81a0c3bce326cde22458c9c757beb6601f00fcb61000f6f1785b7ca6832ca28b9f58472d604 SHA512 9c944334333ca59d28588e164d2a68750eaf889dcc6b28bc49fe9a7990e0b1694d302a685142866362b7b97ef3f36daa410b59d6222e99cf6f096836850794cb
|
DIST atty-0.2.3.crate 5486 BLAKE2B 5c1b3bc8cd680ae639302d51fd54a10ad2595ed112d7e179d200d81a0c3bce326cde22458c9c757beb6601f00fcb61000f6f1785b7ca6832ca28b9f58472d604 SHA512 9c944334333ca59d28588e164d2a68750eaf889dcc6b28bc49fe9a7990e0b1694d302a685142866362b7b97ef3f36daa410b59d6222e99cf6f096836850794cb
|
||||||
DIST bitflags-1.0.1.crate 13451 BLAKE2B ee1cdfad0af901176ae435f4a7096cde698de4a6ab6a49330870ddfe5a9f9836a91c9866dba9889163e31a68a009fa14c9cbc355a011bf45468a9773022c33fc SHA512 6ca3a06645534769fb5c5ad91958e9e802db5a4b49a2a11b0be5243d7e92e32e552183a7ba8d7052f8543f642bc0e4799ef0f36013f64e5c60f4e98bbb26e465
|
DIST bitflags-1.0.1.crate 13451 BLAKE2B ee1cdfad0af901176ae435f4a7096cde698de4a6ab6a49330870ddfe5a9f9836a91c9866dba9889163e31a68a009fa14c9cbc355a011bf45468a9773022c33fc SHA512 6ca3a06645534769fb5c5ad91958e9e802db5a4b49a2a11b0be5243d7e92e32e552183a7ba8d7052f8543f642bc0e4799ef0f36013f64e5c60f4e98bbb26e465
|
||||||
|
DIST bitflags-1.0.4.crate 15282 BLAKE2B 63f5feb47460c344983cef8822804b1c4ac2f3adfffcf206df2b05fafb9c7bfd73986721cde46705a3e4a0dc72a40683e4d369f2339adfc1b55208bad1766875 SHA512 81850d2be62eabb8486024ab263da67e6eb8ebfa732cac3a5d46a9186c564b2065cba15fa3da468bbd26eaf2b67038680e5de19d5dd99d78f60dae8a1776c8de
|
||||||
|
DIST byteorder-1.3.1.crate 20959 BLAKE2B dcc5d3b97a0bd82272616599454673790d64d799b699b9e339feaf1d8a75b64b6f4cde19642d5359babf6c769b14325b89a51d29594f1e8ce48c2190348bd4cf SHA512 b8d8273293f776cf567dbb9357e73a65cfd352461963b2ba202959bb48338f5e14eaebb221f940c09dc0b3214924e40194f6952c32631f20a18030ad22258c25
|
||||||
DIST cc-1.0.17.crate 42064 BLAKE2B 1b21666998f1a4746b069f0ac034b35203b52cb1bf712b5cd9bd2414b83121b0b8a6770b97b518843f7b65bd1546fcf448643a56bfc3e5b91a839afaf8f9c15e SHA512 565f93c7b1803e484f3602f9942c8d6f30e117c299dbc603cd187dd15f136d737cf84fb6138b405ec4d6e381f1ba2f3c0acb845fcb39b92f6e24c8f59a098c5a
|
DIST cc-1.0.17.crate 42064 BLAKE2B 1b21666998f1a4746b069f0ac034b35203b52cb1bf712b5cd9bd2414b83121b0b8a6770b97b518843f7b65bd1546fcf448643a56bfc3e5b91a839afaf8f9c15e SHA512 565f93c7b1803e484f3602f9942c8d6f30e117c299dbc603cd187dd15f136d737cf84fb6138b405ec4d6e381f1ba2f3c0acb845fcb39b92f6e24c8f59a098c5a
|
||||||
|
DIST cc-1.0.31.crate 42956 BLAKE2B 87e79061397a0e12ad4f3a32ab0b4bba764260c7de11eea055163538c749e8da32b95ad5efcb69ab72d210e0e7aed68c79f9ece33352b4cdacc5c1ec6d11f3cb SHA512 d6efba4c53fc8f11fdd685efb2759dbbbe53e65ae7878a61805b110c5a6028debb89a3e6d740bf7fd71055613de4fe92daaa98f34f86473c5a410ce3f17052df
|
||||||
DIST cfg-if-0.1.3.crate 7115 BLAKE2B 748cb334312efe8a1410a0dda75db94ea2e6a6915a6293cec35cdfc72f9491a6fde32691c53cbac20f705760725dcc766107a15a4bee41481beb724ea8588a6c SHA512 88537e4b53f5553fdee16c4949de0bb0fdf12576b9a1d197fc7edd00d41c47972d481227bb6311bec774099cde27195fe319f28f4385a4091f06849dceabd34d
|
DIST cfg-if-0.1.3.crate 7115 BLAKE2B 748cb334312efe8a1410a0dda75db94ea2e6a6915a6293cec35cdfc72f9491a6fde32691c53cbac20f705760725dcc766107a15a4bee41481beb724ea8588a6c SHA512 88537e4b53f5553fdee16c4949de0bb0fdf12576b9a1d197fc7edd00d41c47972d481227bb6311bec774099cde27195fe319f28f4385a4091f06849dceabd34d
|
||||||
|
DIST cfg-if-0.1.7.crate 7360 BLAKE2B 0f9a457501441c9d3408a40efb199eeee196490bc22f4c14565703ee09dacac2a0b4e1704c05853bd4662977d487c7723521cb733881a9bafad3ff46d775acd0 SHA512 30a1510f0a217e588e9a2c1ef51e6188d7437c63641284782262fa9a2ec78f04d0bbdac7ce32c0e8282e2e518d4b6c9d6ed0c2658baac412133ad1cc1f8d43a4
|
||||||
DIST clap-2.28.0.crate 186934 BLAKE2B 6885cb7a74077b1c72feac97471c08a456f5e826e42b95bb1768027fca127696a457cbb8069e624196e1c77e55608b8ec6b157bfa3e8a661dc0c9b67af903c9c SHA512 737bfa82008082d75ef5f36c5aa505af8e11ff08b7ec824a69f37dcafe1d7ea8e4909a94cf5de218f9bde4cd304e8ec57441b195d936b7db43e8b5881fda0d01
|
DIST clap-2.28.0.crate 186934 BLAKE2B 6885cb7a74077b1c72feac97471c08a456f5e826e42b95bb1768027fca127696a457cbb8069e624196e1c77e55608b8ec6b157bfa3e8a661dc0c9b67af903c9c SHA512 737bfa82008082d75ef5f36c5aa505af8e11ff08b7ec824a69f37dcafe1d7ea8e4909a94cf5de218f9bde4cd304e8ec57441b195d936b7db43e8b5881fda0d01
|
||||||
|
DIST clap-2.32.0.crate 196073 BLAKE2B c262241a3ad1d0f944467f4ea9884ca3dc05b5e05656fd7b73700e0daeec035c07a5d06316cc1273e37f74f2c00429b0ee99da298804dc4deff9a252ca56ce07 SHA512 ee2a66cec0d867d73fce35c055bcac77cc3ea9537b355be04be3ee17ddabefebfe3649cbdfc30ea356c54cf9f066369540eac4f5dc67e60cdadc9c66be014ef0
|
||||||
|
DIST crossbeam-deque-0.2.0.crate 12638 BLAKE2B cbf76e49fee9e1274e295f0958458a6f8f6f0bc449a83011da3dfc64607a649ff6a72102b9ff7784e0ce2b33bb317e4a927eebb749bb9cf31a7ce89e5aca8f7e SHA512 22a1b839ecd4359e3c961e5ff0a044f6f2bc14b5ceec4637c57bb5d26ad04840b0dc0a07f06b494f4b7e224f2a51e3e9a79bf7f895a73179a10705481b33d8a4
|
||||||
|
DIST crossbeam-epoch-0.3.1.crate 33093 BLAKE2B 915d28d3040232768a60956eaa3d574206ae7664a53af3a993acaa9fac0cca50af321923c3be71d2d1799b7a0d4eb617ddace861644a3c8b067ca360aacab34f SHA512 8fc0641701fdb1d22fa60a5408aff96bbc296b975e6f9644859295abe6ee4729d86ada81969a51a09a7a8518f287ba41fdb258dd0143ce8d7db5abff604b955b
|
||||||
|
DIST crossbeam-utils-0.2.2.crate 11901 BLAKE2B d089d4d810d3c29163a9c3007c5c3a2479901c111905182df0c24b293853e37107693ee0fb50f0984bb7dae76908a66f1be402222667fe1eec31319e5c6e9979 SHA512 fc49d36efcb3a53125c1173415e27de43970c1d2f32547687e02c99001c98cb200047bd2b0072e47466515df5de9ee2104d1b83e7b4ccf03f0e3580a1d416f32
|
||||||
|
DIST either-1.5.1.crate 11532 BLAKE2B 3cb46de61309efeedb614c20a83bdcf2c4de024fa1ca4e6e1cec6384445596cfbf2c9d7a9712faf554a373eaa462835b455d7b2a908a99e99ae1c738680778a8 SHA512 268d218b10ed7cabbf1a116afa22ebe47791303aa012a61676d04376961156983374490d3d939e5d68b2ccf3a9c56f41eb9c9651cf81ea1294ef275dc898733e
|
||||||
DIST env_logger-0.4.3.crate 10891 BLAKE2B acbe308cb75ad68f824dd8cbbef13a9bab3234f121952f16af274180ce87bbde6f6327bd98f0d2a4623fa7a4980b554ffecc9280b709df1323de149399537d6d SHA512 ba2c10608f87804e528a2de28c236e780485413dbc3835b5bd9acf4a9c11d9c66665a310747b5d8a5ef7752186ab8a1ab5fbf6042657a3447380cb0869722246
|
DIST env_logger-0.4.3.crate 10891 BLAKE2B acbe308cb75ad68f824dd8cbbef13a9bab3234f121952f16af274180ce87bbde6f6327bd98f0d2a4623fa7a4980b554ffecc9280b709df1323de149399537d6d SHA512 ba2c10608f87804e528a2de28c236e780485413dbc3835b5bd9acf4a9c11d9c66665a310747b5d8a5ef7752186ab8a1ab5fbf6042657a3447380cb0869722246
|
||||||
|
DIST fuzzy-matcher-0.2.1.crate 8135 BLAKE2B 9fa6417a90190905b0c563d2f629a77f4a711c4c87eb2600b2411c00f11b125b2fad346be02ef30fbf21c0e6d0ae068f89baf5b300ba61bf705c4a4256909687 SHA512 c177eacbbfb45bcf6f607e0d421da18eaf4c25738a26fd553574901be2e9f5b9fd877f4886b0f6d68050dbd7a04d37f73420648fa3e122f2a18e26794865b63d
|
||||||
DIST kernel32-sys-0.2.2.crate 24537 BLAKE2B dfc4a1e31d3ec9e2ac62b890839919fb7fed1444070c1dcd75bb75acfb53556d6cf2eddf5a6639e7852a3df2a0cc715c5ce1d3fc898ef16a1687020d98f715bc SHA512 682bc7c629aefd035966a2873518fd60719121cca7d63d89d6c97ff5306f24d8b5055a3c91b4eedaec22b1d5dd3fb8b48ff7341a05bbd72d86e06c422dab473b
|
DIST kernel32-sys-0.2.2.crate 24537 BLAKE2B dfc4a1e31d3ec9e2ac62b890839919fb7fed1444070c1dcd75bb75acfb53556d6cf2eddf5a6639e7852a3df2a0cc715c5ce1d3fc898ef16a1687020d98f715bc SHA512 682bc7c629aefd035966a2873518fd60719121cca7d63d89d6c97ff5306f24d8b5055a3c91b4eedaec22b1d5dd3fb8b48ff7341a05bbd72d86e06c422dab473b
|
||||||
DIST lazy_static-0.2.11.crate 12361 BLAKE2B 3fe6a480c30a792448a3a2b378e05634ec59603f07baa03c0881fe5af85ecde5a172bb0733e7043fb6c43eabc261635b23410658d48add09eef6d807a750d22f SHA512 c85ac434d1b7d41d638e76a142a43d925b96bdddda112b1abeca1bae160d828262a85cd333d72499fe1dc7ae9574d3db226106acb433328c056028eb8c42bfe6
|
DIST lazy_static-0.2.11.crate 12361 BLAKE2B 3fe6a480c30a792448a3a2b378e05634ec59603f07baa03c0881fe5af85ecde5a172bb0733e7043fb6c43eabc261635b23410658d48add09eef6d807a750d22f SHA512 c85ac434d1b7d41d638e76a142a43d925b96bdddda112b1abeca1bae160d828262a85cd333d72499fe1dc7ae9574d3db226106acb433328c056028eb8c42bfe6
|
||||||
|
DIST lazy_static-1.3.0.crate 10616 BLAKE2B caa2af77f69c96b5f35dbb2aad7e73784544e6baa5e1fcc2272738fcd3d5f0576480c8169cdddc665a953eb9b6b7ddeb69e93cfa60401458afbe783fff82d1b1 SHA512 08288790139876765b6d4a5988f47fd2a4bfc77c2f2406ad44e64920a471b5655c7f54cb197e5a40c29ee8b42aecbbefaac2b6f4a7dd2b5e24dd92c46cb9b822
|
||||||
DIST libc-0.2.42.crate 336080 BLAKE2B 0de0726bfb00ff42d67abf06efa26c1a4f8132b29be2f957b9089da2ef3e4dfddddea49ea23af3449a367d262dc563b70968c6b2b6a1dc81829e6c6a8a1dac63 SHA512 c99a4358805012d7552f416ae68c9651dfd260599bf0cd618b55036acd08ab8eeda8aa18c18b893f074c9613694ef6562e87f032639eb86b86514aa0fd815870
|
DIST libc-0.2.42.crate 336080 BLAKE2B 0de0726bfb00ff42d67abf06efa26c1a4f8132b29be2f957b9089da2ef3e4dfddddea49ea23af3449a367d262dc563b70968c6b2b6a1dc81829e6c6a8a1dac63 SHA512 c99a4358805012d7552f416ae68c9651dfd260599bf0cd618b55036acd08ab8eeda8aa18c18b893f074c9613694ef6562e87f032639eb86b86514aa0fd815870
|
||||||
|
DIST libc-0.2.50.crate 392277 BLAKE2B 75a8fd5babba55fe59e3ecb49941c313dccc780f8f2d0c521e14e3bb63494090e919111b908b928c4048c0458095da5a48ebce90171831931a972c20b3de758c SHA512 36a51f7925a1a4e670ed8783f63d7f2ab85d1382d0be29ab4fbf0d66b24e7d68d88bb9e320e9dff35a1e275c07afe672dd164d12cc2af8ee1bb57ef6d2aa4a30
|
||||||
DIST log-0.3.8.crate 17756 BLAKE2B 1b06efd4625f9192e56629a5c8fd3072d876643ec5d42022e001d8c14139c56b7a2bbbaadeb5218a9ada6cd86aae26819dc4693eadb13ac1dd4ae93ac50554e8 SHA512 9fc80f2a72855a2b0260d6bfbdd55085791c67cb1896fd20da0a4d624125003cb0a10d9080c2fd7810ca67e41652a94177e1d091bdadeb5ea65c7c4acd666bd7
|
DIST log-0.3.8.crate 17756 BLAKE2B 1b06efd4625f9192e56629a5c8fd3072d876643ec5d42022e001d8c14139c56b7a2bbbaadeb5218a9ada6cd86aae26819dc4693eadb13ac1dd4ae93ac50554e8 SHA512 9fc80f2a72855a2b0260d6bfbdd55085791c67cb1896fd20da0a4d624125003cb0a10d9080c2fd7810ca67e41652a94177e1d091bdadeb5ea65c7c4acd666bd7
|
||||||
|
DIST log-0.3.9.crate 16686 BLAKE2B 543a8a2425c88bd3cf00d4cd2b4790ef344f9743b61776d65f1d8aaaa1ee1069933e33aec114a2dcaada5cf698bbd983fb22354aa50bca58b161a36b2f1efc47 SHA512 1d49a0dcff0a17c1238aba6a6cbc485a61986e8c4768805ded912c5014d0fba6ca38c9bd038f3f53900a6309d41fc0216682f137362e63715878195453d2de6f
|
||||||
|
DIST log-0.4.6.crate 22303 BLAKE2B 3b1ad5e1cc1cf7bb223df569a6024b5749fdc973bb99a2a1f11772774cb384cc98214366e62d846b57c7d150f925cdf0e906f8113039204a82fbf001ae15133a SHA512 3844c771f97531ae7312c6bb0cf74ccaab94925f68bf1172419cc44fa4b5373f3ac6b42fb6d0ba636a970b295ea5d1b5abbe72b4da67a103e8dc4ed48a0cc5cb
|
||||||
DIST memchr-2.0.1.crate 9858 BLAKE2B ccf5530245bdcf1b892b98858d1cfd8cdeec3765422f6d1503bfaf3e48744dabfbc1767212b310d1951f1594ec3d4ca09447ca72782ed272cc396113a7f9fef8 SHA512 50daeb73062c30b244c8fec965ff0c69c29571022a9228dafd1ed397164956e39fbe260b8adce33522b5cedcd7f9135500ac45d6bc0b5e72bf9e89ebea0954d1
|
DIST memchr-2.0.1.crate 9858 BLAKE2B ccf5530245bdcf1b892b98858d1cfd8cdeec3765422f6d1503bfaf3e48744dabfbc1767212b310d1951f1594ec3d4ca09447ca72782ed272cc396113a7f9fef8 SHA512 50daeb73062c30b244c8fec965ff0c69c29571022a9228dafd1ed397164956e39fbe260b8adce33522b5cedcd7f9135500ac45d6bc0b5e72bf9e89ebea0954d1
|
||||||
|
DIST memchr-2.2.0.crate 20939 BLAKE2B 224963d641cf2bcad4b32699c9673c81d730f714f2df18878ce4ed78c816d38a2050dce11f9b3a529d45456e16027461bcfef9d5f0e08f7a70175a74e61b0131 SHA512 19bb5fe9c4ff471e2f8cba0e3be3ebb715f0eaf3d9c012c05833e78243d8baa6b98e14eb4c9a900caca48aa539483972f4ff8e5a47aec5141f96f3f23fc24088
|
||||||
|
DIST memoffset-0.2.1.crate 4618 BLAKE2B f04c4e5e1747d5516dff26fb045d91f01a2eea6011974a342c1830ad2aa6b203d5c6cd4db464177797f799197656085f980c00e78d0257efe5d3377188a8b8ee SHA512 4901eca49eb20acc53d1120548925d691d5e0a0ee899f5c26f55f8b997549cea3b819b1f9b4f5495f4bc73fbcaa386cda50cefdc0036c097c4eeca8086568530
|
||||||
DIST nix-0.11.0.crate 162039 BLAKE2B d468eebf5bcd55f0e46e533de6cd318e3f1e0f5c457c7f6d0424e3a71fb60b93e9bf9b2ee4c80d5fdc68b7f3360048a9b832f2181ad69dffc14269470cad4d47 SHA512 bb3ffc5ae6a8de37a96e9951e182c2916016678265a3c4efdee2ca4d26bc5f4192f4facabeac2978788143d2707094dc0517c13b08833cc1ddcdb6fc1125c874
|
DIST nix-0.11.0.crate 162039 BLAKE2B d468eebf5bcd55f0e46e533de6cd318e3f1e0f5c457c7f6d0424e3a71fb60b93e9bf9b2ee4c80d5fdc68b7f3360048a9b832f2181ad69dffc14269470cad4d47 SHA512 bb3ffc5ae6a8de37a96e9951e182c2916016678265a3c4efdee2ca4d26bc5f4192f4facabeac2978788143d2707094dc0517c13b08833cc1ddcdb6fc1125c874
|
||||||
|
DIST nodrop-0.1.13.crate 7508 BLAKE2B 6918c8ea7f2b84d1a30e8159ac6cf9d061270bf8cf60fb2ee7c96f9d8a5566f1922a3222f80c769fceedd65637d6ee76a4d45b533d5b02aa0decb8114f6cb11a SHA512 2648c0aec970c99f001dbd8169939731610ccff6433acba8c71c669bea5078613b2a785d3ac5ce5a839fcec714b5bc55f2cc83522ab4cc09560c846f4cf8023e
|
||||||
|
DIST num_cpus-1.10.0.crate 10669 BLAKE2B 96500421a82aafbacbcf982e3041ddba40dd8ab7fb967d1fb386c2d543b7f3efe12e35c386602a20377e7dfe09f31ecc9094ee0a06aea588149bda7866fabedb SHA512 a97b282da6323fa37b93caaaa262e699f0a219f08d32bc8531363daa57ae3ea397927d09c36d38615dcd372443aa65a43b91f4a7a59910273b581b5322946a02
|
||||||
|
DIST rayon-1.0.3.crate 134391 BLAKE2B b0f938ad39bf8772374d312893097bb91ee3886e79f6c3050658b0797fad55f309d03d99c3f300837e86aa28f4b5041d9cf7dc455cb418fb4d38b678e8063a10 SHA512 bd23dbcd8b17061e0623df01af141d0e51532b46ef360ddbd392f4992d6b62fda26255cd9908f853a5a4c3cf111f6c9224a97abb0a3f9754aa0ed79ac58392f7
|
||||||
|
DIST rayon-core-1.4.1.crate 53760 BLAKE2B 0c8c9b83e3459f85fbd168b70ca8a4f34378a2e902b5cdf88730dd57e84248c8474c5cfc5dedbc66322b996733bf404226c0d2694fd7139ae9706a822f567d3c SHA512 4d12b8097356d0a9eac8b3ca64085de8d19360dae81b3ccb199275c3487f705e2aded498e819958bb81d4de56c05d4d29c21c07da02236ba6fa0b2888ecfbea8
|
||||||
DIST redox_syscall-0.1.32.crate 13555 BLAKE2B b8170ec049001e6007d736e19b8171cf2d605a987ad42910123478780e667deb7cf72ddfcc3ab5b073d966e13aed5be77e032af65ba3b8a74a8e6964fd08adb9 SHA512 8a19a241b0ffa235e7716e9c01ed7e0a424fc552e766e2ec3c0d41c70f62424fc3d000513d29462d753258c811a973eb0bdac5868b382a4334a7f25bc32553e5
|
DIST redox_syscall-0.1.32.crate 13555 BLAKE2B b8170ec049001e6007d736e19b8171cf2d605a987ad42910123478780e667deb7cf72ddfcc3ab5b073d966e13aed5be77e032af65ba3b8a74a8e6964fd08adb9 SHA512 8a19a241b0ffa235e7716e9c01ed7e0a424fc552e766e2ec3c0d41c70f62424fc3d000513d29462d753258c811a973eb0bdac5868b382a4334a7f25bc32553e5
|
||||||
|
DIST redox_syscall-0.1.51.crate 15646 BLAKE2B 5a033b0a20f50d66b3613cd0ef71a4a8f5a198ea3d9ad25752a4113ff1b54738ce820ace81f19b2f5de276509d52b6a69e709681fd006b132aa662e832e0f4df SHA512 cb84fc899f22b3c302654a959ce16a99518e8c39b8192634a0f3665dd052bbc6c4dd485ff66916dc20bbf8d494f59c1c761254bdbce6b184864c83325f6917e8
|
||||||
DIST redox_termios-0.1.1.crate 3227 BLAKE2B 0b109d34e942735e804dd3da2a9639506e8bf6eb5b1f69ae021b115b0b75ae5159e8457abdf647dabfc19d5119cd3a44b8966635d7862cc66a8a997e4468e1ab SHA512 201d051900e919e2c6c6769ef252e51979d90133df16b6605e2a2f424cfb2e6e505e21add75ef5854fe5e0cab1ed1f1c1451010f072ae4bc8703c585a4323981
|
DIST redox_termios-0.1.1.crate 3227 BLAKE2B 0b109d34e942735e804dd3da2a9639506e8bf6eb5b1f69ae021b115b0b75ae5159e8457abdf647dabfc19d5119cd3a44b8966635d7862cc66a8a997e4468e1ab SHA512 201d051900e919e2c6c6769ef252e51979d90133df16b6605e2a2f424cfb2e6e505e21add75ef5854fe5e0cab1ed1f1c1451010f072ae4bc8703c585a4323981
|
||||||
|
DIST regex-0.2.11.crate 209507 BLAKE2B d8e52b078e96c64663a730208d14af4808abb62d7f2ddc21026410d78305bcf45c8fa5bd6bc28a61a62dffc3dbed6118562bf5294d176f04a9aa8b3eac295a5c SHA512 e0f48ab9a692f7ebd83a21bc70060aed0a7dccc9aaaef6995262fa4e2e33f4404a04a217588b72025820b1a0e4697c076ad47a017e7c51cdd4b6c1909c015ead
|
||||||
DIST regex-0.2.3.crate 193983 BLAKE2B e59478e264afed2ca0f675dd5abc39b0ec5f77609c7720ce6ebdd4cb31f51201024ffb3d13dce3f9ba643f8ab623248790412c63867ac660d8226bbec586280a SHA512 639e8f0e62127fa9ba84a53c2b9e4774ed126eb48dc0f3bbe093d8683987d74e90124f5ba1722af9ad5d8487469320f6dd6e5e76bfaa64e170c788c41162b58e
|
DIST regex-0.2.3.crate 193983 BLAKE2B e59478e264afed2ca0f675dd5abc39b0ec5f77609c7720ce6ebdd4cb31f51201024ffb3d13dce3f9ba643f8ab623248790412c63867ac660d8226bbec586280a SHA512 639e8f0e62127fa9ba84a53c2b9e4774ed126eb48dc0f3bbe093d8683987d74e90124f5ba1722af9ad5d8487469320f6dd6e5e76bfaa64e170c788c41162b58e
|
||||||
DIST regex-syntax-0.4.1.crate 121453 BLAKE2B da7f780fdb19e0516cbe94eb3361b8f3b02ed36dcd7e58eb8e3a16601f169652d45dc10657d400796fdb93be560ec6678e34315d9e94a05e9d0b11b476d8ae1a SHA512 0c6996d0b8c16053f6e4e6324053f8b6924313827d9fec59e209852aed11a18902a51bdaa98b95ab706a4b65896a201549cda2972b54ac2e2a2c704b61690a0f
|
DIST regex-syntax-0.4.1.crate 121453 BLAKE2B da7f780fdb19e0516cbe94eb3361b8f3b02ed36dcd7e58eb8e3a16601f169652d45dc10657d400796fdb93be560ec6678e34315d9e94a05e9d0b11b476d8ae1a SHA512 0c6996d0b8c16053f6e4e6324053f8b6924313827d9fec59e209852aed11a18902a51bdaa98b95ab706a4b65896a201549cda2972b54ac2e2a2c704b61690a0f
|
||||||
|
DIST regex-syntax-0.5.6.crate 233912 BLAKE2B 828c35471d8a91be9fbcad00e036c40ff0e2c38d008c5d916cb096f0a6856f124a64a203d547fb5ef45cc296565221e5f96343754413cf6bf2fd1463c7e02f1d SHA512 4ee43272d0d6e5cc0b554816e20e2d93b0ee774fd71643d5edae06627b295d374769ecdc3c1233a688d306d1cb86a83b6850ffe4022baa3db78beeea1190b455
|
||||||
|
DIST scopeguard-0.3.3.crate 9605 BLAKE2B 2379e45123c1c6ef456001cccbcec3298d6d32a5197ee9ac51e0233522cc24e8dff1900f1a70fe4d8a7889348b0c668e8e5c8956ec0add0898c719ae8e2a0a5d SHA512 57ce8e32dbe342040a63ec65fbef3680d66d439f0f704c5d485670041505905cfc602e7e3580748b4b4a55ce892d17a453e6d2f853cf0de4c6a2082f0fe95719
|
||||||
DIST shlex-0.1.1.crate 5687 BLAKE2B 8e2942051c783369a8161b667f8f5b73b2081f766db26d685b4d3060f8faeecf78e8763ab927149d4cb08a29af756105f7ec3c3408ad6be2e7618053329fbed2 SHA512 a4d202897861ca7955a3561dc1b0fd0307d77948c9b97aa0f8b9caff2b9721d2836a08760d308675973b0e9c7bae92e4d5fbd2a2497cba9e5aeefbe31075e069
|
DIST shlex-0.1.1.crate 5687 BLAKE2B 8e2942051c783369a8161b667f8f5b73b2081f766db26d685b4d3060f8faeecf78e8763ab927149d4cb08a29af756105f7ec3c3408ad6be2e7618053329fbed2 SHA512 a4d202897861ca7955a3561dc1b0fd0307d77948c9b97aa0f8b9caff2b9721d2836a08760d308675973b0e9c7bae92e4d5fbd2a2497cba9e5aeefbe31075e069
|
||||||
DIST skim-0.5.2.tar.gz 78847 BLAKE2B 0530a730abce8bdcaff1e6b2637777e87a0a9184dde112b9c8b4dde08780d7d50cb8bb4ec2ef555df941be4e89f1f3aa49b335e640702bf8b10e609d6cfba211 SHA512 018962a728b9729b51afdc8975cddeceec84731f43b776a740ad2b4d2a479ceadd7a4d45c6eb5389ef73cdf18955a74ac85e9bbb4ad823e4d4a5d9972a4aa19d
|
DIST skim-0.5.2.tar.gz 78847 BLAKE2B 0530a730abce8bdcaff1e6b2637777e87a0a9184dde112b9c8b4dde08780d7d50cb8bb4ec2ef555df941be4e89f1f3aa49b335e640702bf8b10e609d6cfba211 SHA512 018962a728b9729b51afdc8975cddeceec84731f43b776a740ad2b4d2a479ceadd7a4d45c6eb5389ef73cdf18955a74ac85e9bbb4ad823e4d4a5d9972a4aa19d
|
||||||
DIST skim-0.5.4.tar.gz 87040 BLAKE2B c7816dae5142d3230bf98db7c86ec8b8d78adac52dfe19c6760d65b6ea81e704f84c4127c9ca1d74812ddef69595290a8f09f01869a41dc17a42a33d2eedb15b SHA512 f21af6c86ca6b1c4aab1b715c1c47ced1d06c45216a03493cfc3f01d7ed6ecb6e287a335d0756f4b82b97d4d22493b01598569a0529bc57983a5a4716427af83
|
DIST skim-0.5.4.tar.gz 87040 BLAKE2B c7816dae5142d3230bf98db7c86ec8b8d78adac52dfe19c6760d65b6ea81e704f84c4127c9ca1d74812ddef69595290a8f09f01869a41dc17a42a33d2eedb15b SHA512 f21af6c86ca6b1c4aab1b715c1c47ced1d06c45216a03493cfc3f01d7ed6ecb6e287a335d0756f4b82b97d4d22493b01598569a0529bc57983a5a4716427af83
|
||||||
DIST skim-0.5.5.tar.gz 87411 BLAKE2B 98dbd5d8f5d45a0752975316aa41971622e6d65e91dbfe9c8248882931d05dcfb0d8ab32fc51504060fd41aef7c456c8f753e2939a726ad41cd3b82515adeeb1 SHA512 a6970252633e32004edc4e4cf910a5d07d1a63b11b77e56d5ddc6ad656d33ea984dc02523fbfaf5eeb58c197d95a17fb6bcdf16448d68c6a239798b3180d7aa2
|
DIST skim-0.5.5.tar.gz 87411 BLAKE2B 98dbd5d8f5d45a0752975316aa41971622e6d65e91dbfe9c8248882931d05dcfb0d8ab32fc51504060fd41aef7c456c8f753e2939a726ad41cd3b82515adeeb1 SHA512 a6970252633e32004edc4e4cf910a5d07d1a63b11b77e56d5ddc6ad656d33ea984dc02523fbfaf5eeb58c197d95a17fb6bcdf16448d68c6a239798b3180d7aa2
|
||||||
|
DIST skim-0.6.1.tar.gz 80538 BLAKE2B bff6e24e0c2b8461cf61f7f1e48f96ba0a353e39de0f4ead0ae40748286d666955f35cf3e088fc4253b9bde97784321a9636c0cee20fe4039782c57acaed8b66 SHA512 7fba58012cdce94f8d55afbde1ca8a4adcf07a2e4bf86da58b54cdc31fe700824ac7a16e1ea9558bd5f74ed21f8fda25a50237c68c4ca8ded9e9935570386ad1
|
||||||
DIST strsim-0.6.0.crate 8500 BLAKE2B fb5d756691a359d086886bf579445a262d2691285c120670e1b9da828922e43630339d59e4dbc98fe1fd6c92785264bef645be4ca80681059d8ee9f6d7be582b SHA512 43cbcf2cab7f91515f52f20719e8013cff23807ca79a9a69f1997ec1ba2eacf713d64c88e33f4c9ba852fb3dda4b87e943587ae4b6ff5bfbbb81deb6dbf76a97
|
DIST strsim-0.6.0.crate 8500 BLAKE2B fb5d756691a359d086886bf579445a262d2691285c120670e1b9da828922e43630339d59e4dbc98fe1fd6c92785264bef645be4ca80681059d8ee9f6d7be582b SHA512 43cbcf2cab7f91515f52f20719e8013cff23807ca79a9a69f1997ec1ba2eacf713d64c88e33f4c9ba852fb3dda4b87e943587ae4b6ff5bfbbb81deb6dbf76a97
|
||||||
|
DIST strsim-0.7.0.crate 8435 BLAKE2B 6869075bc3949fbdec1b74548b816560d1bf3759ba4c3e972a84f885e6732edd25596d75a4b6f6b85d93821f559757d096cb5f0b0eb04dabd8bb974d214f3188 SHA512 3f92df0f444129b16fbb15c533b7bc1d6f18970b487b57345f74747fb7f41e3dc0cb61255712e94d419a5777b8f6a9cdf1a716718698c479eb98dfb6464d1983
|
||||||
|
DIST term-0.5.1.crate 39105 BLAKE2B 508ad7194a76c0526c750a2cab87f69d31cbad6a30114c914d4ddbce63f428f9b1e9fc02bff80d91d4774202c3dedd65ad7b258a8a5af8049f60f4ee79ea5a21 SHA512 cbfe1f3653a31f07a8bdc0b46a5093f45e38b587b639b8683d361480937d65c531abab7c3af3ec2cc8aa3ac41cc3ccd93e31868fd7b327152e878a10070733b0
|
||||||
DIST termion-1.5.1.crate 20659 BLAKE2B 5b4291c2c26a074c16eac2e7bcb40467380181bac69c941e5c958059dc239cbbfd74872d9bd3da65245d010f9fc39804c43dc96f4caab2499b021cf35977a6b0 SHA512 1d1536f08600c7c1f414b4579a1a6e7eff91f4c105504125118d3cadf71c7886a352d1c5f7e07f3d7c28aa8b4752f07b51eddb4d9adc6a9286f7b6bade2bec76
|
DIST termion-1.5.1.crate 20659 BLAKE2B 5b4291c2c26a074c16eac2e7bcb40467380181bac69c941e5c958059dc239cbbfd74872d9bd3da65245d010f9fc39804c43dc96f4caab2499b021cf35977a6b0 SHA512 1d1536f08600c7c1f414b4579a1a6e7eff91f4c105504125118d3cadf71c7886a352d1c5f7e07f3d7c28aa8b4752f07b51eddb4d9adc6a9286f7b6bade2bec76
|
||||||
|
DIST textwrap-0.10.0.crate 15986 BLAKE2B bcbd40fe4c8322e459c505e0f175b5b088322c33ba56d8c4b294788950681c2407ba08fae2c15711f8f0d5e1f0afed38f82deaffe1c2b16a4f4ab14723b71bb4 SHA512 cb50cc73f3f5ab704ef9e6d526b751f7e66de213fa534206e5b4e9da829f19aedda9f23f262f865fdb3247c703aeaa87f38099f6c575d1961ec923d62a9b2293
|
||||||
DIST textwrap-0.9.0.crate 15795 BLAKE2B c4dd89d5757da74c145b6971cd08844f3a6eeb5d29ca012b67010743a2637ed83bca00eefb54ec3ddb1d02a06c9cc3b84984919e6fd187dd71ed9c2e8af41f63 SHA512 e176f703f971eefb5cfc1ecf9047858bd7610a58fa4103879fd963b292c79872bd8466ef8fc9742a428ac707400dade307e72fa965dc4d61da66e932e5b20c35
|
DIST textwrap-0.9.0.crate 15795 BLAKE2B c4dd89d5757da74c145b6971cd08844f3a6eeb5d29ca012b67010743a2637ed83bca00eefb54ec3ddb1d02a06c9cc3b84984919e6fd187dd71ed9c2e8af41f63 SHA512 e176f703f971eefb5cfc1ecf9047858bd7610a58fa4103879fd963b292c79872bd8466ef8fc9742a428ac707400dade307e72fa965dc4d61da66e932e5b20c35
|
||||||
DIST thread_local-0.3.4.crate 11760 BLAKE2B 7d1c7bc70d6f35a04074ae6d25d14b07f4f48742a8090a1465d2b6cfc9a80e50a737cc75d65f4bd1de226c341d10d630092fee3be74daaada88f567767217403 SHA512 51fc5e1f5046fafe794128e6655c3ed5fa54446d9db151abb5da6e2599b6fb03200746ff4e6adffb6b8a04d015966fd4860ea3eac50bc169ec04ba33978f849d
|
DIST thread_local-0.3.4.crate 11760 BLAKE2B 7d1c7bc70d6f35a04074ae6d25d14b07f4f48742a8090a1465d2b6cfc9a80e50a737cc75d65f4bd1de226c341d10d630092fee3be74daaada88f567767217403 SHA512 51fc5e1f5046fafe794128e6655c3ed5fa54446d9db151abb5da6e2599b6fb03200746ff4e6adffb6b8a04d015966fd4860ea3eac50bc169ec04ba33978f849d
|
||||||
|
DIST thread_local-0.3.6.crate 12388 BLAKE2B 290c35e5327e80a5cdca5609252b1efd1b78a654fc9ab4ba68eeaa3c2769d844f725d17d91cbb15048dbaac84913c51edcb39bb402882c9e7b4d0c4e4811518d SHA512 cd783d3d9caec43868da1f6118d4c4d520e03b9f1049d8f15d2c12482989401d3aee748e04a149953d35e5d6487355c2891d44569ef688bc1d45f01b6461d253
|
||||||
DIST time-0.1.38.crate 28500 BLAKE2B f0d98a7288616c2a5a07691e6bfe2bed5b043c9ddec3a6658e2e1dde294af030b635aba1d8c408f0cbe3c4c2692d4e2705d91276fac0c63f5ca03d3be3b19b59 SHA512 9052d6bc6c9222d331d23f7cb79b534bea6b1cc0f259c97f465321bcdad11b643cbd2e9bb3a456770a19a2a84dabfbab55e522cbb745f4c64e228736eaaeaf24
|
DIST time-0.1.38.crate 28500 BLAKE2B f0d98a7288616c2a5a07691e6bfe2bed5b043c9ddec3a6658e2e1dde294af030b635aba1d8c408f0cbe3c4c2692d4e2705d91276fac0c63f5ca03d3be3b19b59 SHA512 9052d6bc6c9222d331d23f7cb79b534bea6b1cc0f259c97f465321bcdad11b643cbd2e9bb3a456770a19a2a84dabfbab55e522cbb745f4c64e228736eaaeaf24
|
||||||
|
DIST time-0.1.42.crate 30005 BLAKE2B 6d85ae2e56612b5c6955921b671ac62ad10c174fa9fd382e2d76018fc2789253836397b980f8e6d0db4f1b19da244c64d3bffb4fa6c25ac0b66e7ba9876590d4 SHA512 4df662212377093b0fd8fcd88ddc30b20a8af7d989c2e100c0cf64f9741e88eea6e858e1aa4220be6b76b0cf8b62c8116b492010d74d1ebef197c66aa130aa83
|
||||||
|
DIST tuikit-0.2.1.crate 31554 BLAKE2B e07173a3dc76110a905c448291e2a9f5b75bc963a47349744700bab7063a9b652eaf66ff2bf242280c76c902d914baf474076c7c5a531a310a1dc54bffe619ac SHA512 1aca6f200f15765191d46fb136486eeb3da70ecd59ad7716769ffe41950020f6eb36b365ab1c7f7844ba07f0e75f7c4644611ff592ae316fb9fad139b64e8f06
|
||||||
|
DIST ucd-util-0.1.3.crate 25897 BLAKE2B d67d250603625d7fe55b1bd17a8bff03ddf2e48b531e8f754f51dcd49370a2b66d0915842fb2fce85a69df2c38f9c086ac3c36115d40c5a8138e5451f71a1cfe SHA512 50a796feb198012241d73001bb53c8e3d3168df379de91d7ecaccfd829b08a356afe3db736fb8cced8748141d7a9e4b157440442c425816c78c0615c08e20f2e
|
||||||
DIST unicode-width-0.1.4.crate 15283 BLAKE2B 61a72cc00c929624bbf46ab89a8850270ce36d0c986dd302b436b98405e2b53c1199588c70920a3379fa55c9dadd070404a8d3580544c02ffe9bbdb6ed078215 SHA512 f06b243e533ab9c68d88ccd06a283dfff5fd13e9340cf11bfa74473fc9100bb704c34e7fb66919202a97e7d2ba2e7eed968eced02d557835a06e6a0166865ea3
|
DIST unicode-width-0.1.4.crate 15283 BLAKE2B 61a72cc00c929624bbf46ab89a8850270ce36d0c986dd302b436b98405e2b53c1199588c70920a3379fa55c9dadd070404a8d3580544c02ffe9bbdb6ed078215 SHA512 f06b243e533ab9c68d88ccd06a283dfff5fd13e9340cf11bfa74473fc9100bb704c34e7fb66919202a97e7d2ba2e7eed968eced02d557835a06e6a0166865ea3
|
||||||
|
DIST unicode-width-0.1.5.crate 15761 BLAKE2B 575e6bfe8b8b70cb0e5a167bf546df2964361a223b03a65bdc588c32d4cf9f01194daa8d6d1c90319f1f9981aa5b092dce67c9c97450be4ea630784d834cdbe2 SHA512 bd5ac5f0433953d79408074239edc7c43ce23d56659d467805d81ab01c576a3cf77ccedb3bba41d48bc4ad46a8905ac8a1927b99312053ef6295fd940a6766d2
|
||||||
DIST unreachable-1.0.0.crate 6355 BLAKE2B c41706721e8124c695259c12741ee95f98d3599871bb7fae2f8cb0d63a04f0cff11e01ab0376867de4de8707fd50fbd02f8b6d9c19bedda84bb5938876c5d803 SHA512 054e0a471d1068b7703853d838c7c381ac6865ac1f8abae08747581e3754416ccec5b80a5b04fedbcd01e68bfeba286b849e3b8ea67bbe62444f2974655e4948
|
DIST unreachable-1.0.0.crate 6355 BLAKE2B c41706721e8124c695259c12741ee95f98d3599871bb7fae2f8cb0d63a04f0cff11e01ab0376867de4de8707fd50fbd02f8b6d9c19bedda84bb5938876c5d803 SHA512 054e0a471d1068b7703853d838c7c381ac6865ac1f8abae08747581e3754416ccec5b80a5b04fedbcd01e68bfeba286b849e3b8ea67bbe62444f2974655e4948
|
||||||
DIST utf8-ranges-1.0.0.crate 8599 BLAKE2B eb356d94a937f5f7cd6ed17ba85c03fc1ced30ab9215aad1cda3e600dc6efd8bedef744a2dadc9664dc2cac0ef815f451e88db5b75f70eb1f50670dceeb7e244 SHA512 da498433597582970860db1c66ff1cc2ed8b0e2bf816e6aabdb40424ec03c3f28e6ca5e7592e464442004077735dca4144acd13c8f6a2e799d67504699422643
|
DIST utf8-ranges-1.0.0.crate 8599 BLAKE2B eb356d94a937f5f7cd6ed17ba85c03fc1ced30ab9215aad1cda3e600dc6efd8bedef744a2dadc9664dc2cac0ef815f451e88db5b75f70eb1f50670dceeb7e244 SHA512 da498433597582970860db1c66ff1cc2ed8b0e2bf816e6aabdb40424ec03c3f28e6ca5e7592e464442004077735dca4144acd13c8f6a2e799d67504699422643
|
||||||
|
DIST utf8-ranges-1.0.2.crate 8510 BLAKE2B 877ff38444aec99bf8e0d09c6880d4835eb453c8c7e38fa5e7f8fe3cadd5b34b11a030193e46fe97b19fd90e94de156c0eaf12c613aae7cee47f0f016a3fb96d SHA512 ac168b908a34c4814a682b77502d2e5aa3130acb01fa87e29c78b760a61ba61b01f9fa2d67202604ac9824e0b2fe92143b72c0d4100a62ff9f53e4b00a4a12fb
|
||||||
|
DIST utf8parse-0.1.1.crate 13995 BLAKE2B 6b1de4afdb2837a76637de72f6e6a81e73aa683d8da04ebc94cf7ee3c542845d2244e721840511ee2725320f2f882722e2bea67914435131d7af1ab29291d1eb SHA512 543d4daddce8248b181deb1c3952ca15303d78616480b23af163ca6253a059b5ce9494652839a051c48a47816c3dd719465bbe5bb7930db676a16bcdac47c517
|
||||||
DIST vec_map-0.8.0.crate 13742 BLAKE2B 5e1fd880c56f01d69d1680d77b361c89f94e77d75b0c8d1d49c780e6b729e3bc5e8d9a72e3a298bb350b1c27fac02dd7b31eb2f2018208f242b02d8d6d64af21 SHA512 7ce0c05c0b410577b489adb4d35376bc2a55c6041ce50e011b78415e952b5fb7fcff89fdd00b95e086de742f26ff057e99e55585824bbc0482e0ac2134406520
|
DIST vec_map-0.8.0.crate 13742 BLAKE2B 5e1fd880c56f01d69d1680d77b361c89f94e77d75b0c8d1d49c780e6b729e3bc5e8d9a72e3a298bb350b1c27fac02dd7b31eb2f2018208f242b02d8d6d64af21 SHA512 7ce0c05c0b410577b489adb4d35376bc2a55c6041ce50e011b78415e952b5fb7fcff89fdd00b95e086de742f26ff057e99e55585824bbc0482e0ac2134406520
|
||||||
|
DIST vec_map-0.8.1.crate 14959 BLAKE2B f5c179ccb4349d543747d5e3bb3edfca4bc9f3f64ba3c2d40fb1d9cba98433b7a0641387aafda6347c9b3603592c64bd820b217b46fbfcd37f802f298e5793ab SHA512 026cf10dc7ba98ae51dd312fc847cbaea41c25f0da5db6e0e22c2ecf75584bbf876d7bd96035fbbcf6696d702d5a3f25977e02a2d77cf519aa21e3ed05710e40
|
||||||
DIST void-1.0.2.crate 2356 BLAKE2B 41578fb5507f94e7d135f9595cec107ed00a926f4968df8b59792d1676ba5b6980cd67310f820fc37a9c14ebe43a171833fa8dfc09eac5dd42f2ebe808632a83 SHA512 1cc7d282600dc0164d7e410aa895d5dc99de1174991549c6733c94cc2027026517f66797751d737869eae58c560fa26edbf43f36b3015eb2fd99828fe40e0aa1
|
DIST void-1.0.2.crate 2356 BLAKE2B 41578fb5507f94e7d135f9595cec107ed00a926f4968df8b59792d1676ba5b6980cd67310f820fc37a9c14ebe43a171833fa8dfc09eac5dd42f2ebe808632a83 SHA512 1cc7d282600dc0164d7e410aa895d5dc99de1174991549c6733c94cc2027026517f66797751d737869eae58c560fa26edbf43f36b3015eb2fd99828fe40e0aa1
|
||||||
|
DIST vte-0.3.3.crate 2397439 BLAKE2B 213fccf5b1f09b2d23bca57be2abec0a3580ab01864c51dd364676f5c66decc5184ef15f0e484f9a94e892f118863655f4b2ed2a340a47276b3fe7b4db901dec SHA512 5e00e8409ef21edb5aa6fbe482785fd5969dd17a6695f82328c4ae12ea8622712dc3473f33832fdfe0cc2395411431fd47842e86e35022149d5e958c4e5f8fe9
|
||||||
DIST winapi-0.2.8.crate 455145 BLAKE2B 50f3c2a0cf4eeedd6891b11392e520c1cca139a71f8f736eabaf43aa7e4b1b5d57697918978220459572d373940edf971eb8302f292cbff832283e905076319a SHA512 115e6f027cdd4a56f77ca24f4ab249d2a6cac1e1f955c826a9b6ee05db4861790a533f5e674aebbb540370fff52ed41618c2cd7c906e73200e92df213109cebe
|
DIST winapi-0.2.8.crate 455145 BLAKE2B 50f3c2a0cf4eeedd6891b11392e520c1cca139a71f8f736eabaf43aa7e4b1b5d57697918978220459572d373940edf971eb8302f292cbff832283e905076319a SHA512 115e6f027cdd4a56f77ca24f4ab249d2a6cac1e1f955c826a9b6ee05db4861790a533f5e674aebbb540370fff52ed41618c2cd7c906e73200e92df213109cebe
|
||||||
|
DIST winapi-0.3.6.crate 1029391 BLAKE2B 9a52085c3cb74d84bc66cee575da0105eeca69f6abd3c8c601a4de013bafea795f044748be10ec9ab419a9ec82a304a0b65ba4d74f6cb39baff91228f83009f1 SHA512 991eb3d6ba08d59e7f7ec81ebf469cecc56b3723b636392972d2fdc1d6f13d88f8a244ad5cbb20f6058d12b44e060ed663c12aa3fbcd1235ab511fafa105cd3c
|
||||||
DIST winapi-build-0.1.1.crate 669 BLAKE2B 6c8d8e0f81574c086f06fb3f234b0e6759d293d1d254857c3d491e4d43279e5c2f57f2fcfdc9d5d7b083280f4cc2a75a6ee9bc1541ec6ce8f8d904ded0567faf SHA512 8b0a239e205a5368892f41c870a8a7ea16e3468c364b03382bef7fa3a2e7159b09c07661e95b1227578f6d72c14879daa4444b28c51ae20ef15d985d59ca5a77
|
DIST winapi-build-0.1.1.crate 669 BLAKE2B 6c8d8e0f81574c086f06fb3f234b0e6759d293d1d254857c3d491e4d43279e5c2f57f2fcfdc9d5d7b083280f4cc2a75a6ee9bc1541ec6ce8f8d904ded0567faf SHA512 8b0a239e205a5368892f41c870a8a7ea16e3468c364b03382bef7fa3a2e7159b09c07661e95b1227578f6d72c14879daa4444b28c51ae20ef15d985d59ca5a77
|
||||||
|
DIST winapi-i686-pc-windows-gnu-0.4.0.crate 2918815 BLAKE2B 4d357e4d30f9552972170d65b9a5358b69c46a3e772fe05efc22f3d4ffc1caeeaad7aacdc7abd503a7ad0545f8bd7d22bf351dcb6df76f812fa4d45c34d65df0 SHA512 a672ccefd0730a8166fef1d4e39f9034d9ae426a3f5e28d1f4169fa5c5790767693f281d890e7804773b34acdb0ae1febac33cde8c50c0044a5a6152c7209ec2
|
||||||
|
DIST winapi-x86_64-pc-windows-gnu-0.4.0.crate 2947998 BLAKE2B 2ad1ea8b5fa07d544e910ccba043ae925269b76b26c9da356305b34b86741dd8b9aff0b9ffe3d562db4fcd7d7c46a11ce9e3168b782b1d89ae6881742b7ede82 SHA512 4a654af6a5d649dc87e00497245096b35a2894ae66f155cb62389902c3b93ddcc5cf7d0d8b9dd97b291d2d80bc686af2298e80abef6ac69883f4a54e79712513
|
||||||
EBUILD skim-0.5.2.ebuild 1353 BLAKE2B b9ce81124e4cceb55af348e45105bb5cc55ff1e21270534dc2e4fe2ce339717129e9e9d82380a3503aedfcb19106959cd0684ba41f0b06788baf8e7778077c67 SHA512 ee1d0d208c8b887487ad9e09a9ad3f144bb9838108036901495623682d4f5493082f5c4355798b83e14112903132b245df95eb46a9e4909552fbf40d0b0fb734
|
EBUILD skim-0.5.2.ebuild 1353 BLAKE2B b9ce81124e4cceb55af348e45105bb5cc55ff1e21270534dc2e4fe2ce339717129e9e9d82380a3503aedfcb19106959cd0684ba41f0b06788baf8e7778077c67 SHA512 ee1d0d208c8b887487ad9e09a9ad3f144bb9838108036901495623682d4f5493082f5c4355798b83e14112903132b245df95eb46a9e4909552fbf40d0b0fb734
|
||||||
EBUILD skim-0.5.4.ebuild 1389 BLAKE2B b7a979df15c653f37dbd805e6d34095ce47f8869e355699c476febe75d51dfa61212a4153c6ba2de8ea2b8dfb6528272259a2b884aac1f95bb0e85c0ddcd2067 SHA512 eacdaa3d57aa3c362ff48541ad81c4d234549e03255be1b217e88c81c343f2af9259747d001031bc44a3c734f29b356ec830757984094f06e3216bf8b62ccbae
|
EBUILD skim-0.5.4.ebuild 1389 BLAKE2B b7a979df15c653f37dbd805e6d34095ce47f8869e355699c476febe75d51dfa61212a4153c6ba2de8ea2b8dfb6528272259a2b884aac1f95bb0e85c0ddcd2067 SHA512 eacdaa3d57aa3c362ff48541ad81c4d234549e03255be1b217e88c81c343f2af9259747d001031bc44a3c734f29b356ec830757984094f06e3216bf8b62ccbae
|
||||||
EBUILD skim-0.5.5.ebuild 1367 BLAKE2B 200e4fdb046dbb5f16316e9c7dd390393fedc184e76d5a061b0ad1b65ad18171f76a49f334bd3ceefef41c4d3a95931bc375973c8fab804031508b8e54d0e444 SHA512 4df3904246b2f25ffed97eace185604786c412c0420433ce51352ac071148dd9f08e619e654e49436949662c25973534ae18ec01972e936a2d78ba989b9b456f
|
EBUILD skim-0.5.5.ebuild 1367 BLAKE2B 200e4fdb046dbb5f16316e9c7dd390393fedc184e76d5a061b0ad1b65ad18171f76a49f334bd3ceefef41c4d3a95931bc375973c8fab804031508b8e54d0e444 SHA512 4df3904246b2f25ffed97eace185604786c412c0420433ce51352ac071148dd9f08e619e654e49436949662c25973534ae18ec01972e936a2d78ba989b9b456f
|
||||||
|
EBUILD skim-0.6.1.ebuild 1719 BLAKE2B 21d717b7f668b831d6083f8c4d3a54a080af950cd1adc766755b988942d9d38495099c70b1c627dc176e41f0b606b80630b1fb0e3ac58b3b3211f0ef52c3a399 SHA512 962b02989aec4a4c30e4dd13701bb18639dbff162b5b9018fec982620bcb3ba02267205e9c0831a332b9d07da9cf3dc42d9902f67ca8a47c3a5c8559a0a37080
|
||||||
MISC metadata.xml 582 BLAKE2B cfdc16bbc46445ceb6fa494cd23600d7e73aac9b88d9ed04a639242cecd82ef930372ff9807cd3a595fe07f8dcc0eff20d06bddd7153e624f5bc65823fc27991 SHA512 28756c12e60594e90969979d729a3f05359e724e230dd04492780215d21a727429caefb048a6d3976cfd9c0acb63fca76c5195eb9fd5cdafdce73ec429274315
|
MISC metadata.xml 582 BLAKE2B cfdc16bbc46445ceb6fa494cd23600d7e73aac9b88d9ed04a639242cecd82ef930372ff9807cd3a595fe07f8dcc0eff20d06bddd7153e624f5bc65823fc27991 SHA512 28756c12e60594e90969979d729a3f05359e724e230dd04492780215d21a727429caefb048a6d3976cfd9c0acb63fca76c5195eb9fd5cdafdce73ec429274315
|
||||||
|
@ -0,0 +1,94 @@
|
|||||||
|
# Copyright 2017-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
CRATES="
|
||||||
|
aho-corasick-0.6.10
|
||||||
|
ansi_term-0.11.0
|
||||||
|
arrayvec-0.4.10
|
||||||
|
atty-0.2.11
|
||||||
|
bitflags-1.0.4
|
||||||
|
byteorder-1.3.1
|
||||||
|
cc-1.0.31
|
||||||
|
cfg-if-0.1.7
|
||||||
|
clap-2.32.0
|
||||||
|
crossbeam-deque-0.2.0
|
||||||
|
crossbeam-epoch-0.3.1
|
||||||
|
crossbeam-utils-0.2.2
|
||||||
|
either-1.5.1
|
||||||
|
env_logger-0.4.3
|
||||||
|
fuzzy-matcher-0.2.1
|
||||||
|
lazy_static-0.2.11
|
||||||
|
lazy_static-1.3.0
|
||||||
|
libc-0.2.50
|
||||||
|
log-0.3.9
|
||||||
|
log-0.4.6
|
||||||
|
memchr-2.2.0
|
||||||
|
memoffset-0.2.1
|
||||||
|
nix-0.11.0
|
||||||
|
nodrop-0.1.13
|
||||||
|
num_cpus-1.10.0
|
||||||
|
rayon-1.0.3
|
||||||
|
rayon-core-1.4.1
|
||||||
|
redox_syscall-0.1.51
|
||||||
|
redox_termios-0.1.1
|
||||||
|
regex-0.2.11
|
||||||
|
regex-syntax-0.5.6
|
||||||
|
scopeguard-0.3.3
|
||||||
|
shlex-0.1.1
|
||||||
|
strsim-0.7.0
|
||||||
|
term-0.5.1
|
||||||
|
termion-1.5.1
|
||||||
|
textwrap-0.10.0
|
||||||
|
thread_local-0.3.6
|
||||||
|
time-0.1.42
|
||||||
|
tuikit-0.2.1
|
||||||
|
ucd-util-0.1.3
|
||||||
|
unicode-width-0.1.5
|
||||||
|
utf8-ranges-1.0.2
|
||||||
|
utf8parse-0.1.1
|
||||||
|
vec_map-0.8.1
|
||||||
|
void-1.0.2
|
||||||
|
vte-0.3.3
|
||||||
|
winapi-0.3.6
|
||||||
|
winapi-i686-pc-windows-gnu-0.4.0
|
||||||
|
winapi-x86_64-pc-windows-gnu-0.4.0
|
||||||
|
"
|
||||||
|
|
||||||
|
inherit cargo
|
||||||
|
|
||||||
|
DESCRIPTION="a command-line fuzzy finder"
|
||||||
|
HOMEPAGE="https://github.com/lotabout/skim"
|
||||||
|
SRC_URI="https://github.com/lotabout/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||||
|
$(cargo_crate_uris ${CRATES})"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="tmux vim"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
tmux? ( app-misc/tmux )
|
||||||
|
vim? ( || ( app-editors/vim app-editors/gvim ) )
|
||||||
|
"
|
||||||
|
|
||||||
|
QA_FLAGS_IGNORED="usr/bin/sk"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
cargo_src_install --path=.
|
||||||
|
dodoc CHANGELOG.md README.md
|
||||||
|
doman shell/skim.1
|
||||||
|
|
||||||
|
use tmux && dobin bin/sk-tmux
|
||||||
|
|
||||||
|
if use vim; then
|
||||||
|
insinto /usr/share/vim/vimfiles/plugin
|
||||||
|
doins plugin/skim.vim
|
||||||
|
fi
|
||||||
|
|
||||||
|
# install bash/zsh completion and keybindings
|
||||||
|
# since provided completions override a lot of commands, install to /usr/share
|
||||||
|
insinto /usr/share/${PN}
|
||||||
|
doins shell/{*.bash,*.zsh}
|
||||||
|
}
|
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