-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit elisp
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
RESTRICT="test"
-RDEPEND="app-emacs/dash app-emacs/f"
-DEPEND="${RDEPEND}"
+RDEPEND="app-emacs/dash
+ app-emacs/f"
+BDEPEND="${RDEPEND}"
S="${WORKDIR}/desktop-plus-${PV}"
SITEFILE="50${PN}-gentoo.el"
DOCS="README.md"
-
-src_compile() {
- elisp-compile *.el
- elisp-make-autoload-file
-}
(add-to-list 'load-path "@SITELISP@")
-(load "desktop+-autoloads" nil t)
+(autoload 'desktop+-create "desktop+"
+ "Create a new session, identified by a name." t)
+(autoload 'desktop+-load "desktop+"
+ "Load a session previously created using `desktop+-create'." t)
+(autoload 'desktop+-create-auto "desktop+"
+ "Create a new session, identified by the current working directory." t)
+(autoload 'desktop+-load-auto "desktop+"
+ "Load a session previously created using `desktop+-create-auto'. t)