diff options
Diffstat (limited to 'media-video/gnome-mpv/gnome-mpv-0.13.ebuild')
-rw-r--r-- | media-video/gnome-mpv/gnome-mpv-0.13.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/media-video/gnome-mpv/gnome-mpv-0.13.ebuild b/media-video/gnome-mpv/gnome-mpv-0.13.ebuild new file mode 100644 index 000000000000..96f420ed5b59 --- /dev/null +++ b/media-video/gnome-mpv/gnome-mpv-0.13.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit gnome2-utils xdg-utils meson + +DESCRIPTION="A simple GTK+ frontend for mpv" +HOMEPAGE="https://github.com/gnome-mpv/gnome-mpv" +SRC_URI="https://github.com/gnome-mpv/gnome-mpv/releases/download/v${PV}/${P}.tar.xz + https://github.com/gnome-mpv/gnome-mpv/releases/download/v${PV}/update-appdata-and-add-missing-meson-build-file.patch -> ${P}-upstream-updates.patch +" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=">=dev-libs/glib-2.44 + >=x11-libs/gtk+-3.20:3 + >=media-video/mpv-0.21[libmpv] + media-libs/libepoxy" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +PATCHES=( "${DISTDIR}"/${P}-upstream-updates.patch ) + +pkg_postinst() { + xdg_desktop_database_update + gnome2_icon_cache_update + gnome2_schemas_update +} + +pkg_postrm() { + xdg_desktop_database_update + gnome2_icon_cache_update + gnome2_schemas_update +} |