Browse Source

Вт дек 18 23:50:01 MSK 2018

Mike Tatarko 6 months ago
parent
commit
2993754529

+ 45 - 0
eclass/deadbeef-plugins.eclass

@@ -0,0 +1,45 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# @ECLASS: deadbeef-plugins.eclass
+# @MAINTAINER:
+# Roman Kuzmitsky <damex.pp@gmail.com>
+# @BLURB: Eclass for automating deadbeef player plugins installation.
+# @DESCRIPTION:
+# This eclass makes trivial deadbeef plugin ebuilds possible.
+# Many things that would normally be done manually is automated.
+
+if [[ "${EAPI}" -lt 6 ]] ; then
+	die "EAPI=${EAPI} is not supported"
+fi
+
+inherit eutils
+
+: ${SLOT:=0}
+
+RDEPEND+=" media-sound/deadbeef:0"
+DEPEND+=" media-sound/deadbeef:0"
+
+RESTRICT+=" mirror"
+
+if [[ "${DEADBEEF_GUI}" == "yes" ]] ; then
+	IUSE+=" +gtk2 gtk3"
+	REQUIRED_USE="|| ( gtk2 gtk3 )"
+	GUI_DEPEND="gtk2? ( media-sound/deadbeef:0[gtk2] )
+		gtk3? ( media-sound/deadbeef:0[gtk3] )"
+	RDEPEND+=" ${GUI_DEPEND}"
+	DEPEND+=" ${GUI_DEPEND}"
+fi
+
+EXPORT_FUNCTIONS "src_install"
+
+# @FUNCTION: deadbeef-plugins_src_install
+# @DESCRIPTION:
+# Looking for a *.so deadbeef plugins and installs found plugins to corresponding deadbeef directory.
+deadbeef-plugins_src_install() {
+	local plugins="$(find "${WORKDIR}" -name "*.so" -type f)"
+	for plugin in ${plugins} ; do
+		insinto "/usr/$(get_libdir)/deadbeef"
+		doins "${plugin}"
+	done
+}

+ 6 - 0
gnome-base/gnome-desktop/Manifest

