forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-text/xournal: Version and EAPI bump
Package-Manager: Portage-2.3.40, Repoman-2.3.9
- Loading branch information
Showing
3 changed files
with
70 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/* | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters