summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-03-03 20:11:38 +0100
committerLars Wendler <polynomial-c@gentoo.org>2019-03-03 20:12:06 +0100
commitcac5f6d9f893dae6998164d4a573c64285ea05ca (patch)
tree19b35394ba7df355370b8468127f7801e7c3c418 /media-video/smplayer
parentmedia-video/smplayer: Remove youtube-dl runtime dependency (diff)
downloadgentoo-cac5f6d9f893dae6998164d4a573c64285ea05ca.tar.gz
gentoo-cac5f6d9f893dae6998164d4a573c64285ea05ca.tar.bz2
gentoo-cac5f6d9f893dae6998164d4a573c64285ea05ca.zip
media-video/smplayer: Bump to EAPI-7
- prefer "xdg" over "gnome2" and xdg-utils" eclass Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-video/smplayer')
-rw-r--r--media-video/smplayer/smplayer-19.1.0-r1.ebuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/media-video/smplayer/smplayer-19.1.0-r1.ebuild b/media-video/smplayer/smplayer-19.1.0-r1.ebuild
index ed890bb87369..a75e7524fb1e 100644
--- a/media-video/smplayer/smplayer-19.1.0-r1.ebuild
+++ b/media-video/smplayer/smplayer-19.1.0-r1.ebuild
@@ -1,14 +1,14 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
PLOCALES="am ar_SY ar bg ca cs da de el en_GB en en_US es et eu fa fi fr gl
he_IL hr hu id it ja ka ko ku lt mk ms_MY nl nn_NO pl pt_BR pt ro_RO ru_RU
sk sl_SI sq_AL sr sv th tr uk_UA uz vi_VN zh_CN zh_TW"
PLOCALE_BACKUP="en_US"
-inherit gnome2-utils l10n qmake-utils toolchain-funcs xdg-utils
+inherit l10n qmake-utils toolchain-funcs xdg
DESCRIPTION="Great Qt GUI front-end for mplayer/mpv"
HOMEPAGE="http://www.smplayer.eu/"
@@ -120,15 +120,17 @@ src_install() {
default
}
+pkg_preinst() {
+ xdg_pkg_preinst
+}
+
pkg_postinst() {
- gnome2_icon_cache_update
- xdg_desktop_database_update
+ xdg_pkg_postinst
elog "If you want URL support with media-video/mpv, please install"
elog "net-misc/youtube-dl."
}
pkg_postrm() {
- gnome2_icon_cache_update
- xdg_desktop_database_update
+ xdg_pkg_postrm
}