diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-09-01 00:00:32 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-09-01 00:00:32 +0200 |
commit | ca9627e70852f6b2e835660df870fe3ab405882d (patch) | |
tree | 0a008b1d5b16fa0679a195ed7b5662c7891f591c /app-misc/nixnote2 | |
download | darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2 darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip |
Initial import
Diffstat (limited to 'app-misc/nixnote2')
-rw-r--r-- | app-misc/nixnote2/Manifest | 6 | ||||
-rw-r--r-- | app-misc/nixnote2/nixnote2-2.0.ebuild | 91 | ||||
-rw-r--r-- | app-misc/nixnote2/nixnote2-2.0_beta7.ebuild | 86 | ||||
-rw-r--r-- | app-misc/nixnote2/nixnote2-2.0_beta8.ebuild | 80 |
4 files changed, 263 insertions, 0 deletions
diff --git a/app-misc/nixnote2/Manifest b/app-misc/nixnote2/Manifest new file mode 100644 index 0000000..b0e445b --- /dev/null +++ b/app-misc/nixnote2/Manifest @@ -0,0 +1,6 @@ +DIST nixnote2-2.0-beta7.tar.gz 2027673 SHA256 71e21550b0c86b92a5d58e10494c640721825d5e68c24dbe834214f18952f271 SHA512 607977129e5cecf666f873ffa9ec69c7acf6600af7284600af3b050463ee52425dba52e5cd660750b5d681268476664a23f00cdcf09714c495b94b902e35bf92 WHIRLPOOL a25b2fbf708946adb10873b5036ff6e8e28874792d913ab6f8369177fc3835360103f3f31e9fecf8ac09f9f8b739779ee14858a5cf9bb093e132cac12c160491 +DIST nixnote2-2.0-beta8.tar.gz 2041489 SHA256 0e8cbdfa1b33bf49dd3c6f36de454b492ab8eacf3f792b2a49c02bb09f9053d2 SHA512 3fa99648c04e1b682d90cf306a1ed4d2ab50f3f067d7106ad30725cc0024a8f80f0da2e80eccb0074fce2473234e803dc1014262d53bec5674b771b017369339 WHIRLPOOL b12c3353296429055641a70b04bca826b2443c53696f77cbc22441b0795dce73948ae9e92717e605680ba8ebc8a2e9048fc023445b2fbeea8bf248dcef2f0f49 +DIST nixnote2-2.0.tar.gz 2668933 SHA256 15016caf90bfe09d44fcac4fa4039756eb7efbaf8469505373577f846ee67dcc SHA512 40b7aa7733bf37a0801a4c22823fd4da6ad7b8674e6da864f2ee5031a22cb905e09a098d2b07526232706b6c83772bada1c8dc82761e6ee493778c2e8ee2411b WHIRLPOOL cfb41e09e72c5979052ee165c3808b0ddd7f3da0a78c0e45ae0e645de82999c8073a68a5e07b69a87aed377cf789120839aac986724650884de74b41919f3362 +EBUILD nixnote2-2.0.ebuild 2180 SHA256 ddb122af4b2fad2aa671c2d52007b8ad3805e3a47ffd44a19c2fe59c6ef575ea SHA512 6fc45b41f79dcdcd8ad378942ae4263d7ca072ddd94be7bf5a0bcee09b1b0c9883c37ec9f4e4367edfac911803317d125d7fd75e6d2f688db8a4660404772094 WHIRLPOOL a0cb22b396d2dddcb7f7ca5b5929a105b8d20e92d82d3c730fb02d0d92192a2259496c55a0a84f2d3363a4b32431b01b19641ed8e1c906d6acbd24461b503e09 +EBUILD nixnote2-2.0_beta7.ebuild 2028 SHA256 20cd273a02165ce6f9004bf667549c233a8c312e884387aca4024272a3d972de SHA512 a5d2080b6c307ef07178c36e29ce47a68a0dd9f59051cd58d60460d390809c0dee0047c85b14a993e96119d2c45bb4b0ca890e54891455ff8e2703f24a8d2119 WHIRLPOOL 2e0b52164beb77060bee0f5bbda78d8371aa98e9f92a71ef27c55078185f05e335def1fab5e5f629b240c498fbc55d0760de22272a56ddcf0c188bb04cbdbc24 +EBUILD nixnote2-2.0_beta8.ebuild 1777 SHA256 11292b8cfd5a8f59a9c4aab5aadc508ebb641a8502b257d7411f36c184e17900 SHA512 048d0aabcbc429c6171cd58fb62ab62d007e397eb251bc959a309d3e70de3d77e604c9425504d2f814a674b12a9923f199e552012e4c3ffcd514fe8be885242a WHIRLPOOL e02b599f7c680139054a332faaa4b9df9fa5e510115185ad27a989c276399c809f241b09e7aa3d400e3692d53842502aa82c1880e578157a783184a0c026c090 diff --git a/app-misc/nixnote2/nixnote2-2.0.ebuild b/app-misc/nixnote2/nixnote2-2.0.ebuild new file mode 100644 index 0000000..5e2ee07 --- /dev/null +++ b/app-misc/nixnote2/nixnote2-2.0.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit qmake-utils versionator + + +if [[ "${PV}" == "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/baumgarr/${PN}.git" + SLOT="0/9999" +else + MY_PV="$(replace_version_separator 2 '-')" + SRC_URI="https://github.com/baumgarr/${PN}/archive/v${MY_PV}.tar.gz -> ${PN}-${MY_PV}.tar.gz" + SLOT="0/2" + S="${WORKDIR}/${PN}-${MY_PV}" +fi + +DESCRIPTION="Nixnote - A clone of Evernote for Linux" +HOMEPAGE="http://sourceforge.net/projects/nevernote/" +LICENSE="GPL-2" +KEYWORDS="amd64 x86" +IUSE="qt4 qt5 +opencv3" + +REQUIRED_USE="^^ ( qt4 qt5 ) + qt5? ( opencv3 ) + " + +DEPEND="dev-libs/boost + app-text/hunspell + + qt4? ( + app-text/poppler[qt4] + dev-qt/qtwebkit:4 + dev-qt/qtcore:4 + dev-qt/qtgui:4 + dev-qt/qtsql:4 + ) + qt5? ( + app-text/poppler[qt5] + dev-qt/qtwebkit:5 + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtsql:5 + ) + + opencv3? ( media-libs/opencv:0/3.1 ) + !opencv3? ( media-libs/opencv:0/2.4 ) + " +RDEPEND="${DEPEND} + app-text/htmltidy" + +# After commit 836482e, NixNote2 can not be compiled with qt4 any more +if [[ "${PV}" == *9999* ]] && use qt4; then + EGIT_COMMIT="836482e00c93618560c2896bbac87d3f89d17299" +fi + +src_prepare() { + # fix VideoCapture undefined reference error with opencv-3 + if use opencv3; then + sed -i 's/LIBS += /LIBS += -lopencv_videoio/g' NixNote2.pro + sed -i '/\#include "opencv\/cv.h"/i\#include "opencv2\/videoio.hpp"' dialog/webcamcapturedialog.h + fi + + lupdate -pro NixNote2.pro -no-obsolete || die + lrelease NixNote2.pro || die + + if use qt4; then + eqmake4 NixNote2.pro || die "qmake failed" + fi + if use qt5; then + eqmake5 NixNote2.pro || die "qmake failed" + fi +} + +src_install() { + insinto /usr/share/nixnote2 + doins -r help images java qss translations changelog.txt license.html shortcuts.txt *.ini + + rm -r ${D}/usr/share/nixnote2/translations/*.ts + + dobin nixnote2 + + insinto /usr/share/applications + doins nixnote2.desktop + + doman ${S}/man/nixnote2.1 + +} diff --git a/app-misc/nixnote2/nixnote2-2.0_beta7.ebuild b/app-misc/nixnote2/nixnote2-2.0_beta7.ebuild new file mode 100644 index 0000000..a2ca7c5 --- /dev/null +++ b/app-misc/nixnote2/nixnote2-2.0_beta7.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit qmake-utils versionator + + +if [[ "${PV}" == "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/baumgarr/${PN}.git" + SLOT="0/9999" +else + MY_PV="$(replace_version_separator 2 '-')" + SRC_URI="https://github.com/baumgarr/${PN}/archive/v${MY_PV}.tar.gz -> ${PN}-${MY_PV}.tar.gz" + SLOT="0/2" + S="${WORKDIR}/${PN}-${MY_PV}" +fi + +DESCRIPTION="Nixnote - A clone of Evernote for Linux" +HOMEPAGE="http://sourceforge.net/projects/nevernote/" +LICENSE="GPL-2" +KEYWORDS="amd64 x86" +IUSE="qt4 qt5 +opencv3" + +REQUIRED_USE="^^ ( qt4 qt5 ) + qt5? ( opencv3 ) + " + +DEPEND="dev-libs/boost + app-text/hunspell + + qt4? ( + app-text/poppler[qt4] + dev-qt/qtwebkit:4 + dev-qt/qtcore:4 + dev-qt/qtgui:4 + dev-qt/qtsql:4 + opencv3? ( media-libs/opencv:0/3.0[qt4] ) + !opencv3? ( media-libs/opencv:0/2.4[qt4] ) + ) + qt5? ( + app-text/poppler[qt5] + dev-qt/qtwebkit:5 + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtsql:5 + media-libs/opencv[qt5] + ) + " +RDEPEND="${DEPEND} + app-text/htmltidy" + +src_prepare() { + # fix VideoCapture undefined reference error with opencv-3 + if use opencv3; then + sed -i 's/LIBS += /LIBS += -lopencv_videoio/g' NixNote2.pro + sed -i '/\#include "opencv\/cv.h"/i\#include "opencv2\/videoio.hpp"' dialog/webcamcapturedialog.h + fi + + lupdate -pro NixNote2.pro -no-obsolete || die + lrelease NixNote2.pro || die + + if use qt4; then + eqmake4 NixNote2.pro || die "qmake failed" + fi + if use qt5; then + eqmake5 NixNote2.pro || die "qmake failed" + fi +} + +src_install() { + insinto /usr/share/nixnote2 + doins -r certs help images java qss translations changelog.txt license.html shortcuts.txt *.ini + + rm -r ${D}/usr/share/nixnote2/translations/*.ts + + dobin nixnote2 + + insinto /usr/share/applications + doins nixnote2.desktop + + doman ${S}/man/nixnote2.1 + +} diff --git a/app-misc/nixnote2/nixnote2-2.0_beta8.ebuild b/app-misc/nixnote2/nixnote2-2.0_beta8.ebuild new file mode 100644 index 0000000..83133c8 --- /dev/null +++ b/app-misc/nixnote2/nixnote2-2.0_beta8.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit qmake-utils versionator + + +if [[ "${PV}" == "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/baumgarr/${PN}.git" + SLOT="0/9999" +else + MY_PV="$(replace_version_separator 2 '-')" + SRC_URI="https://github.com/baumgarr/${PN}/archive/v${MY_PV}.tar.gz -> ${PN}-${MY_PV}.tar.gz" + SLOT="0/2" + S="${WORKDIR}/${PN}-${MY_PV}" +fi + +DESCRIPTION="Nixnote - A clone of Evernote for Linux" +HOMEPAGE="http://sourceforge.net/projects/nevernote/" +LICENSE="GPL-2" +KEYWORDS="amd64 x86" +IUSE="qt4 qt5 +opencv3" + +REQUIRED_USE="^^ ( qt4 qt5 ) + qt5? ( opencv3 ) + " + +DEPEND="dev-libs/boost + app-text/hunspell + + qt4? ( + app-text/poppler[qt4] + dev-qt/qtwebkit:4 + dev-qt/qtcore:4 + dev-qt/qtgui:4 + dev-qt/qtsql:4 + opencv3? ( media-libs/opencv:0/3.0[qt4] ) + !opencv3? ( media-libs/opencv:0/2.4[qt4] ) + ) + qt5? ( + app-text/poppler[qt5] + dev-qt/qtwebkit:5 + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtsql:5 + media-libs/opencv[qt5] + ) + " +RDEPEND="${DEPEND} + app-text/htmltidy" + +src_prepare() { + lupdate -pro NixNote2.pro -no-obsolete || die + lrelease NixNote2.pro || die + + if use qt4; then + eqmake4 NixNote2.pro || die "qmake failed" + fi + if use qt5; then + eqmake5 NixNote2.pro || die "qmake failed" + fi +} + +src_install() { + insinto /usr/share/nixnote2 + doins -r certs help images java qss translations changelog.txt license.html shortcuts.txt *.ini + + rm -r ${D}/usr/share/nixnote2/translations/*.ts + + dobin nixnote2 + + insinto /usr/share/applications + doins nixnote2.desktop + + doman ${S}/man/nixnote2.1 + +} |