Add new pacakges

This commit is contained in:
Mario Fetka
2022-02-23 19:17:30 +01:00
parent 123ebbf1df
commit de2b917a03
175 changed files with 1143 additions and 10915 deletions

View File

@@ -0,0 +1,2 @@
DIST adms-2.3.7-source.tar.gz 184339 BLAKE2B dfa3835b095658b488ae939da7444fc6e44f2c8107a5771ddf50981e80ac6913341c1ec29bae4fa55705cf8087c7cc815d5786f75565e299f7d59912afbc3731 SHA512 f166675885c0e2c3eeacb838b62e6bb4edbef47e54841e477395cc21170087f37cfdfac668d9a2c026838b31cb52c8d58ba42b832a29cd74cbee8561d7e6838e
EBUILD adms-2.3.7.ebuild 652 BLAKE2B 2557a45ba9276064f164f4c9af93ed6f218d73c4dbd793fd544594cbd137900fbf6b3cfe4ea579bf2a43418599bfa0850e88ae7c19bbd3496d63f17f5b418e51 SHA512 ef5b5a14cb4129c197494d49ff2076f36eee7456b0bf89f247e38f24002cd2542e79f72b14c659e6cde45148b11bae654f1f70b27e588066f0639ba7a1dddc6a

View File

@@ -0,0 +1,37 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools
DESCRIPTION="ADMS is a code generator for the Verilog-AMS language"
HOMEPAGE="https://github.com/Qucs/ADMS"
SRC_URI="https://github.com/Qucs/ADMS/archive/release-${PV//_/-}.tar.gz -> adms-${PV}-source.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="
sys-devel/flex
sys-devel/bison"
DEPEND="
dev-perl/XML-LibXML
$RDEPEND"
S=${WORKDIR}/ADMS-release-${PV}
src_prepare() {
default
./bootstrap.sh
}
src_configure() {
local myeconfargs=(
--enable-maintainer-mode
)
econf $myeconfargs
}

View File

@@ -1,5 +1,6 @@
AUX minipro-0.5-libs.patch 992 BLAKE2B 6bd4dd3cd9865199973c48a6c49c6aac1638b4d403f2f285bd7aa3dc45059e2acb894361097b9c033278985118f4ecdf40da8f8916872105b8f3d42f39d554c3 SHA512 6ba541a93beef1136c857a19941db34b1612f1c4f46631660e22c5a9bbe87800aa8707bec596de0dee0efff321a6b1351ba0e3ea8d5745cd5ad9267b50349444
DIST minipro-0.4.tar.gz 363052 BLAKE2B e6b07c05c1c2841fa862132d598781f3675df61cb41ac447e8dfb9677913126429f4f547afc757f2d32360ddbfc89850f3b234c13b381920d5f726f5fe163dd7 SHA512 cdbcb1a02b475874a32497b9a683a0b4734a16cc75d2b0336a5c5cd26a30b63ca4c115b3cfbe6448a8bb3be95aeb902c79ac256c45789d45abf9e01cda355eda
DIST minipro-0.5.tar.gz 388754 BLAKE2B c22110c269405e7b8ff81fd7c649c2b652bc39da84d92cf9a151da71a1c6d4a202baa6ae13a1fb789a04c8e57f3cc9a60403bcef82896320d95e2507c5960f01 SHA512 e2341213bc43ef53b106211d07a488a142083fe4b6dd6ced0f02595164ce2e0e47f6bdc0a6f6c63f19b9b9438c8f5ad173485953d8a29cb39f89272f8e70dc7c
EBUILD minipro-0.4.ebuild 549 BLAKE2B d236e820d16f33e6f1cb367bdfc30a29a1501bb715213e80593a2c0790818435616ba85c413b04478c096a66e744b509f4fde1bb856d962c0666dddc4665a729 SHA512 64a93009251f787616072deb0a105a361686f230afb4c474ac6196f60e6616bc00668b409e468b8f0f48eefd5ff23437abca98581825a12f1ccaa97a2aa39a68
EBUILD minipro-0.5.ebuild 632 BLAKE2B 498764de4683996e8ada5c09cda4ea025053d97818ae24cebc4225738819d350476e01bd4cb73e7523d78cf9e7c42980c0aca8a4b8d37f116656335aa948d619 SHA512 8358868192c9483ba52f77ee23d4c8a96674d76c1a1d0c67709aa67156df2c213a58a5b9abb8798bbfe04fef8a47fd9244fb4c1aff1766d208e74d74822e286b
EBUILD minipro-0.5.ebuild 676 BLAKE2B 411d89ea4953c35d758fde539b9427d90141adb7f3e31008019cae5b7e5e50d10e5ff5e6ceaae93ce535dd96506ef922f7ef9289dec131a635da60c4e5f92918 SHA512 68d66d2f0227b79bf7bcdc662814a0b1e52e56212c64155e7e92954ec60a8700a666eeef09319f877fe86de4d1b29e71721d3278988fdcf0edab1cb93a2c46fe
MISC metadata.xml 350 BLAKE2B 6143d2ff48be605a0f5fb240a308ee956bc35c0a997f8b93e869010eef005c79dc08336e56c6217c50ec610904fe605f0bfb919e69cc8868e7138d6243ef7134 SHA512 47ec9f8afd3abb94f64072af8c553812be878740efa313b39853a710aa8d8c821a5c5487c6f8bf510756169eb27d3714531d6a207a0d476f869198531e136624

View File

@@ -0,0 +1,20 @@
--- minipro-0.5/Makefile.orig 2022-02-22 19:40:51.778911209 +0100
+++ minipro-0.5/Makefile 2022-02-22 19:41:39.919122650 +0100
@@ -164,13 +164,13 @@
install_library:
mkdir -p $(LIB_INSTDIR)
mkdir -p $(INCLUDE_INSTDIR)
- mkdir $(LIB_INSTDIR)/pkgconfig
+ mkdir -p $(LIB_INSTDIR)/pkgconfig
cp $(STATIC_LIB) $(LIB_INSTDIR)/
cp *.h $(INCLUDE_INSTDIR)/
cp libminipro.pc $(LIB_INSTDIR)/pkgconfig/
- sed -e "s#MINIPROPREFIX#$(DESTDIR)$(PREFIX)#" -i "" "$(LIB_INSTDIR)/pkgconfig/libminipro.pc"
- sed -e "s#MINIPROVERSION#$(VERSION)#" -i "" "$(LIB_INSTDIR)/pkgconfig/libminipro.pc"
- ln -s "$(LIB_INSTDIR)/pkgconfig/libminipro.pc" /usr/local/lib/pkgconfig/libminipro.pc
+ sed -e "s#MINIPROPREFIX#$(PREFIX)#" -i "$(LIB_INSTDIR)/pkgconfig/libminipro.pc"
+ sed -e "s#MINIPROVERSION#$(VERSION)#" -i "$(LIB_INSTDIR)/pkgconfig/libminipro.pc"
+# ln -s "$(LIB_INSTDIR)/pkgconfig/libminipro.pc" /usr/local/lib/pkgconfig/libminipro.pc
uninstall_library:
rm /usr/local/lib/pkgconfig/libminipro.pc

View File

