diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-11-06 20:10:41 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-11-06 20:10:41 -0300 |
commit | 385fda403f286573a778ee525fe56a86d11fc967 (patch) | |
tree | 1aabb3a26d366ffa745a559409bcbe91b04dc240 /community/nemo-extensions | |
parent | 922fd0a3c35beb57adbef0b4c4c122dd29563c97 (diff) | |
parent | fbe5d27eadf86b85244a5ffff62c132cb9a4a158 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/adns/PKGBUILD
community/afpfs-ng/PKGBUILD
community/aqbanking/PKGBUILD
community/arp-scan/PKGBUILD
community/arpack/PKGBUILD
community/bind/PKGBUILD
community/bird/PKGBUILD
community/cairo-dock/PKGBUILD
community/cinnamon-control-center/PKGBUILD
community/commoncpp2/PKGBUILD
community/cuetools/PKGBUILD
community/erlang/PKGBUILD
community/fxdesktop/PKGBUILD
community/gavl/PKGBUILD
community/google-gadgets/PKGBUILD
community/gpicview/PKGBUILD
community/gtk-aurora-engine/PKGBUILD
community/icewm-utils/PKGBUILD
community/inotify-tools/PKGBUILD
community/jack2/PKGBUILD
community/judy/PKGBUILD
community/lash/PKGBUILD
community/libdlna/PKGBUILD
community/libgexiv2/PKGBUILD
community/libgig/PKGBUILD
community/liblinebreak/PKGBUILD
community/liblockfile/PKGBUILD
community/libopenraw/PKGBUILD
community/librcd/PKGBUILD
community/librsync/PKGBUILD
community/libvirt/PKGBUILD
community/libyaml/PKGBUILD
community/linux-tools/PKGBUILD
community/lomoco/PKGBUILD
community/luasec/PKGBUILD
community/luasocket/PKGBUILD
community/lwp/PKGBUILD
community/lxappearance-obconf/PKGBUILD
community/lxappearance/PKGBUILD
community/lxsplit/PKGBUILD
community/metamail/PKGBUILD
community/mg/PKGBUILD
community/nemo-fileroller/PKGBUILD
community/nsd/PKGBUILD
community/obby/PKGBUILD
community/openarena/PKGBUILD
community/opensc/PKGBUILD
community/osmo/PKGBUILD
community/perl-json-xs/PKGBUILD
community/pyqt3/PKGBUILD
community/python-pymongo/PKGBUILD
community/python-pytables/PKGBUILD
community/qscintilla-qt3/PKGBUILD
community/qtcurve-gtk2/PKGBUILD
community/qtcurve-kde4/PKGBUILD
community/rxvt-unicode/PKGBUILD
community/smalltalk/PKGBUILD
community/xmlrpc-c/PKGBUILD
community/xpad/PKGBUILD
community/xsettings-client/PKGBUILD
community/yaws/PKGBUILD
core/bzip2/PKGBUILD
core/gcc/PKGBUILD
core/glibc/PKGBUILD
core/keyutils/PKGBUILD
core/ldns/PKGBUILD
core/libmpc/PKGBUILD
core/librpcsecgss/PKGBUILD
core/libtool/PKGBUILD
core/lvm2/PKGBUILD
core/lzo2/PKGBUILD
core/openssl/PKGBUILD
core/systemd/PKGBUILD
core/sysvinit-tools/PKGBUILD
cross/mips64el-unknown-linux-gnu-linux-libre-api-headers/PKGBUILD
extra/aalib/PKGBUILD
extra/aiksaurus/PKGBUILD
extra/alsa-oss/PKGBUILD
extra/alsa-tools/PKGBUILD
extra/apache/PKGBUILD
extra/autopano-sift-c/PKGBUILD
extra/avahi/PKGBUILD
extra/cfitsio/PKGBUILD
extra/clamav/PKGBUILD
extra/compface/PKGBUILD
extra/dotconf/PKGBUILD
extra/enca/PKGBUILD
extra/eventlog/PKGBUILD
extra/exiv2/PKGBUILD
extra/faad2/PKGBUILD
extra/fcgi/PKGBUILD
extra/ffcall/PKGBUILD
extra/ffmpeg/PKGBUILD
extra/flac/PKGBUILD
extra/fltk/PKGBUILD
extra/freealut/PKGBUILD
extra/freetds/PKGBUILD
extra/gc/PKGBUILD
extra/gdome2/PKGBUILD
extra/giblib/PKGBUILD
extra/gmime/PKGBUILD
extra/gnome-python-desktop/PKGBUILD
extra/gnome-python-extras/PKGBUILD
extra/gnome-speech/PKGBUILD
extra/graphviz/PKGBUILD
extra/gsasl/PKGBUILD
extra/gsl/PKGBUILD
extra/gtkspell/PKGBUILD
extra/gupnp-igd/PKGBUILD
extra/htdig/PKGBUILD
extra/hugin/PKGBUILD
extra/id3lib/PKGBUILD
extra/ilmbase/PKGBUILD
extra/imagemagick/PKGBUILD
extra/iptraf-ng/PKGBUILD
extra/jade/PKGBUILD
extra/jasper/PKGBUILD
extra/kdesdk-thumbnailers/PKGBUILD
extra/kdevelop-php/PKGBUILD
extra/lablgtk/PKGBUILD
extra/lame/PKGBUILD
extra/lcms2/PKGBUILD
extra/lesstif/PKGBUILD
extra/libaio/PKGBUILD
extra/libart-lgpl/PKGBUILD
extra/libass/PKGBUILD
extra/libasyncns/PKGBUILD
extra/libavc1394/PKGBUILD
extra/libbluray/PKGBUILD
extra/libcaca/PKGBUILD
extra/libcddb/PKGBUILD
extra/libchamplain/PKGBUILD
extra/libdca/PKGBUILD
extra/libdv/PKGBUILD
extra/libglade/PKGBUILD
extra/libgtkhtml/PKGBUILD
extra/libice/PKGBUILD
extra/libid3tag/PKGBUILD
extra/libidl2/PKGBUILD
extra/libieee1284/PKGBUILD
extra/libjpeg-turbo/PKGBUILD
extra/liblo/PKGBUILD
extra/libmad/PKGBUILD
extra/libmikmod/PKGBUILD
extra/libmowgli/PKGBUILD
extra/libmpd/PKGBUILD
extra/libmpdclient/PKGBUILD
extra/libofa/PKGBUILD
extra/liboil/PKGBUILD
extra/libotf/PKGBUILD
extra/libpeas/PKGBUILD
extra/libqalculate/PKGBUILD
extra/libraw1394/PKGBUILD
extra/libsndfile/PKGBUILD
extra/libstroke/PKGBUILD
extra/libvncserver/PKGBUILD
extra/libxkbui/PKGBUILD
extra/libxss/PKGBUILD
extra/libytnef/PKGBUILD
extra/libzvt/PKGBUILD
extra/lynx/PKGBUILD
extra/lzo/PKGBUILD
extra/mariadb/PKGBUILD
extra/mesa/PKGBUILD
extra/mhash/PKGBUILD
extra/musicbrainz/PKGBUILD
extra/ocaml/PKGBUILD
extra/openal/PKGBUILD
extra/openmpi/PKGBUILD
extra/pavucontrol/PKGBUILD
extra/perl-dbi/PKGBUILD
extra/phonon-vlc/PKGBUILD
extra/phonon/PKGBUILD
extra/ppl/PKGBUILD
extra/progsreiserfs/PKGBUILD
extra/pulseaudio/PKGBUILD
extra/pycurl/PKGBUILD
extra/pyopenssl/PKGBUILD
extra/pyxml/PKGBUILD
extra/qt4/PKGBUILD
extra/qt5/PKGBUILD
extra/qtwebkit/PKGBUILD
extra/schroedinger/PKGBUILD
extra/sdl_gfx/PKGBUILD
extra/signon/PKGBUILD
extra/slang/PKGBUILD
extra/sofia-sip/PKGBUILD
extra/spandsp/PKGBUILD
extra/speech-dispatcher/PKGBUILD
extra/sqlite/PKGBUILD
extra/t1lib/PKGBUILD
extra/taglib/PKGBUILD
extra/tidyhtml/PKGBUILD
extra/totem/PKGBUILD
extra/unixodbc/PKGBUILD
extra/vigra/PKGBUILD
extra/virtuoso/PKGBUILD
extra/wavpack/PKGBUILD
extra/webkitgtk/PKGBUILD
extra/webrtc-audio-processing/PKGBUILD
extra/xfce4-mailwatch-plugin/PKGBUILD
extra/xine-lib/PKGBUILD
extra/xmms/PKGBUILD
extra/xorg-server/PKGBUILD
extra/yajl/PKGBUILD
extra/yasm/PKGBUILD
extra/zenity/PKGBUILD
extra/zziplib/PKGBUILD
libre/blackbox-libre/PKGBUILD
libre/linux-libre/PKGBUILD
libre/sdl-libre/PKGBUILD
Diffstat (limited to 'community/nemo-extensions')
-rw-r--r-- | community/nemo-extensions/PKGBUILD | 175 | ||||
-rw-r--r-- | community/nemo-extensions/nemo-pastebin.install | 11 |
2 files changed, 186 insertions, 0 deletions
diff --git a/community/nemo-extensions/PKGBUILD b/community/nemo-extensions/PKGBUILD new file mode 100644 index 000000000..5c312e523 --- /dev/null +++ b/community/nemo-extensions/PKGBUILD @@ -0,0 +1,175 @@ +# $Id$ +# Maintainer: Alexandre Filgueira <alexfilgueira@antergos.com> + +pkgbase=nemo-extensions +pkgname=('nemo-fileroller' + 'nemo-preview' + 'nemo-python' + 'nemo-share' + 'nemo-seahorse') + #'nemo-media-columns' + #'nemo-pastebin' + #'nemo-compare' + #'nemo-rabbitvcs' +pkgver=2.0.0 +_gitver=adeeeb12ea +pkgrel=2 +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 + evince gtksourceview3 webkitgtk python2-gobject seahorse-nautilus samba) +makedepends=(gconf gnome-common gtk-doc intltool) # python2-distutils-extra +options=('!emptydirs') +source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/linuxmint/nemo-extensions/archive/${_gitver}.tar.gz") +md5sums=('de6a36ee77265f2a1528b29526fd6afb') + +prepare() { + cd ${pkgbase}-${_gitver}* + + # Python2 fix + find -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@' + + # Fix nemo-preview build + sed -i '/AM_GNU_GETTEXT/d' nemo-preview/configure.ac +} + +build() { + cd ${pkgbase}-${_gitver}* + + _configure_pkgs="nemo-fileroller nemo-seahorse nemo-share" + for dir in ${_configure_pkgs} + do + pushd ${dir} + autoreconf -fi + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/${dir} \ + --disable-static --disable-schemas-compile + make + popd + done + + _autogen_pkgs="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 + make + popd + 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 + + # nemo-compare + # cd nemo-compare + + # nemo-rabbitvcs + # Nothing to do here + +} + +package_nemo-fileroller(){ + pkgdesc="File archiver extension for Nemo" + depends=(nemo file-roller) + + cd ${pkgbase}-${_gitver}*/nemo-fileroller + make DESTDIR="${pkgdir}" install +} + +package_nemo-preview(){ + pkgdesc=("GtkClutter and Javascript-based quick previewer for Nemo") + depends=(nemo cjs clutter-gtk clutter-gst gst-plugins-good libmusicbrainz5 evince gtksourceview3 webkitgtk) + + cd ${pkgbase}-${_gitver}*/nemo-preview + make DESTDIR="${pkgdir}" install +} + +package_nemo-python() { + pkgdesc="Python2 binding for Nemo components" + depends=(nemo python2-gobject) + + cd ${pkgbase}-${_gitver}*/nemo-python + make DESTDIR="${pkgdir}" install +} + +package_nemo-seahorse(){ + pkgdesc="PGP encryption and signing extension for Nemo" + depends=(nemo seahorse-nautilus) + + cd ${pkgbase}-${_gitver}*/nemo-seahorse + make DESTDIR="${pkgdir}" install + + # seahorse-tool is already in seahorse-nautilus package + make -C tool DESTDIR="${pkgdir}" uninstall +} + +package_nemo-share(){ + pkgdesc="Samba extension for Nemo" + depends=(nemo samba) + + cd ${pkgbase}-${_gitver}*/nemo-share + make DESTDIR="${pkgdir}" install +} + +# package_nemo-media-columns(){ +# cd ${pkgbase}-${_gitver}*/nemo-media-columns + +# pkgdesc=("A Nemo extension to display music/EXIF and PDF metadata info in the Nemo List View") +# arch=(any) + +# install -d ${pkgdir}/usr/share/nemo-python/extensions/ +# install -Dm755 ${srcdir}/nemo-media-columns.py \ +# ${pkgdir}/usr/share/nemo-python/extensions/nemo-media-columns.py +# } + +# package_nemo-pastebin(){ +# cd ${pkgbase}-${_gitver}*/nemo-pastebin + +# pkgdesc="Nemo extension to send files to a pastebin" +# arch=(any) +# depends=(nemo pastebinit nemo-python) +# install=nemo-pastebin.install + +# python2 ./setup.py install --prefix=/usr --root=${pkgdir} \ +# --no-compile -O0 +# } + +# package_nemo-compare() { +# cd ${pkgbase}-${_gitver}*/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 + +# } + +# package_nemo-rabbitvcs(){ +# cd ${pkgbase}-${_gitver}*/nemo-rabbitvcs + +# depends=(nemo-python python2-dbus) + +# install -d ${pkgdir}/usr/share/nemo-python/extensions/ +# install -Dm755 ${srcdir}/RabbitVCS.py \ +# ${pkgdir}/usr/share/nemo-python/extensions/RabbitVCS.py +# } + diff --git a/community/nemo-extensions/nemo-pastebin.install b/community/nemo-extensions/nemo-pastebin.install new file mode 100644 index 000000000..326aa98a2 --- /dev/null +++ b/community/nemo-extensions/nemo-pastebin.install @@ -0,0 +1,11 @@ +post_install() { + glib-compile-schemas usr/share/glib-2.0/schemas +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |