diff options
author | Quetzaly Daniela Solano Gómez <gentoo@sattvik.com> | 2023-05-09 07:33:29 -0500 |
---|---|---|
committer | Quetzaly Daniela Solano Gómez <gentoo@sattvik.com> | 2023-05-09 07:33:29 -0500 |
commit | e000c7b564a298ba0a21b20d514afb3108387dc0 (patch) | |
tree | 936fc32ee71d27de3827011077e2ca7df228a33e /media-video/streamdeck-ui/streamdeck-ui-2.0.15.ebuild | |
parent | */*: Fix package issues (diff) | |
download | sattvik-e000c7b564a298ba0a21b20d514afb3108387dc0.tar.gz sattvik-e000c7b564a298ba0a21b20d514afb3108387dc0.tar.bz2 sattvik-e000c7b564a298ba0a21b20d514afb3108387dc0.zip |
media-video/streamdeck-ui: Update streamdeck-ui
Signed-off-by: Quetzaly Daniela Solano Gómez <gentoo@sattvik.com>
Diffstat (limited to 'media-video/streamdeck-ui/streamdeck-ui-2.0.15.ebuild')
-rw-r--r-- | media-video/streamdeck-ui/streamdeck-ui-2.0.15.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/media-video/streamdeck-ui/streamdeck-ui-2.0.15.ebuild b/media-video/streamdeck-ui/streamdeck-ui-2.0.15.ebuild new file mode 100644 index 0000000..cd4c245 --- /dev/null +++ b/media-video/streamdeck-ui/streamdeck-ui-2.0.15.ebuild @@ -0,0 +1,51 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{9..11} ) +DISTUTILS_USE_PEP517=poetry +inherit distutils-r1 + +DESCRIPTION="A Linux compatible UI for the Elgato Stream Deck" +HOMEPAGE="https://github.com/timothycrosley/streamdeck-ui" +if [ "${PV}" = "9999" ]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/timothycrosley/streamdeck-ui.git" +else + SRC_URI="https://github.com/timothycrosley/streamdeck-ui/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + #S="${WORKDIR}/${PN}-${COMMIT}" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="MIT Apache-2.0" +SLOT="0" +IUSE="" + +RESTRICT="test" + +DEPEND="${PYTHON_DEPS} + dev-libs/hidapi + dev-python/filetype[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pynput[${PYTHON_USEDEP}] + dev-python/pyside2[${PYTHON_USEDEP},designer] + dev-python/python-xlib[${PYTHON_USEDEP}] + media-gfx/cairosvg[${PYTHON_USEDEP}] + media-libs/elgato-streamdeck[${PYTHON_USEDEP}] + " +RDEPEND="${DEPEND}" + +distutils_enable_tests pytest + +src_prepare() { + sed -i "s#os.path.dirname(os.path.abspath(__file__))#'/usr/share/streamdeck-ui'#" streamdeck_ui/config.py + distutils-r1_src_prepare +} + +src_install() { + insinto /usr/share/streamdeck-ui + doins streamdeck_ui/logo.png + doins -r streamdeck_ui/fonts + distutils-r1_src_install +} |