diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-10-18 18:51:46 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-10-18 18:51:46 +0200 |
commit | 3f6bb49b0f62eedcf5fca44a73a3c4a6e057ce7c (patch) | |
tree | 89a0fc7e3c940aca69922706374fd37cf7d060b5 | |
parent | 28661c21f2d971cd535b4c713c71640e49884a2f (diff) | |
download | packages-3f6bb49b0f62eedcf5fca44a73a3c4a6e057ce7c.tar.xz |
extra/java?-openjdk: a first build trial
-rw-r--r-- | extra/java7-openjdk/PKGBUILD | 15 | ||||
-rw-r--r-- | extra/java8-openjdk/PKGBUILD | 15 |
2 files changed, 30 insertions, 0 deletions
diff --git a/extra/java7-openjdk/PKGBUILD b/extra/java7-openjdk/PKGBUILD index 3e010da8..04ec4148 100644 --- a/extra/java7-openjdk/PKGBUILD +++ b/extra/java7-openjdk/PKGBUILD @@ -8,11 +8,26 @@ if [ "${CARCH}" = "i486" ]; then makedepends=(${makedepends[@]//java-rhino/}) makedepends=(${makedepends[@]//eclipse-ecj/}) + # readd implicit dependencies from above + makedepends+=(freetype2) + makedepends+=(fontconfig) + makedepends+=(cups) + makedepends+=(libxt) + makedepends+=(libxinerama) + makedepends+=(libxcomposite) + makedepends+=(libxtst) + eval "$( declare -f build | \ sed ' + s|./configure|./configure --host=i486-pc-linux-gnu --target=i486-pc-linux-gnu| s|--with-rhino|--without-rhino| s|--with-jdk-home=${JAVA_HOME}|--with-jdk-home=/opt/jdk7-openjdk| + s|--enable-nss|--disable-nss| + s|./configure|./configure --disable-system-jpeg| + s|./configure|./configure --disable-system-lcms| + s|./configure|./configure --disable-system-gtk| + s|./configure|./configure --disable-compile-against-syscalls| ' )" diff --git a/extra/java8-openjdk/PKGBUILD b/extra/java8-openjdk/PKGBUILD index e1f5e163..20c4d341 100644 --- a/extra/java8-openjdk/PKGBUILD +++ b/extra/java8-openjdk/PKGBUILD @@ -28,11 +28,26 @@ if [ "${CARCH}" = "i486" ]; then makedepends=(${makedepends[@]//java-rhino/}) makedepends=(${makedepends[@]//eclipse-ecj/}) + # readd implicit dependencies from above + makedepends+=(freetype2) + makedepends+=(fontconfig) + makedepends+=(cups) + makedepends+=(libxt) + makedepends+=(libxinerama) + makedepends+=(libxcomposite) + makedepends+=(libxtst) + eval "$( declare -f build | \ sed ' + s|./configure|./configure --host=i486-pc-linux-gnu --target=i486-pc-linux-gnu| s|--with-rhino|--without-rhino| s|--with-jdk-home=${JAVA_HOME}|--with-jdk-home=/opt/jdk7-openjdk| + s|--enable-nss|--disable-nss| + s|./configure|./configure --disable-system-jpeg| + s|./configure|./configure --disable-system-lcms| + s|./configure|./configure --disable-system-gtk| + s|./configure|./configure --disable-compile-against-syscalls| ' )" |