From 8615c518b1f1d03130f21656a1a026959bb1e9c9 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 7 Dec 2022 15:13:37 +0000 Subject: gentoo auto-resync : 07:12:2022 - 15:13:37 --- app-text/xournal/xournal-0.4.8.2016-r1.ebuild | 62 +++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 app-text/xournal/xournal-0.4.8.2016-r1.ebuild (limited to 'app-text/xournal/xournal-0.4.8.2016-r1.ebuild') diff --git a/app-text/xournal/xournal-0.4.8.2016-r1.ebuild b/app-text/xournal/xournal-0.4.8.2016-r1.ebuild new file mode 100644 index 000000000000..3ebf59e8631a --- /dev/null +++ b/app-text/xournal/xournal-0.4.8.2016-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +[[ ${PV} == *9999 ]] && GNOME2_EAUTORECONF=yes + +inherit gnome2 + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://git.code.sf.net/p/xournal/code" + unset SRC_URI +else + KEYWORDS="~amd64 ~ppc64 ~x86" + SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +fi + +DESCRIPTION="An application for notetaking, sketching, and keeping a journal using a stylus" +HOMEPAGE="http://xournal.sourceforge.net/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="+pdf vanilla" + +DEPEND=" + app-text/poppler[cairo] + dev-libs/atk + dev-libs/glib + gnome-base/libgnomecanvas + media-libs/freetype + media-libs/fontconfig + sys-libs/zlib + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/gtk+:2 + x11-libs/pango +" +RDEPEND=" + ${DEPEND} + pdf? ( app-text/poppler[utils] app-text/ghostscript-gpl ) +" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/${PN}"-0.4.8-c99-fix.patch +) + +src_prepare() { + default + + if ! use vanilla; then + eapply "${FILESDIR}"/xournal-0.4.8-aspectratio.patch + fi +} + +src_install() { + emake DESTDIR="${D}" install desktop-install + + dodoc ChangeLog AUTHORS README + dodoc -r html-doc/* +} -- cgit v1.2.3