diff options
author | Leo <thinkabit.ukim@gmail.com> | 2020-04-21 20:50:03 -0300 |
---|---|---|
committer | TBK <tbk@jjtc.eu> | 2020-04-25 21:40:41 +0000 |
commit | c4ad942d3e9c744ee8f2c925c9cda244457703bd (patch) | |
tree | 796b888b84661da9d3df7032bca40e850a3bd649 /testing/materia-gtk-theme | |
parent | 832ecb5f5dcb779d1eaf7efd848b8d58465969cc (diff) | |
download | aports-c4ad942d3e9c744ee8f2c925c9cda244457703bd.tar.bz2 aports-c4ad942d3e9c744ee8f2c925c9cda244457703bd.tar.xz |
testing/materia-gtk-theme: upgrade to 20200422
Diffstat (limited to 'testing/materia-gtk-theme')
-rw-r--r-- | testing/materia-gtk-theme/APKBUILD | 90 |
1 files changed, 78 insertions, 12 deletions
diff --git a/testing/materia-gtk-theme/APKBUILD b/testing/materia-gtk-theme/APKBUILD index 4c69461d9d..f9c853d5ab 100644 --- a/testing/materia-gtk-theme/APKBUILD +++ b/testing/materia-gtk-theme/APKBUILD @@ -1,60 +1,77 @@ # Contributor: Leo <thinkabit.ukim@gmail.com> # Maintainer: Leo <thinkabit.ukim@gmail.com> pkgname=materia-gtk-theme -pkgver=20200320 +pkgver=20200422 +_commit=b36b379c9256b67e5f63a60c6faf6912f1845b66 pkgrel=0 pkgdesc="Material Design theme for GNOME/GTK desktops" options="!check" # It is a theme url="https://github.com/nana-4/materia-theme" arch="noarch !s390x !mips !mips64" license="GPL-2.0-only" -depends="gnome-themes-extra gtk-murrine-engine" -makedepends="bash sassc" +makedepends="meson sassc" subpackages=" materia:_materia:noarch materia-gtk3:_gtk3:noarch materia-gtk2:_gtk2:noarch materia-gnome-shell:_gnome_shell:noarch materia-chromium:_chromium:noarch + + materia-compact:_materia_compact:noarch + materia-compact-gtk3:_gtk3_compact:noarch + materia-compact-gtk2:_gtk2_compact:noarch + materia-compact-gnome-shell:_gnome_shell_compact:noarch + materia-compact-chromium:_chromium_compact:noarch + materia-dark:_dark:noarch materia-dark-gtk3:_dark_gtk3:noarch materia-dark-gtk2:_dark_gtk2:noarch materia-dark-gnome-shell:_dark_gnome_shell:noarch materia-dark-chromium:_dark_chromium:noarch + materia-dark-compact:_dark_compact:noarch materia-dark-compact-gtk3:_dark_compact_gtk3:noarch materia-dark-compact-gtk2:_dark_compact_gtk2:noarch materia-dark-compact-gnome-shell:_dark_compact_gnome_shell:noarch materia-dark-compact-chromium:_dark_compact_chromium:noarch " -source="$pkgname-$pkgver.tar.gz::https://github.com/nana-4/materia-theme/archive/v$pkgver.tar.gz" -builddir="$srcdir/materia-theme-$pkgver" +source="$pkgname-$_commit.tar.gz::https://github.com/nana-4/materia-theme/archive/$_commit.tar.gz" +builddir="$srcdir/materia-theme-$_commit" + +build() { + meson \ + --prefix=/usr \ + --buildtype=plain \ + -Dgnome_shell_version=3.36 \ + . output + ninja -C output +} package() { - install -dm0755 "$pkgdir"/usr/share/themes - ./install.sh -d "$pkgdir"/usr/share/themes + DESTDIR="$pkgdir" ninja -C output install rm -rf "$pkgdir"/usr/share/themes/*/xfwm4 rm -rf "$pkgdir"/usr/share/themes/*/cinnamon rm -rf "$pkgdir"/usr/share/themes/*/plank rm -rf "$pkgdir"/usr/share/themes/*/unity rm -rf "$pkgdir"/usr/share/themes/*/metacity-1 + rm -rf "$pkgdir"/usr/share/themes/*/COPYING # Remove those and make a package for them if you want # and make a merge request in the Alpine Linux gitlab - rm -rf "$pkgdir"/usr/share/themes/Materia-compact rm -rf "$pkgdir"/usr/share/themes/Materia-light-compact rm -rf "$pkgdir"/usr/share/themes/Materia-light } _dark_compact() { pkgdesc="Dark compact version of Materia" - amove usr/share/themes/Materia-dark-compact/gtk-assets + depends="gnome-themes-extra gtk-murrine-engine" amove usr/share/themes/Materia-dark-compact/index.theme } _dark_compact_gtk3() { pkgdesc="GTK+3.0 assets for dark compact version of Materia" + depends="" install_if="materia-dark-compact=$pkgver-r$pkgrel gtk+3.0" amove usr/share/themes/Materia-dark-compact/gtk-3.0 @@ -62,6 +79,7 @@ _dark_compact_gtk3() { _dark_compact_gtk2() { pkgdesc="GTK+2.0 assets for dark compact version of Materia" + depends="" install_if="materia-dark-compact=$pkgver-r$pkgrel gtk+2.0" amove usr/share/themes/Materia-dark-compact/gtk-2.0 @@ -69,6 +87,7 @@ _dark_compact_gtk2() { _dark_compact_gnome_shell() { pkgdesc="GNOME Shell assets for dark compact version of Materia" + depends="" install_if="materia-dark-compact=$pkgver-r$pkgrel gnome-shell" amove usr/share/themes/Materia-dark-compact/gnome-shell @@ -76,6 +95,7 @@ _dark_compact_gnome_shell() { _dark_compact_chromium() { pkgdesc="Chromium theme based on dark compact version of Materia" + depends="" install_if="materia-dark-compact=$pkgver-r$pkgrel chromium" amove usr/share/themes/Materia-dark-compact/chrome @@ -83,12 +103,13 @@ _dark_compact_chromium() { _dark() { pkgdesc="Dark version of Materia" - amove usr/share/themes/Materia-dark/gtk-assets + depends="gnome-themes-extra gtk-murrine-engine" amove usr/share/themes/Materia-dark/index.theme } _dark_gtk3() { pkgdesc="GTK+3.0 assets for dark version of Materia" + depends="" install_if="materia-dark=$pkgver-r$pkgrel gtk+3.0" amove usr/share/themes/Materia-dark/gtk-3.0 @@ -96,6 +117,7 @@ _dark_gtk3() { _dark_gtk2() { pkgdesc="GTK+2.0 assets for dark version of Materia" + depends="" install_if="materia-dark=$pkgver-r$pkgrel gtk+2.0" amove usr/share/themes/Materia-dark/gtk-2.0 @@ -103,6 +125,7 @@ _dark_gtk2() { _dark_gnome_shell() { pkgdesc="GNOME Shell assets for dark version of Materia" + depends="" install_if="materia-dark=$pkgver-r$pkgrel gnome-shell" amove usr/share/themes/Materia-dark/gnome-shell @@ -110,6 +133,7 @@ _dark_gnome_shell() { _dark_chromium() { pkgdesc="Chromium theme based on dark version of Materia" + depends="" install_if="materia-dark=$pkgver-r$pkgrel chromium" amove usr/share/themes/Materia-dark/chrome @@ -117,12 +141,13 @@ _dark_chromium() { _materia() { pkgdesc="Materia theme" - amove usr/share/themes/Materia/gtk-assets + depends="gnome-themes-extra gtk-murrine-engine" amove usr/share/themes/Materia/index.theme } _gtk3() { pkgdesc="GTK+3.0 assets for Materia" + depends="" install_if="materia=$pkgver-r$pkgrel gtk+3.0" amove usr/share/themes/Materia/gtk-3.0 @@ -130,6 +155,7 @@ _gtk3() { _gtk2() { pkgdesc="GTK+2.0 assets for Materia" + depends="" install_if="materia=$pkgver-r$pkgrel gtk+2.0" amove usr/share/themes/Materia/gtk-2.0 @@ -137,6 +163,7 @@ _gtk2() { _gnome_shell() { pkgdesc="GNOME Shell assets for Materia" + depends="" install_if="materia=$pkgver-r$pkgrel gnome-shell" amove usr/share/themes/Materia/gnome-shell @@ -144,8 +171,47 @@ _gnome_shell() { _chromium() { pkgdesc="Chromium theme based on Materia" + depends="" install_if="materia=$pkgver-r$pkgrel chromium" amove usr/share/themes/Materia/chrome } -sha512sums="c4179fb1f2e3e86f883d5f526d820c526c57766b7d1e0d0098d18c76193cb7977974862999b200e8f0263570d196aeece9239e1d97c7c7691526c7ee975d0f9c materia-gtk-theme-20200320.tar.gz" + +_materia_compact() { + pkgdesc="Compact Materia theme" + depends="gnome-themes-extra gtk-murrine-engine" + amove usr/share/themes/Materia-compact/index.theme +} + +_gtk3_compact() { + pkgdesc="GTK+3.0 assets for compact Materia" + depends="" + install_if="materia-compact=$pkgver-r$pkgrel gtk+3.0" + + amove usr/share/themes/Materia-compact/gtk-3.0 +} + +_gtk2_compact() { + pkgdesc="GTK+2.0 assets for compact Materia" + depends="" + install_if="materia-compact=$pkgver-r$pkgrel gtk+2.0" + + amove usr/share/themes/Materia-compact/gtk-2.0 +} + +_gnome_shell_compact() { + pkgdesc="GNOME Shell assets for compact Materia" + depends="" + install_if="materia-compact=$pkgver-r$pkgrel gnome-shell" + + amove usr/share/themes/Materia-compact/gnome-shell +} + +_chromium_compact() { + pkgdesc="Chromium theme based on compact Materia" + depends="" + install_if="materia-compact=$pkgver-r$pkgrel chromium" + + amove usr/share/themes/Materia-compact/chrome +} +sha512sums="136372f07be77a9a682a6194d9a9f4f5c686db27250ad6d4e4777261bf04f4986fc0dfcf6835514824b1b4ac3f078bb147a210064196fac85931e3d90760e6c7 materia-gtk-theme-b36b379c9256b67e5f63a60c6faf6912f1845b66.tar.gz" |