@@ -0,0 +1,6 @@
+AUX gnome-desktop-2.32.1-gold.patch 493 SHA256 6c7391376054199bfd57532e642c89b8a18396e12c79417549926e0b7e76bba6 SHA512 1ceb79f150cc271547766044277cb38c45cb8ebaab9edaf5fd7bfc29ed25920c80d4a0331fdc6ed91f5b47cb51d820270714d72d3bec7cd55939f1a1ef7a9c0b WHIRLPOOL 2ade696dfb67f6e12c4db3c1d82d85a22177a56eace8266ffc40d184e3c923c0b6c0d029a2733e783d8d012913cefd1e13feb2fc0a7b5f74dc75794ca84d4408
+AUX gnome-desktop-2.32.1-thumbnails.patch 3530 SHA256 3a2294ff8f8082d3be9d709efbc4757c518cbad57980cdc7f4efeef366a756bb SHA512 8683aae51ba9a97074442b226d24267857d64a911608fc1c8a207fadc69222583c26281d4c16dddfbf7c975eb76fc6d5c08291ff594468dbee6dd92ef0313263 WHIRLPOOL cb09db77b55cc34ed6a74babdeb0a71b7a3c8de0c3897615bf8a6dc3b037d5dfd4a56084a913855e5b97a0c12375c1c7941435d8e5385c0a683a5533983e8030
+DIST gnome-desktop-3.26.2-patchset-r1.tar.xz 13336 SHA256 8b02d5bf4db2d2a56cec3334bc0e10139217bd42b49370b59ef899327a882415 SHA512 f5a0b756c52e4307f3dad6092685b2c178a04467c483322bc9b7a47b3545bd75a70f56658e5cc90422bbf715601fcda7d3e48ab129c778dd7c34ac9d35783c1d WHIRLPOOL b153d3d2ddf52f120f55c2ed56561a7109b0d9d1c93d3137cf69dbf2c76e82200b9c266b99ca2959257d9128026ceba5d80ce045d1e65eae29e4473d28ef0233
+DIST gnome-desktop-3.26.2.tar.xz 969500 SHA256 f7561a7a313fc474b2c390cd9696df1f5c1e1556080e43f4afe042b1060e5f2a SHA512 1425bead81a63d9d19f09fb8d23cd2611645898a910887c2b6a672bfbec3dd956e29e1d8c5f941d06929febc7734dec0550f7a15336583fcf9be41f1a4e9c783 WHIRLPOOL d5b146b2e49b805f0293b1967c5306d387699eb65c4b57e54eb3c79f674b64fbf4c234c333f1c43f7a7632ac1007984631b52cb3c291dd2a91a3d2e929752087
+EBUILD gnome-desktop-3.26.2-r2.ebuild 1962 SHA256 0e470a016df922d6c6f9d36fe32f4ece2045379017233064a29275efd7f3f20e SHA512 77cba3d00d23cd642ea671620a7d2dc15d5b23bffacb292f3532cad592f122c04ff71c9356756b3e80a08c54a73db331dcc28777d47643d010bca4b7bcf3ddfd WHIRLPOOL 873d65d349828fc46c1c88a3a1cdb3ecfa720b5447d9aee99de9b3b4965bbe876788c43dcca69cc147fd5a3d20aa4d7a143d0be7eadc393fb4752aa8d3a2a539
+MISC metadata.xml 354 SHA256 73750e0ce4735fe11fe306ef1978aa12cde2c7592438ec85c9a947964e0e7426 SHA512 bfd7555f171ffd08174b134d34475d1dd40e6d325d188dd0a631d82d85836d92900a3ac641c6b200654ecdcd76371d7bbb4c3e34c4ee8b8410e8c6d8503a5bea WHIRLPOOL a7c0ffa88276e95924428c7fd7a5efd8dd5312f38d914c2c76e0f075f64961a9b963aec13839df4ed43db4dd201ce828f15155d274aa57e2c9940af6d0a73161

+ 16 - 0
gnome-base/gnome-desktop/files/gnome-desktop-2.32.1-gold.patch

@@ -0,0 +1,16 @@
+ libgnome-desktop/Makefile.in |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/libgnome-desktop/Makefile.in b/libgnome-desktop/Makefile.in
+index 39209f6..a57b09e 100644
+--- a/libgnome-desktop/Makefile.in
++++ b/libgnome-desktop/Makefile.in
+@@ -388,7 +388,7 @@ libgnome_desktop_2_la_SOURCES = \
+ 
+ libgnome_desktop_2_la_LIBADD = \
+ 	$(XLIB_LIBS)		\
+-	$(GNOME_DESKTOP_LIBS)
++	$(GNOME_DESKTOP_LIBS) -lm
+ 
+ libgnome_desktop_2_la_LDFLAGS = \
+ 	-version-info $(LT_VERSION) \

+ 118 - 0
gnome-base/gnome-desktop/files/gnome-desktop-2.32.1-thumbnails.patch

