diff options
author | Nicolas De Amicis <deamicis@bluewin.ch> | 2021-07-28 22:13:38 +0200 |
---|---|---|
committer | Nicolas De Amicis <deamicis@bluewin.ch> | 2021-07-28 22:13:38 +0200 |
commit | 35e44a32786ddd1cc146aee015874fd7ae63820e (patch) | |
tree | fab5ed58f2b36a5e432c2b6348be7cfb91a9dab0 /pom-graphics_libjavafx_font_freetype.xml | |
download | openjfx8-fork-master.tar.gz openjfx8-fork-master.tar.xz openjfx8-fork-master.zip |
Diffstat (limited to 'pom-graphics_libjavafx_font_freetype.xml')
-rw-r--r-- | pom-graphics_libjavafx_font_freetype.xml | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/pom-graphics_libjavafx_font_freetype.xml b/pom-graphics_libjavafx_font_freetype.xml new file mode 100644 index 0000000..7fd374d --- /dev/null +++ b/pom-graphics_libjavafx_font_freetype.xml @@ -0,0 +1,68 @@ +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <name>libjavafx_font_freetype</name> + <packaging>so</packaging> + <artifactId>libjavafx_font_freetype</artifactId> + <groupId>org.openjfx</groupId> + <version>@RELEASE_VERSION@</version> + <properties> + <commonCompilerOptions>-DJFXFONT_PLUS -fno-strict-aliasing -fPIC -fno-omit-frame-pointer -fstack-protector -Wextra -Wall -Wformat-security -Wno-unused -Wno-parentheses -c -ffunction-sections -fdata-sections -O2 -DNDEBUG -D_ENABLE_PANGO</commonCompilerOptions> + <native.source.dir>../src/main/native-font</native.source.dir> + </properties> + <build> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>native-maven-plugin</artifactId> + <extensions>true</extensions> + <configuration> + <compilerStartOptions> + <compilerStartOption>${commonCompilerOptions}</compilerStartOption> + </compilerStartOptions> + <sources> + <source> + <directory>${native.source.dir}</directory> + <includes> + <include>**/freetype.c</include> + </includes> + </source> + <source> + <directory>/usr/lib/jvm/java-1.8.0-openjdk/include</directory> + </source> + <source> + <directory>/usr/lib/jvm/java-1.8.0-openjdk/include/linux</directory> + </source> + <source> + <directory>../build/gensrc/headers</directory> + </source> + <source> + <directory>/usr/include/freetype2</directory> + </source> + <source> + <directory>/usr/include/libpng16</directory> + </source> + </sources> + <linkerStartOptions> + <linkerStartOption>-static-libgcc</linkerStartOption> + <linkerStartOption>-static-libstdc++</linkerStartOption> + <linkerStartOption>-shared</linkerStartOption> + <linkerStartOption>-fno-strict-aliasing</linkerStartOption> + <linkerStartOption>-fPIC</linkerStartOption> + <linkerStartOption>-fno-omit-frame-pointer</linkerStartOption> + <linkerStartOption>-fstack-protector</linkerStartOption> + <linkerStartOption>-Wextra</linkerStartOption> + <linkerStartOption>-Wall</linkerStartOption> + <linkerStartOption>-Wformat-security</linkerStartOption> + <linkerStartOption>-Wno-unused</linkerStartOption> + <linkerStartOption>-Wno-parentheses</linkerStartOption> + <linkerStartOption>-z</linkerStartOption> + <linkerStartOption>relro</linkerStartOption> + <linkerStartOption>-Wl,--gc-sections</linkerStartOption> + <linkerStartOption>-lfreetype</linkerStartOption> + </linkerStartOptions> + </configuration> + </plugin> + </plugins> + </build> +</project> |