Skip to content

Commit

Permalink
app-text/xournal: Version and EAPI bump
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.40, Repoman-2.3.9
  • Loading branch information
akhuettel committed May 28, 2018
1 parent 2b6c944 commit 8165348
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 5 deletions.
1 change: 1 addition & 0 deletions app-text/xournal/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST xournal-0.4.8.2016.tar.gz 646082 BLAKE2B 4f64fb45759616d99f961b8db575bec1620e089d9f87d4e02d3de7b1cb1d9189d439d78e5b89c93d5635138206f603e40bb33a46458d34a9ec050869e54be531 SHA512 1426d5c9ba3486fbe342d49fc19fcc162965cd6a7b7754f79665e43fe0e60e6f42f61969405ace78fdaa7b99cbb3d4b07b7fb5df246d68a329b52084b6eec76e
DIST xournal-0.4.8.tar.gz 641240 BLAKE2B cbf82f3ddb27854ce4a17fe80d1ed012f47529ee3f41eac0118f4948f4ca76488fb647c77ab21c99cf19de0016df4db31a448d4c626a42219b2b13b297b5d51e SHA512 cfd5760a0e832ef02786a29cb744d4932aeee97c4d6992b430e647bd59aaef1042735203824d0eaf9da9b884dcdadcfb8f5acea221638db91438ae46a6ee42bf
59 changes: 59 additions & 0 deletions app-text/xournal/xournal-0.4.8.2016.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

[[ ${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 ~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"

COMMONDEPEND="
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="${COMMONDEPEND}
pdf? ( app-text/poppler[utils] app-text/ghostscript-gpl )
"
DEPEND="${COMMONDEPEND}
virtual/pkgconfig
"

src_prepare() {
default_src_prepare
if ! use vanilla; then
eapply "${FILESDIR}"/xournal-0.4.8-aspectratio.patch
fi
}

src_install() {
emake DESTDIR="${D}" install
emake DESTDIR="${D}" desktop-install

dodoc ChangeLog AUTHORS README
dodoc -r html-doc/*
}
15 changes: 10 additions & 5 deletions app-text/xournal/xournal-9999.ebuild
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5

GCONF_DEBUG=no
EAPI=6

[[ ${PV} == *9999 ]] && GNOME2_EAUTORECONF=yes

Expand All @@ -23,7 +21,7 @@ HOMEPAGE="http://xournal.sourceforge.net/"

LICENSE="GPL-2"
SLOT="0"
IUSE="+pdf"
IUSE="+pdf vanilla"

COMMONDEPEND="
app-text/poppler[cairo]
Expand All @@ -45,10 +43,17 @@ DEPEND="${COMMONDEPEND}
virtual/pkgconfig
"

src_prepare() {
default_src_prepare
if ! use vanilla; then
eapply "${FILESDIR}"/xournal-0.4.8-aspectratio.patch
fi
}

src_install() {
emake DESTDIR="${D}" install
emake DESTDIR="${D}" desktop-install

dodoc ChangeLog AUTHORS README
dohtml -r html-doc/*
dodoc -r html-doc/*
}

0 comments on commit 8165348

Please sign in to comment.