commit 47176a0bf231932436d528dfb930434ef9cca72c1261f5ea174f9970d89c83e2 Author: Martin Pluskal Date: Wed Nov 14 13:26:10 2018 +0000 Accepting request 648972 from home:malcolmlewis:TESTING New package submission: An extensible Vulkan benchmarking suite with targeted, configurable scenes. Please add me as maintainer. OBS-URL: https://build.opensuse.org/request/show/648972 OBS-URL: https://build.opensuse.org/package/show/benchmark/vkmark?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..177670e --- /dev/null +++ b/_service @@ -0,0 +1,14 @@ + + + git://github.com/vkmark/vkmark + git + enable + vkmark + 2017.08+git.%cd + + + *.tar + xz + + + diff --git a/vkmark-2017.08+20180530.1ebd493.tar.xz b/vkmark-2017.08+20180530.1ebd493.tar.xz new file mode 100644 index 0000000..4045ad2 --- /dev/null +++ b/vkmark-2017.08+20180530.1ebd493.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8b7081e5dff8b0e13ca4f600db463acd9a8616400c2d4509486318bc26a29eed +size 586856 diff --git a/vkmark-skip-glm-dep-check.patch b/vkmark-skip-glm-dep-check.patch new file mode 100644 index 0000000..261af78 --- /dev/null +++ b/vkmark-skip-glm-dep-check.patch @@ -0,0 +1,24 @@ +diff -Naur a/meson.build b/meson.build +--- a/meson.build 2018-05-30 07:13:47.000000000 -0500 ++++ b/meson.build 2018-11-13 08:23:40.706757813 -0600 +@@ -17,7 +17,7 @@ + + vulkan_dep = cpp.find_library('vulkan') + dl_dep = cpp.find_library('dl') +-glm_dep = dependency('glm') ++ + assimp_dep = dependency('assimp') + + xcb_dep = dependency('xcb', required : get_option('xcb') == 'true') +diff -Naur a/src/meson.build b/src/meson.build +--- a/src/meson.build 2018-05-30 07:13:47.000000000 -0500 ++++ b/src/meson.build 2018-11-13 08:27:23.081524932 -0600 +@@ -52,7 +52,7 @@ + 'vkmark', + files('main.cpp') + vkutil_sources + scene_sources, + link_with: vkmark_core, +- dependencies : [vulkan_dep, glm_dep, dl_dep], ++ dependencies : [vulkan_dep, dl_dep], + link_args: ['-Wl,--dynamic-list=' + join_paths([meson.current_source_dir(), 'dynamic.list'])], + install : true + ) diff --git a/vkmark.changes b/vkmark.changes new file mode 100644 index 0000000..40be216 --- /dev/null +++ b/vkmark.changes @@ -0,0 +1,7 @@ +------------------------------------------------------------------- +Tue Nov 13 14:12:00 UTC 2018 - malcolmlewis@opensuse.org + +- Initial build at version 2017.08 up to commit + 1ebd493 (2018-05-30). +- Add vkmark-skip-glm-dep-check.patch: No glm-devel pc file + present in development package, so check fails. diff --git a/vkmark.spec b/vkmark.spec new file mode 100644 index 0000000..298882e --- /dev/null +++ b/vkmark.spec @@ -0,0 +1,60 @@ +# +# spec file for package vkmark +# +# Copyright (c) 2018 Malcolm J Lewis +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +Name: vkmark +Version: 2017.08+20180530.1ebd493 +Release: 0 +License: LGPL-2.1+ +Summary: Vulkan benchmark utility +Url: https://github.com/vkmark/vkmark +Group: System/Benchmark +Source0: %{name}-%{version}.tar.xz +# PATCH-FIX-OPENSUSE vkmark-skip-glm-dep-check.patch malcolmlewis@opensuse.org -- No pc file present in development package, so check fails. +Patch0: vkmark-skip-glm-dep-check.patch +BuildRequires: assimp-devel +BuildRequires: gcc-c++ +BuildRequires: glm-devel +BuildRequires: libdrm-devel +BuildRequires: libgbm-devel +BuildRequires: libxcb-devel +BuildRequires: meson +BuildRequires: vulkan-devel +BuildRequires: xcb-util-wm-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +An extensible Vulkan benchmarking suite with targeted, configurable scenes. + +%prep +%setup -q +%patch0 -p1 + +%build +%meson +%meson_build + +%install +%meson_install + +%files +%defattr(-,root,root,-) +%{_bindir}/vkmark +%{_libdir}/vkmark/ +%{_mandir}/man1/vkmark.1%{?ext_man} +%{_datadir}/vkmark/ + +%changelog