diff options
author | jk7744.park <jk7744.park@samsung.com> | 2015-09-08 21:31:07 +0900 |
---|---|---|
committer | jk7744.park <jk7744.park@samsung.com> | 2015-09-08 21:31:07 +0900 |
commit | cb41fec8f453fd5dc9fb1d4a92a6d49f043578fc (patch) | |
tree | 5bc62f2394f8b418b20ea103b5afdac3d1427b0b /packaging/xorg-x11-drv-exynos.spec | |
parent | dd7d4f2aa2cf93ded1e89c1cb1770654e5f9c1e6 (diff) | |
download | xserver-xorg-video-exynos-tizen_2.3.1.tar.gz xserver-xorg-video-exynos-tizen_2.3.1.tar.bz2 xserver-xorg-video-exynos-tizen_2.3.1.zip |
tizen 2.3.1 releasetizen_2.3.1_releasesubmit/tizen_2.3.1/20150915.072325tizen_2.3.1
Diffstat (limited to 'packaging/xorg-x11-drv-exynos.spec')
-rw-r--r-- | packaging/xorg-x11-drv-exynos.spec | 51 |
1 files changed, 46 insertions, 5 deletions
diff --git a/packaging/xorg-x11-drv-exynos.spec b/packaging/xorg-x11-drv-exynos.spec index a697108..870452b 100644 --- a/packaging/xorg-x11-drv-exynos.spec +++ b/packaging/xorg-x11-drv-exynos.spec @@ -3,13 +3,32 @@ Name: xorg-x11-drv-exynos Summary: X.Org X server driver for exynos -Version: 0.2.0 -Release: 20 +Version: 0.2.112 +Release: 1 +VCS: magnolia/adaptation/ap_samsung/xserver-xorg-video-exynos#xorg-x11-drv-exynos-0.2.79-1-82-g61f4d4f70553099ecf87a5ca00a8dc9a08741871 ExclusiveArch: %arm Group: System/X Hardware Support -License: Samsung +License: MIT Source0: %{name}-%{version}.tar.gz + BuildRequires: prelink +BuildRequires: xorg-x11-xutils-dev +BuildRequires: pkgconfig(xorg-server) +BuildRequires: pkgconfig(xproto) +BuildRequires: pkgconfig(fontsproto) +BuildRequires: pkgconfig(randrproto) +BuildRequires: pkgconfig(renderproto) +BuildRequires: pkgconfig(videoproto) +BuildRequires: pkgconfig(resourceproto) +BuildRequires: pkgconfig(libudev) +BuildRequires: pkgconfig(libtbm) +BuildRequires: pkgconfig(xdbg) +BuildRequires: libdrm-devel +BuildRequires: libdrm2 + +%if ("%{tizen_profile_name}" == "wearable" && "%{_repository}" == "target-b3") +Excludearch: %arm +%endif %description This package provides the driver for the Samsung display device exynos @@ -18,20 +37,42 @@ This package provides the driver for the Samsung display device exynos %prep %setup -q +# >> setup +# << setup %build +rm -rf %{buildroot} +# >> build pre +# << build pre + +%if %{?tizen_profile_name} == "wearable" +export CFLAGS+=" -D_F_WEARABLE_PROFILE_ " +%endif + +%reconfigure --disable-static \ + CFLAGS="${CFLAGS} -Wall -Werror" LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed" -%reconfigure make %{?jobs:-j%jobs} +# >> build post +# << build post %install rm -rf %{buildroot} +# >> install pre +# << install pre +mkdir -p %{buildroot}/usr/share/license +cp -af COPYING %{buildroot}/usr/share/license/%{name} %make_install +# >> install post execstack -c %{buildroot}%{_libdir}/xorg/modules/drivers/exynos_drv.so +# << install post %files %defattr(-,root,root,-) +# >> files exynos %{_libdir}/xorg/modules/drivers/*.so - +%{_datadir}/man/man4/* +/usr/share/license/%{name} +# << files exynos |