commit:     d210290e698af906a2cc3e48b053d960749d7a19
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Wed Nov 13 17:52:05 2019 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Mon Nov 18 22:16:48 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d210290e

sys-apps/pcsc-tools: fix bug 698268, improve ebuild

Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Closes: https://bugs.gentoo.org/698268
Closes: https://github.com/gentoo/gentoo/pull/13635
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>

 sys-apps/pcsc-tools/pcsc-tools-1.5.3.ebuild | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/sys-apps/pcsc-tools/pcsc-tools-1.5.3.ebuild 
b/sys-apps/pcsc-tools/pcsc-tools-1.5.3.ebuild
index 9bbbd54dd2a..490d6c2f740 100644
--- a/sys-apps/pcsc-tools/pcsc-tools-1.5.3.ebuild
+++ b/sys-apps/pcsc-tools/pcsc-tools-1.5.3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit eutils fdo-mime multilib toolchain-funcs
+inherit desktop toolchain-funcs xdg-utils
 
 DESCRIPTION="PC/SC Architecture smartcard tools"
 HOMEPAGE="http://ludovic.rousseau.free.fr/softwares/pcsc-tools/";
@@ -24,11 +24,6 @@ DOCS=(
        README Changelog
 )
 
-src_prepare() {
-       default
-       sed -i -e 's:-Wall -O2:$(CFLAGS):g' Makefile
-}
-
 src_compile() {
        # explicitly only build the pcsc_scan application, or the man
        # pages will be gzipped first, and then unpacked.
@@ -59,9 +54,9 @@ src_install() {
 }
 
 pkg_postinst() {
-       use gtk && fdo-mime_desktop_database_update
+       use gtk && xdg_desktop_database_update
 }
 
 pkg_postrm() {
-       fdo-mime_desktop_database_update
+       xdg_desktop_database_update
 }

Reply via email to