Bump
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
DIST Logic-2.3.55-master.AppImage 168567824 BLAKE2B 5eef4973056556bd606da512545bafff5cc57ea51e488a81cedb1139ff02d9f6e9d29aa4a3ea46dc6de7c24007059056b312990776eaf32a41b0dcce20720440 SHA512 45bdb252818242fdae55daa51034a0c6b96d9539dbf3399c53cb389aff1013da6dbfc71d9130b1fc5f2bb10592107c0cb9c911039772a487f69049e33c4cc2ca
|
||||
DIST Logic-2.4.2-master.AppImage 161812795 BLAKE2B e755b2217d1b0a142ed16c3e9eb32c61935fce21ada8c8cc78bd7037638ea18a350de7fea1c7e4757b6980ec4257180b296d89acdde6f118724cc3b21bfd2e78 SHA512 1572908bd954e035ef7c68e61b77c8e9d910fe969fa714d1a953c7c9ed90298b5eaebf9c799a856cf3200fe033b3fbda5d2f82caab4733517bb9dba27ad61ae4
|
||||
EBUILD saleae-logic-bin-2.3.55.ebuild 2915 BLAKE2B 7bf8189b5da14e4217f24342ff1fc4503b2b2070532dc798ffb22c658daccc365a14df96db1683220674baea9435c5a602a8225ea90459925e2befd19e24a768 SHA512 935889def41314dc684deb9e37344dbd438242566c4d2f06274cc9deb0cc7fa8b7daeb30be32fd8d2e4a9b1f8905c5844cf2270222151f5e04c08ac74724b9e9
|
||||
EBUILD saleae-logic-bin-2.4.2.ebuild 2916 BLAKE2B 32ba9d1afed5e206106b0d44d0a27b9b65d3fe80034faa93bf98e40ebf0bad941b978d01e2731ef12c962ede807f6bf63e14aa2097d2290cecb1107b3cc811a9 SHA512 b8a8efd60add1da588d978a899e78295854bb51858900b57206ac111263af33918165b812e7bd3ff28c28ab3dfe6044c784384f479be4cf52e00c49cedc2b21b
|
||||
MISC ChangeLog 405 BLAKE2B 5fd50b228496d7ca318aed901b5dfc3ce33fc7327331495a1f94417087fcb9b6260e4f6ddde90e510507968208e2e16ca076b27005555679ff26272505a668f4 SHA512 0a832dcab3105dbfc8856c8a8e2eae4bf85ac2aa97d06c19b2591b4acde7fa5e7690e1ff1dc01799a19dad0f80bb0aec58925f5e3192331101af2fcb93e126bd
|
||||
MISC metadata.xml 411 BLAKE2B 6bd76e3591b8a2d88277f9ebfbd5951a7458a266adf5818533a1d829a770db62e1de41a4cb4f29206ed5eb381c6f4bfdc04973c4c65bd72496b7e31b6c85880f SHA512 df1f54923628bff824dc8835c96902bd07d4462472b9b8f356abb0b9b81875d78fa96e511290739ecc5423eadc8b2579a65b2f31f9c2c6a73c8d3413c0603d98
|
||||
|
||||
@@ -0,0 +1,92 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MULTILIB_COMPAT=( abi_x86_64 )
|
||||
|
||||
inherit appimage chromium-2 desktop pax-utils multilib-build xdg udev
|
||||
|
||||
DESCRIPTION="Debug hardware like the pros."
|
||||
HOMEPAGE="https://www.saleae.com/"
|
||||
SRC_URI="
|
||||
amd64? ( https://downloads.saleae.com/logic2/Logic-${PV}-master.AppImage )
|
||||
"
|
||||
|
||||
LICENSE="Salea-EULA"
|
||||
SLOT="0"
|
||||
#KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
RESTRICT="bindist mirror splitdebug strip"
|
||||
|
||||
RDEPEND="
|
||||
app-accessibility/at-spi2-atk[${MULTILIB_USEDEP}]
|
||||
app-accessibility/at-spi2-core[${MULTILIB_USEDEP}]
|
||||
dev-libs/atk[${MULTILIB_USEDEP}]
|
||||
dev-libs/expat[${MULTILIB_USEDEP}]
|
||||
dev-libs/glib[${MULTILIB_USEDEP}]
|
||||
dev-libs/nspr[${MULTILIB_USEDEP}]
|
||||
dev-libs/nss[${MULTILIB_USEDEP}]
|
||||
x11-libs/cairo[${MULTILIB_USEDEP}]
|
||||
x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}]
|
||||
x11-libs/pango[${MULTILIB_USEDEP}]
|
||||
net-print/cups[${MULTILIB_USEDEP}]
|
||||
|| ( sys-devel/base-gcc[cxx] sys-devel/gcc[cxx] )
|
||||
sys-apps/dbus[${MULTILIB_USEDEP}]
|
||||
x11-libs/gtk+[${MULTILIB_USEDEP}]
|
||||
x11-libs/libX11[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXcomposite[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXcursor[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXdamage[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXext[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXfixes[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXi[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrandr[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrender[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXtst[${MULTILIB_USEDEP}]
|
||||
media-libs/alsa-lib[${MULTILIB_USEDEP}]
|
||||
sys-libs/glibc[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXScrnSaver[${MULTILIB_USEDEP}]
|
||||
x11-libs/libxcb[${MULTILIB_USEDEP}]
|
||||
"
|
||||
|
||||
S="${WORKDIR}"
|
||||
QA_PREBUILT="opt/Saleae/${PN}/Logic opt/Saleae/${PN}/libffmpeg.so opt/Saleae/${PN}/libnode.so"
|
||||
|
||||
MY_PN=Logic
|
||||
|
||||
pkg_setup() {
|
||||
chromium_suid_sandbox_check_kernel_config
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
rm -r ${P}/usr/lib
|
||||
sed -i 's/^Exec=AppRun/Exec=${MY_PN}/' "${P}/Logic.desktop" \
|
||||
|| die "Failed to patch desktop file"
|
||||
|
||||
default_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cp -a ${P}/usr "${ED}"
|
||||
rm -f ${P}/.DirIcon
|
||||
dodir /opt/Saleae/Logic
|
||||
find ${P} -type d -exec chmod 755 {} \;
|
||||
find ${P} -type f -exec chmod 644 {} \;
|
||||
find ${P} -type f -name "*.so*" -print0 |xargs -0 chmod +x
|
||||
find ${P}/resources/linux/pythonlibs/bin -type f -print0 |xargs -0 chmod +x
|
||||
find ${P}/resources/app.asar.unpacked/node_modules/@saleae/graph-interface/bin -type f -print0 |xargs -0 chmod +x
|
||||
chmod +x ${P}/Logic
|
||||
cp -a ${P}/* "${ED}"/opt/Saleae/Logic || die "Failed to move directory"
|
||||
|
||||
# remove chrome-sandbox binary, users should use kernel namespaces
|
||||
# https://bugs.gentoo.org/692692#c18
|
||||
rm "${ED}"/opt/Saleae/Logic/chrome-sandbox || die
|
||||
|
||||
dosym ../../opt/Saleae/Logic/Logic /usr/bin/Logic
|
||||
domenu "${ED}"/opt/Saleae/Logic/Logic.desktop
|
||||
doicon "${ED}"/opt/Saleae/Logic/Logic.png
|
||||
dodir /etc/udev/rules.d
|
||||
cat "${ED}"/opt/Saleae/Logic/resources/linux/99-SaleaeLogic.rules > "${ED}"/etc/udev/rules.d/99-SaleaeLogic.rules
|
||||
udev_reload
|
||||
}
|
||||
Reference in New Issue
Block a user