x11-themes/bibata-xcursors: add 1.1.2-r2

Use prebuilt theme, thus we won't need clickgen package anymore.

Signed-off-by: Alexey Zapparov <alexey@zapparov.com>
This commit is contained in:
Alexey Zapparov
2022-06-20 05:07:08 +02:00
parent daf76a3c64
commit 96bf927881
3 changed files with 22 additions and 65 deletions

View File

@@ -1,2 +1 @@
DIST bibata-xcursors-1.1.2-bitmaps.zip 15673671 BLAKE2B 6d0a21b292480afec7f34de4f183c2e4c434b69ba04ae8d87dc30072e9c0cecba753e1652a5dbf93ec0ca6b2d000627a170b5d49afb67986ad0f431a62180e02 SHA512 2c0b8ab793d5896f25fb3fac5876b22895c9faefff8708834deeb60d91e7670af50d362c6c66a3d37763f8615b5d2ca5360c5b067c074a94eaa8be549a14fa9d
DIST bibata-xcursors-1.1.2.tar.gz 102572 BLAKE2B bfe295d15d662423620dcf734a428224012c24cf1bd72ddbb0c80a1a1e971082107a143af4447cd49f7ea1ab6fa4d3b8943deb2261cd5b8cb36a98df26d6b772 SHA512 397f11097bf56cd93ef5da39d3cdec0ef45af20cf691619acdb0747c81104de0fab0fcbbb90c7a09823a7bb070092f9dab880d0cb515cc36198de95cc51fe7a2
DIST bibata-xcursors-1.1.2-r2.tar.gz 26397061 BLAKE2B 4bd1c9a2b8fc1cd636e855e876a9efefac6abc1ad464466000d444d98fbb675fa83beeba9633cfc98cf448e454ac0192793ef832586c186be52f4c5b3fb6427b SHA512 5acc71613fc8d4528d83d50f6e763ffc5645ede306c7f761ea3791bab74afbe2904711aa4ce5b88d204e3a0b074d9d61bef2d5bfa9b4147527c00a6dca9667f9

View File

@@ -1,63 +0,0 @@
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit python-any-r1
MY_PN="Bibata_Cursor"
DESCRIPTION="Opensource, compact, and material-designed cursor set"
HOMEPAGE="https://github.com/ful1e5/Bibata_Cursor"
SRC_URI="
https://github.com/ful1e5/${MY_PN}/archive/v1.1.2.tar.gz -> ${P}.tar.gz
https://github.com/ful1e5/${MY_PN}/releases/download/v${PV}/bitmaps.zip -> ${P}-bitmaps.zip
"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="x11-libs/libXcursor"
BDEPEND="
${RDEPEND}
${PYTHON_DEPS}
$(python_gen_any_dep '
dev-python/clickgen[${PYTHON_USEDEP}]
')
app-arch/unzip
"
S="${WORKDIR}/${MY_PN}-${PV}"
python_check_deps() {
has_version -b "dev-python/clickgen[${PYTHON_USEDEP}]"
}
pkg_setup() {
python-any-r1_pkg_setup
}
src_unpack() {
unpack "${P}.tar.gz"
cd "${S}" || die "Cannot change dir into '${S}'"
mkdir -p bitmaps || die "Cannot create 'bitmaps' directory"
cd bitmaps || "Cannot change dir into '${S}/bitmaps'"
unpack "${P}-bitmaps.zip"
}
src_prepare() {
rm -rf themes || die "Cannot remove 'themes' directory"
eapply_user
}
src_compile() {
cd builder || die "Cannot change dir into '${S}/builder'"
emake build_unix
}
src_install() {
insinto /usr/share/cursors/xorg-x11
doins -r themes/Bibata-{Modern,Original}-{Amber,Classic,Ice}
}

View File

@@ -0,0 +1,21 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Opensource, compact, and material-designed cursor set"
HOMEPAGE="https://github.com/ful1e5/Bibata_Cursor"
SRC_URI="https://github.com/ful1e5/Bibata_Cursor/releases/download/v${PV}/Bibata.tar.gz -> ${P}-r2.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="x11-libs/libXcursor"
S="${WORKDIR}"
src_install() {
insinto /usr/share/cursors/xorg-x11
doins -r Bibata-{Modern,Original}-{Amber,Classic,Ice}
}