From 3cf7c3ef441822c889356fd1812ebf2944a59851 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 25 Aug 2020 10:45:55 +0100 Subject: gentoo resync : 25.08.2020 --- app-misc/solaar/Manifest | 2 ++ app-misc/solaar/solaar-1.0.3_rc1.ebuild | 59 +++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 app-misc/solaar/solaar-1.0.3_rc1.ebuild (limited to 'app-misc/solaar') diff --git a/app-misc/solaar/Manifest b/app-misc/solaar/Manifest index 75807e848a73..445d5757536a 100644 --- a/app-misc/solaar/Manifest +++ b/app-misc/solaar/Manifest @@ -1,6 +1,8 @@ DIST solaar-1.0.1.tar.gz 1195660 BLAKE2B e6cd89b5735e125dd438255a8961b1d5d38feb515c5097efec0403d99b9db6e29c439c13e279fcffe69cb314bf2650a7a11770830fdf1e971ade27ce8331aed2 SHA512 e0b2bbfd97d9650d94f1a4b47e4e70f09c75f684e7e1d3e67d2cf6dd197109084e941b98333e173fb205d5c9464dd07e17390d9c2d5b46393fee2efdb20429ac DIST solaar-1.0.2.tar.gz 1540722 BLAKE2B 66c6f7c347f5eba538d3d48ff1c1137c1c71bf84dfb1a306a94e3cb24810378864066644a82d27eaaee2d80d30bcd30bb71ebe80fdb12363e9b194df9054946d SHA512 5f97b51e7853386311c5b9ff968a72529d55837f7262786e86085e130d219ac22095c20c984e340f619a15b8242f90e66a6c678c5e0c507c261d0430b74eacd6 +DIST solaar-1.0.3rc1.tar.gz 782803 BLAKE2B a4dde7238f2616d98cafafa775050fd0c3a3aaf8a11b0eab333993a9246c321c45ebe4d30adddf82d826e1909a8e90cb0914472ab40f9ed5560d380931aea591 SHA512 845c55865ef93c163bae80dfe6e8e3013363cff1be03b167dcd4f30c541ae16e1828ed6e51c8c77aa8b067e3a75cd8e1980fb8847b308d067a816598f83c8d83 EBUILD solaar-1.0.1-r1.ebuild 1120 BLAKE2B 8a22d0162004e2661426dea055b69bda82f0848aa9aaf5f3a2de1ec0b4af32d01b0fa5108730f4fed66717ec590bd5712fc7666a04610f8a5fc96291d30ed412 SHA512 a8413ffcd2d4a8348c047fff7b26f1bc3c200c2c6f2648b08195a513acac878fe27e3569f9a970ee38510dbcaba46ede35fec7e55771dc01b20522a99b3efa25 EBUILD solaar-1.0.2.ebuild 1427 BLAKE2B 9730b21134fae5a9e5422a75a59d048e48acb737c5cbb2bea2ae0b2155f9d087debdbbaf4f20a61ecccef4d69eed75e27873bccca62df31e606e8a9c779cd965 SHA512 4895d4655540ed37c33329078df9a0dbc4387633ef7ea800f0d54854a87e793ac2e51c7808945d1751904a76e5584ab2fd9f3c1c563409d6d64bd2f27799308f +EBUILD solaar-1.0.3_rc1.ebuild 1497 BLAKE2B 219c2e01f7bf6572989ceb1fd8005938ec5abd75160ff649898ef47c0e7ed8dd4d30a4b45c261c7a4929ff92b932e916232f98e97fb4d3d13eacc8ad2d945e10 SHA512 236e5e23e77b2dd89c908dfd1358a5a9eed7a4e6cfafba5d73edbac94c5e86a57d1fdb346e4424649200276cc4f4e8027473ced5c5d7d1d50050c327f27685c0 EBUILD solaar-9999.ebuild 1284 BLAKE2B 516fe9ad4b43027e0e7c8cbe2eb93cc4beaec67cd973e82ef71d11fa34d188c12eea5e568ae8a469bd31b7211d3ba2e8407d8f6fa38acace4ad9032588e968a6 SHA512 0f59c7ea6fd2c63d65e68d712f0e78dfd741942bdb36e8b00a32b7e8c1486ed2fb93504429e80552544b37461baf3e3b79d84c476bd7f3f78563709de7570433 MISC metadata.xml 301 BLAKE2B e1a95f23856b0daa09eba917e05537d4e423ca5d36ef0af029c240cff5186125868c54bf70981005b9b26bc57d5d6118972836ef4ecc1dc73131b46da9106724 SHA512 8af96a19368452eb3396e6d33ed62f4702d82d99995cf09cd55da5d55154e43422f3da527ca2101ee352392af2be5e5a521d254b99682184d68ade9da1196acb diff --git a/app-misc/solaar/solaar-1.0.3_rc1.ebuild b/app-misc/solaar/solaar-1.0.3_rc1.ebuild new file mode 100644 index 000000000000..37fb735fd590 --- /dev/null +++ b/app-misc/solaar/solaar-1.0.3_rc1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=bdepend +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit linux-info udev xdg distutils-r1 + +DESCRIPTION="Linux Device Manager for Logitech Unifying Receivers and Paired Devices" +HOMEPAGE="https://pwr-solaar.github.io/Solaar/" +SRC_URI="https://github.com/pwr-Solaar/Solaar/archive/${PV/_rc/rc}.tar.gz -> ${P/_rc/rc}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="doc appindicator libnotify" + +RDEPEND=" + acct-group/plugdev + dev-python/pygobject:3[${PYTHON_USEDEP}] + >=dev-python/pyudev-0.13[${PYTHON_USEDEP}] + x11-libs/gtk+:3[introspection] + appindicator? ( dev-libs/libappindicator:3 ) + libnotify? ( x11-libs/libnotify )" +# libappindicator & libnotify are entirely optional and detected at runtime + +S="${WORKDIR}"/Solaar-${PV/_rc/rc} + +CONFIG_CHECK="~HID_LOGITECH_DJ ~HIDRAW" + +python_prepare_all() { + # don't autostart (bug #494608) + sed -i \ + -e '/yield autostart_path/d' \ + setup.py || die + + sed -i -r \ + -e '/yield.*udev.*rules.d/{s,/etc,/lib,g}' \ + setup.py || die + + # grant plugdev group rw access + sed -i 's/#MODE=/MODE=/' rules.d/42-logitech-unify-permissions.rules || die + + distutils-r1_python_prepare_all +} + +python_install_all() { + distutils-r1_python_install_all + + dodoc docs/devices.md + if use doc; then + dodoc -r docs/* + else + newdoc docs/index.md README.md + fi + udev_dorules "${S}"/rules.d/42-logitech-unify-permissions.rules +} -- cgit v1.2.3