x11-wm/openbox: Migrate to git-r3 eclass
authorJohannes Huber <johu@gentoo.org>
Wed, 30 May 2018 20:53:03 +0000 (22:53 +0200)
committerJohannes Huber <johu@gentoo.org>
Wed, 30 May 2018 21:13:06 +0000 (23:13 +0200)
Package-Manager: Portage-2.3.40, Repoman-2.3.9

x11-wm/openbox/openbox-3.6.1.ebuild
x11-wm/openbox/openbox-9999.ebuild

index 1786f2c2ccf8ea8916dfc24c23ea1fdeb8872e16..fb04b059624b494e8e844bd8f56145f661760a23 100644 (file)
@@ -9,12 +9,10 @@ inherit multilib autotools python-r1 eutils
 DESCRIPTION="A standards compliant, fast, light-weight, extensible window manager"
 HOMEPAGE="http://openbox.org/"
 if [[ ${PV} == *9999* ]]; then
-       inherit git-2
+       inherit git-r3
        EGIT_REPO_URI="git://git.openbox.org/dana/openbox"
        SRC_URI="branding? (
        https://dev.gentoo.org/~hwoarang/distfiles/surreal-gentoo.tar.gz )"
-       KEYWORDS="alpha arm hppa ppc ppc64 sparc x86"
-
 else
        SRC_URI="http://openbox.org/dist/openbox/${P}.tar.gz
        branding? ( https://dev.gentoo.org/~hwoarang/distfiles/surreal-gentoo.tar.gz )"
@@ -51,14 +49,6 @@ DEPEND="${RDEPEND}
        virtual/pkgconfig
        x11-base/xorg-proto"
 
-src_unpack() {
-       if [[ ${PV} == *9999* ]]; then
-               git-2_src_unpack
-       else
-               unpack ${A}
-       fi
-}
-
 src_prepare() {
        use xdg && python_export_best
        epatch "${FILESDIR}"/${PN}-3.5.2-gnome-session.patch
index 651ddc4d1e4ae5d5d7732fa34d97094f85ea9810..1a98e9183a69d08b8c422416b82adf607fbf3edb 100644 (file)
@@ -9,7 +9,7 @@ inherit multilib autotools python-r1 eutils
 DESCRIPTION="A standards compliant, fast, light-weight, extensible window manager"
 HOMEPAGE="http://openbox.org/"
 if [[ ${PV} == *9999* ]]; then
-       inherit git-2
+       inherit git-r3
        EGIT_REPO_URI="git://git.openbox.org/dana/openbox"
        SRC_URI="branding? (
        https://dev.gentoo.org/~hwoarang/distfiles/surreal-gentoo.tar.gz )"
@@ -51,19 +51,12 @@ DEPEND="${RDEPEND}
        virtual/pkgconfig
        x11-base/xorg-proto"
 
-src_unpack() {
-       if [[ ${PV} == *9999* ]]; then
-               git-2_src_unpack
-       else
-               unpack ${A}
-       fi
-}
-
 src_prepare() {
        use xdg && python_export_best
        epatch "${FILESDIR}"/${PN}-3.5.2-gnome-session.patch
        sed -i \
                -e "s:-O0 -ggdb ::" \
+               -e 's/-fno-strict-aliasing//' \
                "${S}"/m4/openbox.m4 || die
        epatch_user
        eautoreconf