mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
community/inkscape: add theme subpackages
This commit is contained in:
parent
7c70b8aa68
commit
8b57026beb
@ -3,7 +3,7 @@ pkgname=inkscape
|
||||
pkgver=1.3.2
|
||||
_pkgdate=2023-11-25
|
||||
_pkgcommit=091e20ef0f
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Vector-based drawing program - svg compliant"
|
||||
url="https://inkscape.org/"
|
||||
arch="all"
|
||||
@ -53,6 +53,10 @@ subpackages="
|
||||
$pkgname-lang
|
||||
$pkgname-view
|
||||
$pkgname-bash-completion
|
||||
$pkgname-minwaita::noarch
|
||||
$pkgname-icon-theme-tango:_icon_theme:noarch
|
||||
$pkgname-icon-theme-hicolor:_icon_theme:noarch
|
||||
$pkgname-icon-theme-multicolor:_icon_theme:noarch
|
||||
"
|
||||
source="https://media.inkscape.org/dl/resources/file/inkscape-$pkgver.tar.xz"
|
||||
options="!check" # take extremely long and use absurd amounts of memory
|
||||
@ -104,6 +108,26 @@ tutorials() {
|
||||
amove usr/share/inkscape/tutorials
|
||||
}
|
||||
|
||||
minwaita() {
|
||||
depends=
|
||||
pkgdesc="$pkgdesc (minwaita theme)"
|
||||
install_if="$pkgname=$pkgver-r$pkgrel"
|
||||
|
||||
amove usr/share/inkscape/themes/Minwaita-Inkscape
|
||||
}
|
||||
|
||||
_icon_theme() {
|
||||
name="${subpkgname#"$pkgname"-icon-theme-}"
|
||||
depends=
|
||||
pkgdesc="$pkgdesc ($name icon theme)"
|
||||
install_if="$pkgname=$pkgver-r$pkgrel"
|
||||
|
||||
case "$name" in
|
||||
tango) name=Tango;;
|
||||
esac
|
||||
amove usr/share/inkscape/icons/"$name"
|
||||
}
|
||||
|
||||
libinkscape_base() {
|
||||
pkgdesc="base libinkscape_base.so to share with inkview"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user