11 |
|
|
12 |
DEPEND="== virtual/X-ABI-XINPUT-21" |
DEPEND="== virtual/X-ABI-XINPUT-21" |
13 |
|
|
14 |
sminclude xorg mtools |
sminclude xorg mtools udev |
15 |
|
|
16 |
src_compile() |
SRC_URI+=( mirror://${PNAME}/${PNAME}-${PVER}-missing-include-with-xorg-116.patch ) |
17 |
|
|
18 |
|
src_prepare() |
19 |
{ |
{ |
20 |
|
munpack ${SRCFILE} || die |
21 |
cd ${SRCDIR} |
cd ${SRCDIR} |
22 |
|
|
23 |
# use /lib for udev dir on multilib systems too! |
# fix ftbfs with newer xorg-headers |
24 |
xorg_src_configure \ |
# see: http://lists.x.org/archives/xorg-devel/2014-July/042950.html |
25 |
--with-udev-rules-dir=/usr/lib/udev/rules.d \ |
mpatch ${PNAME}-${PVER}-missing-include-with-xorg-116.patch || die |
26 |
--with-hal-callouts-dir=/usr/bin \ |
} |
|
|| die |
|
27 |
|
|
28 |
mmake || die |
src_compile() |
29 |
|
{ |
30 |
|
cd ${SRCDIR} |
31 |
|
|
32 |
|
xorg_src_configure --with-udev-rules-dir=$(mget-udev-rules-dir) || die |
33 |
|
mmake || die |
34 |
} |
} |
35 |
|
|
36 |
src_install() |
src_install() |
38 |
cd ${SRCDIR} |
cd ${SRCDIR} |
39 |
xorg_src_install || die |
xorg_src_install || die |
40 |
|
|
41 |
|
# remove obsolete hal stuff |
42 |
|
mdelete -r /usr/$(mlibdir)/hal || die |
43 |
|
mdelete -r /usr/share/hal || die |
44 |
|
|
45 |
# install xorg.conf.d for udev vmmouse driver |
# install xorg.conf.d for udev vmmouse driver |
46 |
minstalldir /etc/X11/xorg.conf.d || die |
minstalldir /etc/X11/xorg.conf.d || die |
47 |
minstallfile tools/50-vmmouse.conf /etc/X11/xorg.conf.d || die |
minstallfile tools/50-vmmouse.conf /etc/X11/xorg.conf.d || die |