2014-12-12 09:52:42 +01:00
|
|
|
# $NetBSD: Makefile,v 1.65 2014/12/12 08:52:42 wiz Exp $
|
2009-08-06 08:23:23 +02:00
|
|
|
|
2014-12-12 09:52:42 +01:00
|
|
|
DISTNAME= Sigil-0.8.2
|
2009-08-06 08:23:23 +02:00
|
|
|
CATEGORIES= editors
|
2014-11-23 20:27:29 +01:00
|
|
|
MASTER_SITES= -https://github.com/user-none/Sigil/archive/${PKGVERSION_NOREV}${EXTRACT_SUFX}
|
2009-08-06 08:23:23 +02:00
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= http://code.google.com/p/sigil/
|
|
|
|
COMMENT= Multi-platform WYSIWYG ebook editor (for the ePub format)
|
|
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
|
2011-10-13 12:42:01 +02:00
|
|
|
MAKE_JOBS_SAFE= NO
|
|
|
|
|
2013-12-13 15:46:10 +01:00
|
|
|
Qt5_DIR= ${BUILDLINK_PREFIX.qt5-qtbase}/qt5
|
|
|
|
ALL_ENV+= Qt5_DIR=${Qt5_DIR}
|
|
|
|
|
|
|
|
BUILDLINK_TRANSFORM+= opt:-O2:-O0
|
|
|
|
MAKE_ENV+= CXX_FLAGS="-g"
|
|
|
|
|
2009-08-06 08:23:23 +02:00
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
USE_CMAKE= yes
|
2012-02-16 12:58:50 +01:00
|
|
|
USE_TOOLS+= pkg-config
|
2009-08-06 08:23:23 +02:00
|
|
|
|
2013-12-13 15:46:10 +01:00
|
|
|
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Debug
|
|
|
|
|
2011-10-13 12:42:01 +02:00
|
|
|
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
|
|
|
|
|
2014-11-23 20:27:29 +01:00
|
|
|
REPLACE_PYTHON+= src/Sigil/Resource_Files/plugin_launchers/python/*.py
|
|
|
|
|
2011-10-13 12:42:01 +02:00
|
|
|
.include "../../mk/compiler.mk"
|
|
|
|
# GCC 4.4 and above needs this
|
|
|
|
.if !empty(PKGSRC_COMPILER:Mgcc) && !empty(CC_VERSION:Mgcc-4.[4-9]*)
|
|
|
|
_WRAP_EXTRA_ARGS.CXX+= -std=c++0x
|
2014-12-01 13:39:16 +01:00
|
|
|
CWRAPPERS_APPEND.cxx+= -std=c++0x
|
2011-10-13 12:42:01 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include "../../textproc/xerces-c/buildlink3.mk"
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
|
|
.include "../../devel/boost-libs/buildlink3.mk"
|
Update to 0.5.0
* Add dependency to pcre and hunspell.
* Use external libraries (CMakeLists.txt etc. from upstream HEAD)
Changelog:
Sigil 0.5 2012.01.21
- Implement issue 533 and 1079: allow user to select which level(s) of <h> to include.
- Fix issue 788: Error saving when the folder the file was in was renamed
outside Sigil.
- Fix issue 998: Don't select file extension on rename in book browser.
- Fix issue 1111: Failure to rename to same name with case change.
- Implement issue 205: Drag and drop for images to book and code views.
- Fix issue 1019: issues with opf-namespace declaration.
- Inline spell check with right click replace in Code View.
- Fix issue 1064: Issues with editing epubs with differing html extensions.
Take mimetype into account when opening the file to help determine how to
deal with the file.
- Fix issue 1055, 1038, 1006: Focus switching causes unwanted cursor jumping
in split view. Don't auto sync cursor position between views.
- Implement issue 375: Add image selection dialog for inserting existing
images into book and code views.
- Add menu items for setting heading, adding new items, show / hide toolbars.
- Organize menu.
- Fix issue 803: Print prints immediately, no dialog box.
- Implement 245: Unify zoom levels (book, text, image) and store the levels.
- i18n capability. Build and load translation files.
- Add keyboard shortcut manager so user can change the keyboard shortcuts. Fixes 966.
- Add preference dialog. Closes 206, 718.
- Refactor Find & Replace into a widget that appears below the editor. Closes issues:
961, 579.
- Windows Installer: Add Sigil as a handler for EPUB and HTML files so that jump lists
will work and it will always show up on the 'Open With...' menu.
- Fix issue 1033, 1034: Implement scroll to fragment for Code View and fix scrolling for
book view.
- Fix issue 1032: Remove '=' from the list of valid characters for ids.
- Fix issue 1001: Valid IDs are now formed by replacing invalid characters with
underscores. Colon removed from the list of valid characters.
- Fix issue 1014: Sigil was erroneously assuming that fragment ids would be unique
across the entire book, whereas they're only required to be unique within a
particular xhtml document. New code implemented to cover those situations where
this assumption is wrong.
- Fix issue 1015: Fix issues with cursor positioning in Split View.
- Fix issue 1022: Added support for Adobe's page-map.xml pagination extension. (Must
use this exact filename).
- Implement issue 183: Use a PCRE regular expression engine instead of QRegExp.
Also fixes issue 498: regex '^' (start of line) broken.
- Implement issue 168: Allow selection of multiple Meta Editor properties.
- Allow for deleting multiple metadata items.
- Implement issue 368: Pressing enter key on item in book browser should open item.
- Fix issue 1005: Regression from change to ensure metdata element has dc namespace.
2012-01-26 16:43:20 +01:00
|
|
|
.include "../../devel/pcre/buildlink3.mk"
|
2014-11-23 20:27:29 +01:00
|
|
|
.include "../../lang/python/application.mk"
|
|
|
|
.include "../../textproc/hunspell/buildlink3.mk"
|
2013-12-13 15:46:10 +01:00
|
|
|
.include "../../x11/qt5-qtbase/buildlink3.mk"
|
|
|
|
.include "../../x11/qt5-qtsvg/buildlink3.mk"
|
|
|
|
.include "../../x11/qt5-qttools/buildlink3.mk"
|
|
|
|
.include "../../x11/qt5-qtwebkit/buildlink3.mk"
|
2011-10-13 12:42:01 +02:00
|
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
2009-08-06 08:23:23 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|