summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-09-03 07:26:53 +0000
committerCoprDistGit <infra@openeuler.org>2024-09-03 07:26:53 +0000
commit001a537d8d8c82bf4ca7b9ae511e710c9949a912 (patch)
treef5a783daefe6b88eea816ac5c226dc15115e9f11
parentf7cc1cb9a26408c9d635d241c92b99b77e024248 (diff)
automatic import of libepoxy
-rw-r--r--.gitignore1
-rw-r--r--add-GLIBC_2.27-to-test-versions-for-riscv.patch10
-rw-r--r--libepoxy.spec91
-rw-r--r--sources1
4 files changed, 103 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..9638250 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/libepoxy-1.5.10.tar.xz
diff --git a/add-GLIBC_2.27-to-test-versions-for-riscv.patch b/add-GLIBC_2.27-to-test-versions-for-riscv.patch
new file mode 100644
index 0000000..c226d4d
--- /dev/null
+++ b/add-GLIBC_2.27-to-test-versions-for-riscv.patch
@@ -0,0 +1,10 @@
+--- libepoxy-1.5.10/test/dlwrap.c 2022-02-17 20:56:12.000000000 +0800
++++ libepoxy-1.5.10/test/dlwrap.c.new 2023-03-03 16:29:56.806537593 +0800
+@@ -237,6 +237,7 @@
+ * In the meantime, I'll just keep augmenting this
+ * hard-coded version list as people report bugs. */
+ const char *version[] = {
++ "GLIBC_2.27",
+ "GLIBC_2.17",
+ "GLIBC_2.4",
+ "GLIBC_2.3",
diff --git a/libepoxy.spec b/libepoxy.spec
new file mode 100644
index 0000000..53ecc7c
--- /dev/null
+++ b/libepoxy.spec
@@ -0,0 +1,91 @@
+Name: libepoxy
+Version: 1.5.10
+Release: 3
+Summary: library work with epoxy runtime
+License: MIT
+URL: https://github.com/anholt/%{name}
+Source0: https://download.gnome.org/sources/%name/1.5/%{name}-%{version}.tar.xz
+Patch0001: add-GLIBC_2.27-to-test-versions-for-riscv.patch
+
+BuildRequires: gcc
+BuildRequires: meson >= 0.53.0
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(glesv2)
+BuildRequires: pkgconfig(glesv1_cm)
+BuildRequires: pkgconfig(gl)
+BuildRequires: pkgconfig(egl)
+BuildRequires: /usr/bin/xwfb-run
+BuildRequires: mutter
+
+%description
+A library for handling OpenGL function pointer management.
+
+%package devel
+Summary: Development files for %{name}
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+%{name}-devel contains the header files for developing
+applications that want to make use of %{name}.
+
+%package_help
+
+%prep
+%autosetup -n %{name}-%{version} -p1
+
+%build
+%meson
+%meson_build
+
+%install
+%meson_install
+
+%check
+xwfb-run -c mutter -- ninja -C %{_vpath_builddir} test || \
+ (cat %{_vpath_builddir}/meson-logs/testlog.txt ; exit 1)
+
+%files
+%license COPYING
+%{_libdir}/%{name}.so.0*
+
+%files devel
+%{_includedir}/epoxy/*.h
+%{_libdir}/%{name}.so
+%{_libdir}/pkgconfig/epoxy.pc
+
+%files help
+%doc README.md
+
+%changelog
+* Tue Sep 03 2024 Funda Wang <fundawang@yeah.net> - 1.5.10-3
+- cleanup spec
+
+* Mon Mar 06 2023 laokz <zhangkai@iscas.ac.cn> - 1.5.10-2
+- add GLIBC_2.27 to test/dlwrap.c for riscv
+
+* Thu Feb 02 2023 zhouwenpei <zhouwenpei1@h-partners.com> - 1.5.10-1
+- update to 1.5.10
+
+* Mon Jan 30 2023 Wenlong Zhang <zhangwenlong@loongson.cn> - 1.5.9-3
+- fix build error for loongarch64
+
+* Wed Oct 26 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 1.5.9-2
+- Rebuild for next release
+
+* Thu Dec 02 2021 xingxing <xingxing9@huawei.com> - 1.5.9-1
+- update to 1.5.9
+
+* Fri Jan 29 2021 zhanzhimin <zhanzhimin@huawei.com> - 1.5.5-1
+- update to 1.5.5
+
+* Mon Aug 03 2020 orange-snn <songnannan2@huawei.com> - 1.5.4-2
+- change the buildrequires form mesa to libglvnd
+
+* Mon Jun 22 2020 xinghe<xinghe1@huawei.com> - 1.5.4-1
+- Type:enhancement
+- ID:NA
+- SUG:NA
+- DESC:update to 1.5.4
+
+* Wed Sep 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.5.3-2
+- Package init
diff --git a/sources b/sources
new file mode 100644
index 0000000..f6cd501
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+10c635557904aed5239a4885a7c4efb7 libepoxy-1.5.10.tar.xz