Compare commits

..

4 Commits

Author SHA1 Message Date
Alfred Wingate
3f812cecf7
bintron-r1.eclass: only find regular files
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2024-03-01 04:51:01 +02:00
Alfred Wingate
3165825161
bintron-r1.eclass: skip node_modules
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2024-03-01 04:51:01 +02:00
Alfred Wingate
2cd963ac33
net-misc/postman-bin: add 10.23.0
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2024-03-01 04:51:01 +02:00
Alfred Wingate
db40459547
bintron-r1.eclass: accept non-pie executables
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2024-03-01 04:46:18 +02:00
3 changed files with 51 additions and 3 deletions

View File

@ -126,7 +126,7 @@ bintron-r1_src_prepare() {
for file in $(find .); do for file in $(find .); do
type=$(file -b --mime-type "${file}") type=$(file -b --mime-type "${file}")
case ${type} in case ${type} in
application/x-sharedlib|application/x-pie-executable) application/x-sharedlib|application/x-executable|application/x-pie-executable)
patchelf --add-rpath /usr/$(get_libdir)/chromium ${file} || die patchelf --add-rpath /usr/$(get_libdir)/chromium ${file} || die
;; ;;
esac esac
@ -143,11 +143,17 @@ bintron-r1_src_install() {
doins -r "${S}"/* doins -r "${S}"/*
local file type local file type
for file in $(find .); do for file in $(find . -type f); do
# node_modules *shouldn't* have anything which requires executable permissions
if [[ ${file} =~ /node_modules/ ]]; then
continue
fi
type=$(file -b --mime-type "${file}") type=$(file -b --mime-type "${file}")
case ${type} in case ${type} in
application/x-sharedlib|application/x-pie-executable|text/x-shellscript) application/x-sharedlib|application/x-executable|application/x-pie-executable|text/x-shellscript)
fperms 0755 "${BINTRON_HOME}${file#./}" fperms 0755 "${BINTRON_HOME}${file#./}"
;; ;;
esac esac

View File

@ -1 +1,2 @@
DIST postman-bin-10.23.0-amd64.tar.gz 140068177 BLAKE2B ba7c79bd15fb2709c4ec2e6b331d1f09ce17299274f0c05ea6e64111caa7eac50bab3bc4f7ac7e0bf8999dd110ec742f0fb72648a6fd72ff0ed4ba18d1554094 SHA512 6cd1344cadc59829a3f8da2532eb5d7c4b98d1cbcc76e56d1af49b1e2078bc14f2a862efe28c9636be11abb9b5424ceae7c1fdba2bc8821cf06424d418452e09
DIST postman-bin-7.35.0-amd64.tar.gz 109738691 BLAKE2B a804a2fa71c4362751097df4b002efcad0eb9e220b8913879dc9ce840590152639f4bc641e52e5d0ae57574a14d25f7102e2c3aa234c7d392cbaf603ab4db489 SHA512 a06f0a785fe583c2cf7141413a243994c98b618a2fd8dd68334e96734325c2c88926536e8c7a95a18b499833757e0957091937eea214e9682a75b7ffa485d2ee DIST postman-bin-7.35.0-amd64.tar.gz 109738691 BLAKE2B a804a2fa71c4362751097df4b002efcad0eb9e220b8913879dc9ce840590152639f4bc641e52e5d0ae57574a14d25f7102e2c3aa234c7d392cbaf603ab4db489 SHA512 a06f0a785fe583c2cf7141413a243994c98b618a2fd8dd68334e96734325c2c88926536e8c7a95a18b499833757e0957091937eea214e9682a75b7ffa485d2ee

View File

@ -0,0 +1,41 @@
# Copyright 2020-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MY_PN="${PN/-bin/}"
BINTRON_NAME="Postman"
BINTRON_EXECUTABLES="Postman postman"
CHROMIUM_LANGS="
af am ar bg bn ca cs da de el en-GB en-US es-419 es et fa fi fil fr gu he hi hr hu id it ja kn ko lt
lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv sw ta te th tr uk ur vi zh-CN zh-TW
"
inherit bintron-r1 desktop
DESCRIPTION="Supercharge your API workflow"
HOMEPAGE="https://www.postman.com"
SRC_URI="https://dl.pstmn.io/download/version/${PV}/linux64 -> ${P}-amd64.tar.gz"
S="${WORKDIR}/Postman/app"
LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="mirror strip test"
RDEPEND="
app-crypt/libsecret
dev-libs/wayland
"
src_install() {
bintron-r1_src_install
einstalldocs
newicon -s 128 icons/icon_128x128.png Postman.png
make_desktop_entry Postman Postman Postman "Development;Utility;" \
"StartupWMClass=postman;" "MimeType=x-scheme-handler/postman;"
}