Date: Wednesday, July 12, 2017 @ 19:41:28
  Author: bgyorgy
Revision: 244830

upgpkg: nemo-extensions 3.4.0-2

Enable nemo-image-converter and nemo-terminal

Modified:
  nemo-extensions/trunk/PKGBUILD

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++------
 1 file changed, 26 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2017-07-12 19:28:17 UTC (rev 244829)
+++ PKGBUILD    2017-07-12 19:41:28 UTC (rev 244830)
@@ -3,21 +3,23 @@
 
 pkgbase=nemo-extensions
 pkgname=('nemo-fileroller'
+         'nemo-image-converter'
         'nemo-preview'
         'nemo-python'
+        'nemo-seahorse'
         'nemo-share'
-        'nemo-seahorse')
+        'nemo-terminal')
        #'nemo-media-columns'
        #'nemo-pastebin'
        #'nemo-compare'
        #'nemo-rabbitvcs'
 pkgver=3.4.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Various extensions for Nemo"
 arch=('i686' 'x86_64')
 license=('GPL2')
 url="https://github.com/linuxmint/nemo-extensions";
-depends=(nemo file-roller cjs clutter-gtk clutter-gst gst-plugins-good 
libmusicbrainz5
+depends=(nemo file-roller cjs clutter-gtk clutter-gst gst-plugins-good 
imagemagick libmusicbrainz5
          evince gtksourceview3 webkit2gtk python2-gobject seahorse-nautilus 
samba)
 makedepends=(gnome-common gtk-doc intltool gobject-introspection 
libgnome-keyring) # python2-distutils-extra
 options=('!emptydirs')
@@ -43,18 +45,18 @@
     pushd ${dir}
     autoreconf -fi
     ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var 
--libexecdir=/usr/lib/${dir} \
-                --disable-static --disable-schemas-compile
+                --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
   done
 
-  _autogen_pkgs="nemo-preview nemo-python"
+  _autogen_pkgs="nemo-image-converter nemo-preview nemo-python"
   for dir in ${_autogen_pkgs}
   do
     pushd ${dir}
     ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var 
--libexecdir=/usr/lib/${dir} \
-                 --disable-static --disable-schemas-compile PYTHON=python2
+                 --disable-schemas-compile PYTHON=python2
     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
@@ -85,6 +87,14 @@
   make DESTDIR="${pkgdir}" install
 }
 
+package_nemo-image-converter(){
+  pkgdesc="Nemo extension to rotate/resize image files"
+  depends=(nemo imagemagick)
+
+  cd ${pkgbase}-${pkgver}/nemo-image-converter
+  make DESTDIR="${pkgdir}" install
+}
+
 package_nemo-preview(){
   pkgdesc="GtkClutter and Javascript-based quick previewer for Nemo"
   depends=(nemo cjs clutter-gtk clutter-gst libmusicbrainz5 evince 
gtksourceview3 webkit2gtk)
@@ -121,6 +131,16 @@
   make DESTDIR="${pkgdir}" install
 }
 
+package_nemo-terminal(){
+  pkgdesc="Embedded terminal window for Nemo"
+  depends=(nemo-python vte3)
+
+  cd ${pkgbase}-${pkgver}/nemo-terminal
+  install -Dm644 src/nemo_terminal.py 
"$pkgdir"/usr/share/nemo-python/extensions/nemo_terminal.py
+  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
+}
+
 # package_nemo-media-columns(){
 #      cd ${pkgbase}-${pkgver}/nemo-media-columns
 

Reply via email to