[arch-commits] Commit in nemo-extensions/trunk (PKGBUILD)

Eli Schwartz eschwartz at archlinux.org
Wed Jun 2 05:34:17 UTC 2021


    Date: Wednesday, June 2, 2021 @ 05:34:16
  Author: eschwartz
Revision: 953141

upgpkg: nemo-extensions 5.0.0-1: upstream release

All the autotools builds are ported to meson now.

Modified:
  nemo-extensions/trunk/PKGBUILD

----------+
 PKGBUILD |   56 ++++++++++++++------------------------------------------
 1 file changed, 14 insertions(+), 42 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-02 01:16:16 UTC (rev 953140)
+++ PKGBUILD	2021-06-02 05:34:16 UTC (rev 953141)
@@ -17,14 +17,14 @@
         #'nemo-media-columns'
         #'nemo-pastebin'
         #'nemo-repairer'
-pkgver=4.8.0
-pkgrel=2
+pkgver=5.0.0
+pkgrel=1
 pkgdesc="Various extensions for Nemo"
 arch=('x86_64')
 license=('GPL2')
 url="https://github.com/linuxmint/nemo-extensions"
 depends=('nemo')
-_preview_deps=('cjs' 'clutter-gtk' 'clutter-gst' 'libmusicbrainz5' 'gtksourceview3' 'xreader')
+_preview_deps=('cjs' 'clutter-gtk' 'clutter-gst' 'libmusicbrainz5' 'gtksourceview4' 'xreader')
 _python_deps=('python-gobject')
 _seahorse_deps=('libcryptui')
 makedepends=('intltool' 'gobject-introspection' 'meson' 'samurai')
@@ -31,42 +31,14 @@
 makedepends+=("${_preview_deps[@]}" "${_python_deps[@]}" "${_seahorse_deps[@]}")
 options=('!emptydirs')
 source=("${pkgbase}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
-sha256sums=('1b7b85b41c659fe0f93a9b83fadb81a7934c7e7cb2df9eda4a03413b7f5d05c4')
-b2sums=('624e1197f5adbf2d5eac5d80d17d9d551beac2991a5e80a72cdddb9f5abe7b645a2988cf35b928479f8f2cc92ea57cd84fc40fd43c09643bfd8a92e0027819bb')
+sha256sums=('e9d0e592a8b8bc0a4f0eb5222994f522f0e255f5a0c86e8069933864e2ca7485')
+b2sums=('4ff38064eb839cc13fd1a3610c3a8fda3e79447fc1e7355ba4fa7e13747b45a65ac9e572e02e4c5f4230f3bc089aa98339ef3bb4308a1fe145efede07cfaf587')
 
-prepare() {
-    cd "${srcdir}"/${pkgbase}-${pkgver}
-
-    # Delete deprecated gnome-common macros, even their standard autoconf-archive replacements are
-    # annoying to people who actually set $C(XX)?FLAGS. This drops the unneeded dependency on gnome-common
-    sed -i '/^GNOME_/d' nemo-image-converter/configure.ac
-
-    for _dir in "${pkgname[@]}"; do
-        if ! [[ -f ${_dir}/configure.ac || -f ${_dir}/configure.in ]]; then
-            continue
-        fi
-        pushd ${_dir}
-        autoreconf -fi
-        popd
-    done
-}
-
 build() {
     cd "${srcdir}"/${pkgbase}-${pkgver}
 
     for _dir in "${pkgname[@]}"; do
-        if [[ -f ${_dir}/configure ]]; then
-            pushd ${_dir}
-            ./configure --prefix=/usr \
-                        --sysconfdir=/etc \
-                        --localstatedir=/var \
-                        --libexecdir=/usr/lib/${_dir} \
-                        --disable-schemas-compile
-            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
-            popd
-        elif [[ -f ${_dir}/meson.build ]]; then
+        if [[ -f ${_dir}/meson.build ]]; then
             mkdir -p ${_dir}/builddir
             pushd ${_dir}/builddir
             meson --prefix=/usr \
@@ -93,8 +65,8 @@
     depends+=('file-roller')
     optdepends=('cinnamon-translations: i18n')
 
-    cd "${srcdir}"/${pkgbase}-${pkgver}/${pkgname}
-    make DESTDIR="${pkgdir}" install
+    cd "${srcdir}"/${pkgbase}-${pkgver}/${pkgname}/builddir
+    DESTDIR="${pkgdir}" samu install
 }
 
 package_nemo-image-converter(){
@@ -102,8 +74,8 @@
     depends+=('imagemagick')
     optdepends=('cinnamon-translations: i18n')
 
-    cd "${srcdir}"/${pkgbase}-${pkgver}/${pkgname}
-    make DESTDIR="${pkgdir}" install
+    cd "${srcdir}"/${pkgbase}-${pkgver}/${pkgname}/builddir
+    DESTDIR="${pkgdir}" samu install
 }
 
 package_nemo-preview(){
@@ -128,8 +100,8 @@
     depends+=("${_seahorse_deps[@]}")
     optdepends=('cinnamon-translations: i18n')
 
-    cd "${srcdir}"/${pkgbase}-${pkgver}/${pkgname}
-    make DESTDIR="${pkgdir}" install
+    cd "${srcdir}"/${pkgbase}-${pkgver}/${pkgname}/builddir
+    DESTDIR="${pkgdir}" samu install
 }
 
 package_nemo-share(){
@@ -137,8 +109,8 @@
     depends+=('samba')
     optdepends=('cinnamon-translations: i18n')
 
-    cd "${srcdir}"/${pkgbase}-${pkgver}/${pkgname}
-    make DESTDIR="${pkgdir}" install
+    cd "${srcdir}"/${pkgbase}-${pkgver}/${pkgname}/builddir
+    DESTDIR="${pkgdir}" samu install
 }
 
 package_nemo-terminal(){



More information about the arch-commits mailing list