sys-boot/plymouth: fixing up 9999
authorMatthew Thode <prometheanfire@gentoo.org>
Wed, 9 Aug 2017 22:20:15 +0000 (17:20 -0500)
committerMatthew Thode <prometheanfire@gentoo.org>
Wed, 9 Aug 2017 22:20:32 +0000 (17:20 -0500)
Package-Manager: Portage-2.3.6, Repoman-2.3.3

sys-boot/plymouth/plymouth-0.9.3.ebuild
sys-boot/plymouth/plymouth-9999.ebuild

index ef1d1a8d76e1fa10e428fc1559f9a40381579bf7..ea9aa1bd7d6b91545e8d28b8b73297229f093659 100644 (file)
@@ -9,7 +9,7 @@ if [[ ${PV} == 9999 ]]; then
        EGIT_REPO_URI="git://anongit.freedesktop.org/plymouth"
        inherit git-r3
 else
-               SRC_URI="${SRC_URI} https://www.freedesktop.org/software/plymouth/releases/${P}.tar.xz"
+       SRC_URI="${SRC_URI} https://www.freedesktop.org/software/plymouth/releases/${P}.tar.xz"
 fi
 
 inherit autotools readme.gentoo-r1 systemd toolchain-funcs
index e05e8ca9e1e791cbdfab0476015cabaf540f0069..ea9aa1bd7d6b91545e8d28b8b73297229f093659 100644 (file)
@@ -1,20 +1,18 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
-SRC_URI="
-       https://dev.gentoo.org/~aidecoe/distfiles/${CATEGORY}/${PN}/gentoo-logo.png"
+SRC_URI="https://dev.gentoo.org/~aidecoe/distfiles/${CATEGORY}/${PN}/gentoo-logo.png"
 
 if [[ ${PV} == 9999 ]]; then
        EGIT_REPO_URI="git://anongit.freedesktop.org/plymouth"
-       AUTOTOOLS_AUTORECONF="1"
        inherit git-r3
 else
-       SRC_URI="${SRC_URI} https://www.freedesktop.org/software/plymouth/releases/${P}.tar.bz2"
+       SRC_URI="${SRC_URI} https://www.freedesktop.org/software/plymouth/releases/${P}.tar.xz"
 fi
 
-inherit autotools-utils readme.gentoo systemd toolchain-funcs
+inherit autotools readme.gentoo-r1 systemd toolchain-funcs
 
 DESCRIPTION="Graphical boot animation (splash) and logger"
 HOMEPAGE="https://cgit.freedesktop.org/plymouth/"
@@ -48,28 +46,29 @@ DOC_CONTENTS="
        https://wiki.gentoo.org/wiki/Plymouth#Configuration
 "
 
-src_prepare() {
-       autotools-utils_src_prepare
-}
+PATCHES=(
+)
 
 src_configure() {
-       local myeconfargs=(
-               --with-system-root-install=no
-               --localstatedir=/var
-               --without-rhgb-compat-link
-               --enable-systemd-integration
-               "$(systemd_with_unitdir)"
-               $(use_enable debug tracing)
-               $(use_enable gtk gtk)
-               $(use_enable libkms drm)
-               $(use_enable pango)
-               $(use_enable gdm gdm-transition)
-               )
-       autotools-utils_src_configure
+       local myconf
+       myconf="--with-system-root-install=no
+       --localstatedir=/var
+       --without-rhgb-compat-link
+       --enable-systemd-integration
+       --with-systemdunitdir="$(systemd_get_systemunitdir)"
+       $(use_enable !static-libs shared)
+       $(use_enable static-libs static)
+       $(use_enable debug tracing)
+       $(use_enable gtk gtk)
+       $(use_enable libkms drm)
+       $(use_enable pango)
+       $(use_enable gdm gdm-transition)"
+       eautoreconf
+       econf ${myconf}
 }
 
 src_install() {
-       autotools-utils_src_install
+       default
 
        insinto /usr/share/plymouth
        newins "${DISTDIR}"/gentoo-logo.png bizcom.png