mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-09 04:51:27 +02:00
ucsniff: fixed ffmpeg and x264 use flag deps
This commit is contained in:
parent
744661968b
commit
5c277683a4
2 changed files with 58 additions and 0 deletions
|
|
@ -2,3 +2,4 @@ AUX ucsniff-as-needed.patch 667 RMD160 00b49e6429ed89caf82353e09f9b697d89caba71
|
|||
AUX ucsniff-rename-config.patch 483 RMD160 5daf2453a09f8739a634316563ad25a298ed4be2 SHA1 849f3ce510553edc60ccd346687232ce45fce137 SHA256 8105d1394ffba58b258c28ed11e4c29156af4b7a21627ac58e9b604342d789de
|
||||
DIST ucsniff-3.08.tar.gz 4204027 RMD160 4b16246748f03d728b9108e5a16283cb18451d59 SHA1 da2881b5342f40efa3390eb525933499f15d2099 SHA256 1a0ddc9ba4372a13f8904f49ca1ca5c31239aaf3691817f332a5aad95639db73
|
||||
EBUILD ucsniff-3.08-r1.ebuild 1237 RMD160 ddefcce32ae5f2c97f87abb34c4e62fd1d235e18 SHA1 53b370dc20b0ee6a604bd9acf9998171909d5b0a SHA256 81084b7f2fd21c134b521e900ab7c60fb8b852ec3506774baf319fa7e21e1143
|
||||
EBUILD ucsniff-3.08-r2.ebuild 1328 RMD160 7dfcbcc75c83a3332729311ab76bf9975b23252b SHA1 ae9fad5d9c32435c01f364374b752f2b38037b71 SHA256 591159ebd9f88c1d8754ff64a73eb7a996982bb08490fe87b8f1c7730d3f776f
|
||||
|
|
|
|||
57
net-analyzer/ucsniff/ucsniff-3.08-r2.ebuild
Normal file
57
net-analyzer/ucsniff/ucsniff-3.08-r2.ebuild
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
# most of the god-awful ugly stuff in here is due to ettercap
|
||||
# workarounds and patches stolen from the ettercap ebuilds
|
||||
WANT_AUTOMAKE="1.8"
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit flag-o-matic eutils autotools libtool
|
||||
|
||||
DESCRIPTION="ip video sniffer"
|
||||
HOMEPAGE="http://ucsniff.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/$PN/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug +ffmpeg +X +x264"
|
||||
#IUSE="+vlc +X +ffmpeg +x264 debug"
|
||||
|
||||
DEPEND="X? ( x11-libs/libXext
|
||||
media-libs/freetype )
|
||||
ffmpeg? ( media-video/ffmpeg )
|
||||
x264? ( media-video/ffmpeg[x264] )
|
||||
sys-libs/zlib
|
||||
net-libs/libpcap
|
||||
net-libs/libnet
|
||||
media-libs/alsa-lib"
|
||||
# vlc? ( media-video/vlc )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
append-flags "-DLTDL_SHLIB_EXT='\".so\"'"
|
||||
}
|
||||
|
||||
src_prepare () {
|
||||
epatch "${FILESDIR}"/$PN-as-needed.patch
|
||||
epatch "${FILESDIR}"/$PN-rename-config.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable X gui) \
|
||||
$(use_enable vlc libvlc) \
|
||||
$(use_enable ffmpeg) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable x264)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DESTDIR="${D}" emake install || die
|
||||
rm -r "${D}"/usr/share/man/man8 || die
|
||||
mv "${D}"/usr/share/man/man5/etter.conf.5 "${D}"/usr/share/man/man5/ucsniff.conf.5 || die
|
||||
}
|
||||
Loading…
Reference in a new issue