public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-video/dvbackup/
@ 2018-07-26 19:30 Mikle Kolyada
  0 siblings, 0 replies; 2+ messages in thread
From: Mikle Kolyada @ 2018-07-26 19:30 UTC (permalink / raw
  To: gentoo-commits

commit:     d811ce8fb18c2065687b305f252d54f06aac2bd6
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 26 19:29:42 2018 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> 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
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-video/dvbackup/
@ 2018-07-26 19:30 Mikle Kolyada
  0 siblings, 0 replies; 2+ messages in thread
From: Mikle Kolyada @ 2018-07-26 19:30 UTC (permalink / raw
  To: gentoo-commits

commit:     feac73e9b606720175885e4fc8e240cdf16f17dd
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 26 19:30:11 2018 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Thu Jul 26 19:30:27 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=feac73e9

media-video/dvbackup: Drop old

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 media-video/dvbackup/dvbackup-0.0.4-r1.ebuild | 52 ---------------------------
 1 file changed, 52 deletions(-)

diff --git a/media-video/dvbackup/dvbackup-0.0.4-r1.ebuild b/media-video/dvbackup/dvbackup-0.0.4-r1.ebuild
deleted file mode 100644
index dabe40404d6..00000000000
--- a/media-video/dvbackup/dvbackup-0.0.4-r1.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="2"
-
-inherit eutils
-
-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() {
-	local i
-
-	epatch "${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
-
-	# 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 dvbackup || die "emake failed"
-}
-
-src_install() {
-	dobin dvbackup
-	insinto /usr/share/${PN}
-	doins underrun-ntsc.dv underrun-pal.dv
-	dodoc AUTHORS ChangeLog ReleaseNotes
-	dohtml dvbackup.html
-}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-07-26 19:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-26 19:30 [gentoo-commits] repo/gentoo:master commit in: media-video/dvbackup/ Mikle Kolyada
  -- strict thread matches above, loose matches on Subject: below --
2018-07-26 19:30 Mikle Kolyada

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox