From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D1A9615800C for ; Tue, 4 Apr 2023 22:02:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2CFF2E0636; Tue, 4 Apr 2023 22:02:22 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 156A3E0636 for ; Tue, 4 Apr 2023 22:02:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DB384335D3C for ; Tue, 4 Apr 2023 22:02:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 469B439 for ; Tue, 4 Apr 2023 22:02:19 +0000 (UTC) From: "Philip Miess" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Philip Miess" Message-ID: <1680645808.30ed0b75c3616c9450ef11db4d655fbd7f4083f4.Phil_miess@gentoo> Subject: [gentoo-commits] repo/user/superposition:master commit in: dev-java/lwjgl/ X-VCS-Repository: repo/user/superposition X-VCS-Files: dev-java/lwjgl/lwjgl-2.9.3.ebuild X-VCS-Directories: dev-java/lwjgl/ X-VCS-Committer: Phil_miess X-VCS-Committer-Name: Philip Miess X-VCS-Revision: 30ed0b75c3616c9450ef11db4d655fbd7f4083f4 X-VCS-Branch: master Date: Tue, 4 Apr 2023 22:02:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 48ac8d69-2378-4436-b653-1f16fbc2c55b X-Archives-Hash: e992529f13d0e53e8dbc5e99b6ff86fe commit: 30ed0b75c3616c9450ef11db4d655fbd7f4083f4 Author: Philip Miess yahoo com> AuthorDate: Tue Apr 4 22:03:28 2023 +0000 Commit: Philip Miess yahoo com> CommitDate: Tue Apr 4 22:03:28 2023 +0000 URL: https://gitweb.gentoo.org/repo/user/superposition.git/commit/?id=30ed0b75 remove lwjgl-2.9.3 Signed-off-by: Philip Miess yahoo.com> dev-java/lwjgl/lwjgl-2.9.3.ebuild | 84 --------------------------------------- 1 file changed, 84 deletions(-) diff --git a/dev-java/lwjgl/lwjgl-2.9.3.ebuild b/dev-java/lwjgl/lwjgl-2.9.3.ebuild deleted file mode 100644 index 93b213a..0000000 --- a/dev-java/lwjgl/lwjgl-2.9.3.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -JAVA_PKG_IUSE="doc source" - -inherit eutils java-pkg-2 java-ant-2 - -DESCRIPTION="The Lightweight Java Game Library (LWJGL)" -HOMEPAGE="http://www.lwjgl.org" -SRC_URI="mirror://sourceforge/java-game-lib/Official%20Releases/LWJGL%20${PV}/${PN}-source-${PV}.zip" -LICENSE="BSD" -SLOT="2.9" -KEYWORDS="~amd64 ~x86" -IUSE="gles" - -CDEPEND="dev-java/apple-java-extensions-bin:0 - dev-java/apt-mirror:0 - dev-java/asm:4 - dev-java/jinput:0 - dev-java/jutils:0 - x11-libs/libX11 - x11-libs/libXcursor - x11-libs/libXrandr - x11-libs/libXxf86vm - gles? ( media-libs/mesa[egl,gles2] )" - -DEPEND="${CDEPEND} - >=virtual/jdk-1.7 - x11-proto/xproto" - -RDEPEND="${CDEPEND} - >=virtual/jre-1.7 - media-libs/openal - virtual/opengl - x11-apps/xrandr" - -S="${WORKDIR}" - -JAVA_PKG_BSFIX_NAME="build.xml build-generator.xml" -JAVA_ANT_REWRITE_CLASSPATH="true" -EANT_GENTOO_CLASSPATH="apple-java-extensions-bin,apt-mirror,asm-4,jinput,jutils" - -java_prepare() { - # We don't want a prerelease in the tree. - epatch "${FILESDIR}/asm-4.patch" - - # This file is missing. - # Output separate JARs for GLES. - sed -i -r \ - -e "/build-updatesite\.xml/d" \ - -e '//,/<\/target>/s/lwjgl([^.]*\.jar)/lwjgles\1/g' \ - build.xml || die -} - -compile_native() { - # Their native build script sucks. - cd "${S}/src/native" || die - LIBRARY_PATH="$(java-config -g LDPATH)" gcc -shared -fPIC -std=c99 -pthread -Wall -Wl,--version-script=linux/${PN}.map -Wl,-z -Wl,defs ${CFLAGS} ${LDFLAGS} $(java-pkg_get-jni-cflags) -I{common,linux}{,/open$2} {common,linux}{,/open$2}/*.c generated/open{al,cl,$2}/*.c $3 -lm -lX11 -lXcursor -lXrandr -lXxf86vm -ljawt -ldl -o lib${PN%gl}$2$1.so || die -} - -src_compile() { - EANT_BUILD_TARGET="headers jars" - use gles && EANT_BUILD_TARGET+=" jars_es" - - # Build the JARs and headers. - java-pkg-2_src_compile - - # Add "64" for amd64. - local BITS= - use amd64 && BITS=64 - - compile_native "${BITS}" "gl" "" - use gles && compile_native "${BITS}" "gles" "-lEGL" -} - -src_install() { - java-pkg_dojar libs/${PN}*.jar - java-pkg_doso src/native/lib${PN}*.so - - use doc && java-pkg_dojavadoc doc/javadoc - use source && java-pkg_dosrc src/java/org -}