первая публикация
This commit is contained in:
2
x11-misc/picom-sdhand/Manifest
Normal file
2
x11-misc/picom-sdhand/Manifest
Normal file
@@ -0,0 +1,2 @@
|
||||
EBUILD picom-sdhand-9999.ebuild 1498 BLAKE2B 76b413e7f536ca20a4bf95853d922eb96e830e2018c96f6bca4a9a8d5cfc6665402f46d0fa6b936392f4d363406cd5df2b7feb4c0d06666707da4a5d7b4eab4c SHA512 a8818a15f1629139691b13c811bb6fb90d4fff891c5f23d05787bb9b186cd3e20182d1f5930d9c9d66af7e36cbb3b6861a86d0eea3c4285c25f700292ebfd249
|
||||
MISC metadata.xml 1020 BLAKE2B 3fa5da4d582dfe078b906afd50c618d83f0e7b8c3cdcea79988ce9df27db859f5a139777dabd4d5a3ea862d1eca33696f1c0cf964d10c18570fe4b66ea371e1d SHA512 1d405d4af3d5d831bec9d4d33de1e0d169a9fbef35a1d86f08a703ec42943a4e11025e9cfa70d767e9f9d749453f78162974def2256e101fa18867cc2f4758e8
|
||||
21
x11-misc/picom-sdhand/metadata.xml
Normal file
21
x11-misc/picom-sdhand/metadata.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>contact@thamognya.com</email>
|
||||
<name>Thamognya Kodi</name>
|
||||
<description>Primary maintainer</description>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
This is a forked version from Sandmark's picom branch, including Blackcapcoder's animation code inside. The animations here are further smoothed and time deltas reduced from 1ms to 40us for high refresh rates and buttery smooth transitions.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">jonaburg/picom</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="config-file">Enable config file support</flag>
|
||||
<flag name="doc">Build documentation and man pages (requires <pkg>app-text/asciidoc</pkg>)</flag>
|
||||
<flag name="drm">Enable support for using drm for vsync</flag>
|
||||
<flag name="opengl">Enable features that require opengl (opengl backend, and opengl vsync methods)</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
67
x11-misc/picom-sdhand/picom-sdhand-9999.ebuild
Normal file
67
x11-misc/picom-sdhand/picom-sdhand-9999.ebuild
Normal file
@@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_10 )
|
||||
inherit git-r3 meson python-any-r1 virtualx xdg
|
||||
|
||||
DESCRIPTION="A lightweight compositor for X11 (previously a compton fork)"
|
||||
HOMEPAGE="https://github.com/dccsillag/picom"
|
||||
EGIT_REPO_URI="https://github.com/sdhand/picom.git"
|
||||
|
||||
LICENSE="MPL-2.0 MIT"
|
||||
SLOT="0"
|
||||
IUSE="+config-file dbus +doc +drm opengl pcre test"
|
||||
|
||||
REQUIRED_USE="test? ( dbus )" # avoid "DBus support not compiled in!"
|
||||
RESTRICT="test" # but tests require dbus_next
|
||||
|
||||
RDEPEND="dev-libs/libev
|
||||
dev-libs/uthash
|
||||
x11-libs/libX11
|
||||
x11-libs/libxcb
|
||||
x11-libs/libXext
|
||||
x11-libs/pixman
|
||||
x11-libs/xcb-util-image
|
||||
x11-libs/xcb-util-renderutil
|
||||
config-file? (
|
||||
dev-libs/libconfig:=
|
||||
)
|
||||
dbus? ( sys-apps/dbus )
|
||||
drm? ( x11-libs/libdrm )
|
||||
opengl? ( virtual/opengl )
|
||||
pcre? ( dev-libs/libpcre )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
x11-base/xorg-proto"
|
||||
BDEPEND="virtual/pkgconfig
|
||||
doc? ( app-text/asciidoc )
|
||||
test? ( $(python_gen_any_dep 'dev-python/xcffib[${PYTHON_USEDEP}]') )
|
||||
"
|
||||
|
||||
DOCS=( README.md picom.sample.conf )
|
||||
|
||||
python_check_deps() {
|
||||
has_version -b "dev-python/xcffib[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_use config-file config_file)
|
||||
$(meson_use dbus)
|
||||
$(meson_use doc with_docs)
|
||||
$(meson_use opengl)
|
||||
$(meson_use pcre regex)
|
||||
)
|
||||
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx "${S}/tests/run_tests.sh" "${BUILD_DIR}/src/${PN}"
|
||||
}
|
||||
Reference in New Issue
Block a user