1 #sbs-git:slp/pkgs/xorg/driver/xserver-xorg-input-evdev xserver-xorg-input-evdev 2.3.2 1bd95071427e460187b090bc5ff5a2d880fe156a
2 Name: xorg-x11-drv-evdev
3 Summary: Xorg X11 evdev input driver
6 Group: System/X Hardware Support
9 Source0: %{name}-%{version}.tar.gz
10 #Requires: xorg-server
11 Requires: xorg-x11-server-Xorg
12 BuildRequires: pkgconfig(xorg-macros)
13 BuildRequires: xorg-x11-server-devel
14 #BuildRequires: pkgconfig(xorg-server)
15 BuildRequires: pkgconfig(xkbfile)
16 BuildRequires: pkgconfig(xproto)
17 BuildRequires: pkgconfig(inputproto)
18 BuildRequires: pkgconfig(xrandr)
19 BuildRequires: pkgconfig(randrproto)
20 BuildRequires: pkgconfig(xextproto)
21 BuildRequires: pkgconfig(resourceproto)
22 BuildRequires: pkgconfig(libudev)
23 BuildRequires: pkgconfig(mtdev)
24 BuildRequires: model-build-features
29 The Xorg X11 evdev input driver
33 Summary: Development files for xorg evdev driver
34 Group: Development/Libraries
35 Requires: %{name} = %{version}-%{release}
38 This package contains xorg evdev development files
47 %if "%{?tizen_profile_name}" == "mobile"
48 export CFLAGS+=" -D_ENV_MOBILE_"
50 %if "%{?tizen_profile_name}" == "wearable"
51 export CFLAGS+=" -D_ENV_WEARABLE_"
52 %if "%{?model_build_feature_formfactor}" == "circle"
53 export CFLAGS+=" -D_F_EVDEV_SUPPORT_ROTARY_"
57 %reconfigure --disable-static CFLAGS="$CFLAGS -Wall -g -D_F_EVDEV_CONFINE_REGION_ -D_F_ENABLE_DEVICE_TYPE_PROP_ -D_F_GESTURE_EXTENSION_ -D_F_TOUCH_TRANSFORM_MATRIX_ -D_F_ENABLE_REL_MOVE_STATUS_PROP_ -D_F_EVDEV_SUPPORT_GAMEPAD -D_F_USE_DEFAULT_XKB_RULES_ "
62 mkdir -p %{buildroot}/usr/share/license
63 cp -af COPYING %{buildroot}/usr/share/license/%{name}
69 %defattr(-,root,root,-)
70 %(pkg-config xorg-server --variable=moduledir )/input/evdev_drv.so
71 /usr/share/license/%{name}
74 %defattr(-,root,root,-)
75 %{_includedir}/xorg/evdev-properties.h
76 %{_libdir}/pkgconfig/xorg-evdev.pc