@@ -37,15 +37,11 @@ def setup():
|
|||||||
# --with-console-auth-dir=/run/console/ \
|
# --with-console-auth-dir=/run/console/ \
|
||||||
# --enable-abstract-sockets=auto \
|
# --enable-abstract-sockets=auto \
|
||||||
|
|
||||||
if get.buildTYPE() == "_emul32":
|
if get.buildTYPE() == "emul32":
|
||||||
shelltools.export("CC", "gcc -m32")
|
|
||||||
shelltools.export("CXX", "g++ -m32")
|
|
||||||
shelltools.export("LDFLAGS", "%s -L/usr/lib32" % get.LDFLAGS())
|
|
||||||
shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig")
|
|
||||||
options += " \
|
options += " \
|
||||||
--libdir=/usr/lib32 \
|
--libdir=/usr/lib32 \
|
||||||
--bindir=/usr/bin32 \
|
--bindir=/usr/bin32 \
|
||||||
--libexecdir=/usr/libexec32 \
|
--libexecdir=/usr/lib32 \
|
||||||
-Dx11_autolaunch=disabled \
|
-Dx11_autolaunch=disabled \
|
||||||
-Ddoxygen_docs=disabled \
|
-Ddoxygen_docs=disabled \
|
||||||
"
|
"
|
||||||
@@ -60,9 +56,8 @@ def check():
|
|||||||
|
|
||||||
def install():
|
def install():
|
||||||
mesontools.install()
|
mesontools.install()
|
||||||
if get.buildTYPE() == "_emul32":
|
if get.buildTYPE() == "emul32":
|
||||||
pisitools.removeDir("/usr/bin32")
|
pisitools.removeDir("/usr/bin32")
|
||||||
pisitools.removeDir("/usr/libexec32")
|
|
||||||
pisitools.dosed("%s/usr/lib32/pkgconfig/*.pc" % get.installDIR(), "bin32", "bin")
|
pisitools.dosed("%s/usr/lib32/pkgconfig/*.pc" % get.installDIR(), "bin32", "bin")
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
@@ -86,13 +86,14 @@
|
|||||||
|
|
||||||
<Package>
|
<Package>
|
||||||
<Name>dbus-32bit</Name>
|
<Name>dbus-32bit</Name>
|
||||||
<PartOf>_emul32</PartOf>
|
<PartOf>emul32</PartOf>
|
||||||
<Summary>32-bit shared libraries for dbus</Summary>
|
<Summary>32-bit shared libraries for dbus</Summary>
|
||||||
<BuildType>_emul32</BuildType>
|
<BuildType>emul32</BuildType>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency>expat-32bit</Dependency>
|
<Dependency>expat-32bit</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
|
<Dependency>expat-32bit</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="library">/usr/lib32</Path>
|
<Path fileType="library">/usr/lib32</Path>
|
||||||
|
|||||||
Reference in New Issue
Block a user