diff options
author | SooChan Lim <sc1.lim@samsung.com> | 2018-11-29 21:29:50 +0900 |
---|---|---|
committer | SooChan Lim <sc1.lim@samsung.com> | 2018-12-27 14:22:28 +0900 |
commit | e3028339c577f5146cf52fe3cbfdd2f92efc7d14 (patch) | |
tree | e101f10d424df95d8cd715f4fb68df39fb00eda5 | |
parent | 4cd7e44fc1ca6c4d8361720b43a3588ddf9fc4b6 (diff) | |
download | Vulkan-Loader-e3028339c577f5146cf52fe3cbfdd2f92efc7d14.tar.gz Vulkan-Loader-e3028339c577f5146cf52fe3cbfdd2f92efc7d14.tar.bz2 Vulkan-Loader-e3028339c577f5146cf52fe3cbfdd2f92efc7d14.zip |
add spec filetizen_6.0.m2_releasetizen_5.5.m2_releasesubmit/tizen_6.0_hotfix/20201103.115104submit/tizen_6.0_hotfix/20201102.192904submit/tizen_6.0/20201029.205504submit/tizen_5.5_wearable_hotfix/20201026.184308submit/tizen_5.5_mobile_hotfix/20201026.185108submit/tizen_5.5/20191031.000006submit/tizen/20181228.024305submit/tizen/20181227.054638accepted/tizen/unified/20181228.115146accepted/tizen/6.0/unified/hotfix/20201103.050514accepted/tizen/6.0/unified/20201030.104209accepted/tizen/5.5/unified/wearable/hotfix/20201027.104603accepted/tizen/5.5/unified/mobile/hotfix/20201027.072024accepted/tizen/5.5/unified/20191031.005129tizen_6.0_hotfixtizen_6.0tizen_5.5_wearable_hotfixtizen_5.5_tvtizen_5.5_mobile_hotfixtizen_5.5accepted/tizen_6.0_unified_hotfixaccepted/tizen_6.0_unifiedaccepted/tizen_5.5_unified_wearable_hotfixaccepted/tizen_5.5_unified_mobile_hotfixaccepted/tizen_5.5_unified
-rw-r--r-- | packaging/vulkan-loader.manifest | 5 | ||||
-rw-r--r-- | packaging/vulkan-loader.spec | 68 |
2 files changed, 73 insertions, 0 deletions
diff --git a/packaging/vulkan-loader.manifest b/packaging/vulkan-loader.manifest new file mode 100644 index 00000000..97e8c313 --- /dev/null +++ b/packaging/vulkan-loader.manifest @@ -0,0 +1,5 @@ +<manifest> + <request> + <domain name="_"/> + </request> +</manifest> diff --git a/packaging/vulkan-loader.spec b/packaging/vulkan-loader.spec new file mode 100644 index 00000000..b783f440 --- /dev/null +++ b/packaging/vulkan-loader.spec @@ -0,0 +1,68 @@ +Name: vulkan-loader +Version: 1.1.92 +Release: 0 +Summary: Vulkan ICD loader +Group: Graphics & UI Framework/GL +License: Apache-2.0 +Source: %{name}-%{version}.tar.gz +Source1001: %{name}.manifest + +BuildRequires: cmake +BuildRequires: python3 +BuildRequires: vulkan-headers = %{version} +BuildRequires: pkgconfig(wayland-client) +BuildRequires: pkgconfig(wayland-cursor) +BuildRequires: pkgconfig(wayland-server) +BuildRequires: pkgconfig(wayland-egl) + +%define BUILD_TYPE Debug + +%description +This project provides the Khronos Vulkan ICD. + +%package devel +Summary: Development files for %{name} +Requires: vulkan-headers + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%prep +%setup -q + +%build +cp %{SOURCE1001} . +export CFLAGS="$CFLAGS -w" +cmake -DCMAKE_BUILD_TYPE=%{BUILD_TYPE} -DBUILD_TESTS=OFF \ + -DBUILD_WSI_XLIB_SUPPORT=OFF -DBUILD_WSI_XCB_SUPPORT=OFF -DBUILD_WSI_WAYLAND_SUPPORT=ON \ + -DCMAKE_INSTALL_LIBDIR=%{_libdir} -DCMAKE_INSTALL_INCLUDEDIR=%{_includedir} -DCMAKE_INSTALL_DATADIR=%{_datadir} +make + +%install +rm -rf %{buildroot} +mkdir -p %{buildroot}%{_sysconfdir}/vulkan/{explicit,implicit}_layer.d/ \ +%{buildroot}%{_datadir}/vulkan/{explicit,implicit}_layer.d/ \ +%{buildroot}{%{_sysconfdir},%{_datadir}}/vulkan/icd.d +%make_install + +%remove_docs + +%files +%manifest %{name}.manifest +%license LICENSE.txt +%defattr(-,root,root,-) +%dir %{_sysconfdir}/vulkan/ +%dir %{_sysconfdir}/vulkan/explicit_layer.d/ +%dir %{_sysconfdir}/vulkan/icd.d/ +%dir %{_sysconfdir}/vulkan/implicit_layer.d/ +%dir %{_datadir}/vulkan/ +%dir %{_datadir}/vulkan/explicit_layer.d/ +%dir %{_datadir}/vulkan/icd.d/ +%dir %{_datadir}/vulkan/implicit_layer.d/ +%{_libdir}/*.so.* + +%files devel +%{_libdir}/pkgconfig/vulkan.pc +%{_libdir}/*.so + |