summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2019-11-13 18:52:05 +0100
committerAaron Bauman <bman@gentoo.org>2019-11-18 17:16:48 -0500
commitd210290e698af906a2cc3e48b053d960749d7a19 (patch)
tree05dc20c1862ed85292b34384f33528f8e3b2cec4 /sys-apps
parentmedia-gfx/sam2p: remove unused patches (diff)
downloadgentoo-d210290e698af906a2cc3e48b053d960749d7a19.tar.gz
gentoo-d210290e698af906a2cc3e48b053d960749d7a19.tar.bz2
gentoo-d210290e698af906a2cc3e48b053d960749d7a19.zip
sys-apps/pcsc-tools: fix bug 698268, improve ebuild
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Closes: https://bugs.gentoo.org/698268 Closes: https://github.com/gentoo/gentoo/pull/13635 Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/pcsc-tools/pcsc-tools-1.5.3.ebuild13
1 files 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 9bbbd54dd2a9..490d6c2f740d 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
}