diff options
author | Aaron Bauman <bman@gentoo.org> | 2018-05-26 14:41:53 -0400 |
---|---|---|
committer | Aaron Bauman <bman@gentoo.org> | 2018-05-26 16:31:25 -0400 |
commit | 26d39ee7495db76e0c377ded8753dbf5a2c7305c (patch) | |
tree | 91605620a13bb11d1da9c2651f65c4ad6d4f5ff6 | |
parent | app-benchmarks/acovea: drop EAPI=2 (diff) | |
download | gentoo-26d39ee7495db76e0c377ded8753dbf5a2c7305c.tar.gz gentoo-26d39ee7495db76e0c377ded8753dbf5a2c7305c.tar.bz2 gentoo-26d39ee7495db76e0c377ded8753dbf5a2c7305c.zip |
media-libs/libptp2: bump EAPI and drop eutils
Package-Manager: Portage-2.3.40, Repoman-2.3.9
-rw-r--r-- | media-libs/libptp2/files/libptp2-1.1.10-configure.patch | 4 | ||||
-rw-r--r-- | media-libs/libptp2/files/libptp2-1.1.10-makefile.patch | 4 | ||||
-rw-r--r-- | media-libs/libptp2/libptp2-1.1.10.ebuild | 17 |
3 files changed, 14 insertions, 11 deletions
diff --git a/media-libs/libptp2/files/libptp2-1.1.10-configure.patch b/media-libs/libptp2/files/libptp2-1.1.10-configure.patch index d8f1260f5e34..5036ff683cbf 100644 --- a/media-libs/libptp2/files/libptp2-1.1.10-configure.patch +++ b/media-libs/libptp2/files/libptp2-1.1.10-configure.patch @@ -1,5 +1,5 @@ ---- libptp2-1.1.10/configure.in.orig 2007-12-28 10:28:36.000000000 +1100 -+++ libptp2-1.1.10/configure.in 2007-12-28 10:36:14.000000000 +1100 +--- a/configure.in 2007-12-28 10:28:36.000000000 +1100 ++++ b/configure.in 2007-12-28 10:36:14.000000000 +1100 @@ -25,6 +25,10 @@ # Checks for programs. diff --git a/media-libs/libptp2/files/libptp2-1.1.10-makefile.patch b/media-libs/libptp2/files/libptp2-1.1.10-makefile.patch index 0e7b5adec8fc..19fd2590ee28 100644 --- a/media-libs/libptp2/files/libptp2-1.1.10-makefile.patch +++ b/media-libs/libptp2/files/libptp2-1.1.10-makefile.patch @@ -1,5 +1,5 @@ ---- libptp2-1.1.10.orig/src/Makefile.am 2005-11-01 02:39:40.000000000 +1100 -+++ libptp2-1.1.10/src/Makefile.am 2007-12-28 09:51:01.000000000 +1100 +--- a/src/Makefile.am 2005-11-01 02:39:40.000000000 +1100 ++++ b/src/Makefile.am 2007-12-28 09:51:01.000000000 +1100 @@ -17,7 +17,7 @@ else ptpcam_SOURCES = ptpcam.c ptpcam.h diff --git a/media-libs/libptp2/libptp2-1.1.10.ebuild b/media-libs/libptp2/libptp2-1.1.10.ebuild index e41d7e0a657b..ceffdf3f139f 100644 --- a/media-libs/libptp2/libptp2-1.1.10.ebuild +++ b/media-libs/libptp2/libptp2-1.1.10.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=2 -inherit autotools eutils +EAPI=6 +inherit autotools DESCRIPTION="Library and client to communicate with cameras via PTP" HOMEPAGE="https://sourceforge.net/projects/libptp/" @@ -16,11 +16,13 @@ IUSE="" RDEPEND="virtual/libusb:0" DEPEND="${RDEPEND}" -src_prepare() { - epatch \ - "${FILESDIR}"/${P}-makefile.patch \ - "${FILESDIR}"/${P}-configure.patch +PATCHES=( + "${FILESDIR}/${P}-makefile.patch" + "${FILESDIR}/${P}-configure.patch" +) +src_prepare() { + default AT_M4DIR="m4" eautoreconf } @@ -30,4 +32,5 @@ src_test() { src_install() { emake DESTDIR="${D}" install || die + default } |