From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 187D9138334 for ; Thu, 26 Jul 2018 19:30:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 966B9E092A; Thu, 26 Jul 2018 19:30:34 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 65F90E092A for ; Thu, 26 Jul 2018 19:30:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 48DF5335CCD for ; Thu, 26 Jul 2018 19:30:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 80DDD365 for ; Thu, 26 Jul 2018 19:30:30 +0000 (UTC) From: "Mikle Kolyada" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mikle Kolyada" Message-ID: <1532633426.d811ce8fb18c2065687b305f252d54f06aac2bd6.zlogene@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/dvbackup/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/dvbackup/dvbackup-0.0.4-r2.ebuild X-VCS-Directories: media-video/dvbackup/ X-VCS-Committer: zlogene X-VCS-Committer-Name: Mikle Kolyada X-VCS-Revision: d811ce8fb18c2065687b305f252d54f06aac2bd6 X-VCS-Branch: master Date: Thu, 26 Jul 2018 19:30:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7c37dec1-2e92-4976-b2e7-706629a8d59d X-Archives-Hash: ebf4f53225f9a609508c0cfaa128755c commit: d811ce8fb18c2065687b305f252d54f06aac2bd6 Author: Mikle Kolyada gentoo org> AuthorDate: Thu Jul 26 19:29:42 2018 +0000 Commit: Mikle Kolyada gentoo org> CommitDate: Thu Jul 26 19:30:26 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d811ce8f media-video/dvbackup: revision bump (EAPI=7) Package-Manager: Portage-2.3.40, Repoman-2.3.9 media-video/dvbackup/dvbackup-0.0.4-r2.ebuild | 53 +++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/media-video/dvbackup/dvbackup-0.0.4-r2.ebuild b/media-video/dvbackup/dvbackup-0.0.4-r2.ebuild new file mode 100644 index 00000000000..a053819d163 --- /dev/null +++ b/media-video/dvbackup/dvbackup-0.0.4-r2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="A small utility for creating backups on DV tapes" +HOMEPAGE="http://dvbackup.sourceforge.net/" +SRC_URI="mirror://sourceforge/dvbackup/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND="sys-libs/glibc + dev-libs/popt + sys-libs/zlib" + +RDEPEND="${DEPEND} + media-libs/libdv" + +src_prepare() { + default + + local i + + eapply "${FILESDIR}/${P}-gcc4.diff" + + # fix Makefile to respect $LDFLAGS + sed -i -e 's:gcc \$(CFLAGS):\$(CC) \$(CFLAGS) \$(LDFLAGS):g' \ + -e 's:^\(CFLAGS=\):#\1:g' Makefile || die "sed failed" + + # convert LATIN1 docs to UTF-8 + for i in ChangeLog ReleaseNotes; do + if [ -f "${i}" ]; then + echo ">>> Converting ${i} to UTF-8" + iconv -f LATIN1 -t UTF8 -o "${i}~" "${i}" && mv -f "${i}~" "${i}" || rm -f "${i}~" + fi + done +} + +src_compile() { + emake CC="$(tc-getCC)" dvbackup +} + +src_install() { + dobin dvbackup + insinto /usr/share/${PN} + doins underrun-ntsc.dv underrun-pal.dv + dodoc AUTHORS dvbackup.html ChangeLog ReleaseNotes +}