- migrated to Exherbo
- added a few initial Pantheon components
This commit is contained in:
parent
cb6360a7e8
commit
2d2bbbc830
85 changed files with 931 additions and 2 deletions
|
@ -0,0 +1,23 @@
|
||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python{3_4,3_5,3_6} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Bindings for the PortAudio library and a few convenience functions to play and record NumPy arrays containing audio signals."
|
||||||
|
HOMEPAGE="https://github.com/spatialaudio/python-sounddevice/
|
||||||
|
https://pypi.python.org/pypi/sounddevice"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="amd64 ppc ppc64 ~sparc x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND="media-libs/portaudio"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
dev-python/cffi[${PYTHON_USEDEP}]
|
||||||
|
dev-python/setuptools[${PYTHON_USEDEP}]"
|
1
gentoo-packages/metadata/layout.conf
Normal file
1
gentoo-packages/metadata/layout.conf
Normal file
|
@ -0,0 +1 @@
|
||||||
|
masters = gentoo
|
1
gentoo-packages/profiles/repo_name
Normal file
1
gentoo-packages/profiles/repo_name
Normal file
|
@ -0,0 +1 @@
|
||||||
|
random
|
4
metadata/about.conf
Normal file
4
metadata/about.conf
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
homepage = https://git.aggregate.cz/aggregate/rand
|
||||||
|
status = third-party
|
||||||
|
summary = Martin Sekera's personal repo
|
||||||
|
owner = Martin Sekera <aggregate@aggregate.cz>
|
8
metadata/accounts/README
Normal file
8
metadata/accounts/README
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
./users/example.conf:
|
||||||
|
gecos = Example service user
|
||||||
|
home = /var/lib/example
|
||||||
|
shell = /sbin/nologin
|
||||||
|
primary_group = example
|
||||||
|
|
||||||
|
The corresponding ./groups/example.conf must exist and may be empty.
|
||||||
|
|
10
metadata/categories.conf
Normal file
10
metadata/categories.conf
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
budgie-desktop
|
||||||
|
dev-python
|
||||||
|
elementary-base
|
||||||
|
elementary-indicator
|
||||||
|
elementary-lib
|
||||||
|
elementary-plugs
|
||||||
|
gnome-desktop
|
||||||
|
net-im
|
||||||
|
net-p2p
|
||||||
|
x11-apps
|
|
@ -1 +1,6 @@
|
||||||
masters = gentoo
|
layout = exheres
|
||||||
|
eapi_when_unknown = exheres-0
|
||||||
|
eapi_when_unspecified = exheres-0
|
||||||
|
profile_eapi_when_unspecified = exheres-0
|
||||||
|
masters = arbor x11
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
Title: Dropping Gentoo support from this repo.
|
||||||
|
Author: Martin Sekera <aggregate@aggregate.cz>
|
||||||
|
Content-Type: text/plain
|
||||||
|
Posted: 2018-12-05
|
||||||
|
Revision: 1
|
||||||
|
News-Item-Format: 1.0
|
||||||
|
|
||||||
|
As of this commit Gentoo packages have been removed from this repository due to lack of
|
||||||
|
maintenance. They have been moved to /gentoo-packages for reference.
|
||||||
|
|
||||||
|
Some ebuilds will be rewritten to exheres if the need for them arises.
|
|
@ -0,0 +1,6 @@
|
||||||
|
# Copyright 2018 Martin Sekera <sekerama@gmail.com>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require budgie-desktop
|
||||||
|
|
||||||
|
PLATFORMS="~amd64"
|
|
@ -0,0 +1,6 @@
|
||||||
|
# Copyright 2018 Martin Sekera <sekerama@gmail.com>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require budgie-desktop
|
||||||
|
|
||||||
|
PLATFORMS="~amd64"
|
45
packages/budgie-desktop/budgie-desktop/budgie-desktop.exlib
Normal file
45
packages/budgie-desktop/budgie-desktop/budgie-desktop.exlib
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
# Copyright 2018 Martin Sekera <sekerama@gmail.com>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# based on an older autotools based exheres by Kylie McClain
|
||||||
|
|
||||||
|
SCM_REPOSITORY="https://github.com/solus-project/budgie-desktop.git"
|
||||||
|
SCM_gvc_REPOSITORY="https://gitlab.gnome.org/GNOME/libgnome-volume-control.git"
|
||||||
|
SCM_SECONDARY_REPOSITORIES="gvc"
|
||||||
|
SCM_EXTERNAL_REFS="subprojects/gvc:gvc"
|
||||||
|
|
||||||
|
require scm-git
|
||||||
|
require gtk-icon-cache
|
||||||
|
require gsettings
|
||||||
|
require meson
|
||||||
|
require vala [ vala_dep=true ]
|
||||||
|
|
||||||
|
SUMMARY="A modern desktop environment."
|
||||||
|
DESCRIPTION="The Budgie Desktop a modern desktop designed to keep out the way of the user. It features heavy integration with the GNOME stack in order for an enhanced experience."
|
||||||
|
SLOT="0"
|
||||||
|
LICENCES="GPL-2 LGPL-2.1"
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
build:
|
||||||
|
dev-util/intltool
|
||||||
|
doc? ( dev-doc/gtk-doc )
|
||||||
|
build+run:
|
||||||
|
x11-libs/gtk+:3[>=3.22.0]
|
||||||
|
dev-libs/glib:2[>=2.46.0]
|
||||||
|
dev-libs/libpeas:1.0[>=1.8.0]
|
||||||
|
inputmethods/ibus[>=1.5.10]
|
||||||
|
gnome-desktop/gnome-desktop[>=3.22.0]
|
||||||
|
gnome-desktop/gsettings-desktop-schemas[>=3.22.0]
|
||||||
|
gnome-desktop/libwnck[>=3.14.0]
|
||||||
|
sys-apps/accountsservice[>=0.6.40]
|
||||||
|
gnome-desktop/mutter[>=3.22.0&<3.30.0]
|
||||||
|
polkit? ( sys-auth/polkit )
|
||||||
|
run:
|
||||||
|
gnome-desktop/gnome-control-center
|
||||||
|
gnome-desktop/gnome-session
|
||||||
|
gnome-desktop/gnome-settings-daemon:3.0
|
||||||
|
"
|
||||||
|
|
||||||
|
MYOPTIONS="
|
||||||
|
doc
|
||||||
|
polkit
|
||||||
|
"
|
14
packages/dev-python/intelhex/intelhex-2.2.1.exheres-0
Normal file
14
packages/dev-python/intelhex/intelhex-2.2.1.exheres-0
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
# Copyright 2018 Martin Sekera <sekerama@gmail.com>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require pypi [ suffix=tar.gz ] setup-py [ import=setuptools ]
|
||||||
|
|
||||||
|
SUMMARY="Python library to read, write, create from scratch and manipulate data from Intel HEX file format."
|
||||||
|
HOMEPAGE="https://pypi.org/project/IntelHex/"
|
||||||
|
|
||||||
|
LICENCES="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
PLATFORMS="~amd64 ~armv7 ~x86"
|
||||||
|
MYOPTIONS=""
|
||||||
|
|
||||||
|
DEPENDENCIES=""
|
6
packages/elementary-base/gala/gala-scm.exheres-0
Normal file
6
packages/elementary-base/gala/gala-scm.exheres-0
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
# Copyright 2018 Martin Sekera <sekerama@gmail.com>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require gala
|
||||||
|
|
||||||
|
PLATFORMS="~amd64"
|
39
packages/elementary-base/gala/gala.exlib
Normal file
39
packages/elementary-base/gala/gala.exlib
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
# Copyright 2018 Martin Sekera <sekerama@gmail.com>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require github [ user=elementary ]
|
||||||
|
require meson
|
||||||
|
require vala [ vala_dep=true ]
|
||||||
|
|
||||||
|
SUMMARY="A window & compositing manager for the Pantheon desktop."
|
||||||
|
SLOT="0"
|
||||||
|
LICENCES="GPL-3"
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
build:
|
||||||
|
sys-devel/gettext
|
||||||
|
build+run:
|
||||||
|
x11-libs/gtk+:3
|
||||||
|
dev-libs/glib:2[>=2.44.0]
|
||||||
|
gnome-desktop/gnome-desktop
|
||||||
|
gnome-desktop/gsettings-desktop-schemas
|
||||||
|
gnome-desktop/gnome-settings-daemon:3.0
|
||||||
|
gnome-desktop/mutter[>=3.22.0&<3.30.0]
|
||||||
|
x11-libs/bamf
|
||||||
|
media-libs/libcanberra
|
||||||
|
x11-libs/clutter
|
||||||
|
base/libgee
|
||||||
|
elementary-lib/granite
|
||||||
|
x11-apps/plank
|
||||||
|
dev-libs/libxml2
|
||||||
|
"
|
||||||
|
|
||||||
|
MYOPTIONS="
|
||||||
|
doc
|
||||||
|
platform:
|
||||||
|
amd64
|
||||||
|
"
|
||||||
|
|
||||||
|
MESON_SRC_CONFIGURE_OPTION_SWITCHES=(
|
||||||
|
"doc documentation"
|
||||||
|
)
|
13
packages/elementary-base/greeter/files/sbin-to-bin.patch
Normal file
13
packages/elementary-base/greeter/files/sbin-to-bin.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
diff --git a/src/meson.build b/src/meson.build
|
||||||
|
index 92ceb8f..68e3ff5 100644
|
||||||
|
--- a/src/meson.build
|
||||||
|
+++ b/src/meson.build
|
||||||
|
@@ -4,7 +4,7 @@ gtk_dep = dependency('gtk+-3.0')
|
||||||
|
granite_dep = dependency('granite')
|
||||||
|
lightdm_dep = dependency('liblightdm-gobject-1')
|
||||||
|
|
||||||
|
-install_path = join_paths(get_option('prefix'), get_option('sbindir'))
|
||||||
|
+install_path = join_paths(get_option('prefix'), get_option('bindir'))
|
||||||
|
|
||||||
|
conf_data = configuration_data()
|
||||||
|
conf_data.set('CONF_DIR', join_paths(get_option('sysconfdir'), 'lightdm'))
|
6
packages/elementary-base/greeter/greeter-scm.exheres-0
Normal file
6
packages/elementary-base/greeter/greeter-scm.exheres-0
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
# Copyright 2018 Martin Sekera <sekerama@gmail.com>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require greeter
|
||||||
|
|
||||||
|
PLATFORMS="~amd64"
|
32
packages/elementary-base/greeter/greeter.exlib
Normal file
32
packages/elementary-base/greeter/greeter.exlib
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
# Copyright 2018 Martin Sekera <sekerama@gmail.com>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require github [ user=elementary ]
|
||||||
|
require meson
|
||||||
|
require vala [ vala_dep=true ]
|
||||||
|
|
||||||
|
SUMMARY="The Pantheon LightDM greeter."
|
||||||
|
SLOT="0"
|
||||||
|
LICENCES="GPL-3"
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
build+run:
|
||||||
|
elementary-lib/granite
|
||||||
|
gnome-desktop/mutter[>=3.28.0&<3.30.0]
|
||||||
|
x11-libs/gtk+:3
|
||||||
|
dev-libs/glib:2[>=2.44.0]
|
||||||
|
gnome-desktop/gnome-settings-daemon
|
||||||
|
x11-libs/gdk-pixbuf
|
||||||
|
elementary-base/wingpanel
|
||||||
|
x11-apps/lightdm
|
||||||
|
x11-libs/libX11
|
||||||
|
"
|
||||||
|
|
||||||
|
MYOPTIONS="
|
||||||
|
platform:
|
||||||
|
amd64
|
||||||
|
"
|
||||||
|
|
||||||
|
DEFAULT_SRC_PREPARE_PATCHES+=(
|
||||||
|
"${FILES}/sbin-to-bin.patch"
|
||||||
|
)
|
|
@ -0,0 +1,6 @@
|
||||||
|
# Copyright 2018 Martin Sekera <sekerama@gmail.com>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require session-settings
|
||||||
|
|
||||||
|
PLATFORMS="~amd64"
|
|
@ -0,0 +1,30 @@
|
||||||
|
# Copyright 2018 Martin Sekera <sekerama@gmail.com>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require github [ user=elementary ]
|
||||||
|
|
||||||
|
SUMMARY="Pantheon X session files."
|
||||||
|
SLOT="0"
|
||||||
|
LICENCES="GPL-3"
|
||||||
|
|
||||||
|
DEPENDENCIES=""
|
||||||
|
|
||||||
|
MYOPTIONS="
|
||||||
|
platform:
|
||||||
|
amd64
|
||||||
|
"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
insinto /usr/share/xsessions
|
||||||
|
doins xsessions/pantheon.desktop
|
||||||
|
|
||||||
|
insinto /usr/share/gnome-session/sessions
|
||||||
|
doins gnome-session/pantheon.session
|
||||||
|
|
||||||
|
insinto /usr/share/gnome/autostart
|
||||||
|
pushd autostart > /dev/null
|
||||||
|
for f in *; do
|
||||||
|
doins "${f}"
|
||||||
|
done
|
||||||
|
popd > /dev/null
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
# Copyright 2018 Martin Sekera <sekerama@gmail.com>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require stylesheet
|
||||||
|
|
||||||
|
PLATFORMS="~amd64"
|
19
packages/elementary-base/stylesheet/stylesheet.exlib
Normal file
19
packages/elementary-base/stylesheet/stylesheet.exlib
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# Copyright 2018 Martin Sekera <sekerama@gmail.com>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require github [ user=elementary ]
|
||||||
|
require meson
|
||||||
|
|
||||||
|
SUMMARY="The Pantheon GTK+ stylesheet."
|
||||||
|
SLOT="0"
|
||||||
|
LICENCES="GPL-3"
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
build:
|
||||||
|
x11-libs/gtk+:3
|
||||||
|
"
|
||||||
|
|
||||||
|
MYOPTIONS="
|
||||||
|
platform:
|
||||||
|
amd64
|
||||||
|
"
|
|
@ -0,0 +1,6 @@
|
||||||
|
# Copyright 2018 Martin Sekera <sekerama@gmail.com>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require switchboard
|
||||||
|
|
||||||
|
PLATFORMS="~amd64"
|
25
packages/elementary-base/switchboard/switchboard.exlib
Normal file
25
packages/elementary-base/switchboard/switchboard.exlib
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
# Copyright 2018 Martin Sekera <sekerama@gmail.com>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require github [ user=elementary ]
|
||||||
|
require meson
|
||||||
|
require vala [ vala_dep=true ]
|
||||||
|
|
||||||
|
SUMMARY="Extensible System Settings app designed for elementary OS."
|
||||||
|
SLOT="0"
|
||||||
|
LICENCES="GPL-3"
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
build+run:
|
||||||
|
x11-libs/gtk+:3
|
||||||
|
dev-libs/glib:2[>=2.44.0]
|
||||||
|
x11-libs/clutter-gtk
|
||||||
|
base/libgee
|
||||||
|
elementary-lib/granite
|
||||||
|
dev-libs/libunity
|
||||||
|
"
|
||||||
|
|
||||||
|
MYOPTIONS="
|
||||||
|
platform:
|
||||||
|
amd64
|
||||||
|
"
|
|
@ -0,0 +1,6 @@
|
||||||
|
# Copyright 2018 Martin Sekera <sekerama@gmail.com>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require wingpanel
|
||||||
|
|
||||||
|
PLATFORMS="~amd64"
|
27
packages/elementary-base/wingpanel/wingpanel.exlib
Normal file
27
packages/elementary-base/wingpanel/wingpanel.exlib
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
# Copyright 2018 Martin Sekera <sekerama@gmail.com>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require github [ user=elementary ]
|
||||||
|
require meson
|
||||||
|
require vala [ vala_dep=true ]
|
||||||
|
|
||||||
|
SUMMARY="The extensible top panel for Pantheon."
|
||||||
|
SLOT="0"
|
||||||
|
LICENCES="GPL-3"
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
build:
|
||||||
|
sys-devel/gettext
|
||||||
|
build+run:
|
||||||
|
elementary-base/gala
|
||||||
|
elementary-lib/granite
|
||||||
|
gnome-desktop/mutter[>=3.28.0&<3.30.0]
|
||||||
|
base/libgee
|
||||||
|
x11-libs/gtk+:3
|
||||||
|
dev-libs/glib:2[>=2.44.0]
|
||||||
|
"
|
||||||
|
|
||||||
|
MYOPTIONS="
|
||||||
|
platform:
|
||||||
|
amd64
|
||||||
|
"
|
6
packages/elementary-lib/granite/granite-5.2.1.exheres-0
Normal file
6
packages/elementary-lib/granite/granite-5.2.1.exheres-0
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
# Copyright 2018 Martin Sekera <sekerama@gmail.com>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require granite
|
||||||
|
|
||||||
|
PLATFORMS="~amd64"
|
29
packages/elementary-lib/granite/granite.exlib
Normal file
29
packages/elementary-lib/granite/granite.exlib
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
# Copyright 2018 Martin Sekera <sekerama@gmail.com>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require cmake [ api=2 ]
|
||||||
|
require github [ user=elementary ]
|
||||||
|
require vala [ vala_dep=true ]
|
||||||
|
|
||||||
|
SUMMARY="A companion library for GTK+ and GLib that provides complex widgets."
|
||||||
|
#HOMEPAGE="https://github.com/elementary/granite"
|
||||||
|
|
||||||
|
LICENCES="LGPL-3.0"
|
||||||
|
SLOT="0"
|
||||||
|
MYOPTIONS="
|
||||||
|
platform:
|
||||||
|
amd64
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
build:
|
||||||
|
|
||||||
|
build+run:
|
||||||
|
gnome-desktop/gobject-introspection
|
||||||
|
base/libgee
|
||||||
|
x11-libs/gtk+:3
|
||||||
|
"
|
||||||
|
|
||||||
|
#CMAKE_SRC_CONFIGURE_PARAMS=(
|
||||||
|
# -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc/${PN}
|
||||||
|
#)
|
|
@ -0,0 +1,129 @@
|
||||||
|
Upstream: Yes
|
||||||
|
Reason_ Work with pipewire 0.2
|
||||||
|
From 0407a8b33d8c3503fba63ad260984bb08bd6e0dc Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Jonas=20=C3=85dahl?= <jadahl@gmail.com>
|
||||||
|
Date: Mon, 9 Jul 2018 17:27:47 +0200
|
||||||
|
Subject: [PATCH] screen-cast-src: Port to pipewire master
|
||||||
|
|
||||||
|
The PipeWire master branch saw some backports from the work branch,
|
||||||
|
including API changes making the 0.1 series more aligned with future
|
||||||
|
plans. Make mutter use the new API. This is needed to avoid dead locks
|
||||||
|
that existed in the older version.
|
||||||
|
---
|
||||||
|
src/backends/meta-screen-cast-stream-src.c | 46 +++++++++++-----------
|
||||||
|
1 file changed, 23 insertions(+), 23 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/backends/meta-screen-cast-stream-src.c b/src/backends/meta-screen-cast-stream-src.c
|
||||||
|
index 337755002..8cd8911ae 100644
|
||||||
|
--- a/src/backends/meta-screen-cast-stream-src.c
|
||||||
|
+++ b/src/backends/meta-screen-cast-stream-src.c
|
||||||
|
@@ -132,8 +132,8 @@ meta_screen_cast_stream_src_maybe_record_frame (MetaScreenCastStreamSrc *src)
|
||||||
|
{
|
||||||
|
MetaScreenCastStreamSrcPrivate *priv =
|
||||||
|
meta_screen_cast_stream_src_get_instance_private (src);
|
||||||
|
- uint32_t buffer_id;
|
||||||
|
- struct spa_buffer *buffer;
|
||||||
|
+ struct pw_buffer *buffer;
|
||||||
|
+ struct spa_buffer *spa_buffer;
|
||||||
|
uint8_t *map = NULL;
|
||||||
|
uint8_t *data;
|
||||||
|
uint64_t now_us;
|
||||||
|
@@ -148,22 +148,24 @@ meta_screen_cast_stream_src_maybe_record_frame (MetaScreenCastStreamSrc *src)
|
||||||
|
if (!priv->pipewire_stream)
|
||||||
|
return;
|
||||||
|
|
||||||
|
- buffer_id = pw_stream_get_empty_buffer (priv->pipewire_stream);
|
||||||
|
- if (buffer_id == SPA_ID_INVALID)
|
||||||
|
- return;
|
||||||
|
-
|
||||||
|
- buffer = pw_stream_peek_buffer (priv->pipewire_stream, buffer_id);
|
||||||
|
+ buffer = pw_stream_dequeue_buffer (priv->pipewire_stream);
|
||||||
|
if (!buffer)
|
||||||
|
{
|
||||||
|
- g_warning ("Failed to peek at PipeWire buffer");
|
||||||
|
+ g_warning ("Failed to dequeue at PipeWire buffer");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
- if (buffer->datas[0].type == priv->pipewire_type->data.MemFd)
|
||||||
|
+ spa_buffer = buffer->buffer;
|
||||||
|
+
|
||||||
|
+ if (spa_buffer->datas[0].data)
|
||||||
|
+ {
|
||||||
|
+ data = spa_buffer->datas[0].data;
|
||||||
|
+ }
|
||||||
|
+ else if (spa_buffer->datas[0].type == priv->pipewire_type->data.MemFd)
|
||||||
|
{
|
||||||
|
- map = mmap (NULL, buffer->datas[0].maxsize + buffer->datas[0].mapoffset,
|
||||||
|
+ map = mmap (NULL, spa_buffer->datas[0].maxsize + spa_buffer->datas[0].mapoffset,
|
||||||
|
PROT_READ | PROT_WRITE, MAP_SHARED,
|
||||||
|
- buffer->datas[0].fd, 0);
|
||||||
|
+ spa_buffer->datas[0].fd, 0);
|
||||||
|
if (map == MAP_FAILED)
|
||||||
|
{
|
||||||
|
g_warning ("Failed to mmap pipewire stream buffer: %s\n",
|
||||||
|
@@ -171,14 +173,11 @@ meta_screen_cast_stream_src_maybe_record_frame (MetaScreenCastStreamSrc *src)
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
- data = SPA_MEMBER (map, buffer->datas[0].mapoffset, uint8_t);
|
||||||
|
- }
|
||||||
|
- else if (buffer->datas[0].type == priv->pipewire_type->data.MemPtr)
|
||||||
|
- {
|
||||||
|
- data = buffer->datas[0].data;
|
||||||
|
+ data = SPA_MEMBER (map, spa_buffer->datas[0].mapoffset, uint8_t);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
+ g_warning ("Unhandled spa buffer type: %d", spa_buffer->datas[0].type);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
@@ -186,11 +185,11 @@ meta_screen_cast_stream_src_maybe_record_frame (MetaScreenCastStreamSrc *src)
|
||||||
|
priv->last_frame_timestamp_us = now_us;
|
||||||
|
|
||||||
|
if (map)
|
||||||
|
- munmap (map, buffer->datas[0].maxsize + buffer->datas[0].mapoffset);
|
||||||
|
+ munmap (map, spa_buffer->datas[0].maxsize + spa_buffer->datas[0].mapoffset);
|
||||||
|
|
||||||
|
- buffer->datas[0].chunk->size = buffer->datas[0].maxsize;
|
||||||
|
+ spa_buffer->datas[0].chunk->size = spa_buffer->datas[0].maxsize;
|
||||||
|
|
||||||
|
- pw_stream_send_buffer (priv->pipewire_stream, buffer_id);
|
||||||
|
+ pw_stream_queue_buffer (priv->pipewire_stream, buffer);
|
||||||
|
}
|
||||||
|
|
||||||
|
static gboolean
|
||||||
|
@@ -266,8 +265,8 @@ on_stream_state_changed (void *data,
|
||||||
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
-on_stream_format_changed (void *data,
|
||||||
|
- struct spa_pod *format)
|
||||||
|
+on_stream_format_changed (void *data,
|
||||||
|
+ const struct spa_pod *format)
|
||||||
|
{
|
||||||
|
MetaScreenCastStreamSrc *src = data;
|
||||||
|
MetaScreenCastStreamSrcPrivate *priv =
|
||||||
|
@@ -276,7 +275,7 @@ on_stream_format_changed (void *data,
|
||||||
|
uint8_t params_buffer[1024];
|
||||||
|
int32_t width, height, stride, size;
|
||||||
|
struct spa_pod_builder pod_builder;
|
||||||
|
- struct spa_pod *params[1];
|
||||||
|
+ const struct spa_pod *params[1];
|
||||||
|
const int bpp = 4;
|
||||||
|
|
||||||
|
if (!format)
|
||||||
|
@@ -372,7 +371,8 @@ create_pipewire_stream (MetaScreenCastStreamSrc *src,
|
||||||
|
result = pw_stream_connect (pipewire_stream,
|
||||||
|
PW_DIRECTION_OUTPUT,
|
||||||
|
NULL,
|
||||||
|
- PW_STREAM_FLAG_NONE,
|
||||||
|
+ (PW_STREAM_FLAG_DRIVER |
|
||||||
|
+ PW_STREAM_FLAG_MAP_BUFFERS),
|
||||||
|
params, G_N_ELEMENTS (params));
|
||||||
|
if (result != 0)
|
||||||
|
{
|
||||||
|
--
|
||||||
|
2.17.1
|
||||||
|
|
|
@ -0,0 +1,20 @@
|
||||||
|
Upstream: Yes, rebased for 3.28.3 here
|
||||||
|
From c216397974a7d75a3fdb374becbc40a23ec878bf Mon Sep 17 00:00:00 2001
|
||||||
|
From: Jan Grulich <jgrulich@redhat.com>
|
||||||
|
Date: Mon, 6 Aug 2018 10:05:36 +0200
|
||||||
|
Subject: [PATCH] Update libpipewire requirements
|
||||||
|
|
||||||
|
PipeWire 0.2.2+ now provides libpipewire-0.2 and not libpipewire-0.1 anymore
|
||||||
|
diff --git a/configure.ac b/configure.ac
|
||||||
|
index e795159..9adb14b 100644
|
||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -245,7 +245,7 @@ AC_ARG_ENABLE(remote-desktop,
|
||||||
|
enable_remote_desktop=no
|
||||||
|
)
|
||||||
|
AS_IF([test "$enable_remote_desktop" = "yes"], [
|
||||||
|
- MUTTER_PC_MODULES="$MUTTER_PC_MODULES libpipewire-0.1 >= 0.1.8"
|
||||||
|
+ MUTTER_PC_MODULES="$MUTTER_PC_MODULES libpipewire-0.2 >= 0.2.2"
|
||||||
|
AC_DEFINE([HAVE_REMOTE_DESKTOP],[1], [Defined if screen cast and remote desktop support is enabled])
|
||||||
|
])
|
||||||
|
AM_CONDITIONAL([HAVE_REMOTE_DESKTOP],[test "$enable_remote_desktop" = "yes"])
|
94
packages/gnome-desktop/mutter/mutter-3.28.3-r1.exheres-0
Normal file
94
packages/gnome-desktop/mutter/mutter-3.28.3-r1.exheres-0
Normal file
|
@ -0,0 +1,94 @@
|
||||||
|
# Copyright 2009 Saleem Abdulrasool <compnerd@compnerd.org>
|
||||||
|
# Copyright 2011 Brett Witherspoon <spoonb@exherbo.org>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require gnome.org [ suffix=tar.xz ] gsettings autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.16 ] ]
|
||||||
|
|
||||||
|
|
||||||
|
SUMMARY="Clutter and metacity based compositing window manager"
|
||||||
|
|
||||||
|
LICENCES="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
PLATFORMS="~amd64 ~x86"
|
||||||
|
MYOPTIONS="gobject-introspection
|
||||||
|
remote-desktop [[ description = [ Support remote desktop and screen casting ] ]]
|
||||||
|
sound [[ description = [ Enable the use of libcanberra for event sounds ] ]]
|
||||||
|
wacom [[ description = [ Use libwacom for tablet identification ] ]]
|
||||||
|
( linguas: am ar as ast az be be@latin bg bn bn_IN br bs ca ca@valencia cs cy da de dz el en_CA
|
||||||
|
en_GB eo es et eu fa fi fr fur ga gl gu ha he hi hr hu hy id ig is it ja ka kk kn ko ku
|
||||||
|
la lt lv mai mg mk ml mn mr ms nb nds ne nl nn oc or pa pl pt pt_BR ro ru rw si sk
|
||||||
|
sl sq sr sr@latin sv ta te tg th tk tr ug uk vi wa xh yo zh_CN zh_HK zh_TW )
|
||||||
|
( providers: elogind systemd ) [[
|
||||||
|
*description = [ Session tracking provider ]
|
||||||
|
number-selected = at-most-one
|
||||||
|
]]
|
||||||
|
"
|
||||||
|
|
||||||
|
BUGS_TO="spoonb@exherbo.org"
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
build:
|
||||||
|
sys-devel/gettext[>=0.19.6]
|
||||||
|
sys-libs/wayland-protocols[>=1.12]
|
||||||
|
virtual/pkg-config[>=0.21]
|
||||||
|
build+run:
|
||||||
|
core/json-glib
|
||||||
|
dev-libs/glib:2[>=2.53.2]
|
||||||
|
gnome-desktop/gnome-desktop:3.0
|
||||||
|
gnome-desktop/gsettings-desktop-schemas[>=3.21.4][gobject-introspection?]
|
||||||
|
gnome-desktop/libgudev[>=232]
|
||||||
|
gnome-desktop/zenity
|
||||||
|
sys-apps/upower[>=0.99.0]
|
||||||
|
sys-libs/libinput[>=1.4]
|
||||||
|
sys-libs/wayland[>=1.13.0]
|
||||||
|
x11-apps/xkeyboard-config
|
||||||
|
x11-dri/mesa[>=10.3]
|
||||||
|
x11-dri/libdrm[>=2.4.83]
|
||||||
|
x11-libs/cairo[>=1.10.0]
|
||||||
|
x11-libs/gtk+:3[>=3.19.8][gobject-introspection?][wayland]
|
||||||
|
x11-libs/pango[>=1.2.0]
|
||||||
|
x11-libs/libICE
|
||||||
|
x11-libs/libSM
|
||||||
|
x11-libs/libX11
|
||||||
|
x11-libs/libXcomposite[>=0.2]
|
||||||
|
x11-libs/libXcursor
|
||||||
|
x11-libs/libXdamage
|
||||||
|
x11-libs/libXext
|
||||||
|
x11-libs/libXfixes
|
||||||
|
x11-libs/libXi[>=1.6.99.1]
|
||||||
|
x11-libs/libXinerama
|
||||||
|
x11-libs/libXrandr[>=1.5.0]
|
||||||
|
x11-libs/libXrender
|
||||||
|
x11-libs/libxcb
|
||||||
|
x11-libs/libxkbcommon[X][>=0.4.3]
|
||||||
|
x11-libs/libxkbfile
|
||||||
|
x11-libs/startup-notification[>=0.7]
|
||||||
|
gobject-introspection? ( gnome-desktop/gobject-introspection:1[>=0.9.5] )
|
||||||
|
providers:elogind? ( sys-auth/elogind )
|
||||||
|
providers:systemd? ( sys-apps/systemd )
|
||||||
|
remote-desktop? ( media/pipewire[>=0.2.2] )
|
||||||
|
sound? ( media-libs/libcanberra[providers:gtk3][>=0.26] )
|
||||||
|
wacom? ( x11-libs/libwacom[>=0.19] )
|
||||||
|
run:
|
||||||
|
x11-server/xorg-server[xwayland]
|
||||||
|
recommendation:
|
||||||
|
gnome-desktop/gnome-themes-standard [[
|
||||||
|
description = [ Provides default GNOME 3 theme (Adwaita) ]
|
||||||
|
]]
|
||||||
|
"
|
||||||
|
|
||||||
|
# Bundled clutter fails its tests
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
DEFAULT_SRC_PREPARE_PATCHES=(
|
||||||
|
"${FILES}"/c216397974a7d75a3fdb374becbc40a23ec878bf.patch
|
||||||
|
"${FILES}"/0407a8b33d8c3503fba63ad260984bb08bd6e0dc.patch
|
||||||
|
)
|
||||||
|
DEFAULT_SRC_CONFIGURE_PARAMS=( '--enable-sm' '--enable-startup-notification' '--disable-debug'
|
||||||
|
'--enable-native-backend' '--enable-wayland' '--enable-gudev'
|
||||||
|
'--enable-egl-device' '--disable-scrollkeeper' '--disable-static'
|
||||||
|
# need to reduce default compiler warnings due to deprecation errors
|
||||||
|
'--enable-compile-warnings=maximum' )
|
||||||
|
DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=( 'gobject-introspection introspection' 'remote-desktop' 'wacom libwacom' )
|
||||||
|
DEFAULT_SRC_CONFIGURE_OPTION_WITHS=( 'sound libcanberra' )
|
||||||
|
|
60
packages/net-im/telegram-desktop-bin/files/fonts.conf
Normal file
60
packages/net-im/telegram-desktop-bin/files/fonts.conf
Normal file
|
@ -0,0 +1,60 @@
|
||||||
|
<?xml version='1.0'?>
|
||||||
|
<!--
|
||||||
|
This file is only here to work around
|
||||||
|
https://github.com/telegramdesktop/tdesktop/issues/4240
|
||||||
|
It has been taken from (with slight modification)
|
||||||
|
https://github.com/telegramdesktop/tdesktop/issues/4493
|
||||||
|
-->
|
||||||
|
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
|
||||||
|
<fontconfig>
|
||||||
|
<dir>/usr/share/fonts</dir>
|
||||||
|
<dir>/usr/local/share/fonts</dir>
|
||||||
|
<dir prefix="xdg">fonts</dir>
|
||||||
|
<match target="pattern">
|
||||||
|
<test qual="any" name="family">
|
||||||
|
<string>mono</string>
|
||||||
|
</test>
|
||||||
|
<edit name="family" mode="assign" binding="same">
|
||||||
|
<string>monospace</string>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
<match target="pattern">
|
||||||
|
<test qual="any" name="family">
|
||||||
|
<string>sans serif</string>
|
||||||
|
</test>
|
||||||
|
<edit name="family" mode="assign" binding="same">
|
||||||
|
<string>sans-serif</string>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
<match target="pattern">
|
||||||
|
<test qual="any" name="family">
|
||||||
|
<string>sans</string>
|
||||||
|
</test>
|
||||||
|
<edit name="family" mode="assign" binding="same">
|
||||||
|
<string>sans-serif</string>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
<cachedir>/var/cache/fontconfig</cachedir>
|
||||||
|
<cachedir prefix="xdg">fontconfig</cachedir>
|
||||||
|
<cachedir>~/.fontconfig</cachedir>
|
||||||
|
<match target="font">
|
||||||
|
<edit mode="assign" name="antialias">
|
||||||
|
<bool>true</bool>
|
||||||
|
</edit>
|
||||||
|
<edit mode="assign" name="embeddedbitmap">
|
||||||
|
<bool>false</bool>
|
||||||
|
</edit>
|
||||||
|
<edit mode="assign" name="hinting">
|
||||||
|
<bool>true</bool>
|
||||||
|
</edit>
|
||||||
|
<edit mode="assign" name="hintstyle">
|
||||||
|
<const>hintslight</const>
|
||||||
|
</edit>
|
||||||
|
<edit mode="assign" name="lcdfilter">
|
||||||
|
<const>lcddefault</const>
|
||||||
|
</edit>
|
||||||
|
<edit mode="assign" name="rgba">
|
||||||
|
<const>rgb</const>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
</fontconfig>
|
15
packages/net-im/telegram-desktop-bin/files/telegram-desktop
Normal file
15
packages/net-im/telegram-desktop-bin/files/telegram-desktop
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
#! /bin/sh
|
||||||
|
# this wrapper disables the auto-updater of telegram-desktop
|
||||||
|
# This program is licensed under the same license as telegram-desktop
|
||||||
|
|
||||||
|
# telegram-desktop fails to set RestartCommand with the session manager
|
||||||
|
# exclude it from session management to prevent restarts without the argument
|
||||||
|
unset SESSION_MANAGER
|
||||||
|
|
||||||
|
# telegram-desktop expects old fontconfig configuration files
|
||||||
|
# this is a workaround to try and deal with that
|
||||||
|
[ -e /etc/telegram-desktop-bin/fonts.conf ] && \
|
||||||
|
[ -z $( printenv FONTCONFIG_FILE ) ] && \
|
||||||
|
export FONTCONFIG_FILE=/etc/telegram-desktop-bin/fonts.conf
|
||||||
|
|
||||||
|
exec /usr/libexec/telegram-desktop-bin/Telegram -externalupdater $@
|
|
@ -0,0 +1,3 @@
|
||||||
|
require telegram-desktop-bin
|
||||||
|
|
||||||
|
PLATFORMS="-* ~x86 ~amd64"
|
|
@ -0,0 +1,70 @@
|
||||||
|
# Copyright 2018 Martin Sekera <sekerama@gmail.com>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
# Based on Gentoo's net-im/telegram-desktop-bin, GPL2
|
||||||
|
# Copyright 1999-2018 Gentoo Authors
|
||||||
|
|
||||||
|
SUMMARY="Telegram Desktop messaging app (binary)"
|
||||||
|
DESCRIPTION="Telegram is a messaging app with a focus on speed and security, it’s super-fast, simple and free. You can use Telegram on all your devices at the same time — your messages sync seamlessly across any number of your phones, tablets or computers."
|
||||||
|
HOMEPAGE="https://desktop.telegram.org/"
|
||||||
|
DOWNLOADS="
|
||||||
|
https://github.com/telegramdesktop/tdesktop/archive/v${PV}.tar.gz -> tdesktop-${PV}.tar.gz
|
||||||
|
platform:amd64? ( https://github.com/telegramdesktop/tdesktop/releases/download/v${PV}/tsetup.${PV}.beta.tar.xz )
|
||||||
|
platform:x86? ( https://github.com/telegramdesktop/tdesktop/releases/download/v${PV}/tsetup32.${PV}.beta.tar.xz )
|
||||||
|
"
|
||||||
|
UPSTREAM_CHANGELOG="https://telegram.org/blog [[ lang = en ]]"
|
||||||
|
UPSTREAM_DOCUMENTATION="
|
||||||
|
https://telegram.org/faq [[ lang = en description = [ FAQ ] ]]
|
||||||
|
https://core.telegram.org/techfaq [[ lang = en description = [ Technical FAQ ] ]]
|
||||||
|
https://core.telegram.org/api [[ lang = en description = [ API description ] ]]
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENCES="GPL-3-with-openssl-exception"
|
||||||
|
SLOT="0"
|
||||||
|
DEPENDENCIES="
|
||||||
|
run:
|
||||||
|
dev-libs/glib:2
|
||||||
|
gnome-desktop/gobject-introspection
|
||||||
|
sys-apps/dbus
|
||||||
|
x11-libs/libX11
|
||||||
|
x11-libs/libxcb
|
||||||
|
media-libs/fontconfig
|
||||||
|
"
|
||||||
|
MYOPTIONS="
|
||||||
|
platform:
|
||||||
|
amd64
|
||||||
|
x86
|
||||||
|
"
|
||||||
|
RESTRICT="test" # no tests available
|
||||||
|
|
||||||
|
WORK="${WORKBASE}"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
exeinto /usr/$(exhost --target)/libexec/${PN}
|
||||||
|
doexe Telegram/Telegram
|
||||||
|
|
||||||
|
newbin "${FILES}"/telegram-desktop telegram-desktop
|
||||||
|
|
||||||
|
for size in 16 32 48 64 128 256 512
|
||||||
|
do
|
||||||
|
insinto /usr/share/icons/hicolor/${size}x${size}/apps
|
||||||
|
newins "${WORK}/tdesktop-${PV}/Telegram/Resources/art/icon${size}.png" telegram.png
|
||||||
|
done
|
||||||
|
|
||||||
|
dodir /etc/${PN}
|
||||||
|
insinto /etc/${PN}
|
||||||
|
doins "${FILES}"/fonts.conf
|
||||||
|
|
||||||
|
insinto /usr/share/applications
|
||||||
|
doins "${WORK}/tdesktop-${PV}"/lib/xdg/telegramdesktop.desktop
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
freedesktop-desktop_pkg_postrm
|
||||||
|
gtk-icon-cache_pkg_postrm
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
freedesktop-desktop_pkg_postinst
|
||||||
|
gtk-icon-cache_pkg_postinst
|
||||||
|
}
|
69
packages/net-p2p/syncthing/syncthing-0.14.54.exheres-0
Normal file
69
packages/net-p2p/syncthing/syncthing-0.14.54.exheres-0
Normal file
|
@ -0,0 +1,69 @@
|
||||||
|
# Copyright 2014-2016 Kylie McClain <somasis@exherbo.org>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
#
|
||||||
|
# Based in part on '/ports/head/net/syncthing/Makefile' (from FreeBSD Ports)
|
||||||
|
# Copyright 2014 Steven Wills <swills@FreeBSD.org>
|
||||||
|
# (file is under two clause BSD license)
|
||||||
|
#
|
||||||
|
|
||||||
|
MY_PNV=${PN}-source-v${PV}
|
||||||
|
|
||||||
|
require systemd-service [ systemd_files=[ etc/linux-systemd/system/ ] systemd_user_files=[ etc/linux-systemd/user/ ] ]
|
||||||
|
require github [ release="v${PV}" suffix=tar.gz ]
|
||||||
|
|
||||||
|
SUMMARY="Open-source continuous file synchronization daemon"
|
||||||
|
SLOT="0"
|
||||||
|
LICENCES="MPL-2.0"
|
||||||
|
|
||||||
|
UPSTREAM_CHANGELOG="${HOMEPAGE}/releases [[ lang = en ]]"
|
||||||
|
UPSTREAM_DOCUMENTATION="
|
||||||
|
${HOMEPAGE}/wiki/Getting-Started [[ lang = en description = [ Getting started guide ] ]]
|
||||||
|
${HOMEPAGE}/wiki [[ lang = en description = [ All documentation ] ]]
|
||||||
|
"
|
||||||
|
|
||||||
|
PLATFORMS="~amd64 ~armv7"
|
||||||
|
DEPENDENCIES="
|
||||||
|
build:
|
||||||
|
dev-lang/go[>=1.7]
|
||||||
|
suggestion:
|
||||||
|
x11-apps/syncthing-gtk [[
|
||||||
|
description = [ syncthing-gtk is a GTK user interface for syncthing ]
|
||||||
|
]]
|
||||||
|
"
|
||||||
|
|
||||||
|
GOPATH="${WORKBASE}"
|
||||||
|
WORK="${WORKBASE}/src/github.com/${PN}/${PN}"
|
||||||
|
|
||||||
|
# too broken
|
||||||
|
RESTRICT=test
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
edo mkdir -p "${WORK%/syncthing}"
|
||||||
|
default
|
||||||
|
edo mv "${WORKBASE}"/${PN} "${WORK}"
|
||||||
|
}
|
||||||
|
|
||||||
|
#src_prepare() {
|
||||||
|
# # There must be a better way to fix this, but until then... patches welcome.
|
||||||
|
# edo rm internal/discover/client_test.go internal/discover/discover_test.go \
|
||||||
|
# internal/model/model_test.go internal/model/queue_test.go \
|
||||||
|
# internal/config/config_test.go internal/model/sharedpullerstate_test.go \
|
||||||
|
# internal/model/rwfolder_test.go internal/osutil/osutil_test.go \
|
||||||
|
# internal/osutil/atomic_test.go internal/scanner/walk_test.go \
|
||||||
|
# cmd/syncthing/main_test.go internal/versioner/*_test.go
|
||||||
|
#}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
edo go run build.go -no-upgrade -version "v${PV}" build
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
edo go run build.go -no-upgrade test
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin "${PN}"
|
||||||
|
doman man/!(*.sh|*.md)
|
||||||
|
install_systemd_files
|
||||||
|
}
|
||||||
|
|
8
packages/x11-apps/plank/plank-0.11.4.exheres-0
Normal file
8
packages/x11-apps/plank/plank-0.11.4.exheres-0
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
# Copyright 2014-2015 Kylie McClain <somasis@exherbo.org>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require plank
|
||||||
|
require launchpad [ suffix=tar.xz branch=1.0 ]
|
||||||
|
|
||||||
|
PLATFORMS="~amd64"
|
||||||
|
|
69
packages/x11-apps/plank/plank.exlib
Normal file
69
packages/x11-apps/plank/plank.exlib
Normal file
|
@ -0,0 +1,69 @@
|
||||||
|
# Copyright 2014-2016 Kylie McClain <somasis@exherbo.org>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
require vala [ vala_dep=true ]
|
||||||
|
require gtk-icon-cache
|
||||||
|
require gsettings
|
||||||
|
|
||||||
|
export_exlib_phases pkg_postinst pkg_postrm
|
||||||
|
|
||||||
|
SUMMARY="The simplest dock on the planet, providing just what a dock needs and absolutely nothing more"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
LICENCES="GPL-3"
|
||||||
|
|
||||||
|
HOMEPAGE="https://launchpad.net/${PN}"
|
||||||
|
|
||||||
|
BUGS_TO="somasis@exherbo.org"
|
||||||
|
|
||||||
|
MYOPTIONS="debug doc"
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
build:
|
||||||
|
dev-libs/libxml2
|
||||||
|
dev-util/intltool[>=0.35.0]
|
||||||
|
virtual/pkg-config
|
||||||
|
build+run:
|
||||||
|
base/libgee:=[>=0.5.2][gobject-introspection]
|
||||||
|
dev-libs/glib:2[>=2.40.0]
|
||||||
|
dev-libs/libdbusmenu:0.4[gobject-introspection]
|
||||||
|
gnome-desktop/libwnck:3.0[gobject-introspection]
|
||||||
|
x11-libs/bamf[>=0.2.92][gobject-introspection]
|
||||||
|
x11-libs/cairo[>=1.13] [[ note = [ it really requires 1.10, but HiDPI support is used with 1.13 ] ]]
|
||||||
|
x11-libs/gdk-pixbuf[>=2.26.0][gobject-introspection]
|
||||||
|
x11-libs/gtk+:3[>=3.10.0][gobject-introspection]
|
||||||
|
x11-libs/libXfixes[>=5.0]
|
||||||
|
x11-libs/libXi[>=1.6.99]
|
||||||
|
"
|
||||||
|
|
||||||
|
# Plank's tests use Xorg stuff which is a no-no
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
DEFAULT_SRC_CONFIGURE_PARAMS=(
|
||||||
|
--enable-barriers
|
||||||
|
--enable-dbusmenu
|
||||||
|
--disable-apport
|
||||||
|
)
|
||||||
|
|
||||||
|
DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=(
|
||||||
|
debug
|
||||||
|
'debug benchmark'
|
||||||
|
'doc docs'
|
||||||
|
)
|
||||||
|
|
||||||
|
DEFAULT_SRC_CONFIGURE_TESTS=(
|
||||||
|
'--enable-headless-tests --disable-headless-tests'
|
||||||
|
'--enable-gcov --disable-gcov'
|
||||||
|
'--enable-gmock --disable-gmock'
|
||||||
|
)
|
||||||
|
|
||||||
|
plank_pkg_postinst() {
|
||||||
|
gsettings_pkg_postinst
|
||||||
|
gtk-icon-cache_pkg_postinst
|
||||||
|
}
|
||||||
|
|
||||||
|
plank_pkg_postrm() {
|
||||||
|
gsettings_pkg_postrm
|
||||||
|
gtk-icon-cache_pkg_postrm
|
||||||
|
}
|
||||||
|
|
2
profiles/options.conf
Normal file
2
profiles/options.conf
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
# options for packages from this repo
|
||||||
|
# */*
|
|
@ -1 +1 @@
|
||||||
random
|
rand
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue