[arch-commits] Commit in rmlint/repos (3 files)

Massimiliano Torromeo mtorromeo at archlinux.org
Fri Jul 26 18:33:06 UTC 2019


    Date: Friday, July 26, 2019 @ 18:33:05
  Author: mtorromeo
Revision: 492960

archrelease: copy trunk to community-staging-x86_64

Added:
  rmlint/repos/community-staging-x86_64/
  rmlint/repos/community-staging-x86_64/PKGBUILD
    (from rev 492959, rmlint/trunk/PKGBUILD)
  rmlint/repos/community-staging-x86_64/no-sse4.patch
    (from rev 492959, rmlint/trunk/no-sse4.patch)

---------------+
 PKGBUILD      |   53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 no-sse4.patch |   16 ++++++++++++++++
 2 files changed, 69 insertions(+)

Copied: rmlint/repos/community-staging-x86_64/PKGBUILD (from rev 492959, rmlint/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-07-26 18:33:05 UTC (rev 492960)
@@ -0,0 +1,53 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: Blisfull <narthana.epa at gmail.com>
+# Contributor: SahibBommelig <sahib at online.de>
+
+pkgbase=rmlint
+pkgname=(rmlint rmlint-shredder)
+pkgver=2.8.0
+pkgrel=3
+url="https://github.com/sahib/rmlint"
+license=('GPL3')
+arch=('x86_64')
+makedepends=('scons' 'python-sphinx' 'gettext' 'sqlite' 'libutil-linux'
+             'binutils' 'json-glib' 'libelf' 'python-gobject' 'python-cairo'
+             'dconf' 'gtksourceview3' 'librsvg' 'desktop-file-utils' 'python-requests')
+source=("https://github.com/sahib/rmlint/archive/v$pkgver/$pkgbase-$pkgver.tar.gz"
+        "no-sse4.patch")
+sha256sums=('196bb595ac4d3d1a76ed62542b7895bda1cea47f0f77483286b2dfc8fc797253'
+            '634386ee36022f0ebbb4750a7fbc8475eb2be8e36bee051f7e5878ea09b791f1')
+
+prepare() {
+    cd "$srcdir"/$pkgbase-$pkgver
+    sed 's/python4/python/' -i gui/SConscript
+    patch -p1 -i "$srcdir"/no-sse4.patch
+}
+
+build() {
+    cd "$srcdir"/$pkgbase-$pkgver
+    scons config
+    scons -j4 DEBUG=1 --prefix="$pkgdir"/usr --actual-prefix=/usr
+}
+
+package_rmlint() {
+    pkgdesc="Tool to remove duplicates and other lint, being much faster than fdupes"
+    depends=('sqlite' 'libutil-linux' 'binutils' 'json-glib' 'libelf')
+
+    cd "$srcdir"/$pkgbase-$pkgver
+    scons DEBUG=1 --prefix="$pkgdir"/usr install --actual-prefix=/usr
+
+    rm -rf "$pkgdir"/usr/share/{glib-2.0,icons,applications}
+    rm -rf "$pkgdir"/usr/lib
+}
+
+package_rmlint-shredder() {
+    pkgdesc="Graphical user interface for rmlint"
+    depends=('rmlint' 'python-gobject' 'python-cairo' 'dconf' 'librsvg'
+             'gtksourceview3' 'xdg-utils')
+
+    cd "$srcdir"/$pkgbase-$pkgver
+    scons DEBUG=1 --prefix="$pkgdir"/usr install --actual-prefix=/usr
+
+    rm -rf "$pkgdir"/usr/{bin,share/locale,share/man}
+    rm "$pkgdir"/usr/share/glib-2.0/schemas/gschemas.compiled
+}

Copied: rmlint/repos/community-staging-x86_64/no-sse4.patch (from rev 492959, rmlint/trunk/no-sse4.patch)
===================================================================
--- community-staging-x86_64/no-sse4.patch	                        (rev 0)
+++ community-staging-x86_64/no-sse4.patch	2019-07-26 18:33:05 UTC (rev 492960)
@@ -0,0 +1,16 @@
+diff --git a/SConstruct b/SConstruct
+index 81d54a4..66cc632 100755
+--- a/SConstruct
++++ b/SConstruct
+@@ -661,10 +661,7 @@ if conf.env['IS_CYGWIN']:
+ else:
+     conf.env.Append(CCFLAGS=['-fPIC'])
+ 
+-# check _mm_crc32_u64 (SSE4.2) support:
+-conf.check_mm_crc32_u64()
+-if conf.env['HAVE_MM_CRC32_U64']:
+-    conf.env.Append(CCFLAGS=['-msse4.2'])
++conf.env['HAVE_MM_CRC32_U64'] = False
+ 
+ if 'clang' in os.path.basename(conf.env['CC']):
+     conf.env.Append(CCFLAGS=['-fcolor-diagnostics'])  # Colored warnings



More information about the arch-commits mailing list