Add 32-bit Linux support

master
Graham 5 years ago
parent 03fa6e4af6
commit 33d58c87c0
  1. 16
      pom.xml
  2. 10
      src/assembly/jar.xml

@ -44,6 +44,22 @@
</properties> </properties>
<dependencies> <dependencies>
<dependency>
<groupId>dev.openrs2</groupId>
<artifactId>openrs2-gl-natives</artifactId>
<version>${openrs2.natives.version}</version>
<type>nar</type>
<classifier>i386-Linux-gcc-shared</classifier>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>dev.openrs2</groupId>
<artifactId>openrs2-gl-dri-natives</artifactId>
<version>${openrs2.natives.version}</version>
<type>nar</type>
<classifier>i386-Linux-gcc-shared</classifier>
<scope>provided</scope>
</dependency>
<dependency> <dependency>
<groupId>dev.openrs2</groupId> <groupId>dev.openrs2</groupId>
<artifactId>openrs2-gl-natives</artifactId> <artifactId>openrs2-gl-natives</artifactId>

@ -6,6 +6,16 @@
</formats> </formats>
<includeBaseDirectory>false</includeBaseDirectory> <includeBaseDirectory>false</includeBaseDirectory>
<files> <files>
<file>
<source>${openrs2.natives.directory}/i386-Linux-gcc/shared/libopenrs2-gl-natives-${openrs2.natives.version}.so</source>
<outputDirectory>natives/linux-i386</outputDirectory>
<destName>libjaggl.so</destName>
</file>
<file>
<source>${openrs2.natives.directory}/i386-Linux-gcc/shared/libopenrs2-gl-dri-natives-${openrs2.natives.version}.so</source>
<outputDirectory>natives/linux-i386</outputDirectory>
<destName>libjaggl_dri.so</destName>
</file>
<file> <file>
<source>${openrs2.natives.directory}/amd64-Linux-gcc/shared/libopenrs2-gl-natives-${openrs2.natives.version}.so</source> <source>${openrs2.natives.directory}/amd64-Linux-gcc/shared/libopenrs2-gl-natives-${openrs2.natives.version}.so</source>
<outputDirectory>natives/linux-amd64</outputDirectory> <outputDirectory>natives/linux-amd64</outputDirectory>

Loading…
Cancel
Save