geany-plugins 1.31
[git/cygwin-packages/geany-plugins.git] / geany-plugins.cygport
index ed094cf087ed129b7aa1d3a99a8c0504875135e2..71c7c4f3c26db73f9fc30ead124d66c376c848f7 100644 (file)
@@ -1,22 +1,66 @@
-inherit gnome2
+inherit gnome2 python
 
 NAME="geany-plugins"
-VERSION=1.22
+VERSION=1.31
 RELEASE=1
 CATEGORY="Editors"
 SUMMARY="Collection of plugins for Geany IDE"
 DESCRIPTION="The Geany-plugins project is a collection of different plugins
 for Geany, the lightweight IDE."
-REQUIRES="geany"
 HOMEPAGE="http://plugins.geany.org/"
 SRC_URI="http://plugins.geany.org/geany-plugins/${NAME}-${VERSION}.tar.bz2"
-
 PATCH_URI="
        0.20-gmodule.patch
        0.21.1-no-undefined.patch
+       1.30-i18n-vpath.patch
+       1.31-pretty-printer-docs.patch
 "
 
 ACLOCAL_FLAGS="-I build/cache -I build"
 CYGCONF_ARGS="RST2HTML=/usr/bin/rst2html.py"
 
-KEEP_LA_FILES="none"
+PKG_NAMES="${NAME}-common"
+geany_plugins_CATEGORY="_obsolete"
+geany_plugins_common_CONTENTS="usr/share/locale/"
+for p in addons autoclose automark codenav commander debugger defineformat \
+       devhelp geanyctags geanydoc geanyextrasel geanygendoc geanyinsertnum \
+       geanylatex lipsum geanylua geanymacro geanyminiscript \
+       geanynumberedbookmarks geanypg geanyprj geanypy geanyvc geniuspaste \
+       git-changebar keyrecord lineoperations markdown multiterm overview pairtaghighlighter \
+       pohelper pretty-printer projectorganizer scope sendmail shiftcolumn \
+       spellcheck tableconvert treebrowser updatechecker webhelper xmlsnippets
+do
+       PKG_NAMES+=" ${NAME}-${p}"
+       declare geany_plugins_${p//-/_}_SUMMARY="${p} plugin for Geany text editor"
+       declare geany_plugins_${p//-/_}_REQUIRES="${NAME}-common"
+       declare geany_plugins_${p//-/_}_CONTENTS="usr/lib/geany/$p.dll usr/share/doc/${NAME}/$p/"
+done
+geany_plugins_debugger_REQUIRES="gdb"
+geany_plugins_debugger_CONTENTS+=" usr/share/${NAME}/debugger/"
+geany_plugins_devhelp_CONTENTS+=" usr/share/${NAME}/devhelp/"
+geany_plugins_geanyctags_REQUIRES="ctags"
+geany_plugins_geanygendoc_REQUIRES="python-docutils"
+geany_plugins_geanygendoc_CONTENTS+=" usr/share/${NAME}/geanygendoc/"
+geany_plugins_geanylatex_REQUIRES="texlive-collection-latex"
+geany_plugins_geanylua_CONTENTS+="
+       usr/lib/${NAME}/geanylua/
+       usr/share/${NAME}/geanylua/
+"
+geany_plugins_geanypy_CONTENTS+=" usr/lib/geany/*.py usr/lib/geany/geanypy/"
+geany_plugins_geniuspaste_CONTENTS+=" usr/share/${NAME}/geniuspaste/"
+geany_plugins_git_changebar_CONTENTS+=" usr/share/${NAME}/git-changebar/"
+geany_plugins_lipsum_OBSOLETES="geany-plugins-geanylipsum"
+geany_plugins_overview_CONTENTS+=" usr/share/${NAME}/overview/"
+geany_plugins_pohelper_CONTENTS+=" usr/share/${NAME}/pohelper/"
+geany_plugins_projectorganizer_CONTENTS+="
+       usr/share/icons/hicolor/*/apps/prjorg-*
+       etc/postinstall/${NAME}.sh
+"
+geany_plugins_scope_REQUIRES="gdb"
+geany_plugins_scope_CONTENTS+=" usr/share/${NAME}/scope/"
+geany_plugins_sendmail_OBSOLETES="${NAME}-geanysendmail"
+
+DIFF_EXCLUDES="ax_python_devel.m4"
+
+# each plugin installs its own docs
+RESTRICT="postinst-doc"
This page took 0.019253 seconds and 5 git commands to generate.