mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
x11-wm/enlightenment: clean old
Package-Manager: Portage[mgorny]-2.3.36.1 Closes: https://github.com/gentoo/gentoo/pull/9159
This commit is contained in:
committed by
Andreas Sturmlechner
parent
a5912f5d40
commit
238ec8b52d
@@ -1,5 +1,3 @@
|
||||
DIST enlightenment-0.20.5.tar.xz 25039672 BLAKE2B b9f18ecb5afbd4f8675d0c5e9315173d6980e98d77e09c1e818161a92be727a504081c9944dd78519ff2eb02a146b8c3db276bd9a568f82c1584b74c4c7e7d07 SHA512 0d66d23b3462d6bf293229256d88d486d05135ff7bc7ab4258c3923c853f1935a1850b3a3ff0dabb1aae99a31dafb578f5cbb5678d08df490d3c6837b874a911
|
||||
DIST enlightenment-0.20.6.tar.xz 25030572 BLAKE2B 7ce9b89ec56a741e81bb6ebae690c84ef89b53e7201723f0d74c99b006957f8c26cd8d4b914015aa7956d23f83beeb2ca2a0e9e145d9b2038a6a337acccd43bd SHA512 97179929c039535f6f03fbd1272bde59e25f62b35e17e859379258dac771183562348f7a5c0148c76bcb05b86c21c24950117901f0c2800ac070ba7a27aeee29
|
||||
DIST enlightenment-0.21.11.tar.xz 25313532 BLAKE2B 3128137fe81a5b3dccc909eee8aac6845648c088b4cc8de9965408445579ed6aa01bdd879b726d21449c674f07a78386348525d61c0c0d786493d638ec4ae2b4 SHA512 3dee0f7a49fff992a81ce82a730cf8f0cec52a9805dcdd643a35a0bb8c7a27c6af82c136219553684c24c8e2ee2e8623f04858fddab56cdff7477ed2c9cc0ddf
|
||||
DIST enlightenment-0.21.7.tar.xz 25307500 BLAKE2B 54b0bb7f76390d46f7eec40aecafb1b8769ba659acaffe8ade61ef9cd6fcb28d843bc185a3cc6c478fa30f917946d331569a394132c3351215a3d1d051d7d2ac SHA512 9d10116990f83b6a2f066b81fab08a9b49779df22d92b5823bf579d786a3f4602094cf8c4d08b3e23a1cfc0cd7032004b2e389e234a189fb2479d23287bf1277
|
||||
DIST enlightenment-0.22.3.tar.xz 25648576 BLAKE2B 1abb1fab18c5932b65f1183875bbe0955ce1d608758af0855c550f5581c774bd19dd0b6c8dd8c724b668ff843e1ed4928531f30b60436d9182a07a65fa2af9e3 SHA512 01a9386ee009c76c46cee7176cdeb7f4e97977bdd5014caa51cceeff228ad72f97a362d1eff7e0240e3e2df8b24a6c9d1516c8ab05bd82d288abcfde0d171abd
|
||||
|
||||
@@ -1,142 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
MY_P=${P/_/-}
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
EGIT_SUB_PROJECT="core"
|
||||
EGIT_URI_APPEND="${PN}"
|
||||
else
|
||||
SRC_URI="https://download.enlightenment.org/rel/apps/${PN}/${MY_P}.tar.xz"
|
||||
EKEY_STATE="snap"
|
||||
fi
|
||||
|
||||
inherit enlightenment xdg-utils
|
||||
|
||||
DESCRIPTION="Enlightenment DR17 window manager"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0.17/${PV%%_*}"
|
||||
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
|
||||
__CONF_MODS=(
|
||||
applications bindings dialogs display
|
||||
interaction intl menus
|
||||
paths performance randr shelves theme
|
||||
window-manipulation window-remembers
|
||||
)
|
||||
__NORM_MODS=(
|
||||
appmenu backlight bluez4 battery
|
||||
clock conf connman cpufreq everything
|
||||
fileman fileman-opinfo gadman geolocation
|
||||
ibar ibox lokker
|
||||
mixer msgbus music-control notification
|
||||
pager packagekit pager-plain quickaccess
|
||||
shot start syscon systray tasks teamwork temperature tiling
|
||||
winlist wizard wl-desktop-shell wl-drm wl-text-input
|
||||
wl-weekeyboard wl-wl wl-x11 xkbswitch xwayland
|
||||
)
|
||||
IUSE_E_MODULES=(
|
||||
${__CONF_MODS[@]/#/enlightenment_modules_conf-}
|
||||
${__NORM_MODS[@]/#/enlightenment_modules_}
|
||||
)
|
||||
|
||||
IUSE="pam spell static-libs systemd ukit wayland ${IUSE_E_MODULES[@]/#/+}"
|
||||
|
||||
RDEPEND="
|
||||
pam? ( sys-libs/pam )
|
||||
systemd? ( sys-apps/systemd )
|
||||
wayland? (
|
||||
dev-libs/efl[wayland]
|
||||
>=dev-libs/wayland-1.8.0
|
||||
>=x11-libs/pixman-0.31.1
|
||||
>=x11-libs/libxkbcommon-0.3.1
|
||||
)
|
||||
>=dev-libs/efl-1.17[X]
|
||||
>=media-libs/elementary-1.17
|
||||
x11-libs/xcb-util-keysyms"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
sys-devel/automake:1.15
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/quickstart.diff
|
||||
enlightenment_src_prepare
|
||||
}
|
||||
|
||||
# Sanity check to make sure module lists are kept up-to-date.
|
||||
check_modules() {
|
||||
local detected=$(
|
||||
awk -F'[\\[\\](, ]' '$1 == "AC_E_OPTIONAL_MODULE" { print $3 }' \
|
||||
configure.ac | sed 's:_:-:g' | LC_COLLATE=C sort
|
||||
)
|
||||
local sorted=$(
|
||||
printf '%s\n' ${IUSE_E_MODULES[@]/#enlightenment_modules_} | \
|
||||
LC_COLLATE=C sort
|
||||
)
|
||||
if [[ ${detected} != "${sorted}" ]] ; then
|
||||
local out new old
|
||||
eerror "The ebuild needs to be kept in sync."
|
||||
echo "${sorted}" > ebuild-iuse
|
||||
echo "${detected}" > configure-detected
|
||||
out=$(diff -U 0 ebuild-iuse configure-detected | sed -e '1,2d' -e '/^@@/d')
|
||||
new=$(echo "${out}" | sed -n '/^+/{s:^+::;p}')
|
||||
old=$(echo "${out}" | sed -n '/^-/{s:^-::;p}')
|
||||
eerror "Add these modules: $(echo ${new})"
|
||||
eerror "Drop these modules: $(echo ${old})"
|
||||
die "please update the ebuild"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# sanity check fails after commit e25cf18ca19463a7d05519aa843cc76a189ab75c
|
||||
# see #648896. Can be restored with future release
|
||||
# check_modules
|
||||
|
||||
E_ECONF=(
|
||||
--disable-install-sysactions
|
||||
$(use_enable doc)
|
||||
$(use_enable nls)
|
||||
$(use_enable pam)
|
||||
$(use_enable systemd)
|
||||
--enable-device-udev
|
||||
$(use_enable ukit mount-udisks)
|
||||
$(use_enable wayland)
|
||||
)
|
||||
local u c
|
||||
for u in ${IUSE_E_MODULES[@]} ; do
|
||||
c=${u#enlightenment_modules_}
|
||||
# Disable modules by hand since we default to enabling them all.
|
||||
case ${c} in
|
||||
wl-*|xwayland)
|
||||
if ! use wayland ; then
|
||||
E_ECONF+=( --disable-${c} )
|
||||
continue
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
E_ECONF+=( $(use_enable ${u} ${c}) )
|
||||
done
|
||||
enlightenment_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
enlightenment_src_install
|
||||
insinto /etc/enlightenment
|
||||
newins "${FILESDIR}"/gentoo-sysactions.conf sysactions.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
@@ -1,142 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
MY_P=${P/_/-}
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
EGIT_SUB_PROJECT="core"
|
||||
EGIT_URI_APPEND="${PN}"
|
||||
else
|
||||
SRC_URI="https://download.enlightenment.org/rel/apps/${PN}/${MY_P}.tar.xz"
|
||||
EKEY_STATE="snap"
|
||||
fi
|
||||
|
||||
inherit enlightenment xdg-utils
|
||||
|
||||
DESCRIPTION="Enlightenment DR17 window manager"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0.17/${PV%%_*}"
|
||||
|
||||
__CONF_MODS=(
|
||||
applications bindings dialogs display
|
||||
interaction intl menus
|
||||
paths performance randr shelves theme
|
||||
window-manipulation window-remembers
|
||||
)
|
||||
__NORM_MODS=(
|
||||
appmenu backlight bluez4 battery
|
||||
clock conf connman cpufreq everything
|
||||
fileman fileman-opinfo gadman geolocation
|
||||
ibar ibox lokker
|
||||
mixer msgbus music-control notification
|
||||
pager packagekit pager-plain quickaccess
|
||||
shot start syscon systray tasks teamwork temperature tiling
|
||||
winlist wizard wl-desktop-shell wl-drm wl-text-input
|
||||
wl-weekeyboard wl-wl wl-x11 xkbswitch xwayland
|
||||
)
|
||||
IUSE_E_MODULES=(
|
||||
${__CONF_MODS[@]/#/enlightenment_modules_conf-}
|
||||
${__NORM_MODS[@]/#/enlightenment_modules_}
|
||||
)
|
||||
|
||||
IUSE="pam spell static-libs systemd ukit wayland ${IUSE_E_MODULES[@]/#/+}"
|
||||
|
||||
RDEPEND="
|
||||
pam? ( sys-libs/pam )
|
||||
systemd? ( sys-apps/systemd )
|
||||
wayland? (
|
||||
dev-libs/efl[wayland]
|
||||
>=dev-libs/wayland-1.10.0
|
||||
>=x11-libs/pixman-0.31.1
|
||||
>=x11-libs/libxkbcommon-0.3.1
|
||||
)
|
||||
>=dev-libs/efl-1.17[X]
|
||||
>=media-libs/elementary-1.17
|
||||
x11-libs/xcb-util-keysyms"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
sys-devel/automake:1.15
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/quickstart.diff
|
||||
enlightenment_src_prepare
|
||||
}
|
||||
|
||||
# Sanity check to make sure module lists are kept up-to-date.
|
||||
check_modules() {
|
||||
local detected=$(
|
||||
awk -F'[\\[\\](, ]' '$1 == "AC_E_OPTIONAL_MODULE" { print $3 }' \
|
||||
configure.ac | sed 's:_:-:g' | LC_COLLATE=C sort
|
||||
)
|
||||
local sorted=$(
|
||||
printf '%s\n' ${IUSE_E_MODULES[@]/#enlightenment_modules_} | \
|
||||
LC_COLLATE=C sort
|
||||
)
|
||||
if [[ ${detected} != "${sorted}" ]] ; then
|
||||
local out new old
|
||||
eerror "The ebuild needs to be kept in sync."
|
||||
echo "${sorted}" > ebuild-iuse
|
||||
echo "${detected}" > configure-detected
|
||||
out=$(diff -U 0 ebuild-iuse configure-detected | sed -e '1,2d' -e '/^@@/d')
|
||||
new=$(echo "${out}" | sed -n '/^+/{s:^+::;p}')
|
||||
old=$(echo "${out}" | sed -n '/^-/{s:^-::;p}')
|
||||
eerror "Add these modules: $(echo ${new})"
|
||||
eerror "Drop these modules: $(echo ${old})"
|
||||
die "please update the ebuild"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# sanity check fails after commit e25cf18ca19463a7d05519aa843cc76a189ab75c
|
||||
# see #648896. Can be restored with future release
|
||||
# check_modules
|
||||
|
||||
E_ECONF=(
|
||||
--disable-install-sysactions
|
||||
$(use_enable doc)
|
||||
$(use_enable nls)
|
||||
$(use_enable pam)
|
||||
$(use_enable systemd)
|
||||
--enable-device-udev
|
||||
$(use_enable ukit mount-udisks)
|
||||
$(use_enable wayland)
|
||||
)
|
||||
local u c
|
||||
for u in ${IUSE_E_MODULES[@]} ; do
|
||||
c=${u#enlightenment_modules_}
|
||||
# Disable modules by hand since we default to enabling them all.
|
||||
case ${c} in
|
||||
wl-*|xwayland)
|
||||
if ! use wayland ; then
|
||||
E_ECONF+=( --disable-${c} )
|
||||
continue
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
E_ECONF+=( $(use_enable ${u} ${c}) )
|
||||
done
|
||||
enlightenment_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
enlightenment_src_install
|
||||
insinto /etc/enlightenment
|
||||
newins "${FILESDIR}"/gentoo-sysactions.conf sysactions.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
Reference in New Issue
Block a user