mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
Merge updates from master
This commit is contained in:
@@ -1 +1 @@
|
||||
DIST PlexAPI-4.15.11.tar.gz 151839 BLAKE2B 3ee67dc00cd948d85742a03aa4bd5072a147eed586b02790565edccda2f8d73d46a7f002c862eec91772e8f0ec7f7349c32065acd2a8d2599e4a98d2eea403aa SHA512 ccfac639a74f97ff4d22be3f649abbc5d8e0df5fef3df713d559c48277afa6d23e759dd7c796e25da634b0890d5994b782436eeafcf0a6174c422193d47dd5c0
|
||||
DIST plexapi-4.15.11.gh.tar.gz 22519567 BLAKE2B 20f5e3d426475c63aa39f960838a0501abbf6af6f2c214163825e53d052076cd8a8ba982eafe0faa9971d0b6f857a266f092a3d4fb3b6cb7fff8c7f9380f4e03 SHA512 c68b414aa9262c3505dc2490c38e8d5dd896970f4df7fe8d382a0c5f2276ecc9833767e243b596c4f0f625e6d8984f5f89790fe7a71e9b6cab1c439f26b9cde1
|
||||
|
||||
@@ -3,12 +3,13 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
# left here in case we switch to pypi
|
||||
PYPI_PN="PlexAPI"
|
||||
PYPI_NO_NORMALIZE=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10,11,12} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python bindings for the Plex API."
|
||||
HOMEPAGE="
|
||||
@@ -16,6 +17,10 @@ HOMEPAGE="
|
||||
https://github.com/pkkid/python-plexapi
|
||||
"
|
||||
|
||||
# pypi release don't have docs
|
||||
SRC_URI="https://github.com/pkkid/python-plexapi/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
S="${WORKDIR}/python-${P}"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
@@ -27,4 +32,6 @@ RDEPEND="
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
BDEPEND="doc? ( dev-python/sphinx-rtd-theme )"
|
||||
|
||||
distutils_enable_sphinx docs
|
||||
|
||||
122
media-sound/TauonMusicBox/TauonMusicBox-7.7.2-r2.ebuild
Normal file
122
media-sound/TauonMusicBox/TauonMusicBox-7.7.2-r2.ebuild
Normal file
@@ -0,0 +1,122 @@
|
||||
# Copyright 2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PLOCALES="cs de es fr_FR hu id it ja_JP nb_NO pl pt pt_BR pt_PT ru sv tr zh_CN"
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
|
||||
inherit cmake desktop distutils-r1 optfeature plocale xdg
|
||||
|
||||
DESCRIPTION="The desktop music player of today!"
|
||||
HOMEPAGE="https://tauonmusicbox.rocks/"
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
EGIT_SUBMODULES=()
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/Taiko2k/${PN}"
|
||||
else
|
||||
SRC_URI="https://github.com/Taiko2k/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
||||
PHAZOR_DEPS="
|
||||
dev-libs/miniaudio
|
||||
media-libs/flac
|
||||
media-libs/libopenmpt
|
||||
media-libs/opus
|
||||
media-libs/opusfile
|
||||
media-libs/libsamplerate
|
||||
media-libs/libvorbis
|
||||
media-sound/mpg123
|
||||
media-sound/wavpack
|
||||
sci-libs/kissfft[-cpu_flags_x86_sse]
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
||||
dev-python/musicbrainzngs[${PYTHON_USEDEP}]
|
||||
dev-python/natsort[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
dev-python/PySDL2[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/setproctitle[${PYTHON_USEDEP}]
|
||||
dev-python/send2trash[${PYTHON_USEDEP}]
|
||||
media-video/ffmpeg
|
||||
media-libs/mutagen[${PYTHON_USEDEP}]
|
||||
media-libs/sdl2-image
|
||||
|
||||
${PHAZOR_DEPS}
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
|
||||
dev-libs/libappindicator
|
||||
x11-libs/libnotify
|
||||
"
|
||||
|
||||
BDEPEND="sys-devel/gettext"
|
||||
|
||||
src_prepare() {
|
||||
# Workaround. If PATCHES is used it would be applied to times and fail
|
||||
eapply "${FILESDIR}/${PN}-fix-desktop.patch"
|
||||
|
||||
distutils-r1_src_prepare
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
distutils-r1_src_configure
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
distutils-r1_src_compile
|
||||
cmake_src_compile
|
||||
|
||||
build_locale() {
|
||||
msgfmt -o "locale/${1}/LC_MESSAGES/tauon.mo" "locale/${1}/LC_MESSAGES/tauon.po" || die
|
||||
}
|
||||
|
||||
plocale_for_each_locale build_locale
|
||||
}
|
||||
|
||||
src_test() {
|
||||
distutils-r1_src_test
|
||||
cmake_src_test
|
||||
}
|
||||
|
||||
python_install() {
|
||||
newbin tauon.py tauon
|
||||
dolib.so "${WORKDIR}/${P}_build/libphazor.so"
|
||||
dosym "/usr/$(get_libdir)/libphazor.so" "/usr/share/${PN}/lib/libphazor.so"
|
||||
|
||||
install_locale() {
|
||||
insinto "/usr/share/locale/${1}/LC_MESSAGES"
|
||||
doins "locale/${1}/LC_MESSAGES/tauon.mo"
|
||||
}
|
||||
|
||||
plocale_for_each_locale install_locale
|
||||
|
||||
insinto "/usr/share/${PN}"
|
||||
doins -r assets theme templates
|
||||
doins input.txt
|
||||
|
||||
sed -i 's/\/opt\/tauon-music-box\/tauonmb.sh/tauon/g' extra/tauonmb.desktop || die
|
||||
domenu extra/tauonmb.desktop
|
||||
doicon -s scalable extra/tauonmb.svg
|
||||
|
||||
distutils-r1_python_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "last fm support" dev-python/pylast
|
||||
optfeature "PLEX support" dev-python/plexapi
|
||||
|
||||
xdg_pkg_postinst
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
From 203ed16eef31cc199853ecef9d947eb147ab4f16 Mon Sep 17 00:00:00 2001
|
||||
From: David Roman <davidroman96@gmail.com>
|
||||
Date: Fri, 19 Apr 2024 02:02:08 +0200
|
||||
Subject: [PATCH] tauonmb.desktop: add mising stop action (#1132)
|
||||
|
||||
---
|
||||
extra/tauonmb.desktop | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/extra/tauonmb.desktop b/extra/tauonmb.desktop
|
||||
index 1a98fc4e2..5d049f084 100644
|
||||
--- a/extra/tauonmb.desktop
|
||||
+++ b/extra/tauonmb.desktop
|
||||
@@ -21,7 +21,7 @@ StartupWMClass=Tauon Music Box
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=AudioVideo;Player;Audio;
|
||||
-Actions=PlayPause;Previous;Next
|
||||
+Actions=PlayPause;Previous;Next;Stop
|
||||
|
||||
[Desktop Action PlayPause]
|
||||
Exec=/opt/tauon-music-box/tauonmb.sh --no-start --play-pause
|
||||
1
x11-misc/xsecurelock/Manifest
Normal file
1
x11-misc/xsecurelock/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST xsecurelock-1.9.0.tar.gz 222849 BLAKE2B 2284e47ae7dcb193e0cc004b1adeafb560ede89c5c6fbf15eef4f2f9b6b098123e0420726ab05cec3b99e55578e4ef5b206faef9a90a5f73fc26e1606458cd52 SHA512 23a3c0ac6302bf9550f26fd7a16034dc19899d2523e2211040332cc7ffd14927b9b6af7fdd577ab65e2a5f5c7d0b2b7156b1e2812d40bb4dc0d2ca04c6fc53cc
|
||||
16
x11-misc/xsecurelock/metadata.xml
Normal file
16
x11-misc/xsecurelock/metadata.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>dev@dyama.net</email>
|
||||
<name>Daichi Yamamoto</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="mplayer">Install the saver_mplayer module</flag>
|
||||
<flag name="mpv">Install the saver_mpv module</flag>
|
||||
<flag name="xscreensaver">Install the saver_xscreensaver module</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">google/xsecurelock</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
67
x11-misc/xsecurelock/xsecurelock-1.9.0.ebuild
Normal file
67
x11-misc/xsecurelock/xsecurelock-1.9.0.ebuild
Normal file
@@ -0,0 +1,67 @@
|
||||
# Copyright 2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="X11 screen lock utility with security in mind"
|
||||
HOMEPAGE="https://github.com/google/xsecurelock"
|
||||
SRC_URI="https://github.com/google/xsecurelock/releases/download/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="mplayer mpv xscreensaver"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/libbsd
|
||||
media-libs/fontconfig
|
||||
sys-libs/pam
|
||||
x11-libs/libX11
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXft
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXrandr
|
||||
mplayer? ( media-video/mplayer )
|
||||
mpv? ( media-video/mpv )
|
||||
xscreensaver? ( x11-misc/xscreensaver )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
x11-base/xorg-proto
|
||||
"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--prefix="${EPREFIX}"/usr
|
||||
--with-default-auth-module=auth_x11
|
||||
--with-default-authproto-module=authproto_pam
|
||||
--without-htpasswd
|
||||
--without-pamtester
|
||||
--without-pandoc
|
||||
--with-pam-service-name=system-auth
|
||||
)
|
||||
use mplayer || myeconfargs+=( --without-mplayer )
|
||||
use mpv || myeconfargs+=( --without-mpv )
|
||||
if use xscreensaver; then
|
||||
myeconfargs+=(
|
||||
--with-default-saver-module=saver_xscreensaver
|
||||
--with-xscreensaver="${EPREFIX}"/usr/$(get_libdir)/misc/xscreensaver
|
||||
)
|
||||
else
|
||||
myeconfargs+=(
|
||||
--with-default-saver-module=saver_blank
|
||||
--without-xscreensaver
|
||||
)
|
||||
fi
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
Reference in New Issue
Block a user