Date: Thursday, March 16, 2023 @ 18:05:00
Author: alex19ep
Revision: 1421134
archrelease: copy trunk to community-testing-x86_64
Added:
caja-extensions/repos/community-testing-x86_64/
caja-extensions/repos/community-testing-x86_64/PKGBUILD
(from rev 1421133, caja-extensions/trunk/PKGBUILD)
----------+
PKGBUILD | 117 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 117 insertions(+)
Copied: caja-extensions/repos/community-testing-x86_64/PKGBUILD (from rev
1421133, caja-extensions/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2023-03-16 18:05:00 UTC (rev 1421134)
@@ -0,0 +1,117 @@
+# Maintainer: Alexander Epaneshnikov <[email protected]>
+# Contributor: Brad Fanella <[email protected]>
+# Contributor: Martin Wimpress <[email protected]>
+
+pkgbase=caja-extensions
+pkgname=(caja-extensions-common caja-image-converter caja-open-terminal
caja-sendto caja-share caja-wallpaper caja-xattr-tags
caja-audio-video-properties)
+pkgver=1.27.0
+pkgrel=1
+pkgdesc="Caja extensions"
+url="https://mate-desktop.org"
+arch=('x86_64')
+license=('GPL')
+depends=('caja' 'gettext' 'dbus-glib' 'imagemagick' 'samba')
+makedepends=('python' 'gst-plugins-base')
+source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgbase-$pkgver.tar.xz")
+sha256sums=('66651e369f7e266feb317acb68361a4eb5b74210c6e0d0d5a1a5faec4f57180e')
+
+build() {
+ cd ${pkgbase}-${pkgver}
+
+ # UPnP support needs to be ported to GUPnP 1.6
+ # before it can be activated again
+ # https://github.com/mate-desktop/caja-extensions/issues/110
+
+ ./configure \
+ --prefix=/usr \
+ --disable-upnp \
+ --disable-gksu
+
+ #https://bugzilla.gnome.org/show_bug.cgi?id=656231
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+ make
+}
+
+package_caja-extensions-common() {
+ pkgdesc="Caja extensions (common files)"
+ depends=()
+
+ cd ${pkgbase}-${pkgver}
+ make -C po DESTDIR="${pkgdir}" install
+}
+
+package_caja-image-converter() {
+ pkgdesc="A Caja extension for simple image conversions"
+ depends=('caja' 'caja-extensions-common' 'imagemagick')
+ groups=('mate-extra')
+ conflicts=('caja-image-converter-gtk3')
+ replaces=('caja-image-converter-gtk3')
+
+ cd ${pkgbase}-${pkgver}
+ make -C image-converter DESTDIR="${pkgdir}" install
+}
+
+package_caja-open-terminal() {
+ pkgdesc="A Caja extension for opening terminals in arbitrary local paths"
+ depends=('caja' 'caja-extensions-common')
+ groups=('mate-extra')
+ conflicts=('caja-open-terminal-gtk3')
+ replaces=('caja-open-terminal-gtk3')
+
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+ make -C open-terminal DESTDIR="${pkgdir}" install
+}
+
+package_caja-sendto() {
+ pkgdesc="A Caja extension for sending files"
+ depends=('caja' 'caja-extensions-common' 'dbus-glib')
+ groups=('mate-extra')
+ optdepends=('pidgin: Support for sending to instant messaging networks.'
+ 'gajim: Support for sending to XMPP.')
+ conflicts=('caja-sendto-gtk3')
+ replaces=('caja-sendto-gtk3')
+
+ cd ${pkgbase}-${pkgver}
+ make -C sendto DESTDIR="${pkgdir}" install
+}
+
+package_caja-share() {
+ pkgdesc="A Caja extension to quickly share a folder"
+ depends=('caja' 'caja-extensions-common' 'samba')
+ groups=('mate-extra')
+ conflicts=('caja-share-gtk3')
+ replaces=('caja-share-gtk3')
+
+ cd ${pkgbase}-${pkgver}
+ make -C share DESTDIR="${pkgdir}" install
+}
+
+package_caja-wallpaper() {
+ pkgdesc="A Caja extension to quickly set wallpaper"
+ depends=('caja' 'caja-extensions-common')
+ groups=('mate-extra')
+ conflicts=('caja-wallpaper-gtk3')
+ replaces=('caja-wallpaper-gtk3')
+
+ cd ${pkgbase}-${pkgver}
+ make -C wallpaper DESTDIR="${pkgdir}" install
+}
+
+package_caja-xattr-tags() {
+ pkgdesc="A Caja extension to see tags stored on xattrs"
+ depends=('caja' 'caja-extensions-common')
+ groups=('mate-extra')
+
+ cd ${pkgbase}-${pkgver}
+ make -C xattr-tags DESTDIR="${pkgdir}" install
+}
+
+package_caja-audio-video-properties() {
+ pkgdesc="A Caja extension to see information about audio or video files"
+ depends=('caja' 'caja-extensions-common' 'gst-plugins-base')
+ groups=('mate-extra')
+
+ cd ${pkgbase}-${pkgver}
+ make -C audio-video-properties DESTDIR="${pkgdir}" install
+}