media-video/mkvtoolnix: Newer libfmt needed, use xdg.eclass
authorPacho Ramos <pacho@gentoo.org>
Sun, 30 Jun 2019 12:30:12 +0000 (14:30 +0200)
committerPacho Ramos <pacho@gentoo.org>
Sun, 30 Jun 2019 12:36:47 +0000 (14:36 +0200)
Closes: https://bugs.gentoo.org/688620
Package-Manager: Portage-2.3.67, Repoman-2.3.16
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
media-video/mkvtoolnix/mkvtoolnix-35.0.0.ebuild

index 8837542e21d4045a759556aa9ef36fce04856e30..67e541fbc01ac6381676782c5b39f4d15de6a5b9 100644 (file)
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit toolchain-funcs versionator multiprocessing xdg-utils qmake-utils gnome2-utils
+inherit toolchain-funcs versionator multiprocessing qmake-utils xdg
 
 if [[ ${PV} == "9999" ]] ; then
        EGIT_REPO_URI="https://gitlab.com/mbunkus/mkvtoolnix.git"
@@ -22,7 +22,7 @@ IUSE="debug nls pch test qt5"
 # check NEWS.md for build system changes entries for boost/libebml/libmatroska
 # version requirement updates and other packaging info
 RDEPEND="
-       dev-libs/libfmt:=
+       >=dev-libs/libfmt-5.3.0:=
        >=dev-libs/boost-1.49.0:=
        >=dev-libs/libebml-1.3.7:=
        dev-libs/pugixml
@@ -70,7 +70,7 @@ pkg_pretend() {
 }
 
 src_prepare() {
-       default
+       xdg_src_prepare
        [[ ${PV} == "9999" ]] && { ./autogen.sh || die; }
 }
 
@@ -116,15 +116,3 @@ src_install() {
        einstalldocs
        doman doc/man/*.1
 }
-
-pkg_postrm() {
-       xdg_mimeinfo_database_update
-       xdg_desktop_database_update
-       gnome2_icon_cache_update
-}
-
-pkg_postinst() {
-       xdg_mimeinfo_database_update
-       xdg_desktop_database_update
-       gnome2_icon_cache_update
-}