Skip to content

Commit

Permalink
Modified libmimic useflag to webcam
Browse files Browse the repository at this point in the history
  • Loading branch information
franzhcs committed Feb 20, 2010
1 parent c2fec44 commit fee3465
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions net-im/emesene/emesene-1.6.ebuild
Expand Up @@ -15,7 +15,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="libmimic"
IUSE="webcam"

DEPEND=""
RDEPEND="x11-libs/gtk+:2
Expand All @@ -25,19 +25,19 @@ RDEPEND="x11-libs/gtk+:2
src_prepare() {
rm GPL PSF LGPL || die "rm license files failed"

if ! use libmimic; then
if ! use webcam; then
rm -r libmimic || die "rm libmimic dir failed"
fi
}

src_compile() {
if use libmimic ; then
if use webcam ; then
$(PYTHON -A) ./setup.py build_ext -i || die "libmimic compile failed"
fi
}

src_install() {
if use libmimic; then
if use webcam; then
rm -r build || die "rm build failed"
fi

Expand Down
2 changes: 1 addition & 1 deletion net-im/emesene/metadata.xml
Expand Up @@ -3,6 +3,6 @@
<pkgmetadata>
<herd>maintainer-wanted</herd>
<use>
<flag name='libmimic'>Enable support for webcam</flag>
<flag name='webcam'>Enable support for webcam</flag>
</use>
</pkgmetadata>

0 comments on commit fee3465

Please sign in to comment.