summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-01-30 23:35:06 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-01-30 23:35:06 +0000
commit86f5cd01474f085c084a81b6d390a791f1e717a2 (patch)
tree8bc49e95c7ba4e9efce0995c41db63db92939755
parent096799516de9a71f93126187afe67807aeb0fac3 (diff)
www-client/ungoogled-chromium : add widevine support
-rw-r--r--metadata/md5-cache/www-client/ungoogled-chromium-121.0.6167.85-r113
-rw-r--r--metadata/md5-cache/www-client/ungoogled-chromium-121.0.6167.85-r214
-rw-r--r--metadata/pkg_desc_index2
-rw-r--r--www-client/ungoogled-chromium/ungoogled-chromium-121.0.6167.85-r2.ebuild (renamed from www-client/ungoogled-chromium/ungoogled-chromium-121.0.6167.85-r1.ebuild)54
4 files changed, 45 insertions, 38 deletions
diff --git a/metadata/md5-cache/www-client/ungoogled-chromium-121.0.6167.85-r1 b/metadata/md5-cache/www-client/ungoogled-chromium-121.0.6167.85-r1
deleted file mode 100644
index 47ced68e..00000000
--- a/metadata/md5-cache/www-client/ungoogled-chromium-121.0.6167.85-r1
+++ /dev/null
@@ -1,13 +0,0 @@
-DEFINED_PHASES=install postinst postrm
-DESCRIPTION=Modifications to Chromium for removing Google integration and enhancing privacy
-EAPI=8
-HOMEPAGE=https://www.chromium.org/Home https://github.com/ungoogled-software/ungoogled-chromium
-INHERIT=desktop readme.gentoo-r1 xdg-utils
-KEYWORDS=~amd64
-LICENSE=BSD
-RDEPEND=x11-libs/libX11 x11-libs/libXcomposite x11-libs/libXcursor x11-libs/libXdamage x11-libs/libXext x11-libs/libXfixes >=x11-libs/libXi-1.6.0 x11-libs/libXrandr x11-libs/libXrender x11-libs/libXtst x11-libs/libxcb media-libs/libva >=net-print/cups-1.3.11 dev-libs/expat dev-libs/glib:2 >=dev-libs/libxml2-2.9.4-r3[icu] dev-libs/nspr >=dev-libs/nss-3.26 >=media-libs/alsa-lib-1.0.19 media-libs/fontconfig media-libs/freetype media-libs/libjpeg-turbo media-libs/libpng media-libs/libpulse sys-apps/dbus sys-apps/pciutils virtual/udev x11-libs/cairo x11-libs/pango media-libs/flac >=media-libs/libwebp-0.4.0 sys-libs/zlib[minizip] app-accessibility/at-spi2-core x11-libs/gtk+:3[X] media-libs/lcms dev-libs/libxslt >=dev-libs/icu-71.1:= x11-misc/xdg-utils virtual/opengl virtual/ttf-fonts !www-client/chromium
-RESTRICT=mirror
-SLOT=0
-SRC_URI=http://mirrors.redcorelinux.org/redcorelinux/amd64/distfiles/ungoogled-chromium_121.0.6167.85-1.1_linux.tar.xz
-_eclasses_=desktop 021728fdc1b03b36357dbc89489e0f0d readme.gentoo-r1 204091a2cde6179cd9d3db26d09412d3 xdg-utils baea6080dd821f5562d715887954c9d3
-_md5_=39b4880f99f6dc15eab5c4f648ba1079
diff --git a/metadata/md5-cache/www-client/ungoogled-chromium-121.0.6167.85-r2 b/metadata/md5-cache/www-client/ungoogled-chromium-121.0.6167.85-r2
new file mode 100644
index 00000000..4090c3c0
--- /dev/null
+++ b/metadata/md5-cache/www-client/ungoogled-chromium-121.0.6167.85-r2
@@ -0,0 +1,14 @@
+DEFINED_PHASES=install postinst postrm
+DESCRIPTION=Modifications to Chromium for removing Google integration and enhancing privacy
+EAPI=8
+HOMEPAGE=https://www.chromium.org/Home https://github.com/ungoogled-software/ungoogled-chromium
+INHERIT=desktop readme.gentoo-r1 xdg-utils
+IUSE=+widevine
+KEYWORDS=~amd64
+LICENSE=BSD
+RDEPEND=app-accessibility/at-spi2-core dev-libs/expat dev-libs/glib:2 dev-libs/libxslt dev-libs/nspr >=dev-libs/icu-71.1:= >=dev-libs/libxml2-2.9.4-r3[icu] >=dev-libs/nss-3.26 media-libs/fontconfig media-libs/freetype media-libs/libjpeg-turbo media-libs/libpng media-libs/libpulse media-libs/libva media-libs/lcms media-libs/flac >=media-libs/alsa-lib-1.0.19 >=media-libs/libwebp-0.4.0 >=net-print/cups-1.3.11 sys-apps/dbus sys-apps/pciutils sys-libs/zlib[minizip] x11-libs/cairo x11-libs/pango x11-libs/gtk+:3[X] x11-libs/libX11 x11-libs/libXcomposite x11-libs/libXcursor x11-libs/libXdamage x11-libs/libXext x11-libs/libXfixes x11-libs/libXrandr x11-libs/libXrender x11-libs/libXtst x11-libs/libxcb >=x11-libs/libXi-1.6.0 virtual/udev widevine? ( www-plugins/chrome-binary-plugins ) x11-misc/xdg-utils virtual/opengl virtual/ttf-fonts !www-client/chromium
+RESTRICT=mirror
+SLOT=0
+SRC_URI=http://mirrors.redcorelinux.org/redcorelinux/amd64/distfiles/ungoogled-chromium_121.0.6167.85-1.1_linux.tar.xz
+_eclasses_=desktop 021728fdc1b03b36357dbc89489e0f0d readme.gentoo-r1 204091a2cde6179cd9d3db26d09412d3 xdg-utils baea6080dd821f5562d715887954c9d3
+_md5_=19f610189c114c453330eefeacbca67f
diff --git a/metadata/pkg_desc_index b/metadata/pkg_desc_index
index a25f048c..25627ffe 100644
--- a/metadata/pkg_desc_index
+++ b/metadata/pkg_desc_index
@@ -78,7 +78,7 @@ virtual/logger 1.314.1337: Virtual for system loggers
virtual/notification-daemon 1.334.1337: Virtual (dummy package) for notification daemon dbus service
virtual/tmpfiles 1.314.1337-r1: Virtual to select between different tmpfiles.d handlers
virtual/udev 314.1337-r1: Virtual to select between different udev daemon providers
-www-client/ungoogled-chromium 121.0.6167.85-r1: Modifications to Chromium for removing Google integration and enhancing privacy
+www-client/ungoogled-chromium 121.0.6167.85-r2: Modifications to Chromium for removing Google integration and enhancing privacy
x11-base/xorg-drivers 21.1-r100: Meta package containing deps on all xorg drivers (dummy package)
x11-drivers/nvidia-drivers 390.157-r6 470.223.02 535.129.03: NVIDIA Accelerated Graphics Driver
x11-libs/gtk+ 2.24.33-r5 3.24.40-r1: Gimp ToolKit +
diff --git a/www-client/ungoogled-chromium/ungoogled-chromium-121.0.6167.85-r1.ebuild b/www-client/ungoogled-chromium/ungoogled-chromium-121.0.6167.85-r2.ebuild
index 0da0ec8f..6a3b21f5 100644
--- a/www-client/ungoogled-chromium/ungoogled-chromium-121.0.6167.85-r1.ebuild
+++ b/www-client/ungoogled-chromium/ungoogled-chromium-121.0.6167.85-r2.ebuild
@@ -13,46 +13,48 @@ RESTRICT="mirror"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
-IUSE=""
+IUSE="+widevine"
CDEPEND="
- x11-libs/libX11
- x11-libs/libXcomposite
- x11-libs/libXcursor
- x11-libs/libXdamage
- x11-libs/libXext
- x11-libs/libXfixes
- >=x11-libs/libXi-1.6.0
- x11-libs/libXrandr
- x11-libs/libXrender
- x11-libs/libXtst
- x11-libs/libxcb
- media-libs/libva
- >=net-print/cups-1.3.11
+ app-accessibility/at-spi2-core
dev-libs/expat
dev-libs/glib:2
- >=dev-libs/libxml2-2.9.4-r3[icu]
+ dev-libs/libxslt
dev-libs/nspr
+ >=dev-libs/icu-71.1:=
+ >=dev-libs/libxml2-2.9.4-r3[icu]
>=dev-libs/nss-3.26
- >=media-libs/alsa-lib-1.0.19
media-libs/fontconfig
media-libs/freetype
media-libs/libjpeg-turbo
media-libs/libpng
media-libs/libpulse
+ media-libs/libva
+ media-libs/lcms
+ media-libs/flac
+ >=media-libs/alsa-lib-1.0.19
+ >=media-libs/libwebp-0.4.0
+ >=net-print/cups-1.3.11
sys-apps/dbus
sys-apps/pciutils
- virtual/udev
+ sys-libs/zlib[minizip]
x11-libs/cairo
x11-libs/pango
- media-libs/flac
- >=media-libs/libwebp-0.4.0
- sys-libs/zlib[minizip]
- app-accessibility/at-spi2-core
x11-libs/gtk+:3[X]
- media-libs/lcms
- dev-libs/libxslt
- >=dev-libs/icu-71.1:="
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXcursor
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ x11-libs/libXtst
+ x11-libs/libxcb
+ >=x11-libs/libXi-1.6.0
+ virtual/udev
+ widevine? ( www-plugins/chrome-binary-plugins )
+"
RDEPEND="${CDEPEND}
x11-misc/xdg-utils
@@ -111,6 +113,10 @@ src_install() {
insinto /etc/chromium
newins "${FILESDIR}"/chromium.default default
+ if use widevine; then
+ dosym ../../usr/$(get_libdir)/chromium-browser/WidevineCdm "${CHROMIUM_HOME}"/WidevineCdm
+ fi
+
newicon -s 48 product_logo_48.png chromium-browser.png
local mime_types="text/html;text/xml;application/xhtml+xml;"