summaryrefslogtreecommitdiff
path: root/dev-util
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/Manifest.gzbin68423 -> 68435 bytes
-rw-r--r--dev-util/android-studio/Manifest2
-rw-r--r--dev-util/android-studio/android-studio-2022.3.1.11.ebuild125
-rw-r--r--dev-util/fq/Manifest3
-rw-r--r--dev-util/fq/fq-0.5.0.ebuild40
5 files changed, 170 insertions, 0 deletions
diff --git a/dev-util/Manifest.gz b/dev-util/Manifest.gz
index 9d09d18d0e25..9f3067779658 100644
--- a/dev-util/Manifest.gz
+++ b/dev-util/Manifest.gz
Binary files differ
diff --git a/dev-util/android-studio/Manifest b/dev-util/android-studio/Manifest
index db4a8c757e4c..cc41c2e1210e 100644
--- a/dev-util/android-studio/Manifest
+++ b/dev-util/android-studio/Manifest
@@ -1,7 +1,9 @@
DIST android-studio-2021.2.1.14-linux.tar.gz 1010969463 BLAKE2B 24899d0b81303c5f7ad061afd80eac734444b313f40257d20dc99b99f11a867bb92fe7b77428e5431889fc2beabcea58a5875608087a5de96105675c42b2a8ba SHA512 9d9184828a8ca0007e613e53215b0af1abd2c79a482670fe7bbb708f2bcb144b8881ef2d1c89ca8e2528aedc1f3b7d4a40c0c6d3e20a16de520aaf075f6990a7
DIST android-studio-2021.3.1.16-linux.tar.gz 976205257 BLAKE2B 8854a346b751338bfadac61820a78f7ea9aa87828f9049a22d69221fc3ac2c4a9e6e738b84b2eb81023ceeb7866c35b74d38b0d9c2fca534df6e0947b6699b05 SHA512 4c033e1b5dd68fc73fe203ff19e134cf72d3a8faa9a9ba041bf478e529376f962c31d598b85e43a625fa56ef24f2ab6e13378125a7b710449daaf6d727ab51f5
DIST android-studio-2022.1.1.21-linux.tar.gz 1014162603 BLAKE2B a3cc78ba4ba869d9615a55a90827171164ab961730681fa48962feeabf6a355930bb32d1822c31fb024f56f3e5d8d6880471505c3b48b1fe507ef15d44e2b0fa SHA512 5e850c6c5bb05923b41e4fafb0a20afcbec884cea427d5bb26a82e767930ef2c4477592e9338b1ea0458a3590d017f057a615749d9b9e1e8b364f67582ef0263
+DIST android-studio-2022.3.1.11-linux.tar.gz 1096373131 BLAKE2B fb05d201835db76c1f9c3b02234ee4a9c4fe86f0d1a371cdd89725d064b7e50c8944ce58fa221806e80a16bd18ecde6d2631325c38e3e68ace3d1668ecb59eaa SHA512 7aac51617dea286bf46f46a6a33e48ec5496a369b7e86d2e97077775c43159716cd8003393862976c051a655407bb13977b3d2e10f9f552aa7a0131dd04f3237
EBUILD android-studio-2021.2.1.14.ebuild 4004 BLAKE2B 556a288dbd72754205081405ab41a0461d66abb9c5dc96ecf5b41e093b395482057f7a5b24fa809dc5b5be123a91e33018166c9c872e6a17a85caefd271e1620 SHA512 f06725bface0c1deba713d160986a9abf785541e1fea2b93dca81333ac5b499796bb4288fd970bc6d90ad8bbe9736b03428cbaeaff97690e4cd14115db922b0e
EBUILD android-studio-2021.3.1.16.ebuild 4035 BLAKE2B 9fb275ec17ae3836cd734cd0d03f20e6a24d95c8d7351fc209121f6bb8d5138fb39e410db314511b9658ab1e58872eb9b05ba9868a08552e7c48c010ec29c380 SHA512 caf555138a82bf2a17acead7be88607d8937d87014ac0284dcd9ff3d7c4f60646af618f712e845e4500de23ecbd16f7f32979ebd843554788c49a0d6160a4f54
EBUILD android-studio-2022.1.1.21.ebuild 4446 BLAKE2B 9c880b0b2eb6aa784f32c85307d0b6b32287d52e2c1154eac45299bab547b615039c47ad23b03f14ab639a6cbb430bbe7b54bc849681e0d6f0d1f553dc33a52d SHA512 2575fac1330f709304c69384953371e5c5f4fdefea69f09f299f16af036236b2d60d029ee98aeacc8ef45a0362d154225c61ec5ede889daaa4cd1609b60ada63
+EBUILD android-studio-2022.3.1.11.ebuild 4338 BLAKE2B 885f3fe8434a60fc6d9b8308440bc7f69d554ce6fba3e6946595c6407d4bf2d82dad099e0a4517710bb3c9bfff7ad8c01ba958bb961dd5a8bb6d7e9b219fac10 SHA512 ad32f8e289351996dccc9b9f0e8e748f2041973f4a425b470902a524fabc270486b53f50ca71c64c9c4bf8f5d99fd871af4d47f7f78dcca4c5d81d38638e3c29
MISC metadata.xml 298 BLAKE2B 8f13e01e8c5a24c9af764e8882e2d5677ebf485cad143f35720ede0d491f2c09fd009ce48433cd33f863fb618d6413eac97e07a6d3526f5c8e679d9e51995908 SHA512 2c9d3c5d14e2499fac58df1d3cb2844172833f371fe4d557791efc0848b879191bca36aa772792cea6edd8f6e3be83452a188c0db043906a46c87af0dcacd4e2
diff --git a/dev-util/android-studio/android-studio-2022.3.1.11.ebuild b/dev-util/android-studio/android-studio-2022.3.1.11.ebuild
new file mode 100644
index 000000000000..2b1e3ce86fba
--- /dev/null
+++ b/dev-util/android-studio/android-studio-2022.3.1.11.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop wrapper
+
+RESTRICT="bindist mirror strip"
+
+QA_PREBUILT="
+ opt/${PN}/bin/*
+ opt/${PN}/jbr/bin/*
+ opt/${PN}/jbr/lib/*
+ opt/${PN}/jbr/lib/jli/*
+ opt/${PN}/jbr/lib/server/*
+ opt/${PN}/lib/pty4j-native/linux/*/*
+ opt/${PN}/plugins/android/resources/installer/*/*
+ opt/${PN}/plugins/android/resources/native/*
+ opt/${PN}/plugins/android/resources/perfetto/*/*
+ opt/${PN}/plugins/android/resources/screen-sharing-agent/*/*
+ opt/${PN}/plugins/android/resources/simpleperf/*/*
+ opt/${PN}/plugins/android/resources/trace_processor_daemon/*
+ opt/${PN}/plugins/android/resources/transport/*/*
+ opt/${PN}/plugins/android/resources/transport/native/agent/*/*
+ opt/${PN}/plugins/android-ndk/resources/lldb/android/*/*
+ opt/${PN}/plugins/android-ndk/resources/lldb/bin/*
+ opt/${PN}/plugins/android-ndk/resources/lldb/lib/python3.9/lib-dynload/*
+ opt/${PN}/plugins/android-ndk/resources/lldb/lib64/*
+ opt/${PN}/plugins/design-tools/resources/layoutlib/data/linux/lib64/*
+ opt/${PN}/plugins/c-clangd/bin/clang/linux/*/*
+ opt/${PN}/plugins/webp/lib/libwebp/linux/*
+"
+
+DESCRIPTION="Android development environment based on IntelliJ IDEA"
+HOMEPAGE="https://developer.android.com/studio"
+SRC_URI="https://redirector.gvt1.com/edgedl/android/studio/ide-zips/${PV}/${P}-linux.tar.gz"
+
+LICENSE="Apache-2.0 android BSD BSD-2 CDDL-1.1 CPL-0.5
+ EPL-1.0 GPL-2 GPL-2+ JDOM IJG LGPL-2.1 MIT
+ MPL-1.1 MPL-2.0 NPL-1.1 OFL ZLIB"
+SLOT="0"
+IUSE="selinux"
+KEYWORDS="~amd64"
+
+RDEPEND="${DEPEND}
+ selinux? ( sec-policy/selinux-android )
+ >=app-arch/bzip2-1.0.8-r4
+ >=dev-libs/expat-2.5.0
+ >=dev-libs/libffi-3.4.4
+ >=media-libs/fontconfig-2.14.0-r1
+ >=media-libs/freetype-2.12.1-r1
+ >=media-libs/libpng-1.6.39
+ >=media-libs/mesa-22.2.5[X(+)]
+ || ( gnome-extra/zenity kde-apps/kdialog x11-apps/xmessage x11-libs/libnotify )
+ sys-libs/ncurses-compat:5[tinfo]
+ >=sys-libs/zlib-1.2.13-r1
+ >=x11-libs/libX11-1.8.1
+ >=x11-libs/libXau-1.0.11
+ >=x11-libs/libXdamage-1.1.6
+ >=x11-libs/libXdmcp-1.1.4-r2
+ >=x11-libs/libXext-1.3.5
+ >=x11-libs/libXfixes-6.0.0
+ >=x11-libs/libXrender-0.9.11
+ >=x11-libs/libXxf86vm-1.1.5
+ >=x11-libs/libdrm-2.4.114
+ >=x11-libs/libxcb-1.15-r1
+ >=x11-libs/libxshmfence-1.3.2
+ virtual/libcrypt:=
+"
+
+S=${WORKDIR}/${PN}
+
+src_compile() {
+ :;
+}
+
+src_install() {
+ local dir="/opt/${PN}"
+ insinto "${dir}"
+ doins -r *
+
+ fperms 755 "${dir}"/bin/{fsnotifier,format.sh,game-tools.sh,inspect.sh,ltedit.sh,profiler.sh,restart.py,studio.sh}
+ fperms -R 755 "${dir}"/bin/{helpers,lldb}
+ fperms -R 755 "${dir}"/jbr/bin
+ fperms 755 "${dir}"/jbr/lib/{jexec,jspawnhelper}
+ fperms -R 755 "${dir}"/plugins/Kotlin/kotlinc/bin
+ fperms -R 755 "${dir}"/plugins/android/resources/installer
+ fperms -R 755 "${dir}"/plugins/android/resources/perfetto
+ fperms -R 755 "${dir}"/plugins/android/resources/simpleperf
+ fperms -R 755 "${dir}"/plugins/android/resources/trace_processor_daemon
+ fperms -R 755 "${dir}"/plugins/android/resources/transport/{arm64-v8a,armeabi-v7a,x86,x86_64}
+ fperms -R 755 "${dir}"/plugins/android-ndk/resources/lldb/{android,bin,lib,shared}
+ fperms 755 "${dir}"/plugins/c-clangd/bin/clang/linux/x64/{clang-tidy,clangd}
+ fperms -R 755 "${dir}"/plugins/terminal/{,fish}
+
+ newicon "bin/studio.png" "${PN}.png"
+ make_wrapper ${PN} ${dir}/bin/studio.sh
+ make_desktop_entry ${PN} "Android Studio" ${PN} "Development;IDE" "StartupWMClass=jetbrains-studio"
+
+ # https://developer.android.com/studio/command-line/variables
+ newenvd - 99android-studio <<-EOF
+ # Configuration file android-studio
+ STUDIO_JDK="${dir}/jbr"
+ EOF
+
+ # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
+ mkdir -p "${D}/etc/sysctl.d/" || die
+ echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-android-studio-inotify-watches.conf" || die
+}
+
+pkg_postrm() {
+ elog "Android Studio data files were not removed."
+ elog "If there will be no other programs using them anymore"
+ elog "(especially another flavor of Android Studio)"
+ elog "remove manually following folders:"
+ elog ""
+ elog " ~/.android/"
+ elog " ~/.config/Google/AndroidStudio*/"
+ elog " ~/.local/share/Google/AndroidStudio*/"
+ elog " ~/Android/"
+ elog ""
+ elog "Also, if there are no other programs using Gradle, remove:"
+ elog ""
+ elog " ~/.gradle/"
+}
diff --git a/dev-util/fq/Manifest b/dev-util/fq/Manifest
index 0b3d8d05ce5c..bc21b8db1e37 100644
--- a/dev-util/fq/Manifest
+++ b/dev-util/fq/Manifest
@@ -4,7 +4,10 @@ DIST fq-0.3.0-deps.tar.xz 23500960 BLAKE2B ed03e21c6ad2bedad72c68018518394b64387
DIST fq-0.3.0.tar.gz 12772624 BLAKE2B 07fb3109b89ca3c1a77210d0d59930c4a5665a0dc256d3daf6727d96fedd5fc3ac151b1623a5354cef96e21a0009023702759edd50712a4e76554b6cff71618d SHA512 725b9e7fc3fd481af1d792dcdb37a42d2cf0bb634b424df801909208c2479493219d08649e943296dd187f27f3ff1f16779f1ec3318e6eb99c9fe13943c5e9ae
DIST fq-0.4.0-deps.tar.xz 23528264 BLAKE2B e547edf1bdd5ffdc567d820f3a8dbe5a87a1b7bb2bc6f5cbdd4b16d57d1458b36a08dd0cb5c3804eaf595876ae445851ae57fdb69b324012681bc410913c264c SHA512 fbf3dfa7e79e0a1eea2228f991c00b87bcbdba4dae24e27730d9824840ca5aeb5b21d6141ed5e5c8586422c171d4ffa3ad1e4bdde8de8bf91c7f309661ce0c92
DIST fq-0.4.0.tar.gz 14024197 BLAKE2B d3de6e8b88aa4589d4edb18539bc13110bcfcdd3599f3c9b0759e5883e72f31ebe14eeb70a71b6333fd68b5ea97c0f0d1568788d94b7fb6a922f4fccf32d964f SHA512 8c8eeec5f701cbd9310f0cf44cbb5853602df84d21071a481a62cb864fe96925f0c143593c8c90b29c646aeb54d535c274e6745bfd51fddc8cfedffcfc57c712
+DIST fq-0.5.0-deps.tar.xz 23548612 BLAKE2B 2ad41a19b4f600df4ef1ad4e900d037d5df2b4249d1019e8335511ed05dc3c9dcb48db28ca052e61ca07384d1930ef25c9ac3e768c18bdba6069cd51665e219d SHA512 ab8a960a97eb4aac42adcbb9ce7bea13193439c90d9eeea3ba291f67f133953dfb9d0dbcae25a32c25f8284aedd6ff50c7719953ed2cc710839636f09f6964f4
+DIST fq-0.5.0.tar.gz 14043325 BLAKE2B a69d2f8602c8a1def0aff3c291e6ace23509e53a96c3b0e11e0353bc8a35cdd7ca6a8c8d1d72557e1c6895154d5e62070a7cd35ac76224c676c7e708e512d349 SHA512 21d0d23c21d12188bff10845b1c31cc8535f31ccef54d2b3e5b9b9770d6d0c830a9d83db3fb7f6559e940227bdcd8fdb3df45eccc2ab4cfe2e36214585e21343
EBUILD fq-0.2.0-r1.ebuild 942 BLAKE2B ea4d2d52f01d9755017efa28328962ee53200b0bf3b8a038a2ca88042cdde44516839fc9dc1213b1d84599948c9e435205f563a9c848a7e90ef6ecbd00384ecc SHA512 89622e1bf2898438250b808e8398581fd0e1973233a77f7d94b26071e19f41dac107292bd9e5dde9bebd4f4e8c236448e45bec808714832fedcef4ae1c03ae28
EBUILD fq-0.3.0.ebuild 859 BLAKE2B 9b2338e2c6dede9cd39e49b7a22a4b3088debf3361307d374fd09196179d586d9c27895d7ed55c4f58df61082008346edc0998d7b1f3dcbf6db57a95da6db673 SHA512 a4d769cb953b338d9261253b972807deadd6939ee1f271f772c3779d690f7b9209831237c7b865738db64aa39dbe3c12322186d8f41e1a361f638667d11609f3
EBUILD fq-0.4.0.ebuild 860 BLAKE2B 118ad811631095bb7fd2b80ca52a826f8ee54c213e18c919bd4dfc18f9a4e5ec54a41f28d0e906e98b3760e7c2b7e3a05c76d78145d22a846f983d7644f2e891 SHA512 c04502e39c0ce7deeb17f3293f8bb84089588226691bb51077bb10058e26e42d8ac0c3786623be0965973a3213185608fed4963cf65e7c79124e5ac3671e53a6
+EBUILD fq-0.5.0.ebuild 860 BLAKE2B 118ad811631095bb7fd2b80ca52a826f8ee54c213e18c919bd4dfc18f9a4e5ec54a41f28d0e906e98b3760e7c2b7e3a05c76d78145d22a846f983d7644f2e891 SHA512 c04502e39c0ce7deeb17f3293f8bb84089588226691bb51077bb10058e26e42d8ac0c3786623be0965973a3213185608fed4963cf65e7c79124e5ac3671e53a6
MISC metadata.xml 313 BLAKE2B 49888cd21e49fca7d7913fbd265cbffd73dcfaa5080e09ccd1f5b9c62804e5b9fb1de1e21df96609079c18c481b2847897b4fe1a9fc499d0e6dc2559e677a27f SHA512 1d125e77b24aeffe27b0d54b8b9f247e1e2b62037bdb127f232d3089d63e1b92c2062e37446067850defc382d7e49785152e9af86cd46f44827e2e037dd291a7
diff --git a/dev-util/fq/fq-0.5.0.ebuild b/dev-util/fq/fq-0.5.0.ebuild
new file mode 100644
index 000000000000..5df96c3f076c
--- /dev/null
+++ b/dev-util/fq/fq-0.5.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module
+
+DESCRIPTION="Tool for working with binary data (app-misc/jq for binary formats)"
+HOMEPAGE="https://github.com/wader/fq"
+SRC_URI="https://github.com/wader/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-deps.tar.xz"
+
+LICENSE="MIT BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="test? ( dev-tcltk/expect )"
+
+src_prepare() {
+ default
+
+ # Don't unconditionally (and therefore twice) build tests
+ # TODO: upstream
+ sed -i -e 's/all: test fq/all: fq/' Makefile || die
+}
+
+src_compile() {
+ # Avoid -s being set in Makefile (stripping)
+ export GO_BUILD_LDFLAGS="-w"
+
+ default
+}
+
+src_install() {
+ einstalldocs
+
+ dobin fq
+}