Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Commit

Permalink
migrate plugins to eapi 6 and enforce it globally via eclass
Browse files Browse the repository at this point in the history
  • Loading branch information
damex committed Nov 26, 2017
1 parent adfe12e commit 92f0631
Show file tree
Hide file tree
Showing 49 changed files with 87 additions and 87 deletions.
2 changes: 1 addition & 1 deletion eclass/deadbeef-plugins.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# This eclass makes trivial deadbeef plugin ebuilds possible.
# Many things that would normally be done manually is automated.

if [[ "${EAPI}" -lt 5 ]] ; then
if [[ "${EAPI}" -lt 6 ]] ; then
die "EAPI=${EAPI} is not supported"
fi

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="5"
EAPI="6"

inherit deadbeef-plugins subversion

Expand All @@ -14,5 +14,5 @@ LICENSE="LGPL-2.1"
KEYWORDS="~amd64 ~x86"

src_prepare() {
epatch "${FILESDIR}/${PN}-flags.patch"
eapply "${FILESDIR}/${PN}-flags.patch"
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="5"
EAPI="6"

inherit deadbeef-plugins subversion

Expand All @@ -13,5 +13,5 @@ LICENSE="LGPL-2.1"
KEYWORDS=""

src_prepare() {
epatch "${FILESDIR}/${PN}-flags.patch"
eapply "${FILESDIR}/${PN}-flags.patch"
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="5"
EAPI="6"

inherit deadbeef-plugins

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="5"
EAPI="6"

inherit deadbeef-plugins git-r3

Expand Down
4 changes: 2 additions & 2 deletions media-plugins/deadbeef-bs2b/deadbeef-bs2b-20110319.ebuild
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="5"
EAPI="6"

inherit deadbeef-plugins

Expand All @@ -21,5 +21,5 @@ DEPEND="${RDEPEND}"
S="${WORKDIR}/bs2b-${GITHUB_COMMIT}"

src_prepare() {
epatch "${FILESDIR}/${PN}.patch"
eapply "${FILESDIR}/${PN}.patch"
}
4 changes: 2 additions & 2 deletions media-plugins/deadbeef-bs2b/deadbeef-bs2b-99999999.ebuild
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="5"
EAPI="6"

inherit deadbeef-plugins git-r3

Expand All @@ -17,5 +17,5 @@ RDEPEND+=" media-libs/libbs2b:0"
DEPEND="${RDEPEND}"

src_prepare() {
epatch "${FILESDIR}/${PN}.patch"
eapply "${FILESDIR}/${PN}.patch"
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="5"
EAPI="6"

DEADBEEF_GUI="yes"

Expand Down
4 changes: 2 additions & 2 deletions media-plugins/deadbeef-fb/deadbeef-fb-0.87_p20160106.ebuild
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="5"
EAPI="6"

DEADBEEF_GUI="yes"

Expand All @@ -25,7 +25,7 @@ DEPEND="${RDEPEND}"
S="${WORKDIR}/deadbeef-fb-${PV/*_p/}-${GITLAB_COMMIT}"

src_prepare() {
epatch "${FILESDIR}/${PN}-avoid-version.patch"
eapply "${FILESDIR}/${PN}-avoid-version.patch"

eautoreconf
}
Expand Down
4 changes: 2 additions & 2 deletions media-plugins/deadbeef-fb/deadbeef-fb-0.92_p20160216.ebuild
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="5"
EAPI="6"

DEADBEEF_GUI="yes"

Expand All @@ -25,7 +25,7 @@ DEPEND="${RDEPEND}"
S="${WORKDIR}/deadbeef-fb-${PV/*_p/}-${GITLAB_COMMIT}"

src_prepare() {
epatch "${FILESDIR}/${PN}-avoid-version.patch"
eapply "${FILESDIR}/${PN}-avoid-version.patch"

eautoreconf
}
Expand Down
4 changes: 2 additions & 2 deletions media-plugins/deadbeef-fb/deadbeef-fb-99999999.ebuild
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="5"
EAPI="6"

DEADBEEF_GUI="yes"

Expand All @@ -23,7 +23,7 @@ RDEPEND+=" !media-plugins/deadbeef-librarybrowser:0"
DEPEND="${RDEPEND}"

src_prepare() {
epatch "${FILESDIR}/${PN}-avoid-version.patch"
eapply "${FILESDIR}/${PN}-avoid-version.patch"

eautoreconf
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="5"
EAPI="6"

inherit deadbeef-plugins

Expand All @@ -19,5 +19,5 @@ RDEPEND+=" sys-apps/dbus:0"
S="${WORKDIR}/${PN}-${GITHUB_COMMIT}"

src_prepare() {
epatch "${FILESDIR}/${PN}.patch"
eapply "${FILESDIR}/${PN}.patch"
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="5"
EAPI="6"

inherit deadbeef-plugins git-r3

Expand All @@ -17,5 +17,5 @@ KEYWORDS=""
RDEPEND+=" sys-apps/dbus:0"

src_prepare() {
epatch "${FILESDIR}/${PN}.patch"
eapply "${FILESDIR}/${PN}.patch"
}
8 changes: 4 additions & 4 deletions media-plugins/deadbeef-infobar/deadbeef-infobar-1.4.ebuild
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="5"
EAPI="6"

DEADBEEF_GUI="yes"

Expand All @@ -21,10 +21,10 @@ RDEPEND+=" dev-libs/libxml2:2
DEPEND="${RDEPEND}"

src_prepare() {
epatch "${FILESDIR}/${PN}-cflags.diff"
epatch "${FILESDIR}/${PN}-load-gtk2-and-gtk3-version-fix.diff"
eapply "${FILESDIR}/${PN}-cflags.diff"
eapply "${FILESDIR}/${PN}-load-gtk2-and-gtk3-version-fix.diff"

use gtk2 && epatch "${FILESDIR}/${PN}-focus-fix.diff"
use gtk2 && eapply "${FILESDIR}/${PN}-focus-fix.diff"
}

src_compile() {
Expand Down
8 changes: 4 additions & 4 deletions media-plugins/deadbeef-infobar/deadbeef-infobar-9999.ebuild
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="5"
EAPI="6"

DEADBEEF_GUI="yes"

Expand All @@ -21,10 +21,10 @@ RDEPEND+=" dev-libs/libxml2:2
DEPEND="${RDEPEND}"

src_prepare() {
epatch "${FILESDIR}/${PN}-cflags.diff"
epatch "${FILESDIR}/${PN}-load-gtk2-and-gtk3-version-fix.diff"
eapply "${FILESDIR}/${PN}-cflags.diff"
eapply "${FILESDIR}/${PN}-load-gtk2-and-gtk3-version-fix.diff"

use gtk2 && epatch "${FILESDIR}/${PN}-focus-fix.diff"
use gtk2 && eapply "${FILESDIR}/${PN}-focus-fix.diff"
}

src_compile() {
Expand Down
6 changes: 3 additions & 3 deletions media-plugins/deadbeef-jack/deadbeef-jack-20110321.ebuild
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="5"
EAPI="6"

inherit deadbeef-plugins

Expand All @@ -21,6 +21,6 @@ DEPEND="${RDEPEND}"
S="${WORKDIR}/jack-${GITHUB_COMMIT}"

src_prepare() {
epatch "${FILESDIR}/${PN}-api.patch"
epatch "${FILESDIR}/${PN}-build.patch"
eapply "${FILESDIR}/${PN}-api.patch"
eapply "${FILESDIR}/${PN}-build.patch"
}
6 changes: 3 additions & 3 deletions media-plugins/deadbeef-jack/deadbeef-jack-99999999.ebuild
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="5"
EAPI="6"

inherit deadbeef-plugins git-r3

Expand All @@ -17,6 +17,6 @@ RDEPEND+=" virtual/jack:0"
DEPEND="${RDEPEND}"

src_prepare() {
epatch "${FILESDIR}/${PN}-api.patch"
epatch "${FILESDIR}/${PN}-build.patch"
eapply "${FILESDIR}/${PN}-api.patch"
eapply "${FILESDIR}/${PN}-build.patch"
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="5"
EAPI="6"

DEADBEEF_GUI="yes"

Expand All @@ -23,7 +23,7 @@ DEPEND="${RDEPEND}"
S="${WORKDIR}/${PN}-${GITHUB_COMMIT}"

src_prepare() {
epatch "${FILESDIR}/${PN}-avoid-version.patch"
eapply "${FILESDIR}/${PN}-avoid-version.patch"

eautoreconf
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="5"
EAPI="6"

DEADBEEF_GUI="yes"

Expand All @@ -19,7 +19,7 @@ RDEPEND+=" !media-plugins/deadbeef-fb:0"
DEPEND="${RDEPEND}"

src_prepare() {
epatch "${FILESDIR}/${PN}-avoid-version.patch"
eapply "${FILESDIR}/${PN}-avoid-version.patch"

eautoreconf
}
Expand Down
2 changes: 1 addition & 1 deletion media-plugins/deadbeef-mpris/deadbeef-mpris-1.10.ebuild
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="5"
EAPI="6"

inherit autotools deadbeef-plugins

Expand Down
2 changes: 1 addition & 1 deletion media-plugins/deadbeef-mpris/deadbeef-mpris-1.8.ebuild
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="5"
EAPI="6"

inherit autotools deadbeef-plugins

Expand Down
2 changes: 1 addition & 1 deletion media-plugins/deadbeef-mpris/deadbeef-mpris-1.9.ebuild
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="5"
EAPI="6"

inherit autotools deadbeef-plugins

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="5"
EAPI="6"

inherit autotools deadbeef-plugins git-r3

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="5"
EAPI="6"

DEADBEEF_GUI="yes"

Expand All @@ -23,7 +23,7 @@ DEPEND="${RDEPEND}"
S="${WORKDIR}/ddb_musical_spectrum-${GITHUB_COMMIT}"

src_prepare() {
epatch "${FILESDIR}/${PN}-cflags.patch"
eapply "${FILESDIR}/${PN}-cflags.patch"
}

src_compile() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="5"
EAPI="6"

DEADBEEF_GUI="yes"

Expand All @@ -23,7 +23,7 @@ DEPEND="${RDEPEND}"
S="${WORKDIR}/ddb_musical_spectrum-${GITHUB_COMMIT}"

src_prepare() {
epatch "${FILESDIR}/${PN}-cflags.patch"
eapply "${FILESDIR}/${PN}-cflags.patch"
}

src_compile() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="5"
EAPI="6"

DEADBEEF_GUI="yes"

Expand All @@ -19,7 +19,7 @@ RDEPEND+=" sci-libs/fftw:3.0="
DEPEND="${RDEPEND}"

src_prepare() {
epatch "${FILESDIR}/${PN}-cflags.patch"
eapply "${FILESDIR}/${PN}-cflags.patch"
}

src_compile() {
Expand Down
Loading

0 comments on commit 92f0631

Please sign in to comment.