Add macOS natives

master
Graham 5 years ago
parent 719226c894
commit 96b12a9a0e
  1. 16
      pom.xml
  2. 10
      src/assembly/jar.xml

@ -60,6 +60,22 @@
<classifier>amd64-Linux-gcc-shared</classifier>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>dev.openrs2</groupId>
<artifactId>openrs2-gl-natives</artifactId>
<version>${openrs2.natives.version}</version>
<type>nar</type>
<classifier>i386-MacOSX-gcc-shared</classifier>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>dev.openrs2</groupId>
<artifactId>openrs2-gl-natives</artifactId>
<version>${openrs2.natives.version}</version>
<type>nar</type>
<classifier>x86_64-MacOSX-gcc-shared</classifier>
<scope>provided</scope>
</dependency>
</dependencies>
<repositories>

@ -16,6 +16,16 @@
<outputDirectory>natives/linux-amd64</outputDirectory>
<destName>libjaggl_dri.so</destName>
</file>
<file>
<source>${openrs2.natives.directory}/i386-MacOSX-gcc/shared/libopenrs2-gl-natives-${openrs2.natives.version}.dylib</source>
<outputDirectory>natives/mac-i386</outputDirectory>
<destName>libjaggl.jnilib</destName>
</file>
<file>
<source>${openrs2.natives.directory}/x86_64-MacOSX-gcc/shared/libopenrs2-gl-natives-${openrs2.natives.version}.dylib</source>
<outputDirectory>natives/mac-amd64</outputDirectory>
<destName>libjaggl.jnilib</destName>
</file>
<!-- workaround for https://issues.apache.org/jira/browse/MASSEMBLY-835 -->
<file>
<source>pom.xml</source>

Loading…
Cancel
Save