Single jar file containing pre-built copies of OpenRS2's native library replacements for all platforms
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openrs2-natives-all/src/assembly/jar.xml

60 lines
2.8 KiB

<?xml version="1.0" encoding="UTF-8"?>
<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
<id>jar</id>
<formats>
<format>jar</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<files>
<file>
<source>${openrs2.natives.directory}/amd64-Linux-gcc/shared/libopenrs2-gl-natives-${openrs2.natives.version}.so</source>
<outputDirectory>natives/linux-amd64</outputDirectory>
<destName>libjaggl.so</destName>
</file>
<file>
<source>${openrs2.natives.directory}/amd64-Linux-gcc/shared/libopenrs2-gl-dri-natives-${openrs2.natives.version}.so</source>
<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>
<file>
<source>${openrs2.natives.directory}/x86-Windows-msvc/shared/openrs2-gl-natives-${openrs2.natives.version}.dll</source>
<outputDirectory>natives/windows-i386</outputDirectory>
<destName>jaggl.dll</destName>
</file>
<file>
<source>${openrs2.natives.directory}/x86-Windows-msvc/shared/openrs2-misc-natives-${openrs2.natives.version}.dll</source>
<outputDirectory>natives/windows-i386</outputDirectory>
<destName>jagmisc.dll</destName>
</file>
<file>
<source>${openrs2.natives.directory}/amd64-Windows-msvc/shared/openrs2-gl-natives-${openrs2.natives.version}.dll</source>
<outputDirectory>natives/windows-amd64</outputDirectory>
<destName>jaggl.dll</destName>
</file>
<file>
<source>${openrs2.natives.directory}/amd64-Windows-msvc/shared/openrs2-misc-natives-${openrs2.natives.version}.dll</source>
<outputDirectory>natives/windows-amd64</outputDirectory>
<destName>jagmisc.dll</destName>
</file>
<!-- workaround for https://issues.apache.org/jira/browse/MASSEMBLY-835 -->
<file>
<source>pom.xml</source>
<outputDirectory>META-INF/maven/${project.groupId}/${project.artifactId}</outputDirectory>
</file>
<file>
<source>pom.properties</source>
<outputDirectory>META-INF/maven/${project.groupId}/${project.artifactId}</outputDirectory>
<filtered>true</filtered>
</file>
</files>
</assembly>