diff options
Diffstat (limited to 'dev-java/snappy')
-rw-r--r-- | dev-java/snappy/Manifest | 2 | ||||
-rw-r--r-- | dev-java/snappy/snappy-1.1.0.1.ebuild | 13 |
2 files changed, 11 insertions, 4 deletions
diff --git a/dev-java/snappy/Manifest b/dev-java/snappy/Manifest index e338ce511d7d..a4f7c0b8a02b 100644 --- a/dev-java/snappy/Manifest +++ b/dev-java/snappy/Manifest @@ -6,5 +6,5 @@ AUX 1.x-build.xml 8496 BLAKE2B 0ab98a4149d0d7b294efec29374c59af8599362fa40d04737 DIST snappy-java-1.0.3_rc3.tar.gz 5466748 BLAKE2B a58847aa56d05659bcf53f0f7a6ba9c52611784bc6a8cc40d5838309e94c72bba8c8a1a27ca5249a223823a8cc1267dabeb12f369dae71999f55d5a64a111948 SHA512 eae4551d929f951be204218926cdea773a337ad584bd6fe49083526430a4e1ea80b395a627ecebc861232d36d2ec9034f2ebccac885da13e93fb74846298ba64 DIST snappy-java-1.1.0.1.tar.gz 4909520 BLAKE2B 65daf3d01f1cb46dd0d51609e2d95fc954d56e41fbb2d22e9eca24fad16a6d4ba16083e633fb13e68dacf6c2fb0d10ec6fb1e6dcdda6dc611b58b172710fcd62 SHA512 32d0afce880ecccd814f7738eb375a13bd533998c73d79908964061337730ad76fb4794f78fd1fcdc4a4562db57cbc4c6f912d9f3351b1d75b12ce3224ec387e EBUILD snappy-1.0.3_rc3.ebuild 1451 BLAKE2B 12d41c164386a228231b3483f8dc6024a7430af3f55a4ea34339c7da98d19ce7eb8c57ee7a2171aef7b96e420f86d7d3b29dadfb74ecd9c27b1e054e34308f77 SHA512 268de9c4e6a5edbd07cb48dab62da2120187d359e16496457859a7e2772c1add9236c4b4bec3d64f28153b9a7db0d90594d2d3aac8e871e048c7373e4b09f271 -EBUILD snappy-1.1.0.1.ebuild 1466 BLAKE2B 4e46b14af58b6ebd415599bce40cb173c2f1452bcdd64c4b36216abe1e2e80a4fd611e28d6073b96a259cc38e49ea4edf52cd811bc733ef56d90bcc6b5c11a9d SHA512 ce574f4a7f8fe94d7bc72206b1330645249c7f538adb573a5a289d39475c4c05f38aeece92004a9dbb586511b2729fcfae977b99567476a5f756c24cab256d55 +EBUILD snappy-1.1.0.1.ebuild 1697 BLAKE2B 303375436532cd1e63fb71b70230f072f7678519b39415e11137cd040ab0562e4fa850c980b0c7c9c343e63ef8aedf1da9311f33ffbecbbd72ba725e79b5bf86 SHA512 3f7c40dd83d8a7205640663a14f8ef31f7944000d8011019690a7c37b4fdb32e6c541139cdae2ac67ba02f666d61c98351cc08aeff6816803bdb3c2f7433b86d MISC metadata.xml 319 BLAKE2B aa818743200d9cb65ddafa6f447c385862a603467950a6a71e6aba21f2510add3ab16fe39e11b02848bf97e15eb28827b2705b5288ee21a5b4b158574e10f915 SHA512 c652d81b9f2400efd81da0f61ed764ef80873e16b5e04d6c5689ec7633f34f83065edc2f2a7f7fd0443770e281befb5700c3416ea0aa74c548a85e337a9fed6e diff --git a/dev-java/snappy/snappy-1.1.0.1.ebuild b/dev-java/snappy/snappy-1.1.0.1.ebuild index 60983950c431..443002b9ab82 100644 --- a/dev-java/snappy/snappy-1.1.0.1.ebuild +++ b/dev-java/snappy/snappy-1.1.0.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="5" @@ -16,7 +16,7 @@ SRC_URI="https://github.com/xerial/${MY_PN}/archive/${PV}.tar.gz -> ${PN}-java-$ LICENSE="Apache-2.0" SLOT="1.1" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~x86 ~x64-macos" IUSE="" CDEPEND="dev-java/osgi-core-api:0 @@ -53,7 +53,14 @@ src_compile() { } src_install() { - java-pkg_doso "${S}"/target/libsnappyjava.so + local jniext=.so + if [[ ${CHOST} == *-darwin* ]] ; then + jniext=.jnilib + # avoid install_name check failure + install_name_tool -id @loader_path/libsnappyjava${jniext} \ + "${S}"/target/libsnappyjava${jniext} + fi + java-pkg_doso "${S}"/target/libsnappyjava${jniext} java-pkg_dojar "${S}/target/${PN}.jar" use source && java-pkg_dosrc "${S}"/src/main/java/* |