summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorayr Chilingarian <norayr@arnet.am>2021-10-17 02:03:09 +0100
committerSam James <sam@gentoo.org>2021-10-17 02:03:38 +0100
commit974a887b1c22104da459eefeef15d73799df65af (patch)
treef438359a14e3b7442b7dfa65f51d745a3cdad817 /dev-lang/fpc
parentmedia-sound/linuxsampler: apply -j1 again (diff)
downloadgentoo-974a887b1c22104da459eefeef15d73799df65af.tar.gz
gentoo-974a887b1c22104da459eefeef15d73799df65af.tar.bz2
gentoo-974a887b1c22104da459eefeef15d73799df65af.zip
dev-lang/fpc: add (~)arm64 support to 3.2.2
Closes: https://bugs.gentoo.org/817899 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang/fpc')
-rw-r--r--dev-lang/fpc/Manifest1
-rw-r--r--dev-lang/fpc/fpc-3.2.2.ebuild13
2 files changed, 12 insertions, 2 deletions
diff --git a/dev-lang/fpc/Manifest b/dev-lang/fpc/Manifest
index 3a24f3672fac..b1bfc408d58d 100644
--- a/dev-lang/fpc/Manifest
+++ b/dev-lang/fpc/Manifest
@@ -3,6 +3,7 @@ DIST fpc-3.0.4.i386-linux.tar 54691840 BLAKE2B c0951c85a3916c29e8e7391408da09abd
DIST fpc-3.0.4.source.tar.gz 40347617 BLAKE2B 0764c92cc379d6e70a3f33368d96244ea0203b3395a5dbcadebe6ef51b508cbc7c112f9bc7bce69ae6dae1fde03bc9e45a1a8ad70ca154cc4dd51bc93cab82f9 SHA512 fc64fd94c39f220bd7531126d6281fa2141aed61c218595a7906a025660b46629a305ff7eb023f5e1359eafdec2dba69aa5405f1bbc3c1182414968689cbb52e
DIST fpc-3.0.4.x86_64-linux.tar 56842240 BLAKE2B fda488466f409d4f50501ad17edcce2740f0a7e60ac86bbfec235ccc27c619d62d2aab01aa7878ba3e174c35fd46aab98e43eda4528e98fdf3e098330eea9b26 SHA512 085110d0fade11c4e6e79c002522080eb070cebb8ebbed48ca35e3a2dc025df678516e36c7cba5f951e20c0da57dd261d673dda6839ecdf5d88aa8dfe15a56e5
DIST fpc-3.2.2-doc-html.tar.gz 5810672 BLAKE2B 5d2c0ce35024f58d35e59034d4c071ec58214874f31ef44b8f4ea8cb68636080b61dea9a5d0ccc8062814c0b2fe3bc5269e6584ae30fedb29dbb0709ce1b3103 SHA512 0bdefd25b9f46bb6684bb4dd8f60de796cbbf81049a7e8bac4cc4bc87dd6100a42ea05601cf1bb0254e8b73ddaf5d1bf186dbf1909f1ed7db7bdf97f50df7cdc
+DIST fpc-3.2.2.aarch64-linux.tar 137943040 BLAKE2B 1f2b3ff35d33419bd60a65bee8e20264a7970e515e0d8239dc51bd415b9a4fc580b7d3bd7fcd2a6964f78669e9dda13d1349281116004d582236a4f314dc6935 SHA512 8a52c53cd167af39222296db7c91aadf0b5d845272833a961c5db0c7d2d4cb5e61f41f71e0989c193dc2923770440b19d7d3d71de65291d0a3e0a15edc793316
DIST fpc-3.2.2.i386-linux.tar 85043200 BLAKE2B 9e2fae2d272c79cc7fcf4d062589bd888c342ccfb01e3f14e412bc58ff6b04928c6a7a0a4b3392b30f0864f16029d063632bd72bd9cac55e0a40a00fb726ef93 SHA512 b4f1a94d1a05901f4ffc2e07519e9b03666850211e571cbce33f0ba16d8a1d88de256c8e111579f46d56f157630dfc722a8ae9ce2b200fc784c588ea4e6bd5df
DIST fpc-3.2.2.source.tar.gz 52240052 BLAKE2B e30cf1b10c4cafd0ae2a25673678213669c29dec0549f4d7b357011e84a0a2c8ecf343cb6443798e6c36c02ae97a0c7cae7ca24829510c552968d4a58426576f SHA512 6d320b4e0805d63c40d3037f9d2078068c2c9fcdeb6ac073a6fcc19249bd6325dc542fcc7fc6dbb7e69507dcd84cf9e720e7d73925afe955e2a24e8c7d92606a
DIST fpc-3.2.2.x86_64-linux.tar 86978560 BLAKE2B 29cac8c0da4ba65cee6a0e0cd3c111202c8943ca61a02c5dfeaeb174c353db6fc07e291794ef7433f9fdf88ed694260e734bc715567c6a12292b0c8524d17f4e SHA512 534df830a951824525044479ded23ef1e61b104c0dd65c837ad0d8d9ced9eb7349925a3f759756aa95ae17e567d8b1cd5c7e2092d3c665eaac578845b48aa467
diff --git a/dev-lang/fpc/fpc-3.2.2.ebuild b/dev-lang/fpc/fpc-3.2.2.ebuild
index 877875a0a488..ce1852bf58e9 100644
--- a/dev-lang/fpc/fpc-3.2.2.ebuild
+++ b/dev-lang/fpc/fpc-3.2.2.ebuild
@@ -10,13 +10,14 @@ DESCRIPTION="Free Pascal Compiler"
SRC_URI="mirror://sourceforge/freepascal/fpcbuild-${PV}.tar.gz
mirror://sourceforge/freepascal/fpc-${PV}.source.tar.gz
amd64? ( mirror://sourceforge/freepascal/${P}.x86_64-linux.tar )
+ arm64? ( mirror://sourceforge/freepascal/${P}.aarch64-linux.tar )
x86? ( mirror://sourceforge/freepascal/${P}.i386-linux.tar )
doc? ( mirror://sourceforge/freepascal/Documentation/${PV}/doc-html.tar.gz -> ${P}-doc-html.tar.gz )"
S="${WORKDIR}/fpcbuild-${PV}/fpcsrc"
LICENSE="GPL-2 LGPL-2.1-with-linking-exception"
SLOT="0"
-KEYWORDS="-* amd64 x86"
+KEYWORDS="-* amd64 ~arm64 x86"
IUSE="doc source"
RESTRICT="strip" #269221
@@ -43,6 +44,10 @@ src_unpack() {
FPC_ARCH="x86_64"
PV_BIN="${PV}"
;;
+ arm64)
+ FPC_ARCH="aarch64"
+ PV_BIN="${PV}"
+ ;;
x86)
FPC_ARCH="i386"
PV_BIN="${PV}"
@@ -75,6 +80,10 @@ set_pp() {
FPC_ARCH="x64"
FPC_PARCH="x86_64"
;;
+ arm64)
+ FPC_ARCH="a64"
+ FPC_PARCH="aarch64"
+ ;;
x86)
FPC_ARCH="386"
FPC_PARCH="i386"
@@ -163,7 +172,7 @@ src_install() {
rm -r "${ED}"/usr/lib/fpc/lexyacc || die
case ${ARCH} in
- amd64)
+ amd64|arm64)
mkdir -p "${ED}"/usr/$(get_libdir) || die
mv "${ED}"/usr/lib/*.so "${ED}/usr/$(get_libdir)/" || die
;;