From eb2dc9cc88cdfdb5195e66b413468ff7eb835797 Mon Sep 17 00:00:00 2001 From: Ian Stakenvicius Date: Tue, 11 Dec 2012 16:10:46 +0000 Subject: use udev.eclass for rules installation (a cleaner virtualization of udev) (Portage version: 2.1.11.33/cvs/Linux x86_64, signed Manifest commit with key 2B6559ED) --- media-gfx/argyllcms/ChangeLog | 6 +++++- media-gfx/argyllcms/argyllcms-1.4.0-r1.ebuild | 10 +++------- media-gfx/argyllcms/argyllcms-1.4.0.ebuild | 10 +++------- 3 files changed, 11 insertions(+), 15 deletions(-) (limited to 'media-gfx') diff --git a/media-gfx/argyllcms/ChangeLog b/media-gfx/argyllcms/ChangeLog index fc0f94842e17..5d8c98d46d6d 100644 --- a/media-gfx/argyllcms/ChangeLog +++ b/media-gfx/argyllcms/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-gfx/argyllcms # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/argyllcms/ChangeLog,v 1.29 2012/12/11 14:11:12 axs Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/argyllcms/ChangeLog,v 1.30 2012/12/11 16:10:46 axs Exp $ + + 11 Dec 2012; Ian Stakenvicius argyllcms-1.4.0.ebuild, + argyllcms-1.4.0-r1.ebuild: + use udev.eclass for rules installation (a cleaner virtualization of udev) 11 Dec 2012; Ian Stakenvicius argyllcms-1.4.0.ebuild, argyllcms-1.4.0-r1.ebuild: diff --git a/media-gfx/argyllcms/argyllcms-1.4.0-r1.ebuild b/media-gfx/argyllcms/argyllcms-1.4.0-r1.ebuild index 30ecaceaed25..00b12be89b1d 100644 --- a/media-gfx/argyllcms/argyllcms-1.4.0-r1.ebuild +++ b/media-gfx/argyllcms/argyllcms-1.4.0-r1.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/argyllcms/argyllcms-1.4.0-r1.ebuild,v 1.4 2012/12/11 14:11:11 axs Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/argyllcms/argyllcms-1.4.0-r1.ebuild,v 1.5 2012/12/11 16:10:46 axs Exp $ EAPI=5 -inherit base toolchain-funcs +inherit base udev toolchain-funcs MY_P="Argyll_V${PV}" DESCRIPTION="Open source, ICC compatible color management system" @@ -72,11 +72,7 @@ src_install() { insinto /usr/share/${PN}/ref doins ref/* - # note: if package needs /usr mounted for rules to succeed, rules should always be installed to /usr - local udevdir=/lib/udev - has_version virtual/udev && udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)" - insinto "${udevdir}"/rules.d - doins libusb/55-Argyll.rules + udev_dorules libusb/55-Argyll.rules } pkg_postinst() { diff --git a/media-gfx/argyllcms/argyllcms-1.4.0.ebuild b/media-gfx/argyllcms/argyllcms-1.4.0.ebuild index c003bfea7815..75a4bbc4de82 100644 --- a/media-gfx/argyllcms/argyllcms-1.4.0.ebuild +++ b/media-gfx/argyllcms/argyllcms-1.4.0.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/argyllcms/argyllcms-1.4.0.ebuild,v 1.5 2012/12/11 14:11:12 axs Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/argyllcms/argyllcms-1.4.0.ebuild,v 1.6 2012/12/11 16:10:46 axs Exp $ EAPI=4 -inherit base toolchain-funcs +inherit base udev toolchain-funcs MY_P="Argyll_V${PV}" DESCRIPTION="Open source, ICC compatible color management system" @@ -71,11 +71,7 @@ src_install() { insinto /usr/share/${PN}/ref doins ref/* - # note: if package needs /usr mounted for rules to succeed, rules should always install to /usr - local udevdir=/lib/udev - has_version virtual/udev && udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)" - insinto "${udevdir}"/rules.d - doins libusb/55-Argyll.rules + udev_dorules libusb/55-Argyll.rules } pkg_postinst() { -- cgit v1.2.3-65-gdbad