summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-portage/eix/Manifest2
-rw-r--r--app-portage/eix/eix-0.33.8_alpha20190427.ebuild (renamed from app-portage/eix/eix-0.33.8_alpha20190419.ebuild)2
-rw-r--r--app-portage/eix/eix-99999999.ebuild2
-rw-r--r--dev-libs/weston/Manifest1
-rw-r--r--dev-libs/weston/files/pam-meson.patch36
-rw-r--r--dev-libs/weston/weston-6.0.0.ebuild149
-rw-r--r--metadata/pkg_desc_index4
7 files changed, 191 insertions, 5 deletions
diff --git a/app-portage/eix/Manifest b/app-portage/eix/Manifest
index f346fad9..39222b6b 100644
--- a/app-portage/eix/Manifest
+++ b/app-portage/eix/Manifest
@@ -1,2 +1,2 @@
DIST eix-0.33.7.tar.xz 626008 SHA512 a6f2f553a05351c642c5ad5dcb8dc804585e1476d35dbe2c056ed493d1e37576e5e57fe0317f4fe4f6310c5439d23cbbe7384da8fbe9761eddca10e463950077
-DIST eix-0.33.8_alpha20190419.tar.gz 680711 SHA512 e0c6324696d4621ea9b2c1d1eaa5bb53d6adb3eea89789c84ea0d85bdb4700637e0c483cd7667dba79e4082a1fc1b630b50d800369ac367eba5c3ddc3f1398f9
+DIST eix-0.33.8_alpha20190427.tar.gz 680721 SHA512 4d7f562826a9d101fbeebcc83213f9af7ebf3fa366bc8c0b55c3009287d8cc503acfad22b9ceef60504667c6bee406e1938ebf6f8db22ef08efed473c5202add
diff --git a/app-portage/eix/eix-0.33.8_alpha20190419.ebuild b/app-portage/eix/eix-0.33.8_alpha20190427.ebuild
index a0fb7e32..0c1851a6 100644
--- a/app-portage/eix/eix-0.33.8_alpha20190419.ebuild
+++ b/app-portage/eix/eix-0.33.8_alpha20190427.ebuild
@@ -17,7 +17,7 @@ case ${PV} in
PROPERTIES="live";;
*)
RESTRICT="mirror"
- EGIT_COMMIT="e5283f473a2cc258c7e0daea57d4abf0e058ab61"
+ EGIT_COMMIT="462efe154eb40d438f37f6cbc188808a31d9055b"
SRC_URI="https://github.com/vaeth/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${EGIT_COMMIT}";;
esac
diff --git a/app-portage/eix/eix-99999999.ebuild b/app-portage/eix/eix-99999999.ebuild
index a0fb7e32..0c1851a6 100644
--- a/app-portage/eix/eix-99999999.ebuild
+++ b/app-portage/eix/eix-99999999.ebuild
@@ -17,7 +17,7 @@ case ${PV} in
PROPERTIES="live";;
*)
RESTRICT="mirror"
- EGIT_COMMIT="e5283f473a2cc258c7e0daea57d4abf0e058ab61"
+ EGIT_COMMIT="462efe154eb40d438f37f6cbc188808a31d9055b"
SRC_URI="https://github.com/vaeth/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${EGIT_COMMIT}";;
esac
diff --git a/dev-libs/weston/Manifest b/dev-libs/weston/Manifest
index 96e65d84..a8ffaa95 100644
--- a/dev-libs/weston/Manifest
+++ b/dev-libs/weston/Manifest
@@ -1 +1,2 @@
DIST weston-5.0.0.tar.xz 1467496 SHA512 b6f97eca014ea47f3de0c5ddd89712f896cd66423d0eb499e1d88d35aab616cef1e735ebb8e0cefd8b60085314b6ec3d56b39d7c4776188bb56d58efc84a52cf
+DIST weston-6.0.0.tar.xz 1517032 SHA512 127ab64b689f202acca4d9461e4decfd42357e4bbb63493af257b3b20b693a8ab4207b3c6b97663cefeed200505aad5f32b6a064db2e53fa1e201877613b394f
diff --git a/dev-libs/weston/files/pam-meson.patch b/dev-libs/weston/files/pam-meson.patch
new file mode 100644
index 00000000..f392d9d4
--- /dev/null
+++ b/dev-libs/weston/files/pam-meson.patch
@@ -0,0 +1,36 @@
+--- 1/libweston/meson.build
++++ 1/libweston/meson.build
+@@ -472,10 +472,14 @@
+ endif
+
+ if get_option('weston-launch')
+- dep_pam = cc.find_library('pam')
++ dep_pam = systemd_dep
++ if get_option('pam')
++ config_h.set('HAVE_PAM', '1')
++ dep_pam = cc.find_library('pam')
+
+- if not cc.has_function('pam_open_session', dependencies: dep_pam)
+- error('pam_open_session not found for weston-launch')
++ if not cc.has_function('pam_open_session', dependencies: dep_pam)
++ error('pam_open_session not found for weston-launch')
++ endif
+ endif
+
+ executable(
+--- 1/meson_options.txt
++++ 1/meson_options.txt
+@@ -73,6 +73,13 @@
+ )
+
+ option(
++ 'pam',
++ type: 'boolean',
++ value: true,
++ description: 'Use pam for weston-launch'
++)
++
++option(
+ 'xwayland',
+ type: 'boolean',
+ value: true,
diff --git a/dev-libs/weston/weston-6.0.0.ebuild b/dev-libs/weston/weston-6.0.0.ebuild
new file mode 100644
index 00000000..98182035
--- /dev/null
+++ b/dev-libs/weston/weston-6.0.0.ebuild
@@ -0,0 +1,149 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} = 9999* ]]; then
+ EGIT_REPO_URI="https://gitlab.freedesktop.org/wayland/weston.git"
+ GIT_ECLASS="git-r3"
+ EXPERIMENTAL="true"
+fi
+
+inherit meson readme.gentoo-r1 toolchain-funcs xdg-utils $GIT_ECLASS
+
+DESCRIPTION="Wayland reference compositor"
+HOMEPAGE="https://wayland.freedesktop.org/ https://gitlab.freedesktop.org/wayland/weston"
+
+if [[ $PV = 9999* ]]; then
+ SRC_URI="${SRC_PATCHES}"
+ KEYWORDS=""
+else
+ SRC_URI="https://wayland.freedesktop.org/releases/${P}.tar.xz"
+ KEYWORDS="~amd64 ~arm ~x86"
+fi
+
+LICENSE="MIT CC-BY-SA-3.0"
+SLOT="0"
+
+IUSE="colord +desktop +drm editor examples fbdev fullscreen +gles2 headless ivi jpeg +launch lcms pam rdp remoting +resize-optimization screen-sharing static-libs +suid systemd test wayland-compositor webp +X xwayland"
+
+REQUIRED_USE="
+ drm? ( gles2 )
+ screen-sharing? ( rdp )
+ test? ( desktop headless xwayland )
+ wayland-compositor? ( gles2 )
+ || ( drm fbdev headless rdp wayland-compositor X )
+"
+
+RDEPEND="
+ >=dev-libs/libinput-0.8.0
+ >=dev-libs/wayland-1.17.0
+ >=dev-libs/wayland-protocols-1.17
+ lcms? ( media-libs/lcms:2 )
+ media-libs/libpng:0=
+ webp? ( media-libs/libwebp:0= )
+ jpeg? ( virtual/jpeg:0= )
+ >=x11-libs/cairo-1.11.3
+ >=x11-libs/libdrm-2.4.68
+ >=x11-libs/libxkbcommon-0.5.0
+ >=x11-libs/pixman-0.25.2
+ x11-misc/xkeyboard-config
+ fbdev? (
+ >=sys-libs/mtdev-1.1.0
+ >=virtual/udev-136
+ )
+ colord? ( >=x11-misc/colord-0.1.27 )
+ drm? (
+ >=media-libs/mesa-17.1[gbm]
+ >=sys-libs/mtdev-1.1.0
+ >=virtual/udev-136
+ )
+ editor? ( x11-libs/pango )
+ gles2? (
+ media-libs/mesa[gles2,wayland]
+ )
+ rdp? ( >=net-misc/freerdp-2.0.0_rc2:= )
+ remoting? (
+ media-libs/gstreamer:1.0
+ media-libs/gst-plugins-base:1.0
+ )
+ systemd? (
+ pam? ( sys-auth/pambase[systemd] )
+ >=sys-apps/dbus-1.6
+ >=sys-apps/systemd-209[pam?]
+ )
+ launch? ( pam? ( sys-auth/pambase ) )
+ X? (
+ >=x11-libs/libxcb-1.9
+ x11-libs/libX11
+ )
+ xwayland? (
+ x11-base/xorg-server[wayland]
+ x11-libs/cairo[xcb]
+ >=x11-libs/libxcb-1.9
+ x11-libs/libXcursor
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ eapply "${FILESDIR}"/pam.patch
+ eapply "${FILESDIR}"/pam-meson.patch
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local emesonargs=(
+ $(meson_use drm backend-drm)
+ -Dbackend-drm-screencast-vaapi=false
+ $(meson_use headless backend-headless)
+ $(meson_use rdp backend-rdp)
+ $(meson_use screen-sharing screenshare)
+ $(meson_use wayland-compositor backend-wayland)
+ $(meson_use X backend-x11)
+ $(meson_use fbdev backend-fbdev)
+ -Dbackend-default=auto
+ $(meson_use gles2 renderer-gl)
+ $(meson_use launch weston-launch)
+ $(meson_use pam)
+ $(meson_use xwayland)
+ $(meson_use systemd)
+ $(meson_use remoting)
+ $(meson_use desktop shell-desktop)
+ $(meson_use fullscreen shell-fullscreen)
+ $(meson_use ivi shell-ivi)
+ $(meson_use lcms color-management-lcms)
+ $(meson_use colord color-management-colord)
+ $(meson_use systemd launcher-logind)
+ $(meson_use jpeg image-jpeg)
+ $(meson_use webp image-webp)
+ -Dtools=debug,info,terminal
+ -Dsimple-dmabuf-drm=auto
+ $(meson_use examples demo-clients)
+ $(usex examples -Dsimple-clients=damage,dmabuf-v4l,im,shm,touch$(usex gles2 ,dmabuf-egl,egl "") "")
+ $(meson_use resize-optimization resize-pool)
+ -Dtest-junit-xml=false
+ "${myconf[@]}"
+ )
+ meson_src_configure
+}
+
+src_test() {
+ xdg_environment_reset
+
+ # devices test usually fails.
+ cd "${BUILD_DIR}" || die
+ meson test $(meson test --list | grep -Fxv devices) || die
+}
+
+src_install() {
+ meson_src_install
+ if use launch && use suid; then
+ chmod u+s "${ED}"/usr/bin/weston-launch || die
+ fi
+ readme.gentoo_create_doc
+}
diff --git a/metadata/pkg_desc_index b/metadata/pkg_desc_index
index 9332fddf..180b7249 100644
--- a/metadata/pkg_desc_index
+++ b/metadata/pkg_desc_index
@@ -22,7 +22,7 @@ app-eselect/eselect-net 0.2-r1: eselect module for managing network open-rc serv
app-misc/knapsack 7.2.1-r1: A fast solver for the 0/1-knapsack problem with multiple knapsacks
app-misc/machine-learning-mv 1.2-r1: Some machine learning experiments
app-portage/changelog-gitrepo 1.0: Create ChangeLog data for gentoo repositories from git
-app-portage/eix 0.33.7-r1 0.33.8_alpha20190419 99999999: Search and query ebuilds
+app-portage/eix 0.33.7-r1 0.33.8_alpha20190427 99999999: Search and query ebuilds
app-portage/etcat 1.0.1 99999999: Updated version of an old Portage information extractor
app-portage/find_cruft 5.1: find cruft files not managed by portage
app-portage/getdelta 0.7.9-r2: dynamic deltup client
@@ -53,7 +53,7 @@ app-text/psjoin 0.3: concatenate postscript files. From new PostScript Utilities
app-text/stardict 3.0.6-r4 4.0.0_pre20170304: A international dictionary supporting fuzzy and glob style matching
dev-cpp/cpplint 99999999: The google styleguide together with cpplint and an emacs file
dev-libs/osformat 1.0.5 999999999: C++ library for a typesafe printf/sprintf based on << conversion
-dev-libs/weston 5.0.0-r1: Wayland reference compositor
+dev-libs/weston 5.0.0-r1 6.0.0: Wayland reference compositor
dev-perl/File-lchown 0.20-r1: Use the lchown(2) and lutimes(2) system call from Perl
dev-tex/chklref 2.6.0 2.6.1_alpha20170913: Finds useless references in latex files or unnecessarily numbered environments
dev-util/comp 4.3: compare files or directories, including metadata