aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfe İzbudak <efe.izbudak@metu.edu.tr>2022-09-08 18:43:57 -0400
committerEfe İzbudak <efe.izbudak@metu.edu.tr>2022-09-08 18:43:57 -0400
commitca29cbb3d54449c1f3765404fcf2308c138df1e4 (patch)
treeb0014b81cdf57b0ea344aaaa8891738c0553aaa8 /www-client
parentwww-client/vimb: unkeyword 3.6.0 for ~arm, ~arm64, ~x86 (diff)
downloadguru-ca29cbb3d54449c1f3765404fcf2308c138df1e4.tar.gz
guru-ca29cbb3d54449c1f3765404fcf2308c138df1e4.tar.bz2
guru-ca29cbb3d54449c1f3765404fcf2308c138df1e4.zip
www-client/vimb: added adblock support
Signed-off-by: Efe İzbudak <efe.izbudak@metu.edu.tr>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vimb/metadata.xml3
-rw-r--r--www-client/vimb/vimb-3.6.0.ebuild5
2 files changed, 7 insertions, 1 deletions
diff --git a/www-client/vimb/metadata.xml b/www-client/vimb/metadata.xml
index 5b936b2e1..04468f787 100644
--- a/www-client/vimb/metadata.xml
+++ b/www-client/vimb/metadata.xml
@@ -5,4 +5,7 @@
<email>efe.izbudak@metu.edu.tr</email>
<name>Efe İzbudak</name>
</maintainer>
+ <use>
+ <flag name="adblock">Use <pkg>www-misc/wyebadblock</pkg> for adblocking</flag>
+ </use>
</pkgmetadata>
diff --git a/www-client/vimb/vimb-3.6.0.ebuild b/www-client/vimb/vimb-3.6.0.ebuild
index 813d487b3..b822ec942 100644
--- a/www-client/vimb/vimb-3.6.0.ebuild
+++ b/www-client/vimb/vimb-3.6.0.ebuild
@@ -13,10 +13,11 @@ SRC_URI="https://github.com/fanglingsu/vimb/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
-IUSE="savedconfig"
+IUSE="savedconfig adblock"
DEPEND="
virtual/pkgconfig
+ adblock? ( www-misc/wyebadblock )
"
RDEPEND="
@@ -36,7 +37,9 @@ src_compile() {
src_install() {
emake V=1 PREFIX="/usr" DESTDIR="${D}" install
save_config src/config.def.h
+ use adblock && dosym /usr/lib/wyebrowser/adblock.so /usr/lib/vimb/adblock.so
}
+
pkg_postinst() {
elog "For media decoding to work properly, you need to install:"
elog "media-plugins/gst-plugins-libav"