[arch-commits] Commit in arc-gtk-theme/repos/community-any (3 files)
Bruno Pagani
archange at archlinux.org
Wed Jul 5 09:52:21 UTC 2017
Date: Wednesday, July 5, 2017 @ 09:52:20
Author: archange
Revision: 242390
archrelease: copy trunk to community-any
Added:
arc-gtk-theme/repos/community-any/PKGBUILD
(from rev 242389, arc-gtk-theme/trunk/PKGBUILD)
arc-gtk-theme/repos/community-any/change-solid-theme-path.patch
(from rev 242389, arc-gtk-theme/trunk/change-solid-theme-path.patch)
Deleted:
arc-gtk-theme/repos/community-any/PKGBUILD
-------------------------------+
PKGBUILD | 103 +++++++++++++++++++++-------------------
change-solid-theme-path.patch | 28 ++++++++++
2 files changed, 83 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-07-05 09:52:10 UTC (rev 242389)
+++ PKGBUILD 2017-07-05 09:52:20 UTC (rev 242390)
@@ -1,48 +0,0 @@
-# Maintainer: NicoHood <archlinux {cat} nicohood {dog} de>
-# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161
-# Contributor: zach <zach {at} zach-adams {dot} com>
-# Contributor: Gordian Edenhofer <gordian.edenhofer[at]yahoo[dot]de
-# Contributor: Philipp Wolfer <ph.wolfer at gmail.com>
-
-pkgbase=arc-gtk-theme
-_pkgname=arc-theme
-pkgname=('arc-gtk-theme' 'arc-solid-gtk-theme')
-pkgver=20170302
-pkgrel=3
-arch=('any')
-url="https://github.com/horst3180/${_pkgname}"
-license=('GPL3')
-makedepends=('gtk3')
-optdepends=('arc-icon-theme: recommended icon theme'
- 'gtk-engine-murrine: for gtk2 themes'
- 'gnome-themes-standard: for gtk2 themes')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/horst3180/${_pkgname}/archive/${pkgver}.tar.gz"
- "${pkgname}-${pkgver}.tar.gz.sig::https://github.com/horst3180/${_pkgname}/releases/download/${pkgver}/${_pkgname}-${pkgver}.tar.gz.asc")
-validpgpkeys=('A46FD8E741A2A075898462CDC57DFF0D28DAAE97')
-sha512sums=('99408a7c4db2bd2d81453e308ae5d9bc9bfda4f11e57191936f985de2937debff76c4d1f37a97ac8f5ad3751401ee8ad02457e4558b9c4aedc2bfeba1736ef03'
- 'SKIP')
-
-build() {
- cd "${_pkgname}-$pkgver"
- ./autogen.sh --prefix=/usr
-}
-
-package_arc-gtk-theme() {
- pkgdesc="A flat theme with transparent elements for GTK 3, GTK 2 and Gnome-Shell"
- replaces=('gtk-theme-arc')
-
- cd "${_pkgname}-$pkgver"
- ./configure --prefix=/usr
- make DESTDIR="${pkgdir}" install
-}
-
-package_arc-solid-gtk-theme() {
- pkgdesc="A flat theme for GTK 3, GTK 2 and Gnome-Shell (without transparency)"
- conflicts=('arc-gtk-theme' 'gtk-theme-arc')
- provides=('arc-gtk-theme')
- replaces=('gtk-theme-arc-solid')
-
- cd "${_pkgname}-$pkgver"
- ./configure --prefix=/usr --disable-transparency
- make DESTDIR="${pkgdir}" install
-}
Copied: arc-gtk-theme/repos/community-any/PKGBUILD (from rev 242389, arc-gtk-theme/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-07-05 09:52:20 UTC (rev 242390)
@@ -0,0 +1,55 @@
+# Maintainer: NicoHood <archlinux {cat} nicohood {dog} de>
+# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161
+# Contributor: zach <zach {at} zach-adams {dot} com>
+# Contributor: Gordian Edenhofer <gordian.edenhofer[at]yahoo[dot]de
+# Contributor: Philipp Wolfer <ph.wolfer at gmail.com>
+
+pkgbase=arc-gtk-theme
+_pkgname=arc-theme
+pkgname=('arc-gtk-theme' 'arc-solid-gtk-theme')
+pkgver=20170302
+pkgrel=4
+arch=('any')
+url="https://github.com/horst3180/${_pkgname}"
+license=('GPL3')
+optdepends=('arc-icon-theme: recommended icon theme'
+ 'gtk-engine-murrine: for gtk2 themes'
+ 'gnome-themes-standard: for gtk2 themes')
+makedepends=('gtk3')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz"
+ "${pkgname}-${pkgver}.tar.gz.sig::${url}/releases/download/${pkgver}/${_pkgname}-${pkgver}.tar.gz.asc"
+ 'change-solid-theme-path.patch')
+sha512sums=('99408a7c4db2bd2d81453e308ae5d9bc9bfda4f11e57191936f985de2937debff76c4d1f37a97ac8f5ad3751401ee8ad02457e4558b9c4aedc2bfeba1736ef03'
+ 'SKIP'
+ '5b1ca739206e386cb4bf1f2f0a9524a08f2590972126cc96ef7c2e56ca59e94136cf7f8dc8184cd1c688a488e5e96384d654e279778f93e8f34860f7281afff9')
+validpgpkeys=('A46FD8E741A2A075898462CDC57DFF0D28DAAE97')
+
+prepare() {
+ cp -a ${_pkgname}-${pkgver}{,-solid}
+ cd ${_pkgname}-${pkgver}-solid
+ patch -p1 -i ../change-solid-theme-path.patch
+}
+
+build() {
+ cd ${_pkgname}-${pkgver}
+ ./autogen.sh --prefix=/usr
+
+ cd ../${_pkgname}-${pkgver}-solid
+ ./autogen.sh --prefix=/usr --disable-transparency
+}
+
+package_arc-gtk-theme() {
+ pkgdesc="A flat theme with transparent elements for GTK 3, GTK 2 and Gnome-Shell"
+ replaces=('gtk-theme-arc')
+
+ cd ${_pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+}
+
+package_arc-solid-gtk-theme() {
+ pkgdesc="A flat theme for GTK 3, GTK 2 and Gnome-Shell (without transparency)"
+ replaces=('gtk-theme-arc-solid')
+
+ cd ${_pkgname}-${pkgver}-solid
+ make DESTDIR="${pkgdir}" install
+}
Copied: arc-gtk-theme/repos/community-any/change-solid-theme-path.patch (from rev 242389, arc-gtk-theme/trunk/change-solid-theme-path.patch)
===================================================================
--- change-solid-theme-path.patch (rev 0)
+++ change-solid-theme-path.patch 2017-07-05 09:52:20 UTC (rev 242390)
@@ -0,0 +1,28 @@
+From 7b1d4f3fb9635c21abc4221c008cfa9849fe53ff Mon Sep 17 00:00:00 2001
+From: Patrick Griffis <tingping at tingping.se>
+Date: Wed, 10 May 2017 17:38:54 -0400
+Subject: [PATCH] Append solid suffix to non-transparent variant
+
+This allows distributions to easily pacakge both without conflicts.
+This will also help with Flatpak being able to match the host theme.
+---
+ common/Makefile.am | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/common/Makefile.am b/common/Makefile.am
+index 0421c5de1..58f54d840 100644
+--- a/common/Makefile.am
++++ b/common/Makefile.am
+@@ -1,6 +1,12 @@
++if !ENABLE_TRANSPARENCY
++themedir = $(datadir)/themes/Arc-solid
++themedarkerdir = $(datadir)/themes/Arc-Darker-solid
++themedarkdir = $(datadir)/themes/Arc-Dark-solid
++else
+ themedir = $(datadir)/themes/Arc
+ themedarkerdir = $(datadir)/themes/Arc-Darker
+ themedarkdir = $(datadir)/themes/Arc-Dark
++endif
+
+ ithemedir = $(DESTDIR)$(themedir)
+ ithemedarkerdir = $(DESTDIR)$(themedarkerdir)
More information about the arch-commits
mailing list