From: "Andreas Huettel (dilfridge)" <dilfridge@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in media-tv/xawtv: ChangeLog xawtv-3.95-r3.ebuild
Date: Sat, 2 May 2015 15:48:47 +0000 (UTC) [thread overview]
Message-ID: <20150502154847.782009AC@oystercatcher.gentoo.org> (raw)
dilfridge 15/05/02 15:48:47
Modified: ChangeLog
Added: xawtv-3.95-r3.ebuild
Log:
Port to EAPI=5
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 84AD142F)
Revision Changes Path
1.72 media-tv/xawtv/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/xawtv/ChangeLog?rev=1.72&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/xawtv/ChangeLog?rev=1.72&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/xawtv/ChangeLog?r1=1.71&r2=1.72
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-tv/xawtv/ChangeLog,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -r1.71 -r1.72
--- ChangeLog 29 Jan 2015 19:07:44 -0000 1.71
+++ ChangeLog 2 May 2015 15:48:47 -0000 1.72
@@ -1,6 +1,11 @@
# ChangeLog for media-tv/xawtv
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/xawtv/ChangeLog,v 1.71 2015/01/29 19:07:44 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/xawtv/ChangeLog,v 1.72 2015/05/02 15:48:47 dilfridge Exp $
+
+*xawtv-3.95-r3 (02 May 2015)
+
+ 02 May 2015; Andreas K. Huettel <dilfridge@gentoo.org> +xawtv-3.95-r3.ebuild:
+ Port to EAPI=5
29 Jan 2015; Michał Górny <mgorny@gentoo.org> xawtv-3.95-r2.ebuild:
Convert to CPU_FLAGS_X86.
1.1 media-tv/xawtv/xawtv-3.95-r3.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/xawtv/xawtv-3.95-r3.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/xawtv/xawtv-3.95-r3.ebuild?rev=1.1&content-type=text/plain
Index: xawtv-3.95-r3.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-tv/xawtv/xawtv-3.95-r3.ebuild,v 1.1 2015/05/02 15:48:47 dilfridge Exp $
EAPI=5
inherit eutils font autotools flag-o-matic
PATCHLEVEL="4"
IUSE="aalib alsa dv lirc cpu_flags_x86_mmx motif nls opengl quicktime X xv zvbi xext"
MY_FONT=tv-fonts-1.1
DESCRIPTION="Small suite of video4linux related software"
HOMEPAGE="http://bytesex.org/xawtv/"
SRC_URI="http://dl.bytesex.org/releases/xawtv/${P}.tar.gz
X? ( http://dl.bytesex.org/releases/tv-fonts/${MY_FONT}.tar.bz2 )
mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
RDEPEND=">=sys-libs/ncurses-5.1
virtual/jpeg
X? (
x11-libs/libFS
x11-libs/libXmu
x11-libs/libX11
x11-libs/libXaw
x11-libs/libXt
x11-libs/libXext
x11-libs/libXrender
xext? (
x11-libs/libXinerama
x11-libs/libXxf86dga
x11-libs/libXrandr
x11-libs/libXxf86vm
)
x11-apps/xset
xv? ( x11-libs/libXv )
)
motif? ( >=x11-libs/motif-2.3:0
app-text/recode )
alsa? ( media-libs/alsa-lib )
aalib? ( media-libs/aalib )
dv? ( media-libs/libdv )
lirc? ( app-misc/lirc )
opengl? ( virtual/opengl )
quicktime? ( media-libs/libquicktime )
zvbi? ( media-libs/zvbi
media-libs/libpng )"
DEPEND="${RDEPEND}
X? (
x11-apps/xset
x11-apps/bdftopcf
x11-proto/videoproto
xext? ( x11-proto/xineramaproto )
)"
pkg_setup() {
if use X; then
font_pkg_setup
fi
}
src_prepare() {
if use X; then
cd "${WORKDIR}/${MY_FONT}"
epatch "${WORKDIR}/patches/extra/${MY_FONT}-nox.patch"
fi
cd "${S}"
EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
epatch "${FILESDIR}/${P}-libquicktime-compat.patch"
epatch "${FILESDIR}/${P}-pagemask-fix.patch"
epatch "${FILESDIR}/${P}-jpeg-7.patch"
eautoreconf
}
src_configure() {
# It tries to include FSlib.h directly, but this seems to have moved.
use X && has_version x11-libs/libFS && append-flags -I/usr/include/X11/fonts
econf \
$(use_with X x) \
$(use_enable xext xfree-ext) \
$(use_enable xv xvideo) \
$(use_enable dv) \
$(use_enable cpu_flags_x86_mmx mmx) \
$(use_enable motif) \
$(use_enable quicktime) \
$(use_enable alsa) \
$(use_enable lirc) \
$(use_enable opengl gl) \
$(use_enable zvbi) \
$(use_enable aalib aa)
}
src_compile() {
emake verbose=yes
if use X; then
cd "${WORKDIR}/${MY_FONT}"
emake -j1 DISPLAY=
fi
}
src_install() {
make install DESTDIR="${D}" resdir="${D}"/usr/share/X11 || die
# v4lctl is only installed automatically if the X USE flag is enabled
use X || \
dobin x11/v4lctl
dodoc Changes README* TODO "${FILESDIR}"/webcamrc
docinto cgi-bin
dodoc scripts/webcam.cgi
use X || \
rm -f "${D}"/usr/share/man/man1/{pia,propwatch}.1 \
"${D}"/usr/share/{man,man/fr,man/es}/man1/xawtv.1 \
"${D}"/usr/share/{man,man/es}/man1/rootv.1
use motif || \
rm -f "${D}"/usr/share/man/man1/{motv,mtt}.1
use zvbi || \
rm -f "${D}"/usr/share/man/man1/{alevtd,mtt}.1 \
"${D}"/usr/share/{man,man/es}/man1/scantv.1
use nls || \
rm -f "${D}"/usr/share/man/fr \
"${D}"/usr/share/man/es
# The makefile seems to be fubar'd for some data
dodir /usr/share/${PN}
mv "${D}"/usr/share/*.list "${D}"/usr/share/${PN}
mv "${D}"/usr/share/Index* "${D}"/usr/share/${PN}
if use X; then
cd "${WORKDIR}/${MY_FONT}"
insinto /usr/share/fonts/xawtv
doins *.gz fonts.alias
font_xfont_config
fi
}
pkg_postinst() {
if use X; then
ebegin "installing teletype fonts into /usr/share/fonts/xawtv"
cd /usr/share/fonts/xawtv
mkfontdir
eend
fi
}
next reply other threads:[~2015-05-02 15:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-02 15:48 Andreas Huettel (dilfridge) [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-05-02 15:51 [gentoo-commits] gentoo-x86 commit in media-tv/xawtv: ChangeLog xawtv-3.95-r3.ebuild Andreas Huettel (dilfridge)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150502154847.782009AC@oystercatcher.gentoo.org \
--to=dilfridge@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox