[arch-commits] Commit in cinnamon-control-center/repos/community-x86_64 (2 files)

Eli Schwartz eschwartz at archlinux.org
Thu Apr 19 19:04:31 UTC 2018


    Date: Thursday, April 19, 2018 @ 19:04:30
  Author: eschwartz
Revision: 317069

archrelease: copy trunk to community-x86_64

Added:
  cinnamon-control-center/repos/community-x86_64/PKGBUILD
    (from rev 317068, cinnamon-control-center/trunk/PKGBUILD)
Deleted:
  cinnamon-control-center/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   98 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 54 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-04-19 19:04:12 UTC (rev 317068)
+++ PKGBUILD	2018-04-19 19:04:30 UTC (rev 317069)
@@ -1,44 +0,0 @@
-# $Id$
-# Maintainer: Alexandre Filgueira <alexfilgueira at cinnarch.com>
-# Based on gnome-control-center:
-# Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Jan de Groot <jgc at archlinux.org>
-
-pkgname=cinnamon-control-center
-pkgver=3.6.5
-pkgrel=1
-pkgdesc="The Control Center for Cinnamon"
-arch=('x86_64')
-depends=('cinnamon-settings-daemon' 'cinnamon-translations' 'cinnamon-menus'
-         'libgnomekbd'  'libmm-glib' 'nm-connection-editor' 'colord' 'gnome-online-accounts')
-optdepends=('gnome-color-manager: for color management tasks')
-makedepends=('intltool' 'gnome-common' 'docbook-xsl')
-url="https://github.com/linuxmint/cinnamon-control-center"
-license=('GPL')
-options=('!emptydirs')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/cinnamon-control-center/archive/$pkgver.tar.gz")
-sha256sums=('298daf3f0f01af11b63a57c59f0ee62cc0cb16a12b498bdd45fd92e6d32754aa')
-
-build() {
-  cd $pkgname-$pkgver
-
-  ./autogen.sh --prefix=/usr --sysconfdir=/etc \
-      --localstatedir=/var --enable-systemd
-
-  #https://bugzilla.gnome.org/show_bug.cgi?id=656229
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/    if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/      func_append compile_command " -Wl,-O1,--as-needed"\n      func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver
-
-  make DESTDIR="$pkgdir" install
-
-  # Remove unused stuff
-  make -C shell DESTDIR="$pkgdir" uninstall-binPROGRAMS uninstall-directoryDATA uninstall-uiDATA
-  rm "$pkgdir"/usr/share/applications/cinnamon-{control-center,region-panel}.desktop
-  rm -R "$pkgdir/etc"
-
-  install -d -o root -g 102 -m 750 "$pkgdir/usr/share/polkit-1/rules.d"
-}

Copied: cinnamon-control-center/repos/community-x86_64/PKGBUILD (from rev 317068, cinnamon-control-center/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-04-19 19:04:30 UTC (rev 317069)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+# Contributor: Alexandre Filgueira <alexfilgueira at cinnarch.com>
+# Based on gnome-control-center:
+# Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Jan de Groot <jgc at archlinux.org>
+
+pkgname=cinnamon-control-center
+pkgver=3.8.0
+pkgrel=1
+pkgdesc="The Control Center for Cinnamon"
+arch=('x86_64')
+url="https://github.com/linuxmint/${pkgname}"
+license=('GPL')
+depends=('cinnamon-settings-daemon' 'cinnamon-menus' 'colord'
+         'libgnomekbd' 'libmm-glib' 'nm-connection-editor')
+optdepends=('cinnamon-translations: i18n'
+            'gnome-color-manager: for color management tasks'
+            'gnome-online-accounts: for the online accounts module')
+makedepends=('docbook-xsl' 'gnome-common' 'gnome-online-accounts' 'intltool')
+options=('!emptydirs')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
+sha256sums=('7e839b2ca42aec23a47a844f8ba48f8846eabe19ccc9fa1aaeae4a9f742e87df')
+
+prepare() {
+    cd "${srcdir}"/${pkgname}-${pkgver}
+
+    NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+    cd "${srcdir}"/${pkgname}-${pkgver}
+
+    ./configure --prefix=/usr \
+                --sysconfdir=/etc \
+                --localstatedir=/var \
+                --enable-systemd
+
+    #https://bugzilla.gnome.org/show_bug.cgi?id=656229
+    sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/    if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/      func_append compile_command " -Wl,-O1,--as-needed"\n      func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
+    make
+}
+
+package() {
+    cd "${srcdir}"/${pkgname}-${pkgver}
+
+    # https://github.com/linuxmint/Cinnamon/pull/7382#issuecomment-374894901
+    # /usr/bin/cinnamon-control-center is not meant for users, it is a development troubleshooting tool.
+    # Just install the shell libs/headers.
+    make -C shell  DESTDIR="${pkgdir}" install-{libcinnamon_control_center_includeHEADERS,libLTLIBRARIES,pkgconfigDATA}
+    make -C panels DESTDIR="${pkgdir}" install
+
+    install -d -o root -g 102 -m 750 "${pkgdir}"/usr/share/polkit-1/rules.d
+}



More information about the arch-commits mailing list