Date: Monday, July 18, 2022 @ 21:18:28 Author: arojas Revision: 1254502
archrelease: copy trunk to community-x86_64 Added: nemo-extensions/repos/community-x86_64/PKGBUILD (from rev 1254501, nemo-extensions/trunk/PKGBUILD) Deleted: nemo-extensions/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 378 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 189 insertions(+), 189 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-07-18 21:18:19 UTC (rev 1254501) +++ PKGBUILD 2022-07-18 21:18:28 UTC (rev 1254502) @@ -1,189 +0,0 @@ -# Maintainer: Bruno Pagani <archa...@archlinux.org> -# Contributor: Eli Schwartz <eschwa...@archlinux.org> -# Contributor: Alexandre Filgueira <alexfilgue...@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.4.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=(${url}/archive/${pkgver}/${pkgbase}-${pkgver}.tar.gz) -sha256sums=('49a3e2f132b83fb18958648522ba2e5cb02230b9602fe57b1b5e537bf1f0e6ba') -b2sums=('29d3f90bf646855d4c0ac591bd3490f30c0c7e18839f09c3d6a8f0a69cc3bc910a3c16d5a6f9b5e3f066e58ab78540e38ad8d89676dc0cf45f20ded66aee723b') - -prepare() { - rm -r $pkgbase-$pkgver/*/debian # Fix build with newer setuptools -} - -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 - -# } Copied: nemo-extensions/repos/community-x86_64/PKGBUILD (from rev 1254501, nemo-extensions/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-07-18 21:18:28 UTC (rev 1254502) @@ -0,0 +1,189 @@ +# Maintainer: Bruno Pagani <archa...@archlinux.org> +# Contributor: Eli Schwartz <eschwa...@archlinux.org> +# Contributor: Alexandre Filgueira <alexfilgue...@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.4.1 +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=(${url}/archive/${pkgver}/${pkgbase}-${pkgver}.tar.gz) +sha256sums=('6a0b83e6a9129c7217c29fbc992109d8f6eedbe8f076da863c507c0005182404') +b2sums=('1bbb6861019ec19f1ea85ad34939048a00f5ddcc66b1230cdf17467fdbeb7579f462985b278e8bbc9a70dfe7b5542bd7534fe199e1f4f09fb3fbad13d43a7988') + +prepare() { + rm -r $pkgbase-$pkgver/*/debian # Fix build with newer setuptools +} + +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 + +# }