@@ -0,0 +1,118 @@
+Originally from https://github.com/mate-desktop/mate-desktop/commit/fcede97471263b7f145ceeb988f569d4aa9129b8
+Ported to gnome-desktop by Matthew Turnbull <sparky@bluefang-logic.com>
+
+Fixes nautilus-2 thumbnailing with >=glib-2.34
+
+https://bugs.gentoo.org/show_bug.cgi?id=450930
+
+diff -rupN a/libgnome-desktop/gnome-desktop-thumbnail.c b/libgnome-desktop/gnome-desktop-thumbnail.c
+--- a/libgnome-desktop/gnome-desktop-thumbnail.c
++++ b/libgnome-desktop/gnome-desktop-thumbnail.c
+@@ -526,8 +526,13 @@ gnome_desktop_thumbnail_factory_lookup (
+ 
+   file = g_strconcat (g_checksum_get_string (checksum), ".png", NULL);
+   
++#if GLIB_CHECK_VERSION (2, 34, 0)
++  path = g_build_filename (g_get_user_cache_dir (),
++			   "thumbnails",
++#else
+   path = g_build_filename (g_get_home_dir (),
+ 			   ".thumbnails",
++#endif
+ 			   (priv->size == GNOME_DESKTOP_THUMBNAIL_SIZE_NORMAL)?"normal":"large",
+ 			   file,
+ 			   NULL);
+@@ -587,8 +592,13 @@ gnome_desktop_thumbnail_factory_has_vali
+ 
+   file = g_strconcat (g_checksum_get_string (checksum), ".png", NULL);
+ 
++#if GLIB_CHECK_VERSION (2, 34, 0)
++  path = g_build_filename (g_get_user_cache_dir (),
++			   "thumbnails/fail",
++#else
+   path = g_build_filename (g_get_home_dir (),
+ 			   ".thumbnails/fail",
++#endif
+ 			   appname,
+ 			   file,
+ 			   NULL);
+@@ -917,12 +927,17 @@ make_thumbnail_dirs (GnomeDesktopThumbna
+ 
+   res = FALSE;
+ 
++#if GLIB_CHECK_VERSION (2, 34, 0)
++  thumbnail_dir = g_build_filename (g_get_user_cache_dir (),
++				    "thumbnails",
++#else
+   thumbnail_dir = g_build_filename (g_get_home_dir (),
+ 				    ".thumbnails",
++#endif
+ 				    NULL);
+   if (!g_file_test (thumbnail_dir, G_FILE_TEST_IS_DIR))
+     {
+-      g_mkdir (thumbnail_dir, 0700);
++      g_mkdir_with_parents (thumbnail_dir, 0700);
+       res = TRUE;
+     }
+ 
+@@ -951,12 +966,17 @@ make_thumbnail_fail_dirs (GnomeDesktopTh
+ 
+   res = FALSE;
+ 
++#if GLIB_CHECK_VERSION (2, 34, 0)
++  thumbnail_dir = g_build_filename (g_get_user_cache_dir (),
++				    "thumbnails",
++#else
+   thumbnail_dir = g_build_filename (g_get_home_dir (),
+ 				    ".thumbnails",
++#endif
+ 				    NULL);
+   if (!g_file_test (thumbnail_dir, G_FILE_TEST_IS_DIR))
+     {
+-      g_mkdir (thumbnail_dir, 0700);
++      g_mkdir_with_parents (thumbnail_dir, 0700);
+       res = TRUE;
+     }
+ 
+@@ -1025,8 +1045,13 @@ gnome_desktop_thumbnail_factory_save_thu
+ 
+   file = g_strconcat (g_checksum_get_string (checksum), ".png", NULL);
+ 
++#if GLIB_CHECK_VERSION (2, 34, 0)
++  path = g_build_filename (g_get_user_cache_dir (),
++			   "thumbnails",
++#else
+   path = g_build_filename (g_get_home_dir (),
+ 			   ".thumbnails",
++#endif
+ 			   (priv->size == GNOME_DESKTOP_THUMBNAIL_SIZE_NORMAL)?"normal":"large",
+ 			   file,
+ 			   NULL);
+@@ -1129,8 +1154,13 @@ gnome_desktop_thumbnail_factory_create_f
+ 
+   file = g_strconcat (g_checksum_get_string (checksum), ".png", NULL);
+ 
++#if GLIB_CHECK_VERSION (2, 34, 0)
++  path = g_build_filename (g_get_user_cache_dir (),
++			   "thumbnails/fail",
++#else
+   path = g_build_filename (g_get_home_dir (),
+ 			   ".thumbnails/fail",
++#endif
+ 			   appname,
+ 			   file,
+ 			   NULL);
+@@ -1221,8 +1251,13 @@ gnome_desktop_thumbnail_path_for_uri (co
+   file = g_strconcat (md5, ".png", NULL);
+   g_free (md5);
+   
++#if GLIB_CHECK_VERSION (2, 34, 0)
++  path = g_build_filename (g_get_user_cache_dir (),
++			   "thumbnails",
++#else
+   path = g_build_filename (g_get_home_dir (),
+ 			   ".thumbnails",
++#endif
+ 			   (size == GNOME_DESKTOP_THUMBNAIL_SIZE_NORMAL)?"normal":"large",
+ 			   file,
+ 			   NULL);

+ 66 - 0
gnome-base/gnome-desktop/gnome-desktop-3.26.2-r2.ebuild

@@ -0,0 +1,66 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME2_EAUTORECONF="yes"
+inherit gnome2 virtualx
+
+DESCRIPTION="Libraries for the gnome desktop that are not part of the UI"
+HOMEPAGE="https://git.gnome.org/browse/gnome-desktop"
+SRC_URI+=" https://dev.gentoo.org/~leio/distfiles/${P}-patchset-r1.tar.xz"
+
+LICENSE="GPL-2+ FDL-1.1+ LGPL-2+"
+SLOT="3/12" # subslot = libgnome-desktop-3 soname version
+IUSE="debug +introspection udev"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc64 ~sh ~sparc ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
+
+# cairo[X] needed for gnome-bg
+COMMON_DEPEND="
+	app-text/iso-codes
+	>=dev-libs/glib-2.53.0:2
+	>=x11-libs/gdk-pixbuf-2.36.5:2[introspection?]
+	>=x11-libs/gtk+-3.3.6:3[X,introspection?]
+	x11-libs/cairo:=[X]
+	x11-libs/libX11
+	x11-misc/xkeyboard-config
+	>=gnome-base/gsettings-desktop-schemas-3.5.91
+	introspection? ( >=dev-libs/gobject-introspection-0.9.7:= )
+	udev? (
+		sys-apps/hwids
+		virtual/libudev:= )
+"
+RDEPEND="${COMMON_DEPEND}
+	!<gnome-base/gnome-desktop-2.32.1-r1:2[doc]
+"
+DEPEND="${COMMON_DEPEND}
+	app-text/docbook-xml-dtd:4.1.2
+	dev-util/gdbus-codegen
+	>=dev-util/gtk-doc-am-1.14
+	>=dev-util/intltool-0.40.6
+	dev-util/itstool
+	sys-devel/gettext
+	x11-base/xorg-proto
+	virtual/pkgconfig
+	app-text/yelp-tools
+	gnome-base/gnome-common
+" # yelp-tools and gnome-common for eautoreconf
+# Includes X11/Xatom.h in libgnome-desktop/gnome-bg.c which comes from xorg-proto
+
+PATCHES=(
+	"${WORKDIR}"/patches/ # Requires eautoreconf. Various backports for sandboxed thumbnailer, leak fixes and more - https://gitlab.gnome.org/Community/gentoo/gnome-desktop/commits/gentoo-3.26.2
+)
+
+src_configure() {
+	gnome2_src_configure \
+		--disable-static \
+		--with-gnome-distributor=Gentoo \
+		--enable-desktop-docs \
+		$(usex debug --enable-debug=yes ' ') \
+		$(use_enable debug debug-tools) \
+		$(use_enable introspection) \
+		$(use_enable udev)
+}
+
+src_test() {
+	virtx emake check
+}

+ 12 - 0
gnome-base/gnome-desktop/metadata.xml

@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>gnome@gentoo.org</email>
+		<name>Gentoo GNOME Desktop</name>
+	</maintainer>
+	<use>
+		<flag name="license-docs">Install help files documenting GNOME's
+			licenses</flag>
+	</use>
+</pkgmetadata>

+ 3 - 0
media-plugins/deadbeef-decast/Manifest

@@ -0,0 +1,3 @@
+DIST deadbeef-decast-9ffd6d6dfb14.tar.gz 8793 SHA256 4d85443a711e88da362aff43ee44560c542675aa06fd8efdf5174b3f6399e1a1 SHA512 14b217d38a10013e3aa56a54e156db2fefa58f558048ef91625692710a75d5ceaa331ff86cff2785558e958e246bca95acc566665a6a4638e70e623f4f77526f WHIRLPOOL 25fc934fae09f651e077fed7a4e62d6414f936551e85e3cccee6f0a968eff5d1599bfb61bc2b53c22bfb32d1b49dcad6a6813cfc59b2498cdd67b6f91f979964
+EBUILD deadbeef-decast-20150201.ebuild 556 SHA256 58c9f105acb25081a6ce5e5d0edf7924154e4581c4dd71709f950a2cc9f8c377 SHA512 4c4f4e0eb8048a64ee7944d5bce55caf09fc3a607dbc50e9441b33657623589b9087e773760c8ee4eeb910955b6914b609e73a8cc604e5e56174d372eb9009b4 WHIRLPOOL 9946550d5dfefec4186d86bfc6f6e7bcde06c490fd8fd063b32820bd18bea22b7b5b5adfe9d4d6e1aeb52584f3f1497ae489eb8ad3d444259a54a4d6779cdb1d
+MISC metadata.xml 249 SHA256 8839701d40b6c19987ce9de4c2ede3b8392ae2ec8b084909ff9824162ad611f8 SHA512 b6690bc077caf2214c69d1817d3f092579ff0f76f4842d35f6acbfa32ee0949496e34e03577cfad71f760ee159fdbb04bbd3a9819fd38db94f5939fa65c703b3 WHIRLPOOL 82b221c58e34774db4b3d2490baaa3b2162b21cbd9ed65195aa4d95fe29f6cc911ce933581a23e75ee0d539f438e7a3a1c9e1ae1b06bdd373ca230ec6b8e4bf8

+ 27 - 0
media-plugins/deadbeef-decast/deadbeef-decast-20150201.ebuild

@@ -0,0 +1,27 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+DEADBEEF_GUI="yes"
+
+inherit deadbeef-plugins
+
+BITBUCKET_COMMIT="9ffd6d6dfb14"
+DESCRIPTION="DeaDBeeF podcast subscription plugin"
+HOMEPAGE="https://bitbucket.org/thesame/decast"
+SRC_URI="${PN}-${BITBUCKET_COMMIT}.tar.gz"
+
+LICENSE="ZLIB"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND+=" dev-libs/libxml2:2"
+
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/thesame-decast-${BITBUCKET_COMMIT}"
+
+src_compile() {
+	use gtk2 && GTKVER=2 emake
+	use gtk3 && GTKVER=3 emake
+}

+ 8 - 0
media-plugins/deadbeef-decast/metadata.xml

@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>damex.pp@gmail.com</email>
+		<name>Roman Kuzmitsky</name>
+	</maintainer>
+</pkgmetadata>

+ 3 - 0
www-client/iridium-browser-bin/Manifest

@@ -1,3 +1,6 @@
+DIST chromedriver-2018.11.71-1.fc29.x86_64.rpm 7063404 SHA256 646d3655a58dff054f80d4b6c125717ac64c9086644875f50272e29e5b1f695a SHA512 25621edbcb92f02438b466663de973ab805cfd9ffded5d39eea88eb2ca704b81e8e4bf37254940bfd6980addc396dee3e4e824018a623d32ecfd3774b78986da WHIRLPOOL e383d84d8f7666f2644edf358d6837b2baf5442b243fbfb2f5a88e64f812405185a83d143c70e9dc810ac1fc528ae1d46139aaa5c11d38228551276cd49bfe14
 DIST chromedriver-67-1.fc27.x86_64.rpm 8453696 SHA256 62cbc61ecd12055e9b9d11e9818155eaf0e2e4a9daa9fae7f3011737e17c7dab SHA512 42c629df6d6db59ab97795b47a94032b012e5c59ceb8b917bbbc29291860e1314fe45d36b1c27adeb31caf87fc2a08ee73db9d6caca94a54adbbb1d0e079b0d2 WHIRLPOOL a1e1e6a5e39326b971f2e46909b3312b503bd0df6bd6fb78aa94cca1f44a1f7e17c9ddaff00ca343a7c1eee39933af7534c2caeeb7afea80c40b40c98492968c
+DIST iridium-browser-2018.11.71-1.fc29.x86_64.rpm 72674792 SHA256 aa9444d09bb80c89d504405ad94a8925713612541f5ef248ec9ca40cb376aad4 SHA512 fcfd7fd9080d2f37e787c641971802df3cff6a3532a5cef16018b5d2a35a1bed1f7c27361ded76e0cd35ec91e586c608fb18a8d81978cc73e54b381ba2bea002 WHIRLPOOL b83544cb0a1a54ada4c4574174db843f277da6a6e341113b9585fe8525c1091db7ed635be42161e2e7864e2f9c20f60c41a9d82566998ecc951616508decb254
 DIST iridium-browser-67-1.fc27.x86_64.rpm 83502792 SHA256 a8f3a19adc869e2c31cf671955e787bd9315eb9bf46c7d1b0f32e0e6859f083a SHA512 c1e4d80819fcff59ee23d6a64552160ba9fcfacb823f7397e95c3246dc362ad0fdb66572b814e030338abe7193e69fbd446d153a5272f7659592d4603b3a987c WHIRLPOOL 29bef37193b31d37ef0fe59ff02223b2df5252ce0894c86ebf4aa01267baa642ce5c9a2b4f30de4a134c962ad3476ff1a7ce34614515c296c636778ef8f53019
+EBUILD iridium-browser-bin-2018.11.71.ebuild 501 SHA256 204d555245258bb6aec214ef043b32b1d657166043b18e826ed10f5e52774ffb SHA512 9306af5623ed49c7110967916955b1e3f81eb2915a52a7458c5ae2a99a6b3953098e331db072747c574dad4ee584f1de79d5d8c8f2e29c606e003a306e5fc39a WHIRLPOOL c4acf6c89ee32311bf572cf2e580d0e1654de6e9db5c31a2c827d35a02953d74d8c9efc43f50d72aec9c2af84ee1a68662149ba64d3dfee43d7b92fd4980f819
 EBUILD iridium-browser-bin-67.ebuild 501 SHA256 ae3c77b257e531db7932c39ec32a8a44bad911c2d50b376b342a73fb8e8f5271 SHA512 a66f5d2e79f0a93075e5f2bd52e87107ee88002929a0cfe24aeff2ab1bbcd07f3ec3907d35778607b565e7c36d002750ce1150bfc7a4b5075a82f2e1a3a43abe WHIRLPOOL 1b30dd49e67eb3c087c3014fea79f176cb44661dfb94e1895ae7f9b21d3fecb3092e879a573b6d39ffb6506fa8ab928c97a0d88e7892d16b6e7c772c6a345b63

+ 24 - 0
www-client/iridium-browser-bin/iridium-browser-bin-2018.11.71.ebuild

@@ -0,0 +1,24 @@
+EAPI="6"
+
+inherit eutils rpm versionator
+
+DESCRIPTION="Iridium Web Browser"
+SRC_URI="amd64? ( https://dl.iridiumbrowser.de/fedora_29/iridium-browser-${PV}-1.fc29.x86_64.rpm
+                  https://dl.iridiumbrowser.de/fedora_29/chromedriver-${PV}-1.fc29.x86_64.rpm )"
+HOMEPAGE="https://iridiumbrowser.de/"
+
+KEYWORDS="amd64"
+SLOT="0"
+LICENSE="google-chrome"
+IUSE="debug"
+DEPEND=""
+RDEPEND=""
+
+src_unpack() {
+	rpm_unpack ${A}
+	install -d ${S}
+}
+
+src_install() {
+	mv ${WORKDIR}/{etc,usr} ${D} || die
+}