[arch-commits] Commit in nemo-extensions/repos/community-x86_64 (PKGBUILD PKGBUILD)

Bruno Pagani archange at gemini.archlinux.org
Sun Nov 14 09:44:36 UTC 2021


    Date: Sunday, November 14, 2021 @ 09:44:35
  Author: archange
Revision: 1047367

archrelease: copy trunk to community-x86_64

Added:
  nemo-extensions/repos/community-x86_64/PKGBUILD
    (from rev 1047366, nemo-extensions/trunk/PKGBUILD)
Deleted:
  nemo-extensions/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  366 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 193 insertions(+), 173 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-14 09:44:10 UTC (rev 1047366)
+++ PKGBUILD	2021-11-14 09:44:35 UTC (rev 1047367)
@@ -1,173 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-# Contributor: Alexandre Filgueira <alexfilgueira at antergos.com>
-
-pkgbase=nemo-extensions
-pkgname=('nemo-fileroller'
-         'nemo-image-converter'
-         'nemo-preview'
-         'nemo-python'
-         'nemo-seahorse'
-         'nemo-share'
-         'nemo-terminal')
-        #'nemo-audio-tab'
-        #'nemo-compare'
-        #'nemo-dropbox'
-        #'nemo-emblems'
-        #'nemo-gtkhash'
-        #'nemo-media-columns'
-        #'nemo-pastebin'
-        #'nemo-repairer'
-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' 'gtksourceview4' 'xreader')
-_python_deps=('python-gobject')
-_seahorse_deps=('libcryptui')
-makedepends=('intltool' 'gobject-introspection' 'meson' 'samurai')
-makedepends+=("${_preview_deps[@]}" "${_python_deps[@]}" "${_seahorse_deps[@]}")
-options=('!emptydirs')
-source=("${pkgbase}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
-sha256sums=('e9d0e592a8b8bc0a4f0eb5222994f522f0e255f5a0c86e8069933864e2ca7485')
-b2sums=('4ff38064eb839cc13fd1a3610c3a8fda3e79447fc1e7355ba4fa7e13747b45a65ac9e572e02e4c5f4230f3bc089aa98339ef3bb4308a1fe145efede07cfaf587')
-
-build() {
-    cd "${srcdir}"/${pkgbase}-${pkgver}
-
-    for _dir in "${pkgname[@]}"; do
-        if [[ -f ${_dir}/meson.build ]]; then
-            mkdir -p ${_dir}/builddir
-            pushd ${_dir}/builddir
-            meson --prefix=/usr \
-                  --libexecdir=lib/${_dir} \
-                  --buildtype=plain \
-                  ..
-            samu
-            popd
-        fi
-    done
-
-    # # nemo-pastebin
-    # cd nemo-pastebin
-    # python2 ./setup.py build --build-base ${srcdir}/build/ || return 1
-    # cd ..
-
-  	# nemo-media-columns
-  	# Nothing to do here
-  	# Required python2-pypdf from AUR
-}
-
-package_nemo-fileroller(){
-    pkgdesc="File archiver extension for Nemo"
-    depends+=('file-roller')
-    optdepends=('cinnamon-translations: i18n')
-
-    cd "${srcdir}"/${pkgbase}-${pkgver}/${pkgname}/builddir
-    DESTDIR="${pkgdir}" samu install
-}
-
-package_nemo-image-converter(){
-    pkgdesc="Nemo extension to rotate/resize image files"
-    depends+=('imagemagick')
-    optdepends=('cinnamon-translations: i18n')
-
-    cd "${srcdir}"/${pkgbase}-${pkgver}/${pkgname}/builddir
-    DESTDIR="${pkgdir}" samu install
-}
-
-package_nemo-preview(){
-    pkgdesc="Quick file previewer for Nemo"
-    depends+=("${_preview_deps[@]}")
-    optdepends=('cinnamon-translations: i18n')
-
-    cd "${srcdir}"/${pkgbase}-${pkgver}/${pkgname}/builddir
-    DESTDIR="${pkgdir}" samu install
-}
-
-package_nemo-python() {
-    pkgdesc="Python3 binding for Nemo components"
-    depends+=("${_python_deps[@]}")
-
-    cd "${srcdir}"/${pkgbase}-${pkgver}/${pkgname}/builddir
-    DESTDIR="${pkgdir}" samu install
-}
-
-package_nemo-seahorse(){
-    pkgdesc="PGP encryption and signing extension for Nemo"
-    depends+=("${_seahorse_deps[@]}")
-    optdepends=('cinnamon-translations: i18n')
-
-    cd "${srcdir}"/${pkgbase}-${pkgver}/${pkgname}/builddir
-    DESTDIR="${pkgdir}" samu install
-}
-
-package_nemo-share(){
-    pkgdesc="Samba extension for Nemo"
-    depends+=('samba')
-    optdepends=('cinnamon-translations: i18n')
-
-    cd "${srcdir}"/${pkgbase}-${pkgver}/${pkgname}/builddir
-    DESTDIR="${pkgdir}" samu install
-}
-
-package_nemo-terminal(){
-    pkgdesc="Embedded terminal window for Nemo"
-    depends=('nemo-python' 'vte3')
-
-    cd "${srcdir}"/${pkgbase}-${pkgver}/${pkgname}
-    install -Dm644 src/nemo_terminal.py \
-        "${pkgdir}"/usr/share/nemo-python/extensions/nemo_terminal.py
-    install -Dm755 src/nemo-terminal-prefs.py \
-        "${pkgdir}"/usr/bin/nemo-terminal-prefs
-    install -Dm644 src/org.nemo.extensions.nemo-terminal.gschema.xml \
-        "${pkgdir}"/usr/share/glib-2.0/schemas/org.nemo.extensions.nemo-terminal.gschema.xml
-    install -Dm644 pixmap/logo_120x120.png \
-        "${pkgdir}"/usr/share/nemo-terminal/logo_120x120.png
-}
-
-## missing kaa-base in the repos
-#package_nemo-media-columns(){
-#    pkgdesc=("A Nemo extension to display music/EXIF and PDF metadata info in the Nemo List View")
-#    depends=('nemo-python' 'mutagen' 'python2-exiv2' 'python2-kaa-base' 'python2-pillow' 'python2-pypdf')
-#
-#    cd "${srcdir}"/${pkgbase}-${pkgver}/${pkgname}
-#    install -Dm644 nemo-media-columns.py \
-#        "${pkgdir}"/usr/share/nemo-python/extensions/nemo-media-columns.py
-#}
-
-# package_nemo-pastebin(){
-# 	cd ${pkgbase}-${pkgver}/nemo-pastebin
-
-# 	pkgdesc="Nemo extension to send files to a pastebin"
-# 	arch=(any)
-# 	depends=(nemo pastebinit nemo-python)
-
-# 	python2 ./setup.py install --prefix=/usr --root=${pkgdir} \
-# 		--no-compile -O0
-# }
-
-## no clue what any of this does
-# package_nemo-compare() {
-#   cd ${pkgbase}-${pkgver}/nemo-compare
-
-#   pkgdesc="Context menu comparison extension for Nemo file manager"
-#   depends=(python2 python2-xdg meld nemo-python)
-
-#   install -d ${pkgdir}/usr/share/applications/
-#   install -d ${pkgdir}/usr/share/nemo-compare/
-
-#   install -Dm755 ${srcdir}/data/nemo-compare-preferences.desktop \
-#                   /usr/share/applications/nemo-compare-preferences.desktop
-#   install -Dm755 ${srcdir}/data/nemo-compare-notification \
-#                   /usr/share/nemo-compare/nemo-compare-notification
-#   install -Dm755 ${srcdir}/src/nemo-compare.py \
-#                   /usr/share/nemo-compare/nemo-compare.py
-#   install -Dm755 ${srcdir}/src/utils.py \
-#                   /usr/share/nemo-compare/utils.py
-#   install -Dm755 ${srcdir}/src/nemo-compare-preferences.py \
-#                   /usr/share/nemo-compare/nemo-compare-preferences.py
-
-# }

Copied: nemo-extensions/repos/community-x86_64/PKGBUILD (from rev 1047366, nemo-extensions/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-14 09:44:35 UTC (rev 1047367)
@@ -0,0 +1,193 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Eli Schwartz <eschwartz at archlinux.org>
+# Contributor: Alexandre Filgueira <alexfilgueira at antergos.com>
+
+pkgbase=nemo-extensions
+pkgname=(nemo-audio-tab
+         nemo-emblems
+         nemo-fileroller
+         nemo-image-converter
+         nemo-pastebin
+         nemo-preview
+         nemo-python
+         nemo-seahorse
+         nemo-share
+         nemo-terminal)
+        #nemo-compare
+        #nemo-dropbox dropbox in AUR
+        #nemo-media-columns pypdf2 in AUR but mostly unmaintained
+        #nemo-repairer
+pkgver=5.0.0
+pkgrel=2
+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 gtksourceview4 xreader)
+_python_deps=(python-gobject)
+_seahorse_deps=(libcryptui)
+makedepends=(intltool gobject-introspection meson samurai)
+makedepends+=("${_preview_deps[@]}" "${_python_deps[@]}" "${_seahorse_deps[@]}")
+options=(!emptydirs)
+source=(${url}/archive/${pkgver}/${pkgbase}-${pkgver}.tar.gz
+        ${pkgbase}-fix-gtk-import-in-preview.patch::https://github.com/linuxmint/nemo-extensions/commit/875a28811027c2717713d1b0c7e877a531cc332a.patch)
+sha256sums=('e9d0e592a8b8bc0a4f0eb5222994f522f0e255f5a0c86e8069933864e2ca7485'
+            '87f135150e5f394b9baa91abc8d0f0a2b34d5d3a1f142348f1a2967b678b33a4')
+b2sums=('4ff38064eb839cc13fd1a3610c3a8fda3e79447fc1e7355ba4fa7e13747b45a65ac9e572e02e4c5f4230f3bc089aa98339ef3bb4308a1fe145efede07cfaf587'
+        '8c7330194f1f1e391bd7d32ebc7c413489efcadd4d71c21367ec02a5355c022aa7fb35822719dcd211d39b936d49ffcf35dfe910e62821fb337d58a3e275c141')
+
+prepare() {
+  cd ${pkgbase}-${pkgver}
+  patch -p1 < ../${pkgbase}-fix-gtk-import-in-preview.patch
+}
+
+build() {
+  cd ${pkgbase}-${pkgver}
+
+  for _dir in "${pkgname[@]}"; do
+    if [[ -f ${_dir}/meson.build ]]; then
+      mkdir -p ${_dir}/build
+      pushd ${_dir}/build
+      arch-meson --libexecdir=lib/${_dir} ..
+      samu
+      popd
+    fi
+  done
+
+  cd nemo-audio-tab
+  python setup.py build
+  cd ..
+
+  cd nemo-emblems
+  python setup.py build
+  cd ..
+
+  cd nemo-pastebin
+  python setup.py build
+  cd ..
+}
+
+package_nemo-audio-tab(){
+  pkgdesc="View audio tag information in Nemo properties tab"
+  depends+=(nemo-python python-mutagen)
+  optdepends=('cinnamon-translations: i18n')
+
+  cd ${pkgbase}-${pkgver}/${pkgname}
+  python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
+}
+
+package_nemo-emblems(){
+  pkgdesc="Change a folder or file emblem in Nemo"
+  depends+=(nemo-python)
+  optdepends=('cinnamon-translations: i18n')
+
+  cd ${pkgbase}-${pkgver}/${pkgname}
+  python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
+}
+
+package_nemo-fileroller(){
+  pkgdesc="File archiver extension for Nemo"
+  depends+=(file-roller)
+  optdepends=('cinnamon-translations: i18n')
+
+  cd ${pkgbase}-${pkgver}/${pkgname}/build
+  DESTDIR="${pkgdir}" samu install
+}
+
+package_nemo-image-converter(){
+  pkgdesc="Nemo extension to rotate/resize image files"
+  depends+=(imagemagick)
+  optdepends=('cinnamon-translations: i18n')
+
+  cd ${pkgbase}-${pkgver}/${pkgname}/build
+  DESTDIR="${pkgdir}" samu install
+}
+
+package_nemo-preview(){
+  pkgdesc="Quick file previewer for Nemo"
+  depends+=("${_preview_deps[@]}")
+  optdepends=('cinnamon-translations: i18n')
+
+  cd ${pkgbase}-${pkgver}/${pkgname}/build
+  DESTDIR="${pkgdir}" samu install
+}
+
+package_nemo-pastebin(){
+  pkgdesc="Nemo extension to send files to a pastebin"
+  depends+=(nemo-python pastebinit)
+  optdepends=('cinnamon-translations: i18n')
+
+  cd ${pkgbase}-${pkgver}/${pkgname}
+  python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
+}
+
+package_nemo-python() {
+  pkgdesc="Python3 binding for Nemo components"
+  depends+=("${_python_deps[@]}")
+
+  cd ${pkgbase}-${pkgver}/${pkgname}/build
+  DESTDIR="${pkgdir}" samu install
+}
+
+package_nemo-seahorse(){
+  pkgdesc="PGP encryption and signing extension for Nemo"
+  depends+=("${_seahorse_deps[@]}")
+  optdepends=('cinnamon-translations: i18n')
+
+  cd ${pkgbase}-${pkgver}/${pkgname}/build
+  DESTDIR="${pkgdir}" samu install
+}
+
+package_nemo-share(){
+  pkgdesc="Samba extension for Nemo"
+  depends+=(samba)
+  optdepends=('cinnamon-translations: i18n')
+
+  cd ${pkgbase}-${pkgver}/${pkgname}/build
+  DESTDIR="${pkgdir}" samu install
+}
+
+package_nemo-terminal(){
+  pkgdesc="Embedded terminal window for Nemo"
+  depends=(nemo-python vte3)
+
+  cd ${pkgbase}-${pkgver}/${pkgname}
+  install -Dm644 src/nemo_terminal.py -t "${pkgdir}"/usr/share/nemo-python/extensions/
+  install -Dm755 src/nemo-terminal-prefs.py "${pkgdir}"/usr/bin/nemo-terminal-prefs
+  install -Dm644 src/org.nemo.extensions.nemo-terminal.gschema.xml -t "${pkgdir}"/usr/share/glib-2.0/schemas/
+  install -Dm644 pixmap/logo_120x120.png -t "${pkgdir}"/usr/share/nemo-terminal/
+}
+
+## missing kaa-base in the repos
+#package_nemo-media-columns(){
+#    pkgdesc=("A Nemo extension to display music/EXIF and PDF metadata info in the Nemo List View")
+#    depends=('nemo-python' 'mutagen' 'python2-exiv2' 'python2-kaa-base' 'python2-pillow' 'python2-pypdf')
+#
+#    cd "${srcdir}"/${pkgbase}-${pkgver}/${pkgname}
+#    install -Dm644 nemo-media-columns.py \
+#        "${pkgdir}"/usr/share/nemo-python/extensions/nemo-media-columns.py
+#}
+
+## no clue what any of this does
+# package_nemo-compare() {
+#   cd ${pkgbase}-${pkgver}/nemo-compare
+
+#   pkgdesc="Context menu comparison extension for Nemo file manager"
+#   depends=(python2 python2-xdg meld nemo-python)
+
+#   install -d ${pkgdir}/usr/share/applications/
+#   install -d ${pkgdir}/usr/share/nemo-compare/
+
+#   install -Dm755 ${srcdir}/data/nemo-compare-preferences.desktop \
+#                   /usr/share/applications/nemo-compare-preferences.desktop
+#   install -Dm755 ${srcdir}/data/nemo-compare-notification \
+#                   /usr/share/nemo-compare/nemo-compare-notification
+#   install -Dm755 ${srcdir}/src/nemo-compare.py \
+#                   /usr/share/nemo-compare/nemo-compare.py
+#   install -Dm755 ${srcdir}/src/utils.py \
+#                   /usr/share/nemo-compare/utils.py
+#   install -Dm755 ${srcdir}/src/nemo-compare-preferences.py \
+#                   /usr/share/nemo-compare/nemo-compare-preferences.py
+
+# }



More information about the arch-commits mailing list