diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2017-12-07 01:08:40 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-12-07 01:13:21 +0100 |
commit | 569c8108457eecb7ec522e163eae5386053d1085 (patch) | |
tree | 74f22792d99ddd4734419d1764f8f0990ae90459 /media-video | |
parent | www-plugins/chrome-binary-plugins: automated update (63.0.3239.84, 63.0.3239.84) (diff) | |
download | gentoo-569c8108457eecb7ec522e163eae5386053d1085.tar.gz gentoo-569c8108457eecb7ec522e163eae5386053d1085.tar.bz2 gentoo-569c8108457eecb7ec522e163eae5386053d1085.zip |
media-video/vlc: Needs gnome2-utils, xdg-utils
Bug: https://bugs.gentoo.org/629388
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/vlc/vlc-2.2.9999.ebuild | 16 | ||||
-rw-r--r-- | media-video/vlc/vlc-3.0.9999.ebuild | 16 | ||||
-rw-r--r-- | media-video/vlc/vlc-9999.ebuild | 16 |
3 files changed, 45 insertions, 3 deletions
diff --git a/media-video/vlc/vlc-2.2.9999.ebuild b/media-video/vlc/vlc-2.2.9999.ebuild index 7cf4885b897d..819efaa39b1d 100644 --- a/media-video/vlc/vlc-2.2.9999.ebuild +++ b/media-video/vlc/vlc-2.2.9999.ebuild @@ -21,7 +21,7 @@ else fi KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 -sparc ~x86 ~x86-fbsd" fi -inherit autotools flag-o-matic toolchain-funcs versionator virtualx ${SCM} +inherit autotools flag-o-matic gnome2-utils toolchain-funcs versionator virtualx xdg-utils ${SCM} DESCRIPTION="VLC media player - Video player and streamer" HOMEPAGE="https://www.videolan.org/vlc/" @@ -465,6 +465,10 @@ src_install() { find "${D}" -name '*.la' -delete || die } +pkg_preinst() { + gnome2_icon_savelist +} + pkg_postinst() { if [[ "$ROOT" = "/" ]] && [[ -x "/usr/$(get_libdir)/vlc/vlc-cache-gen" ]] ; then einfo "Running /usr/$(get_libdir)/vlc/vlc-cache-gen on /usr/$(get_libdir)/vlc/plugins/" @@ -474,4 +478,14 @@ pkg_postinst() { ewarn "Please run /usr/$(get_libdir)/vlc/vlc-cache-gen manually" ewarn "If you do not do it, vlc will take a long time to load." fi + + gnome2_icon_cache_update + xdg_mimeinfo_database_update + xdg_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_mimeinfo_database_update + xdg_desktop_database_update } diff --git a/media-video/vlc/vlc-3.0.9999.ebuild b/media-video/vlc/vlc-3.0.9999.ebuild index 73558f99a0c5..b4732d6d4350 100644 --- a/media-video/vlc/vlc-3.0.9999.ebuild +++ b/media-video/vlc/vlc-3.0.9999.ebuild @@ -21,7 +21,7 @@ else fi KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 -sparc ~x86 ~x86-fbsd" fi -inherit autotools flag-o-matic toolchain-funcs versionator virtualx ${SCM} +inherit autotools flag-o-matic gnome2-utils toolchain-funcs versionator virtualx xdg-utils ${SCM} DESCRIPTION="VLC media player - Video player and streamer" HOMEPAGE="https://www.videolan.org/vlc/" @@ -450,6 +450,10 @@ src_install() { find "${D}" -name '*.la' -delete || die } +pkg_preinst() { + gnome2_icon_savelist +} + pkg_postinst() { if [[ "$ROOT" = "/" ]] && [[ -x "/usr/$(get_libdir)/vlc/vlc-cache-gen" ]] ; then einfo "Running /usr/$(get_libdir)/vlc/vlc-cache-gen on /usr/$(get_libdir)/vlc/plugins/" @@ -459,4 +463,14 @@ pkg_postinst() { ewarn "Please run /usr/$(get_libdir)/vlc/vlc-cache-gen manually" ewarn "If you do not do it, vlc will take a long time to load." fi + + gnome2_icon_cache_update + xdg_mimeinfo_database_update + xdg_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_mimeinfo_database_update + xdg_desktop_database_update } diff --git a/media-video/vlc/vlc-9999.ebuild b/media-video/vlc/vlc-9999.ebuild index 73558f99a0c5..b4732d6d4350 100644 --- a/media-video/vlc/vlc-9999.ebuild +++ b/media-video/vlc/vlc-9999.ebuild @@ -21,7 +21,7 @@ else fi KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 -sparc ~x86 ~x86-fbsd" fi -inherit autotools flag-o-matic toolchain-funcs versionator virtualx ${SCM} +inherit autotools flag-o-matic gnome2-utils toolchain-funcs versionator virtualx xdg-utils ${SCM} DESCRIPTION="VLC media player - Video player and streamer" HOMEPAGE="https://www.videolan.org/vlc/" @@ -450,6 +450,10 @@ src_install() { find "${D}" -name '*.la' -delete || die } +pkg_preinst() { + gnome2_icon_savelist +} + pkg_postinst() { if [[ "$ROOT" = "/" ]] && [[ -x "/usr/$(get_libdir)/vlc/vlc-cache-gen" ]] ; then einfo "Running /usr/$(get_libdir)/vlc/vlc-cache-gen on /usr/$(get_libdir)/vlc/plugins/" @@ -459,4 +463,14 @@ pkg_postinst() { ewarn "Please run /usr/$(get_libdir)/vlc/vlc-cache-gen manually" ewarn "If you do not do it, vlc will take a long time to load." fi + + gnome2_icon_cache_update + xdg_mimeinfo_database_update + xdg_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_mimeinfo_database_update + xdg_desktop_database_update } |