Skip to content

Commit

Permalink
Merge pull request #14 from kir68k/pkgcheck-fixes
Browse files Browse the repository at this point in the history
Fix all pkgcheck errors
  • Loading branch information
kir68k authored May 8, 2024
2 parents 37e6a50 + 71864df commit 3b00097
Show file tree
Hide file tree
Showing 133 changed files with 1,187 additions and 873 deletions.
11 changes: 11 additions & 0 deletions app-crypt/mkp224o/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>revelation@krxt.dev</email>
<name>Kirin Etheridge</name>
</maintainer>
<upstream>
<remote-id type="github">cathugger/mkp224o</remote-id>
</upstream>
</pkgmetadata>
4 changes: 2 additions & 2 deletions app-crypt/mkp224o/mkp224o-1.7.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ RESTRICT="mirror"

BDEPEND="
dev-libs/libsodium
sys-devel/autoconf
sys-devel/make
dev-build/autoconf
dev-build/make
"

src_prepare() {
Expand Down
11 changes: 11 additions & 0 deletions app-misc/colorgen-nvim/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>revelation@krxt.dev</email>
<name>Kirin Etheridge</name>
</maintainer>
<upstream>
<remote-id type="github">LunarVim/colorgen-nvim</remote-id>
</upstream>
</pkgmetadata>
14 changes: 14 additions & 0 deletions app-misc/premid/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>revelation@krxt.dev</email>
<name>Kirin Etheridge</name>
</maintainer>
<use>
<flag name="build-online">Disable network-sandbox.</flag>
</use>
<upstream>
<remote-id type="github">PreMiD/Linux</remote-id>
</upstream>
</pkgmetadata>
8 changes: 4 additions & 4 deletions app-misc/premid/premid-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ src_configure() {
eerror "Aborting."
die
fi
yarn config set disable-self-update-check || die
mv ${HOME}/.yarnrc ${S}/.yarnrc || die
yarn install --frozen-lockfile ${NETWORK_MODE} || die
yarn config set disable-self-update-check || die
mv "${HOME}"/.yarnrc "${S}"/.yarnrc || die
yarn install --frozen-lockfile ${NETWORK_MODE} || die
}

src_compile() {
Expand All @@ -67,7 +67,7 @@ src_install() {
mkdir -p "${ED}/usr/share/applications"
mkdir -p "${ED}/usr/share/pixmaps"

pushd ${S}/dist/app/dist/linux-unpacked || die
pushd "${S}"/dist/app/dist/linux-unpacked || die
# QA notice about proper XDG Icon entry
sed -i 's/Icon=premid\.png/Icon=premid/' assets/premid.desktop

Expand Down
11 changes: 11 additions & 0 deletions app-shells/elvish/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>revelation@krxt.dev</email>
<name>Kirin Etheridge</name>
</maintainer>
<upstream>
<remote-id type="github">elves/elvish</remote-id>
</upstream>
</pkgmetadata>
11 changes: 11 additions & 0 deletions app-text/sioyek/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>revelation@krxt.dev</email>
<name>Kirin Etheridge</name>
</maintainer>
<upstream>
<remote-id type="github">ahrm/sioyek</remote-id>
</upstream>
</pkgmetadata>
11 changes: 11 additions & 0 deletions dev-python/clickgen/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>revelation@krxt.dev</email>
<name>Kirin Etheridge</name>
</maintainer>
<upstream>
<remote-id type="github">elves/elvish</remote-id>
</upstream>
</pkgmetadata>
2 changes: 1 addition & 1 deletion dev-python/pykeepass/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1 @@
DIST pykeepass-4.0.6.tar.gz 54615 BLAKE2B ad0dda7038f1bc885d536aadbbb251aabf4cbb9d1caf5d400585788ebec9818ef7d1b74bc6b551d76f2f5bd995ec8d98a9b5c3d286d42f2db46b94229cf18565 SHA512 2684f3e85277ce5573458ba1c9d14f784bfd9deb4d7b501dc4116c71fabe6b77a416dd7906808bb028d55348f9028fe4d7e0fea59566683f57f925119f8c118d
DIST pykeepass-4.0.7.tar.gz 110318 BLAKE2B b2c57c68532c241da46e28369f8ee36a13e4f50363f559adac58a6ddaf811f5a92ceb2a25dc54f50ebeee921c8df5ce04caf93df029b3dccb5cecdcfd2883001 SHA512 e4218f2bdcc6f10c0f538bf8281ed7be9ca347577e58f179d42035431b3e48c08fc58b5d6b07617f46826ab9a7f9d3b32d98226f5f7544cc9282ac458eb0d7f5
12 changes: 12 additions & 0 deletions dev-python/pykeepass/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>revelation@krxt.dev</email>
<name>Kirin Etheridge</name>
</maintainer>
<upstream>
<remote-id type="pypi">pykeepass</remote-id>
<remote-id type="github">libkeepass/pykeepass</remote-id>
</upstream>
</pkgmetadata>
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Copyright 2023-2024 Kirixetamine <revelation@krxt.dev>
# Distributed under the terms of the ISC License

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( pypy3 python3_{9..12} )
PYTHON_COMPAT=( python3_{10..12} )

inherit distutils-r1 pypi

Expand All @@ -13,19 +13,23 @@ HOMEPAGE="
https://pypi.org/project/pykeepass/
"

S="${WORKDIR}/${P}-post1"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
>=dev-python/argon2-cffi-21.3.0[${PYTHON_USEDEP}]
>=dev-python/construct-2.10.68[${PYTHON_USEDEP}]
>=dev-python/construct-2.10.70[${PYTHON_USEDEP}]
>=dev-python/lxml-4.8.0[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.14.1[${PYTHON_USEDEP}]
>=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"

RESTRICT="mirror"

src_prepare() {
distutils-r1_src_prepare
sed -i 's/Cryptodome/Crypto/g' pykeepass/kdbx_parsing/{common,twofish}.py || die
Expand Down
12 changes: 12 additions & 0 deletions dev-python/toml/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>revelation@krxt.dev</email>
<name>Kirin Etheridge</name>
</maintainer>
<upstream>
<remote-id type="pypi">toml</remote-id>
<remote-id type="github">uiri/toml</remote-id>
</upstream>
</pkgmetadata>
12 changes: 12 additions & 0 deletions dev-python/vpk/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>revelation@krxt.dev</email>
<name>Kirin Etheridge</name>
</maintainer>
<upstream>
<remote-id type="pypi">vpk</remote-id>
<remote-id type="github">ValvePython/vpk</remote-id>
</upstream>
</pkgmetadata>
2 changes: 1 addition & 1 deletion dev-python/vpk/vpk-1.4.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ HOMEPAGE="

LICENSE="MIT"
SLOT="0"
KEYWORDS="-test"
KEYWORDS="~amd64"

RESTRICT="mirror"

Expand Down
11 changes: 11 additions & 0 deletions dev-tex/texlab/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>revelation@krxt.dev</email>
<name>Kirin Etheridge</name>
</maintainer>
<upstream>
<remote-id type="github">latex-lsp/texlab</remote-id>
</upstream>
</pkgmetadata>
2 changes: 1 addition & 1 deletion dev-tex/texlab/texlab-5.16.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ KEYWORDS="~amd64"

LICENSE="GPL-3"
# Dependent crate licenses
LICENSE+="Apache-2.0 BSD CC0-1.0 ISC MIT MPL-2.0 Unicode-DFS-2016"
LICENSE+=" Apache-2.0 BSD CC0-1.0 ISC MIT MPL-2.0 Unicode-DFS-2016"
SLOT="0"
RESTRICT="mirror"

Expand Down
11 changes: 11 additions & 0 deletions dev-util/exercism/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>revelation@krxt.dev</email>
<name>Kirin Etheridge</name>
</maintainer>
<upstream>
<remote-id type="github">exercism/cli</remote-id>
</upstream>
</pkgmetadata>
21 changes: 12 additions & 9 deletions dev-util/ghidra-bin/ghidra-bin-11.0.3.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2023 Kirixetamine <revelation@krxt.dev>
# Copyright 2023-2024 Kirixetamine <revelation@krxt.dev>
# Distributed under the terms of the ISC License.

EAPI=8
Expand All @@ -7,8 +7,6 @@ inherit xdg-utils desktop savedconfig

DESCRIPTION="Ghidra is a software reverse engineering (SRE) framework"
HOMEPAGE="https://nsa.gov/ghidra"
LICENSE="Apache-2.0"
SLOT="0"

DATE="20240410"
MY_PN="ghidra"
Expand All @@ -18,11 +16,12 @@ MY_P="${MY_PN}_${MY_PV}"
SRC_URI="https://github.com/NationalSecurityAgency/ghidra/releases/download/Ghidra_${PV}_build/${MY_P}.zip -> ${P}.zip"
S="${WORKDIR}/${MY_PN}_${PV}_PUBLIC"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
SLOT="0"

IUSE="+opengl +optimal-maxmemory"
#REQUIRED_USE="
# savedconfig? ( !optimal-maxmemory )
#"

RESTRICT="mirror strip"

Expand All @@ -35,6 +34,10 @@ BDEPEND="
sys-apps/sed
"

RDEPEND="
opengl? ( virtual/opengl )
"

src_prepare() {
if use optimal-maxmemory; then
einfo "USE=\"optimal-maxmemory\" enabled."
Expand All @@ -54,12 +57,13 @@ src_install() {
if use opengl; then
# Lets GUI icons render properly on some systems, per the manual
einfo "OpenGL enabled, setting \"-DSun.java2d.opengl=true\" in VMARGS"
sed -i -e 's/VMARGS=-Dsun\.java2d\.opengl=false/VMARGS=-Dsun\.java2d\.opengl=true/' "${S}"/support/launch.properties || die "Could not replace OpenGL launch argument"
sed -i -e 's/VMARGS=-Dsun\.java2d\.opengl=false/VMARGS=-Dsun\.java2d\.opengl=true/' \
"${S}"/support/launch.properties || die "Could not replace OpenGL launch argument"
fi

einfo "Installing files to temporary directory"
dodir "${dest}"
insinto "${dest}"
dodir "${dest}"
doins -r .

dodir /usr/bin
Expand All @@ -74,7 +78,6 @@ src_install() {
done
domenu "${FILESDIR}/${MY_PN}.desktop"


# Is this really the best solution...? >~>
einfo "Finding all ELF files and running \`chmod\` on them, this can take a while."
find "${D}"${dest}/ -type f -exec file {} \; | grep 'ELF' | cut -d: -f1 | xargs chmod a+x || die
Expand Down
15 changes: 15 additions & 0 deletions dev-util/ghidra-bin/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>revelation@krxt.dev</email>
<name>Kirin Etheridge</name>
</maintainer>
<use>
<flag name="optimal-maxmemory">Use recommended 1/4th physical memory limit for the Java heap size</flag>
<flag name="opengl">Enable OpenGL for proper GUI icon rendering on some systems</flag>
</use>
<upstream>
<remote-id type="github">NationalSecurityAgency/ghidra</remote-id>
</upstream>
</pkgmetadata>
4 changes: 3 additions & 1 deletion dev-util/lddtree-sh/lddtree-sh-1.27.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ src_compile() {
}

src_test() {
emake || die
if use test; then
emake || die
fi
}

src_install() {
Expand Down
11 changes: 11 additions & 0 deletions dev-util/lddtree-sh/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>revelation@krxt.dev</email>
<name>Kirin Etheridge</name>
</maintainer>
<upstream>
<remote-id type="github">ncopa/lddtree</remote-id>
</upstream>
</pkgmetadata>
11 changes: 11 additions & 0 deletions games-util/r2mod_cli/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>revelation@krxt.dev</email>
<name>Kirin Etheridge</name>
</maintainer>
<upstream>
<remote-id type="github">Foldex/r2mod_cli</remote-id>
</upstream>
</pkgmetadata>
11 changes: 11 additions & 0 deletions games-util/spcomp-bin/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>revelation@krxt.dev</email>
<name>Kirin Etheridge</name>
</maintainer>
<upstream>
<remote-id type="github">alliedmodders/sourcemod</remote-id>
</upstream>
</pkgmetadata>
11 changes: 11 additions & 0 deletions games-util/vpk-fuse/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>revelation@krxt.dev</email>
<name>Kirin Etheridge</name>
</maintainer>
<upstream>
<remote-id type="github">ElementW/vpk_fuse</remote-id>
</upstream>
</pkgmetadata>
2 changes: 1 addition & 1 deletion games-util/vpk-fuse/vpk-fuse-20230415.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ KEYWORDS="~amd64 ~x86"
RESTRICT="mirror"

BDEPEND="
sys-devel/make
dev-build/make
virtual/pkgconfig
sys-fs/fuse:0=
"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ HOMEPAGE="https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas"

LICENSE="LGPL-2.1+"
SLOT="0"
IUSE="+introspection"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
IUSE="+introspection"

BDEPEND="
introspection? ( >=dev-libs/gobject-introspection-1.54:= )
Expand Down
Loading

0 comments on commit 3b00097

Please sign in to comment.