1 |
floppym 15/01/29 20:54:25 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: hwids-20150129.ebuild |
5 |
Log: |
6 |
Bump. Adds udev touchpad database. |
7 |
|
8 |
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4) |
9 |
|
10 |
Revision Changes Path |
11 |
1.158 sys-apps/hwids/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/ChangeLog?rev=1.158&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/ChangeLog?rev=1.158&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/ChangeLog?r1=1.157&r2=1.158 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/hwids/ChangeLog,v |
20 |
retrieving revision 1.157 |
21 |
retrieving revision 1.158 |
22 |
diff -u -r1.157 -r1.158 |
23 |
--- ChangeLog 7 Jan 2015 20:11:04 -0000 1.157 |
24 |
+++ ChangeLog 29 Jan 2015 20:54:24 -0000 1.158 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for sys-apps/hwids |
27 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/ChangeLog,v 1.157 2015/01/07 20:11:04 flameeyes Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/ChangeLog,v 1.158 2015/01/29 20:54:24 floppym Exp $ |
30 |
+ |
31 |
+*hwids-20150129 (29 Jan 2015) |
32 |
+ |
33 |
+ 29 Jan 2015; Mike Gilbert <floppym@g.o> +hwids-20150129.ebuild: |
34 |
+ Bump. Adds udev touchpad database. |
35 |
|
36 |
*hwids-20150107 (07 Jan 2015) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-apps/hwids/hwids-20150129.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/hwids-20150129.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/hwids-20150129.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: hwids-20150129.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2015 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/hwids-20150129.ebuild,v 1.1 2015/01/29 20:54:24 floppym Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
inherit udev eutils |
54 |
|
55 |
DESCRIPTION="Hardware (PCI, USB, OUI, IAB) IDs databases" |
56 |
HOMEPAGE="https://github.com/gentoo/hwids" |
57 |
if [[ ${PV} == "99999999" ]]; then |
58 |
EGIT_REPO_URI="${HOMEPAGE}.git" |
59 |
inherit git-2 |
60 |
else |
61 |
SRC_URI="${HOMEPAGE}/archive/${P}.tar.gz" |
62 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux" |
63 |
fi |
64 |
|
65 |
LICENSE="|| ( GPL-2 BSD ) public-domain" |
66 |
SLOT="0" |
67 |
IUSE="+net +pci +udev +usb" |
68 |
|
69 |
DEPEND="udev? ( |
70 |
dev-lang/perl |
71 |
>=virtual/udev-206 |
72 |
)" |
73 |
[[ ${PV} == "99999999" ]] && DEPEND+=" udev? ( net-misc/curl )" |
74 |
RDEPEND="!<sys-apps/pciutils-3.1.9-r2 |
75 |
!<sys-apps/usbutils-005-r1" |
76 |
|
77 |
S=${WORKDIR}/hwids-${P} |
78 |
|
79 |
src_prepare() { |
80 |
[[ ${PV} == "99999999" ]] && emake fetch |
81 |
|
82 |
sed -i -e '/udevadm hwdb/d' Makefile || die |
83 |
} |
84 |
|
85 |
_emake() { |
86 |
emake \ |
87 |
NET=$(usex net) \ |
88 |
PCI=$(usex pci) \ |
89 |
UDEV=$(usex udev) \ |
90 |
USB=$(usex usb) \ |
91 |
"$@" |
92 |
} |
93 |
|
94 |
src_compile() { |
95 |
_emake |
96 |
} |
97 |
|
98 |
src_install() { |
99 |
_emake install \ |
100 |
DOCDIR="${EPREFIX}/usr/share/doc/${PF}" \ |
101 |
MISCDIR="${EPREFIX}/usr/share/misc" \ |
102 |
HWDBDIR="${EPREFIX}$(get_udevdir)/hwdb.d" \ |
103 |
DESTDIR="${D}" |
104 |
} |
105 |
|
106 |
pkg_postinst() { |
107 |
if use udev; then |
108 |
udevadm hwdb --update --root="${ROOT%/}" |
109 |
# http://cgit.freedesktop.org/systemd/systemd/commit/?id=1fab57c209035f7e66198343074e9cee06718bda |
110 |
[ "${ROOT:-/}" = "/" ] && udevadm control --reload |
111 |
fi |
112 |
} |