xorg-proto-2023.1

This commit is contained in:
Rmys
2023-06-05 22:30:49 +03:00
parent 3bffd72b50
commit 1c2dec8bfe
3 changed files with 34 additions and 4 deletions
+2 -2
View File
@@ -11,8 +11,8 @@ from pisi.actionsapi import mesontools
from pisi.actionsapi import get
def setup():
#shelltools.system("sed -i 's|datadir|libdir|g' meson.build")
mesontools.configure("--datadir=/usr/lib -Dlegacy=true")
# shelltools.system("sed -i 's|get_option('datadir') + '/pkgconfig|get_option('libdir') + '/pkgconfig|g' meson.build")
mesontools.configure("-Dlegacy=true")
def build():
mesontools.build()
@@ -0,0 +1,21 @@
diff -Nuar a/meson.build b/meson.build
--- a/meson.build 2023-06-05 15:17:31.000000000 +0300
+++ b/meson.build 2023-06-05 21:52:47.021561964 +0300
@@ -64,7 +64,7 @@
configure_file(
input : pc + '.pc.in',
output : pc + '.pc',
- install_dir : get_option('datadir') + '/pkgconfig',
+ install_dir : get_option('libdir') + '/pkgconfig',
configuration : pc_data,
)
endforeach
@@ -102,7 +102,7 @@
configure_file(
input : pc + '.pc.in',
output : pc + '.pc',
- install_dir : get_option('datadir') + '/pkgconfig',
+ install_dir : get_option('libdir') + '/pkgconfig',
configuration : pc_data,
)
endforeach
+11 -2
View File
@@ -12,7 +12,7 @@
<IsA>library</IsA>
<Summary>X.Org Protocol Headers</Summary>
<Description>This package includes the protocol headers needed for X11 development.</Description>
<Archive sha1sum="c04081d31e06e771a673c7af9df989bf95ac2d8c" type="tarxz">mirrors://xorg/individual/proto/xorgproto-2022.2.tar.xz</Archive>
<Archive sha1sum="571dd894f0c6d75d3ae70c81c2fd26ed8744750b" type="tarxz">mirrors://xorg/individual/proto/xorgproto-2023.1.tar.xz</Archive>
<BuildDependencies>
<Dependency>meson</Dependency>
<Dependency versionFrom="1.19.3">util-macros</Dependency>
@@ -20,7 +20,8 @@
<!--Dependency>libxslt</Dependency-->
</BuildDependencies>
<Patches>
<Patch level="1">doc-install.patch</Patch>
<Patch level="1">pkgconfigdir.patch</Patch>
<!-- <Patch level="1">doc-install.patch</Patch> -->
</Patches>
</Source>
@@ -31,6 +32,7 @@
<!--<Dependency>libXau-devel</Dependency>-->
</RuntimeDependencies>
<Files>
<Path fileType="data">/usr/lib/doc</Path>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="doc">/usr/share/doc</Path>
@@ -39,6 +41,13 @@
</Package>
<History>
<Update release="16">
<Date>2023-06-05</Date>
<Version>2023.1</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="15">
<Date>2022-08-11</Date>
<Version>2022.2</Version>