pkgsrc/editors/Sigil/Makefile
wiz 077011c4bd Sigil: update to 0.9.10.
Sigil-0.9.10
   Bug Fixes
    - Fix signal handling to prevent double launch of plugins immediately after plugin installed
    - Fixed incorrect named entity tooltips for many of the Insert-> Special Characters
    - Fixed lack of recognition of woff2 fonts inside Sigil and for plugins
    - Fix segfault when .xml is first file in BookBrowser and add new html or split at cursor is invoked
    - Fix bug that allowed multiple audio/video tabas of the same resource to be opened
    - Fix plugin related bug when adding/removing last xhtml file
    - Fix Text Direction setting inside body to use structural dir attribute under epub3
    - Fix duplicate group-position property in epub3 MetaData Editor
    - Use absolute path references when first opening Sigil with an ebook so that Open Recent works better
    - Fix "issue" in handling self-closing script tags in head (similar issue that we had with self-closing title tags)
    - Fix issue converting Qt Strings to their Python equivalent when outside the BMP
    - Fix issue with trying to add existing html files when names clash due to case insensitive file systems
    - Fix crash bug after styling text in BookView and immediately going to CodeView without moving cursor
    - Fix crash bugs after deleting resources contained in a Report in the BookBrowser
    - Fix bug that destroys nav if left in unparseable state by user even temporarily
    - Fix bug that moved curosr to beginning of tag block when save is done in CodeView

   New Features
    - allow plugins to supply their own icon (plugin.png 48x48) for use on the Quick Launch Toolbar icons
    - extend plugin interface to include the status of the epub inside Sigil (modified or saved)
    - extend plugin interface to include the path to the saved epub file or the null string if never saved
    - extend Insert->Special Characters to include both a Greek letter panel and a mathematical symbol panel
    - add support for calibre:series and calibre:series_index to Metadata Editor for epub2
    - add support for calibre:title_sort to Metadata Editor for epub2
    - add support for clicking internal links in Preview to load the proper destination tab
    - add support for loading Qt's base translation files if present. Allows buttons on native qt dialogs to
        be translated (Windows users may need to manually copy newer qtbase_xx.qm files to Sigil's translation
        directory if they didn't exist in Qt5.6.2)
    - allow user to add custom css rules to Preview/Book View by creating a file called "custom_preview_style.css"
        in the Sigil preferences folder (not responsible for custom css and ebook css fighting with each other)
2018-08-17 10:55:42 +00:00

56 lines
1.8 KiB
Makefile

# $NetBSD: Makefile,v 1.112 2018/08/17 10:55:42 wiz Exp $
DISTNAME= Sigil-0.9.10
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_GITHUB:=Sigil-Ebook/}
GITHUB_PROJECT= Sigil
GITHUB_TAG= ${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://sigil-ebook.com/
COMMENT= Multi-platform WYSIWYG ebook editor (for the ePub format)
LICENSE= gnu-gpl-v3
#MAKE_JOBS_SAFE= NO
DEPENDS+= ${PYPKGPREFIX}-Tk-[0-9]*:../../x11/py-Tk
DEPENDS+= ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
Qt5_DIR= ${BUILDLINK_PREFIX.qt5-qtbase}/qt5
ALL_ENV+= Qt5_DIR=${Qt5_DIR}
BUILDLINK_TRANSFORM+= opt:-O2:-O0
#MAKE_ENV+= CXX_FLAGS="-g"
USE_LANGUAGES= c c++0x
USE_CMAKE= yes
USE_TOOLS+= pkg-config
#CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Debug
BUILDLINK_TRANSFORM+= l:BoostParts:boost_date_time:boost_filesystem:boost_regex:boost_system:boost_thread:boost_program_options
BUILDLINK_TRANSFORM+= l:Xerces:xerces-c
BUILDLINK_TRANSFORM+= l:zlib:z
#LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/sigil
#LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib
PYTHON_VERSIONS_INCOMPATIBLE= 27
REPLACE_PYTHON+= src/Resource_Files/*/*/*/*.py
REPLACE_PYTHON+= src/Resource_Files/*/*/*.py
REPLACE_PYTHON+= src/Resource_Files/*/*.py
.include "../../textproc/xerces-c/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../devel/pcre/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../textproc/hunspell/buildlink3.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../x11/qt5-qtsvg/buildlink3.mk"
.include "../../x11/qt5-qttools/buildlink3.mk"
.include "../../x11/qt5-qtwebchannel/buildlink3.mk"
.include "../../x11/qt5-qtwebkit/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"