gentoo-overlay/media-sound/cozy/cozy-0.7.2.ebuild

64 lines
1.5 KiB
Bash
Raw Normal View History

2020-05-10 13:52:30 +03:00
# Copyright 2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
2020-10-15 18:25:02 +03:00
PYTHON_COMPAT=( python3_{7,8,9} )
2020-05-10 13:52:30 +03:00
2020-10-15 19:55:38 +03:00
inherit distutils-r1 meson gnome2-utils xdg-utils
2020-05-10 13:52:30 +03:00
DESCRIPTION="A modern audio book player for Linux and macOS using GTK+ 3"
HOMEPAGE="https://cozy.geigi.de"
SRC_URI="https://github.com/geigi/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
2020-05-10 13:54:02 +03:00
KEYWORDS="~amd64 ~x86"
2020-05-10 13:52:30 +03:00
IUSE=""
RDEPEND=">=dev-lang/python-3.0
2020-07-08 12:34:51 +03:00
>=x11-libs/gtk+-3.22:3
2020-05-10 13:52:30 +03:00
>=dev-python/peewee-3.9.6[${PYTHON_USEDEP}]
media-libs/mutagen[${PYTHON_USEDEP}]
dev-python/pygobject:3[cairo,${PYTHON_USEDEP}]
sys-apps/file
2020-07-08 12:34:51 +03:00
dev-python/apsw[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
2020-10-15 18:25:02 +03:00
dev-python/packaging[${PYTHON_USEDEP}]
2020-05-10 13:52:30 +03:00
media-libs/gstreamer:1.0
media-libs/gst-plugins-good:1.0
media-libs/gst-plugins-bad:1.0
media-libs/gst-plugins-ugly:1.0
media-plugins/gst-plugins-libav:1.0
dev-python/gst-python:1.0[${PYTHON_USEDEP}]
dev-python/distro[${PYTHON_USEDEP}]
dev-libs/appstream-glib
dev-util/desktop-file-utils"
DEPEND="${RDEPEND}
>=dev-util/meson-0.4.0
dev-util/ninja
dev-python/setuptools[${PYTHON_USEDEP}]"
src_configure() {
2020-10-15 19:55:38 +03:00
meson_src_configure
2020-05-10 13:52:30 +03:00
}
src_install() {
2020-10-15 19:55:38 +03:00
meson_src_install
2020-05-10 13:52:30 +03:00
}
2020-10-15 19:55:38 +03:00
pkg_postinst() {
xdg_icon_cache_update
gnome2_schemas_update
xdg_desktop_database_update
xdg_mimeinfo_database_update
}
pkg_postrm() {
xdg_icon_cache_update
gnome2_schemas_update
xdg_desktop_database_update
xdg_mimeinfo_database_update
}