diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2017-02-18 13:29:16 +0100 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2017-02-18 13:29:27 +0100 |
commit | bc7678b30cb3170a34b57f48208d159180d2372a (patch) | |
tree | 0318d747280b25cd74b2cd3a05d2e1e0ea11e78c /app-text | |
parent | x11-drivers/xf86-video-intel: Update snapshot (diff) | |
download | gentoo-bc7678b30cb3170a34b57f48208d159180d2372a.tar.gz gentoo-bc7678b30cb3170a34b57f48208d159180d2372a.tar.bz2 gentoo-bc7678b30cb3170a34b57f48208d159180d2372a.zip |
app-text/libpaper: Update to new patch release from Debian
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/libpaper/Manifest | 1 | ||||
-rw-r--r-- | app-text/libpaper/libpaper-1.1.24_p5.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/app-text/libpaper/Manifest b/app-text/libpaper/Manifest index 6d27788eb8d7..45a42de459f0 100644 --- a/app-text/libpaper/Manifest +++ b/app-text/libpaper/Manifest @@ -1 +1,2 @@ +DIST libpaper_1.1.24+nmu5.tar.gz 49032 SHA256 e29deda4cd7350189c71af0925cbf4a4473f9841d1419a922e1e8ff1954db1f2 SHA512 4d20d454dd7d09dd7e84b9ccc3b0ff8d65d95e0ae3874ec41462f812882e7ead032310396801a47a32bfff112c4a9adaf2d8d3e6235a1fa6fbb853196a363c56 WHIRLPOOL 595e74f41f733a3ec0e8f79ff46182fb3f92f1e28306e79f4e7b78f91872124e26a30321b54da68c15be577037c6a2cc2f85be6051cc021993c7d59724769fcc DIST libpaper_1.1.24.tar.gz 355272 SHA256 38ac28114673d4b175a939d981e0477a0ed9bcaab27033522ecb2ca78ee90c7e SHA512 f90816723dafa9ce0aef652e027b13174d2430208003d3715d6f96226130bc66cfc36465f1a5a3f855697708c389f219b964a5534a64a8c98ac53662040df67b WHIRLPOOL 74a7cb6dec146104988dd5c5e0b4bf7fb776bde086c4fecf658d949e17d6701fa1b23511a7be43f01a01dcfd7c0340f23c3c9ec1c51fb7718d6b0dbf1761e75d diff --git a/app-text/libpaper/libpaper-1.1.24_p5.ebuild b/app-text/libpaper/libpaper-1.1.24_p5.ebuild new file mode 100644 index 000000000000..5936c71eae47 --- /dev/null +++ b/app-text/libpaper/libpaper-1.1.24_p5.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit autotools multilib-minimal + +MY_PV=${PV/_p/+nmu} +DESCRIPTION="Library for handling paper characteristics" +HOMEPAGE="http://packages.debian.org/unstable/source/libpaper" +SRC_URI="mirror://debian/pool/main/libp/libpaper/${PN}_${MY_PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="" +RDEPEND="abi_x86_32? ( + !<=app-emulation/emul-linux-x86-baselibs-20130224-r10 + !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] + )" +DEPEND="" + +S="${WORKDIR}/${PN}-${MY_PV}" + +DOCS=( README ChangeLog debian/changelog ) + +src_prepare() { + sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die + eautoreconf + default +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + --disable-static +} + +multilib_src_install_all() { + find "${ED}" -name '*.la' -exec rm -f {} + + + einstalldocs + + dodir /etc + (paperconf 2>/dev/null || echo a4) > "${ED}"/etc/papersize \ + || die "papersize config failed" + + if ! has_version app-text/libpaper ; then + echo + elog "run e.g. \"paperconfig -p letter\" as root to use letter-pagesizes" + echo + fi +} |