-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: VNAT <[email protected]> Closes: #236 Signed-off-by: David Roman <[email protected]>
- Loading branch information
Showing
3 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST CiscoPacketTracer_820_Ubuntu_64bit.deb 320679542 BLAKE2B a2cc1e6c54f8d37282c38db2afee66664be613528d0f51fb3396a770946e2ace97e4947509ccdfc648c8e6b3b78b1a2a402848a1ff457ba703456141806e9025 SHA512 7e1c64af03d3bd99ed627d66e221094f80a28a87229ddb9ae5b98a5e38e28f45dfdd7ecc31e7253b17c11b7124c183125063c2a8e13bfb139cae6dd184b49226 | ||
DIST Packet_Tracer822_amd64_signed.deb 282817852 BLAKE2B a198716db54fe2b763fe71e15a5e891f758d5a4f37dfb07a904eccd47de0d9cf563a6ba70693058b81c3c7df51697315b8358746af7038c60fcf058e79ac02b1 SHA512 55835357b01449150f5c962d852f2921d4e39f697297cb34471b8cc83a91bced6c31703cc28a90e61db7a9a32e5534de4f11e5c4f6735f400456d25a013fadde |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[Desktop Entry] | ||
Type=Application | ||
Exec=/opt/pt/packettracer %f | ||
Name=Packet Tracer 8.2.2 | ||
Icon=/opt/pt/art/app.png | ||
Terminal=false | ||
StartupNotify=true | ||
MimeType=application/x-pkt;application/x-pka;application/x-pkz;application/x-pks;application/x-pksz; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Copyright 2022-2024 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v3 | ||
|
||
EAPI=8 | ||
|
||
inherit desktop unpacker xdg | ||
|
||
DESCRIPTION="Cisco's packet tracer" | ||
HOMEPAGE="https://www.netacad.com/resources/lab-downloads" | ||
SRC_URI="Packet_Tracer822_amd64_signed.deb" | ||
|
||
S="${WORKDIR}" | ||
|
||
LICENSE="Cisco" | ||
SLOT="0" | ||
KEYWORDS="~amd64" | ||
RESTRICT="fetch mirror strip" | ||
|
||
RDEPEND="${DEPEND} | ||
dev-libs/icu | ||
x11-libs/xcb-util | ||
" | ||
|
||
QA_PREBUILT="opt/pt/*" | ||
|
||
pkg_nofetch(){ | ||
ewarn "To fetch sources, you need a Cisco account which is" | ||
ewarn "available if you're a web-learning student, instructor" | ||
ewarn "or you sale Cisco hardware, etc." | ||
ewarn "after that, go to https://www.netacad.com/resources/lab-downloads and login with" | ||
ewarn "your account, and after that, you should download a file" | ||
ewarn "named \"${A}\" then move it to" | ||
ewarn "your DISTDIR directory" | ||
ewarn "and then, you can proceed with the installation." | ||
} | ||
|
||
src_install(){ | ||
cp -r . "${ED}" || die | ||
for icon in pka pkt pkz; do | ||
newicon -s 48x48 -c mimetypes opt/pt/art/${icon}.png application-x-${icon}.png | ||
done | ||
newmenu "${FILESDIR}/${PN}-${PV}.desktop" "${PN}.desktop" | ||
dobin opt/pt/packettracer | ||
} |