Compare commits

...

7 Commits

Author SHA1 Message Date
Alfred Wingate
24fcb0e993
net-misc/ddgr: add pypi upstream metadata
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-01-14 20:26:47 +02:00
Alfred Wingate
f9b9c49c2e
media-gfx/drawing: update upstream metadata
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-01-14 20:26:47 +02:00
Alfred Wingate
174d60df81
net-misc/ddgr: add 2.1, drop unsupported python impl
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-01-14 20:26:47 +02:00
Alfred Wingate
d5d922279c
sys-boot/multibootusb: treeclean
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-01-14 19:45:31 +02:00
Alfred Wingate
bb3d6b3aa9
x11-misc/compton-tryone: treeclean
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-01-14 19:44:35 +02:00
Alfred Wingate
40f70a9a56
media-video/tartube: drop 2.3.0
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-01-14 19:42:51 +02:00
Alfred Wingate
d0a1a16c3f
media-gfx/drawing: drop 0.6.1
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-01-14 19:42:01 +02:00
20 changed files with 68 additions and 607 deletions

View File

@ -1,2 +1 @@
DIST drawing-0.6.1.tar.gz 7708597 BLAKE2B a4fc09c10d2666feb1aa013aec06c7a34fbe2e8422027f157b5d792c8b894a1b2b12cf175c4d9f8f28b7a70b5f3063388b65a02b8d672017c7b59018e934e51c SHA512 7da3329ecb009a7fff32c0c76d9211ef264a6f7f80399835e51b2f08495d84bd5fbaf418fcf4e0c1b0d92fd64cdc07cf962754332896df46bfe04f72244c9d16
DIST drawing-1.0.1.tar.gz 14388196 BLAKE2B a3a1c392b8b33f27d172afd82f7654468799bc888e0e503f7c918b428bee839bf80e0fae461ac85808343dce392ac3856c1c63e352609a22bac32c01b3bdbb6a SHA512 68d1381e56233eded1562aa3632a4ae3e0afb0b2835530cfab8d30c56557d2e04915ef153b7965abe3ba00d603c7b0e354f37c088df382bb4345d55dc3fe7c2e

View File

@ -1,59 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
inherit gnome2-utils meson python-single-r1 xdg
DESCRIPTION="A drawing application for the GNOME desktop"
HOMEPAGE="https://github.com/maoschanz/drawing"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/maoschanz/${PN}.git"
else
SRC_URI="https://github.com/maoschanz/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
RESTRICT="
mirror
test
"
LICENSE="GPL-3"
SLOT="0"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="
${PYTHON_DEPS}
dev-libs/appstream-glib[introspection]
dev-libs/glib
dev-python/pygobject[cairo]
dev-util/desktop-file-utils
"
RDEPEND="
${DEPEND}
"
pkg_preinst() {
gnome2_schemas_savelist
xdg_environment_reset
}
pkg_postinst() {
gnome2_gconf_install
gnome2_schemas_update
xdg_icon_cache_update
xdg_desktop_database_update
xdg_mimeinfo_database_update
}
pkg_postrm() {
gnome2_gconf_uninstall
gnome2_schemas_update
xdg_icon_cache_update
xdg_desktop_database_update
xdg_mimeinfo_database_update
}

View File

@ -6,6 +6,6 @@
<name>Maciej Barć</name>
</maintainer>
<upstream>
<remote-id type="gitlab">maoschanz/drawing</remote-id>
<remote-id type="github">maoschanz/drawing</remote-id>
</upstream>
</pkgmetadata>

View File

@ -1,2 +1 @@
DIST tartube-2.3.0.tar.gz 5517655 BLAKE2B cdcb0f0990bd98fca42e691c3838ed01b34e98fa8bd9ff21426377bbcb94e794d5d5a881aea98bb7df8e961e628bc504fbe4823087eeb13521b71fd26db7eead SHA512 f8f4dbf467f26dca984c9ba9325c53e2d60dbe52dd005560a6991e0b818fc0a7abbe22138e43733a55fcf1e3fe4e5f36ee88f53e85196c35f3b74780771590dc
DIST tartube-2.3.110.tar.gz 5746711 BLAKE2B 9313335bf91b2858f5dc37d30fe0d567f6f143a5edeaaf8261fab7697d4da05b461546deead3f0551a92257b81056464ec96f586dba1d23ef570d01972c4ce8b SHA512 6c0306a1150b657357a1474085b4d24948a9d966554baf47228d76f950290655ff627a33ec2947218a5da388689315f5fbf5f91d157ec5d7d61d1c94c02df921

