forked from steev/python-overlay
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media-sound/blanket: new ebuild for ambient sound clips
Signed-off-by: Stephen L Arnold <[email protected]>
- Loading branch information
Showing
4 changed files
with
145 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST blanket-0.7.0.gh.tar.gz 17821356 BLAKE2B d776fd7d53a99ebd31d496dd12025504bce415e5a4dde8258f4e268103919bc204cb34fea05a0435ec790e2a615049023d4305e8f9564ab9547574cc254ba2d4 SHA512 dc415b02deec8a898b626ed295b7a95c9b9b06bc0ad7bb86f329f1ea31d8d6fabf78e59d01091efa03f032b3ace489d9dfb47c87bd8c57f925a4ca529de42f1d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
# Copyright 1999-2024 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
PYTHON_COMPAT=( python3_{9..12} ) | ||
|
||
inherit gnome2-utils meson python-single-r1 xdg | ||
|
||
DESCRIPTION="An ambient sound player for Gnome desktop" | ||
HOMEPAGE="https://github.com/rafaelmardojai/blanket" | ||
|
||
if [[ ${PV} = 9999* ]]; then | ||
EGIT_REPO_URI="https://github.com/rafaelmardojai/blanket.git" | ||
EGIT_BRANCH="playback-rework" | ||
inherit git-r3 | ||
else | ||
SRC_URI="https://github.com/rafaelmardojai/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" | ||
KEYWORDS="~amd64 ~arm ~arm64 ~x86" | ||
fi | ||
|
||
LICENSE="GPL-3" | ||
SLOT="0" | ||
IUSE="gnome" | ||
|
||
REQUIRED_USE="${PYTHON_REQUIRED_USE}" | ||
|
||
DEPEND="${PYTHON_DEPS}" | ||
|
||
RDEPEND="${DEPEND} | ||
>=dev-libs/glib-2.76.0:2 | ||
>=dev-python/pygobject-3.10.2:3[cairo] | ||
>=gui-libs/gtk-4.11.3:4[gstreamer,introspection] | ||
>=gui-libs/libadwaita-1.4:1[introspection,vala] | ||
gnome? ( gnome-base/gsettings-desktop-schemas ) | ||
" | ||
|
||
BDEPEND=">=sys-devel/gettext-0.19.8 | ||
virtual/pkgconfig | ||
dev-util/blueprint-compiler | ||
dev-util/desktop-file-utils | ||
dev-libs/appstream-glib[introspection] | ||
" | ||
|
||
pkg_preinst() { | ||
gnome2_schemas_savelist | ||
xdg_pkg_preinst | ||
} | ||
|
||
src_install() { | ||
meson_src_install | ||
python_optimize | ||
python_fix_shebang "${ED}"/usr/bin/ | ||
} | ||
|
||
pkg_postinst() { | ||
gnome2_gconf_install | ||
gnome2_schemas_update | ||
xdg_pkg_postinst | ||
} | ||
|
||
pkg_postrm() { | ||
gnome2_gconf_uninstall | ||
gnome2_schemas_update | ||
xdg_pkg_postrm | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
# Copyright 1999-2024 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
PYTHON_COMPAT=( python3_{9..12} ) | ||
|
||
inherit gnome2-utils meson python-single-r1 xdg | ||
|
||
DESCRIPTION="An ambient sopunds application for Gnome desktop" | ||
HOMEPAGE="https://github.com/rafaelmardojai/blanket" | ||
|
||
if [[ ${PV} = 9999* ]]; then | ||
EGIT_REPO_URI="https://github.com/rafaelmardojai/blanket.git" | ||
EGIT_BRANCH="playback-rework" | ||
inherit git-r3 | ||
else | ||
SRC_URI="https://github.com/rafaelmardojai/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" | ||
KEYWORDS="~amd64 ~arm ~arm64 ~x86" | ||
fi | ||
|
||
LICENSE="GPL-3" | ||
SLOT="0" | ||
IUSE="gnome" | ||
|
||
REQUIRED_USE="${PYTHON_REQUIRED_USE}" | ||
|
||
DEPEND="${PYTHON_DEPS}" | ||
|
||
RDEPEND="${DEPEND} | ||
>=dev-libs/glib-2.76.0:2 | ||
>=dev-python/pygobject-3.10.2:3[cairo] | ||
>=gui-libs/gtk-4.11.3:4[gstreamer,introspection] | ||
>=gui-libs/libadwaita-1.4:1[introspection,vala] | ||
gnome? ( gnome-base/gsettings-desktop-schemas ) | ||
" | ||
|
||
BDEPEND=">=sys-devel/gettext-0.19.8 | ||
virtual/pkgconfig | ||
dev-util/blueprint-compiler | ||
dev-util/desktop-file-utils | ||
dev-libs/appstream-glib[introspection] | ||
" | ||
|
||
pkg_preinst() { | ||
gnome2_schemas_savelist | ||
xdg_pkg_preinst | ||
} | ||
|
||
src_install() { | ||
meson_src_install | ||
python_optimize | ||
python_fix_shebang "${ED}"/usr/bin/ | ||
} | ||
|
||
pkg_postinst() { | ||
gnome2_gconf_install | ||
gnome2_schemas_update | ||
xdg_pkg_postinst | ||
} | ||
|
||
pkg_postrm() { | ||
gnome2_gconf_uninstall | ||
gnome2_schemas_update | ||
xdg_pkg_postrm | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<maintainer type="person"> | ||
<email>[email protected]</email> | ||
<name>Steve Arnold</name> | ||
</maintainer> | ||
<upstream> | ||
<remote-id type="github">rafaelmardojai/blanket</remote-id> | ||
</upstream> | ||
<longdescription lang="en"> | ||
Gnome app to play looped sound or noise clips from an icon panel. | ||
</longdescription> | ||
</pkgmetadata> |