@@ -16,6 +16,10 @@ KEYWORDS="~amd64"
RDEPEND="virtual/libusb:1"
DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}/${P}-libs.patch"
)
src_compile() {
emake PREFIX=/usr
emake library PREFIX=/usr

View File

@@ -0,0 +1,2 @@
DIST qucs-0.0.20_rc2-source.tar.gz 16696049 BLAKE2B d6a3d5e799b9e01a905d433b799c1cf465ba708d541849026908578dd375c3e64c667eef80acd3e861c9e87ab1391e06c6598b378988e1400cb3b1dffa72a6f6 SHA512 ebe2b8e2d61cf39f8a7496e7464aec98b71a41c7c754c26dc8dd270374074e3e153de7215a8204c9c423b828410eafd323e6dd65edba8acf2f63a8d0a5af8ab5
EBUILD qucs-0.0.20_rc2.ebuild 855 BLAKE2B ba8dc1d8b5b5e84ff5037f0b8e9ecc673e3045e77c1b42686214bff4fc8305f3e3e42c2910b2c5211d9164476d8082f25e70fe9641ac3a5a3c69a44a4864cca7 SHA512 2da1f192195118a4e8e3880d4bc5653ab552d65983c46020145ae51d67bfe27fb18e8b7a53e13bc70642618cda3c7abdd5d06ee9401a5563c4dd3beb836ad4ce

View File

@@ -0,0 +1,40 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=7
inherit flag-o-matic toolchain-funcs autotools
DESCRIPTION="Quite Universal Circuit Simulator in Qt5"
HOMEPAGE="http://qucs.sourceforge.net/"
#SRC_URI="mirror://sourceforge/${PN}/${fn}.tar.gz"
SRC_URI="https://github.com/Qucs/qucs/archive/qucs-${PV//_/-}.tar.gz -> qucs-${PV}-source.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
RDEPEND="dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtsvg:5
x11-libs/libX11
sci-electronics/adms"
DEPEND="${RDEPEND}
doc? ( sci-mathematics/octave )"
S=${WORKDIR}/qucs-qucs-${PV//_/-}
src_prepare() {
default
./bootstrap
}
src_configure() {
local myeconfargs=(
--enable-maintainer-mode
)
econf $myeconfargs $(use_enable doc) # https://github.com/Qucs/qucs/issues/582
}

View File

@@ -1,2 +1,6 @@
DIST Logic-2.3.30-master.AppImage 138331721 BLAKE2B e914c54c79c49a39a8dc397094ad03d6dcbfca18a7c3eed3003dad19035ce60c9d524c98965230e03c3a0bac9d7ff5ca725cdb33fd193430da3e985e11313597 SHA512 0667363283a3f57056787ff4cc4476037c8331af4e14147b3286a96bb7b013f26abacf79e67ed97ae6e1819c49eb2fe474cfa0319c1b3a0b00d2553aac793c40
DIST Logic-2.3.36-master.AppImage 139955310 BLAKE2B 73dc69c4ccb5cb17fdd6beabfd60b2d5540f3496bb9342c5126ba1e725f96f38e3e793bc027e87c88fb7fc8981e815590ce676f905143ecfac2c3cd3a996e695 SHA512 afa68aa7d9aedbe643ed464a212d883e08dfce08f0787ab891bfc8d6cce488ed60368a9525fb6ba7713f71793350f78d775a7ee986b3bd228504f7e480497c67
DIST Logic-2.3.45-master.AppImage 164131793 BLAKE2B eab1bfbd586b7f2242944a4e1abb6008a28243a73b3ca127a4399eff25e4ace579987f16df820f8414e8460ae9ff55703dbfae49da621357bcfa08b7502546d5 SHA512 f54fad89ccf7f430b085b9bb1a3ae234d2d8b0b7dd93a64f564af9f644990a2ae7d874d89c7f6ec114d1d33fe22e4197e3cb61f183c932adfce379bec2c6e882
EBUILD saleae-logic-bin-2.3.30.ebuild 2792 BLAKE2B 3f2347a6e323e8333049af542c5a74e0717706794b477cf436bfc9d9ada01b21be8ecaba1eb8d0fb2f4cf9f72d782d645b194f10ff9c997797cade48c132b28c SHA512 f5dab7e9f1f9a53bb82b185d452c9ff1445624fed9a7f1655a8dcfd18c122827654cb103749fc551e07544abc96e63f21d8ff02945058dd1ec585191093a46d9
EBUILD saleae-logic-bin-2.3.36.ebuild 2792 BLAKE2B 3f2347a6e323e8333049af542c5a74e0717706794b477cf436bfc9d9ada01b21be8ecaba1eb8d0fb2f4cf9f72d782d645b194f10ff9c997797cade48c132b28c SHA512 f5dab7e9f1f9a53bb82b185d452c9ff1445624fed9a7f1655a8dcfd18c122827654cb103749fc551e07544abc96e63f21d8ff02945058dd1ec585191093a46d9
EBUILD saleae-logic-bin-2.3.45.ebuild 2792 BLAKE2B 3f2347a6e323e8333049af542c5a74e0717706794b477cf436bfc9d9ada01b21be8ecaba1eb8d0fb2f4cf9f72d782d645b194f10ff9c997797cade48c132b28c SHA512 f5dab7e9f1f9a53bb82b185d452c9ff1445624fed9a7f1655a8dcfd18c122827654cb103749fc551e07544abc96e63f21d8ff02945058dd1ec585191093a46d9

View File

@@ -0,0 +1,89 @@
# Copyright 1999-2018 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
DESCRIPTION="Debug hardware like the pros."
HOMEPAGE="https://www.saleae.com/"
SRC_URI="
amd64? ( https://downloads.saleae.com/logic2/Logic-${PV}-master.AppImage )
"
LICENSE="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/linux-x64-76 -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
}

View File

@@ -0,0 +1,89 @@
# Copyright 1999-2018 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
DESCRIPTION="Debug hardware like the pros."
HOMEPAGE="https://www.saleae.com/"
SRC_URI="
amd64? ( https://downloads.saleae.com/logic2/Logic-${PV}-master.AppImage )
"
LICENSE="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/linux-x64-76 -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
}