Merge updates from master

This commit is contained in:
Repository mirror & CI
2021-01-03 12:35:05 +00:00
13 changed files with 215 additions and 18 deletions

31
.github/workflows/pkgcheck.yml vendored Normal file
View File

@@ -0,0 +1,31 @@
name: pkgcheck
on:
push:
branches: [ dev ]
pull_request:
branches: [ dev ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install pkgcheck
run: |
python -m pip install --upgrade pip
pip install pkgcheck
- name: Setup master gentoo repository
run: |
sudo mkdir -p /var/db/repos/gentoo /etc/portage /var/cache/distfiles
wget -qO - "https://github.com/gentoo-mirror/gentoo/archive/master.tar.gz" | sudo tar xz -C /var/db/repos/gentoo --strip-components=1
sudo wget "https://www.gentoo.org/dtd/metadata.dtd" -O /var/cache/distfiles/metadata.dtd
sudo wget "https://gitweb.gentoo.org/proj/portage.git/plain/cnf/repos.conf" -O /etc/portage/repos.conf
sudo ln -s /var/db/repos/gentoo/profiles/default/linux/amd64/17.1 /etc/portage/make.profile
- name: Test with pkgcheck
run: |
pkgcheck scan --exit --check=-RedundantVersionCheck,-VisibilityCheck

34
.github/workflows/repoman.yml vendored Normal file
View File

@@ -0,0 +1,34 @@
name: repoman
on:
push:
branches: [ dev ]
pull_request:
branches: [ dev ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Setup repoman
run: |
python -m pip install --upgrade pip
pip install lxml pyyaml
wget -qO - "https://github.com/gentoo/portage/archive/portage-3.0.12.tar.gz" | tar xz
sudo groupadd -g 250 portage
sudo useradd -g portage -d /var/tmp/portage -s /bin/false -u 250 portage
- name: Setup master gentoo repository
run: |
sudo mkdir -p /var/db/repos/gentoo /etc/portage /var/cache/distfiles
wget -qO - "https://github.com/gentoo-mirror/gentoo/archive/master.tar.gz" | sudo tar xz -C /var/db/repos/gentoo --strip-components=1
sudo wget "https://www.gentoo.org/dtd/metadata.dtd" -O /var/cache/distfiles/metadata.dtd
sudo wget "https://gitweb.gentoo.org/proj/portage.git/plain/cnf/repos.conf" -O /etc/portage/repos.conf
sudo ln -s /var/db/repos/gentoo/profiles/default/linux/amd64/17.1 /etc/portage/make.profile
- name: Test with repoman
run: |
python3 portage-portage-3.0.12/repoman/bin/repoman full -dx

View File

@@ -4,6 +4,11 @@
# The GURU Project Repository
[![pkgcheck](https://github.com/gentoo/guru/workflows/pkgcheck/badge.svg)](https://github.com/gentoo/guru/actions?query=workflow%3Apkgcheck)
[![repoman](https://github.com/gentoo/guru/workflows/repoman/badge.svg)](https://github.com/gentoo/guru/actions?query=workflow%3Arepoman)
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg)](https://wiki.gentoo.org/wiki/Project:GURU/Information_for_Contributors)
[![chat on freenode](https://img.shields.io/badge/chat-on%20freenode-brightgreen.svg)](https://webchat.freenode.net/#gentoo-guru)
<table><tr>
<td width="68%">
@@ -31,6 +36,10 @@ The [GURU regulations](https://wiki.gentoo.org/wiki/Project:GURU#The_regulations
## Frequently Asked Questions <a name="FAQ"></a>
- #### How do I emerge these ebuilds?
`eselect repository enable guru && emerge --sync` and emerge the package just as usual.
- #### How do I contribute?
See [wiki.gentoo.org/wiki/Project:GURU/Information_for_Contributors](https://wiki.gentoo.org/wiki/Project:GURU/Information_for_Contributors)

View File

@@ -0,0 +1 @@
DIST gammaray-2.11.2.tar.gz 10333340 BLAKE2B 8dbb83e22826cd08e3a7105bfe910d9862ea47e3709e0c61c22ed9fe4974d27412f79a587de0ac6bb092f0edf07476c10717ca40dd8e7b43903aa44686158489 SHA512 788a4bb6c96e8c5d9a6762d94ad0a452c95d20c79b4b10a1b774950fb047633f040707d984c5e769b8c47ab6a2b9f9c338b0700ad17315588b1275f226a04f51

View File

@@ -0,0 +1,87 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
DESCRIPTION="High-level runtime introspection tool for Qt applications"
HOMEPAGE="https://www.kdab.com/gammaray https://github.com/KDAB/GammaRay"
if [[ ${PV} == 9999 ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/KDAB/GammaRay.git"
else
SRC_URI="https://github.com/KDAB/GammaRay/releases/download/v${PV}/${P}.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="GPL-2+"
SLOT=0
IUSE="3d bluetooth designer doc geolocation printsupport script scxml svg test qml wayland webengine"
RDEPEND="
dev-qt/qtcore:5
dev-qt/qtconcurrent:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5
dev-qt/qtwidgets:5
dev-qt/qtxml:5
kde-frameworks/kitemmodels:5
3d? ( dev-qt/qt3d:5 )
bluetooth? ( dev-qt/qtbluetooth:5 )
designer? ( dev-qt/designer:5 )
geolocation? ( dev-qt/qtpositioning:5 )
printsupport? ( dev-qt/qtprintsupport:5 )
qml? ( dev-qt/qtdeclarative:5[widgets] )
script? ( dev-qt/qtscript:5[scripttools] )
scxml? ( dev-qt/qtscxml:5 )
svg? ( dev-qt/qtsvg:5 )
webengine? ( dev-qt/qtwebengine:5[widgets] )
wayland? ( dev-qt/qtwayland:5 )
"
DEPEND="${RDEPEND}
test? ( dev-qt/qttest:5 )
"
src_prepare(){
sed -i "/BackwardMacros.cmake/d" CMakeLists.txt || die
sed -i "/add_backward(gammaray_core)/d" core/CMakeLists.txt || die
cmake_src_prepare
}
src_configure(){
local mycmakeargs=(
-DCMAKE_DISABLE_FIND_PACKAGE_Qt53DAnimation=$(usex !3d)
-DCMAKE_DISABLE_FIND_PACKAGE_Qt53DExtras=$(usex !3d)
-DCMAKE_DISABLE_FIND_PACKAGE_Qt53DInput=$(usex !3d)
-DCMAKE_DISABLE_FIND_PACKAGE_Qt53DLogic=$(usex !3d)
-DCMAKE_DISABLE_FIND_PACKAGE_Qt53DRender=$(usex !3d)
-DCMAKE_DISABLE_FIND_PACKAGE_Qt53DQuick=$(usex !3d)
-DCMAKE_DISABLE_FIND_PACKAGE_Qt5Bluetooth=$(usex !bluetooth)
-DCMAKE_DISABLE_FIND_PACKAGE_Qt5Designer=$(usex !designer)
-DCMAKE_DISABLE_FIND_PACKAGE_Qt5Positioning=$(usex !geolocation)
-DCMAKE_DISABLE_FIND_PACKAGE_Qt5PrintSupport=$(usex !printsupport)
-DCMAKE_DISABLE_FIND_PACKAGE_Qt5Qml=$(usex !qml)
-DCMAKE_DISABLE_FIND_PACKAGE_Qt5Quick=$(usex !qml)
-DCMAKE_DISABLE_FIND_PACKAGE_Qt5QuickWidgets=$(usex !qml)
-DCMAKE_DISABLE_FIND_PACKAGE_Qt5Script=$(usex !script)
-DCMAKE_DISABLE_FIND_PACKAGE_Qt5Svg=$(usex !svg)
-DCMAKE_DISABLE_FIND_PACKAGE_Qt5Scxml=$(usex !scxml)
-DCMAKE_DISABLE_FIND_PACKAGE_Qt5Test=$(usex !test)
-DCMAKE_DISABLE_FIND_PACKAGE_Qt5WaylandCompositor=$(usex !wayland)
-DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebEngineWidgets=$(usex !webengine)
-DGAMMARAY_BUILD_DOCS=$(usex doc)
-DGAMMARAY_BUILD_UI=ON
-DGAMMARAY_DISABLE_FEEDBACK=ON
)
cmake_src_configure
}
pkg_postinst() {
elog
elog "Install dev-util/kdstatemachineeditor as optional dependency"
elog "for graphical state machine debugging support"
elog
}

View File

@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>rossbridger.cc@gmail.com</email>
<name>Ross Charles Campbell</name>
</maintainer>
<maintainer type="person">
<email>petross404@gmail.com</email>
<name>Petros S</name>
</maintainer>
<longdescription>
GammaRay is a software introspection tool for Qt applications developed by KDAB.
Leveraging the QObject introspection mechanism it allows you to observe and manipulate
your application at runtime. This works both locally on your workstation and remotely
on an embedded target.
Augmenting your instruction-level debugger, GammaRay allows you to work on a much higher
level, with the same concepts as the frameworks you use. This is especially useful for
the more complex Qt frameworks such as model/view, state machines or scene graphs.
</longdescription>
<use>
<flag name="3d">Build support for Qt5 3D modules</flag>
<flag name="designer">Widget .ui file export</flag>
<flag name="geolocation">Physical position determination support from Qt5 framework</flag>
<flag name="printsupport">Printing support library from the Qt5 framework. Required for widget PDF export</flag>
<flag name="script">Enable scripting support from the Qt5 framework</flag>
<flag name="qml">Build with Qt5 Quick support</flag>
<flag name="scxml">Build support for Qt5 State Chart XML (SCXML)</flag>
<flag name="webengine">Enable support for dev-qt/qtwebengine</flag>
</use>
<upstream>
<remote-id type="github">KDAB/GammaRay</remote-id>
<bugs-to>https://github.com/KDAB/GammaRay/issues</bugs-to>
</upstream>
</pkgmetadata>

View File

@@ -21,23 +21,23 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
COMMON_DEPEND="
${PYTHON_DEPS}
>=dev-qt/qtcore-5.12
>=dev-qt/qtgraphicaleffects-5.12
>=dev-qt/qtquickcontrols-5.12
>=dev-qt/qtquickcontrols2-5.12
>=dev-qt/qtcore-5.12:5
>=dev-qt/qtgraphicaleffects-5.12:5
>=dev-qt/qtquickcontrols-5.12:5
>=dev-qt/qtquickcontrols2-5.12:5
"
RDEPEND="
${COMMON_DEPEND}
$(python_gen_cond_dep '
dev-python/aiohttp[${PYTHON_USEDEP}]
')
media-video/mpv
media-video/ffmpeg
media-video/mpv
net-misc/curl
"
DEPEND="
${COMMON_DEPEND}
kde-frameworks/extra-cmake-modules
kde-frameworks/extra-cmake-modules:5
"
src_prepare()

View File

@@ -21,23 +21,23 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
COMMON_DEPEND="
${PYTHON_DEPS}
>=dev-qt/qtcore-5.12
>=dev-qt/qtgraphicaleffects-5.12
>=dev-qt/qtquickcontrols-5.12
>=dev-qt/qtquickcontrols2-5.12
>=dev-qt/qtcore-5.12:5
>=dev-qt/qtgraphicaleffects-5.12:5
>=dev-qt/qtquickcontrols-5.12:5
>=dev-qt/qtquickcontrols2-5.12:5
"
RDEPEND="
${COMMON_DEPEND}
$(python_gen_cond_dep '
dev-python/aiohttp[${PYTHON_USEDEP}]
')
media-video/mpv
media-video/ffmpeg
media-video/mpv
net-misc/curl
"
DEPEND="
${COMMON_DEPEND}
kde-frameworks/extra-cmake-modules
kde-frameworks/extra-cmake-modules:5
"
src_prepare()

View File

@@ -1,2 +1 @@
dev-octave
dev-R

View File

@@ -21,10 +21,10 @@ DEPEND="
sys-libs/pam
x11-libs/cairo
x11-libs/libxcb
x11-libs/libxkbcommon
x11-libs/xcb-util
x11-libs/xcb-util-image
x11-libs/xcb-util-xrm
x11-libs/libxkbcommon
"
RDEPEND="
${DEPEND}

View File

@@ -21,10 +21,10 @@ DEPEND="
sys-libs/pam
x11-libs/cairo
x11-libs/libxcb
x11-libs/libxkbcommon[X]
x11-libs/xcb-util
x11-libs/xcb-util-image
x11-libs/xcb-util-xrm
x11-libs/libxkbcommon[X]
"
RDEPEND="
${DEPEND}

View File

@@ -1,4 +1,4 @@
# Copyright 2020 Gentoo Authors
# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -19,10 +19,10 @@ DEPEND="
sys-libs/pam
x11-libs/cairo
x11-libs/libxcb
x11-libs/libxkbcommon
x11-libs/xcb-util
x11-libs/xcb-util-image
x11-libs/xcb-util-xrm
x11-libs/libxkbcommon
"
RDEPEND="
${DEPEND}

View File

@@ -3,7 +3,7 @@
EAPI=7
inherit git-r3 flag-o-matic toolchain-funcs
inherit flag-o-matic git-r3 toolchain-funcs
DESCRIPTION="A faster implementation of i3lock-fancy"
HOMEPAGE="https://github.com/yvbbrjdr/i3lock-fancy-rapid"