-
Notifications
You must be signed in to change notification settings - Fork 27
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: Vadim Misbakh-Soloviov <[email protected]>
- Loading branch information
Showing
3 changed files
with
56 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST WinBox_Linux.zip 22001744 BLAKE2B 16ea190427ef4ea0e9021d3fb96ebc6ebfd3aadb5b812130c1ef7bb54d52c06f5c90c49dace9e5831a721b3877f3eeaba1dbd1124e91c0b907d174470afa7c33 SHA512 fccace58595ea883898df03064f33b1892f8cf0e127fdfb21bdb8594a88f4e44865e9c4517109ea12b18cb42688837f471134abb630a40cfab18f4238b9df9bd |
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,13 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<maintainer type="person"> | ||
<email>[email protected]</email> | ||
<description>Also, you can find me on IRC (Libera.Chat) as mva, or in Telegram as @mva_name</description> | ||
<name>Vadim A. Misbakh-Soloviov</name> | ||
</maintainer> | ||
<upstream> | ||
<remote-id type="github">wp-cli/wp-cli</remote-id> | ||
<bugs-to>https://github.com/wp-cli/wp-cli/issues</bugs-to> | ||
</upstream> | ||
</pkgmetadata> |
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,42 @@ | ||
# Copyright 1999-2024 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
inherit desktop wrapper | ||
|
||
DESCRIPTION="Standalone client for Mikrotik routers" | ||
HOMEPAGE="https://mikrotik.com/" | ||
MY_PN="WinBox" | ||
SRC_URI="https://download.mikrotik.com/routeros/${PN}/${PV//_}/${MY_PN}_Linux.zip" | ||
|
||
S="${WORKDIR}" | ||
|
||
LICENSE="EULA" | ||
SLOT="0" | ||
KEYWORDS="~amd64" | ||
|
||
RDEPEND=" | ||
media-libs/fontconfig | ||
media-libs/freetype | ||
media-libs/libglvnd | ||
sys-libs/zlib | ||
x11-libs/libxcb | ||
x11-libs/libxkbcommon | ||
x11-libs/xcb-util-image | ||
x11-libs/xcb-util-keysyms | ||
x11-libs/xcb-util-renderutil | ||
x11-libs/xcb-util-wm | ||
" | ||
DEPEND="app-arch/unzip" | ||
|
||
src_install() { | ||
# TODO: bundle old libxcb as it doesn't work with current | ||
local instdir="/opt/${PN}" | ||
insinto "${instdir}" | ||
doins -r assets | ||
exeinto "${instdir}" | ||
doexe "${MY_PN}" | ||
make_wrapper "${PN}" "./${MY_PN}" "${instdir}" | ||
make_desktop_entry "${PN}" "${MY_PN}" "${PN}" # "/opt/${PN}/lib" | ||
} |