View File

@ -1,66 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
inherit xdg distutils-r1
DESCRIPTION="A GUI front-end for youtube-dl"
HOMEPAGE="https://tartube.sourceforge.io"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/axcore/${PN}.git"
else
SRC_URI="https://github.com/axcore/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
RESTRICT="mirror"
LICENSE="GPL-3"
SLOT="0"
IUSE="+atomicparsley +ffmpeg"
RDEPEND="
dev-python/pygobject[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
net-misc/youtube-dl
x11-themes/adwaita-icon-theme
atomicparsley? (
media-video/atomicparsley
)
ffmpeg? (
media-video/ffmpeg
)
"
DOCS=(
AUTHORS
CHANGES
README.rst
)
src_prepare() {
export TARTUBE_PKG_STRICT=1
distutils-r1_src_prepare
}
src_install() {
distutils-r1_src_install
}
pkg_postinst() {
xdg_desktop_database_update
xdg_icon_cache_update
elog "You may need to set path to (system) youtube-dl"
elog "in Tartube's System preferences"
}
pkg_postrm() {
xdg_desktop_database_update
xdg_icon_cache_update
}

View File

@ -1,3 +1 @@
DIST ddgr-1.7.tar.gz 43838 BLAKE2B 5cbddd561b80a1e87e950c83e8ee50a9cc94c0426ed088df40a93054ce1ddd14883c633bb4d568af0f88a050784f0ea7814d9ae959278a075bfd4f7ab0aacf0e SHA512 9b07d045baeee6bbaa0a8213d90860f432687f9a0fbc5e424d9df3422897eb12c2c4d1ac210daa41cbb5fd5113148f01e20f276822157d42058872ab4fc70dae
DIST ddgr-1.8.tar.gz 43632 BLAKE2B d87710ed2ea812f61e714462f490c57871c777cbabffb0979774e369fc6d2c3ba88fd3bff0ccab560ff6a1e01defb97b5c3f6f982351da7f5edb19b060e72bd6 SHA512 9b806226e8590d6f9c59d65892db52d0c7431ed210c641183aeed16092f9e553fc5026cfbe4012dad5298ededffdea8a3204bae27031c1b2092e04eb33b1d923
DIST ddgr-1.9.tar.gz 44181 BLAKE2B 5606a862199ec8bf9a0360f00e62d03e858a0574299abde218fb6a1761937b9e9974f8ea9902acab4fbec8e5089f8b7b4c207abc5ec28c252d705ae172d582e6 SHA512 25fb995d32cf19ed1d4493ec463f60db39f4728ffe052dabccb49b721e65250e444bb4cc54f5f41dd1d6365d4e8bd1139277c44a9bd1d39394dec998ccb93b7c
DIST ddgr-2.1.gh.tar.gz 44726 BLAKE2B 534a08a9586feefc4629bfdba0a7a7b5aab5f4da28f13dc1be3c0ec824cece2350d179ca687a7d61534912603480d48142a2aea90bea70b455cbaf9975292cc6 SHA512 8ee2ce4bb5661d7324fe733023f4442a034cc6e247b4ed546ebb188c3218c3aff118b72d697e468d0fbad851497223dafdcd5c24a416e87ab66007ab4be5192d

View File

@ -1,54 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
inherit bash-completion-r1 python-r1
DESCRIPTION="DuckDuckGo from the terminal"
HOMEPAGE="https://github.com/jarun/ddgr"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/jarun/${PN}.git"
else
SRC_URI="https://github.com/jarun/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
RESTRICT="mirror"
LICENSE="GPL-3"
SLOT="0"
IUSE="bash-completion fish-completion zsh-completion"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="
${PYTHON_DEPS}
"
RDEPEND="
${DEPEND}
"
src_install() {
exeinto "/usr/bin"
doexe "${PN}"
doman "${PN}.1"
dodoc CHANGELOG README.md
if use bash-completion
then
newbashcomp auto-completion/bash/${PN}-completion.bash ${PN}
fi
if use fish-completion
then
insinto /usr/share/fish/vendor_completions.d/
doins auto-completion/fish/${PN}.fish
fi
if use zsh-completion
then
insinto /usr/share/zsh/site-functions
doins auto-completion/zsh/_${PN}
fi
}

View File

@ -1,54 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
inherit bash-completion-r1 python-r1
DESCRIPTION="DuckDuckGo from the terminal"
HOMEPAGE="https://github.com/jarun/ddgr"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/jarun/${PN}.git"
else
SRC_URI="https://github.com/jarun/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
RESTRICT="mirror"
LICENSE="GPL-3"
SLOT="0"
IUSE="bash-completion fish-completion zsh-completion"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="
${PYTHON_DEPS}
"
RDEPEND="
${DEPEND}
"
src_install() {
exeinto "/usr/bin"
doexe "${PN}"
doman "${PN}.1"
dodoc CHANGELOG README.md
if use bash-completion
then
newbashcomp auto-completion/bash/${PN}-completion.bash ${PN}
fi
if use fish-completion
then
insinto /usr/share/fish/vendor_completions.d/
doins auto-completion/fish/${PN}.fish
fi
if use zsh-completion
then
insinto /usr/share/zsh/site-functions
doins auto-completion/zsh/_${PN}
fi
}

View File

@ -1,54 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
inherit bash-completion-r1 python-r1
DESCRIPTION="DuckDuckGo from the terminal"
HOMEPAGE="https://github.com/jarun/ddgr"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/jarun/${PN}.git"
else
SRC_URI="https://github.com/jarun/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
RESTRICT="mirror"
LICENSE="GPL-3"
SLOT="0"
IUSE="bash-completion fish-completion zsh-completion"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="
${PYTHON_DEPS}
"
RDEPEND="
${DEPEND}
"
src_install() {
exeinto "/usr/bin"
doexe "${PN}"
doman "${PN}.1"
dodoc CHANGELOG README.md
if use bash-completion
then
newbashcomp auto-completion/bash/${PN}-completion.bash ${PN}
fi
if use fish-completion
then
insinto /usr/share/fish/vendor_completions.d/
doins auto-completion/fish/${PN}.fish
fi
if use zsh-completion
then
insinto /usr/share/zsh/site-functions
doins auto-completion/zsh/_${PN}
fi
}

View File

@ -0,0 +1,41 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
DISTUTILS_SINGLE_IMPL=1
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1 bash-completion-r1
DESCRIPTION="DuckDuckGo from the terminal"
HOMEPAGE="
https://github.com/jarun/ddgr
https://pypi.org/project/ddgr/
"
if [[ "${PV}" == "9999" ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/jarun/ddgr"
else
SRC_URI="https://github.com/jarun/ddgr/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="GPL-3"
SLOT="0"
src_install() {
distutils-r1_src_install
dodoc CHANGELOG README.md
doman ddgr.1
newbashcomp auto-completion/bash/${PN}-completion.bash ${PN}
insinto /usr/share/fish/vendor_completions.d/
doins auto-completion/fish/${PN}.fish
insinto /usr/share/zsh/site-functions
doins auto-completion/zsh/_${PN}
}

View File

@ -1,54 +1,41 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
PYTHON_COMPAT=( python3_{6,7,8} )
inherit bash-completion-r1 python-r1
DISTUTILS_USE_PEP517=setuptools
DISTUTILS_SINGLE_IMPL=1
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1 bash-completion-r1
DESCRIPTION="DuckDuckGo from the terminal"
HOMEPAGE="https://github.com/jarun/ddgr"
HOMEPAGE="
https://github.com/jarun/ddgr
https://pypi.org/project/ddgr/
"
if [[ "${PV}" == *9999* ]]; then
if [[ "${PV}" == "9999" ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/jarun/${PN}.git"
EGIT_REPO_URI="https://github.com/jarun/ddgr"
else
SRC_URI="https://github.com/jarun/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://github.com/jarun/ddgr/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
KEYWORDS="~amd64"
fi
RESTRICT="mirror"
LICENSE="GPL-3"
SLOT="0"
IUSE="bash-completion fish-completion zsh-completion"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="
${PYTHON_DEPS}
"
RDEPEND="
${DEPEND}
"
src_install() {
exeinto "/usr/bin"
doexe "${PN}"
doman "${PN}.1"
dodoc CHANGELOG README.md
if use bash-completion
then
newbashcomp auto-completion/bash/${PN}-completion.bash ${PN}
fi
if use fish-completion
then
insinto /usr/share/fish/vendor_completions.d/
doins auto-completion/fish/${PN}.fish
fi
if use zsh-completion
then
insinto /usr/share/zsh/site-functions
doins auto-completion/zsh/_${PN}
fi
distutils-r1_src_install
dodoc CHANGELOG README.md
doman ddgr.1
newbashcomp auto-completion/bash/${PN}-completion.bash ${PN}
insinto /usr/share/fish/vendor_completions.d/
doins auto-completion/fish/${PN}.fish
insinto /usr/share/zsh/site-functions
doins auto-completion/zsh/_${PN}
}

View File

@ -1,10 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<use>
<flag name="fish-completion">Enable fish completion support</flag>
</use>
<upstream>
<remote-id type="github">jarun/ddgr</remote-id>
<remote-id type="pypi">ddgr</remote-id>
</upstream>
</pkgmetadata>

View File

@ -1 +0,0 @@
DIST multibootusb-9.2.0.tar.gz 14971284 BLAKE2B 5d90e45014a06da78eead98f44897077caff950956aad35ef2708963c32dba3b8fe44ff268b69ca4f39d65a7a7b152397dbf05364c948edef0d8abca9928d8c1 SHA512 461ce6edd835b2a017d96c3987338cd9004894949ac0b121fc289d100b7945dd89970f966e48310b97f312221a2f5a047190c55802d3a07a9eec0bf6ec22356d

View File

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="gitlab">mbusb/multibootusb</remote-id>
</upstream>
</pkgmetadata>

View File

@ -1,37 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{5,6,7,8} )
inherit distutils-r1
DESCRIPTION="Create multiboot live Linux on a USB disk"
HOMEPAGE="http://multibootusb.org"
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/mbusb/multibootusb.git"
else
SRC_URI="https://github.com/mbusb/multibootusb/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
RESTRICT="mirror"
LICENSE="GPL-2"
SLOT="0"
DEPEND="
dev-python/PyQt5[${PYTHON_USEDEP}]
sys-fs/mtools
dev-python/pyudev
sys-apps/util-linux
dev-python/six[${PYTHON_USEDEP}]
"
RDEPEND="${DEPEND}
dev-python/dbus-python[${PYTHON_USEDEP}]
sys-block/parted
app-arch/p7zip
sys-fs/udisks:2
"

View File

@ -1,37 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{5,6,7,8} )
inherit distutils-r1
DESCRIPTION="Create multiboot live Linux on a USB disk"
HOMEPAGE="http://multibootusb.org"
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/mbusb/multibootusb.git"
else
SRC_URI="https://github.com/mbusb/multibootusb/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
RESTRICT="mirror"
LICENSE="GPL-2"
SLOT="0"
DEPEND="
dev-python/PyQt5[${PYTHON_USEDEP}]
sys-fs/mtools
dev-python/pyudev
sys-apps/util-linux
dev-python/six[${PYTHON_USEDEP}]
"
RDEPEND="${DEPEND}
dev-python/dbus-python[${PYTHON_USEDEP}]
sys-block/parted
app-arch/p7zip
sys-fs/udisks:2
"

View File

@ -1 +0,0 @@
DIST compton-tryone-0.1_beta2.tar.gz 144239 BLAKE2B 993c091aa0eab4171740a26c4ea8e9da66368fbcddbbdf9c466dd2cb2dbe0a685dc6c2027a5b56d08df4fd42d21784dd2cbb7cf56869feb1b74b4854db20a5f8 SHA512 c3a019d90e32559d44e3a4969bcc15a15837db9c9519ce8cc70b1bd3d0cb16d29449f68cc2f6a8d834569c9620ec6533ab85c1586da957c69b1ae341d9584535

View File

@ -1,90 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{5,6,7,8} )
inherit toolchain-funcs python-r1
DESCRIPTION="A compositor for X, branch with dual kawase blur"
HOMEPAGE="https://github.com/tryone144/compton"
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/tryone144/compton"
else
SRC_URI="https://github.com/tryone144/compton/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
RESTRICT="mirror"
LICENSE="MIT"
SLOT="0"
IUSE="dbus +drm opengl +pcre xinerama"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
COMMON_DEPEND="
${PYTHON_DEPS}
dev-libs/libconfig
x11-libs/libX11
x11-libs/libXcomposite
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXrandr
x11-libs/libXrender
dbus? ( sys-apps/dbus )
opengl? ( virtual/opengl )
pcre? ( dev-libs/libpcre:3 )
xinerama? ( x11-libs/libXinerama )
"
RDEPEND="
${COMMON_DEPEND}
!x11-misc/compton
x11-apps/xprop
x11-apps/xwininfo
"
DEPEND="
${COMMON_DEPEND}
app-text/asciidoc
virtual/pkgconfig
x11-base/xorg-proto
drm? ( x11-libs/libdrm )
"
if [[ ${PV} != *9999* ]]; then
S="${WORKDIR}/compton-${PV}"
fi
nobuildit() {
use $1 || echo yes
}
pkg_setup() {
if [[ ${MERGE_TYPE} != binary ]]; then
tc-export CC
fi
}
src_compile() {
emake docs
NO_DBUS=$(nobuildit dbus) \
NO_XINERAMA=$(nobuildit xinerama) \
NO_VSYNC_DRM=$(nobuildit drm) \
NO_VSYNC_OPENGL=$(nobuildit opengl) \
NO_REGEX_PCRE=$(nobuildit pcre) \
emake compton
}
src_install() {
NO_DBUS=$(nobuildit dbus) \
NO_VSYNC_DRM=$(nobuildit drm) \
NO_VSYNC_OPENGL=$(nobuildit opengl) \
NO_REGEX_PCRE=$(nobuildit pcre) \
default
docinto examples
dodoc compton.sample.conf dbus-examples/*
python_foreach_impl python_newscript bin/compton-convgen.py compton-convgen
}

View File

@ -1,90 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{5,6,7,8} )
inherit toolchain-funcs python-r1
DESCRIPTION="A compositor for X, branch with dual kawase blur"
HOMEPAGE="https://github.com/tryone144/compton"
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/tryone144/compton"
else
SRC_URI="https://github.com/tryone144/compton/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
RESTRICT="mirror"
LICENSE="MIT"
SLOT="0"
IUSE="dbus +drm opengl +pcre xinerama"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
COMMON_DEPEND="
${PYTHON_DEPS}
dev-libs/libconfig
x11-libs/libX11
x11-libs/libXcomposite
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXrandr
x11-libs/libXrender
dbus? ( sys-apps/dbus )
opengl? ( virtual/opengl )
pcre? ( dev-libs/libpcre:3 )
xinerama? ( x11-libs/libXinerama )
"
RDEPEND="
${COMMON_DEPEND}
!x11-misc/compton
x11-apps/xprop
x11-apps/xwininfo
"
DEPEND="
${COMMON_DEPEND}
app-text/asciidoc
virtual/pkgconfig
x11-base/xorg-proto
drm? ( x11-libs/libdrm )
"
if [[ ${PV} != *9999* ]]; then
S="${WORKDIR}/compton-${PV}"
fi
nobuildit() {
use $1 || echo yes
}
pkg_setup() {
if [[ ${MERGE_TYPE} != binary ]]; then
tc-export CC
fi
}
src_compile() {
emake docs
NO_DBUS=$(nobuildit dbus) \
NO_XINERAMA=$(nobuildit xinerama) \
NO_VSYNC_DRM=$(nobuildit drm) \
NO_VSYNC_OPENGL=$(nobuildit opengl) \
NO_REGEX_PCRE=$(nobuildit pcre) \
emake compton
}
src_install() {
NO_DBUS=$(nobuildit dbus) \
NO_VSYNC_DRM=$(nobuildit drm) \
NO_VSYNC_OPENGL=$(nobuildit opengl) \
NO_REGEX_PCRE=$(nobuildit pcre) \
default
docinto examples
dodoc compton.sample.conf dbus-examples/*
python_foreach_impl python_newscript bin/compton-convgen.py compton-convgen
}

View File

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<use>
<flag name="drm">Enable VSync with DRM_IOCTL_WAIT_VBLANK</flag>
<flag name="opengl">Enable VSync with SGI_swap_control OpenGL extension</flag>
</use>
<upstream>
<remote-id type="github">tryone144/compton</remote-id>
</upstream>
</pkgmetadata>