Verified Commit dd11919c by flussence

All EAPI=6, update header years, shellcheck clean

parent 6a65ab48
test:
# Ignoring SC2034 (variables defined but not set): too many false positives
find . -name '*.ebuild' -exec shellcheck -f gcc -s bash -e SC2034 \{} +
repoman full
# SC2034 is "unused variable"; too many false positives
.PHONY: test
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools
DESCRIPTION="A C/C++ implementation of a Sass compiler"
......
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
......
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools
DESCRIPTION="libsass command line driver"
......
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
......
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
EAPI=6
inherit java-pkg-2
# snapshot versions are mangled: "1433" for snapshot 14w33, "1450c" for 14w50c
......
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
EAPI=6
inherit java-pkg-2
# snapshot versions are mangled: "1433" for snapshot 14w33, "1450c" for 14w50c
......
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit cmake-utils
DESCRIPTION="Dump Nintendo Wii and GameCube discs"
......@@ -26,7 +25,7 @@ RDEPEND="${DEPEND}"
src_configure() {
# can't be bothered dealing with multilib nonsense
local mycmakeargs+=(
-DBUILD_STATIC_BINARY=1
'-DBUILD_STATIC_BINARY=1'
)
cmake-utils_src_configure
}
......
......@@ -28,15 +28,12 @@ src_prepare() {
default
if use system-unicode; then
cd -- "${S}"/gucharmap
cd -- "${S}"/gucharmap || die
rm unicode-{blocks,names{,list},unihan,categories,scripts,versions}.h
perl "${FILESDIR}"/gen-guch-unicode-tables.pl
fi
}
src_configure() {
econf --with-gtk=2.0 \
--disable-scrollkeeper \
$(use_enable nls) \
$(use_enable gconf)
econf --with-gtk=2.0 --disable-scrollkeeper "$(use_enable nls)" "$(use_enable gconf)"
}
......@@ -91,48 +91,51 @@ DEPEND="${RDEPEND}
nls? ( dev-util/intltool )"
S="${WORKDIR}/${MY_P}"
src_configure() {
# Upstream bundles several input plugin libs and hardcodes some of those to on.
# Some of them (libgme) have known vulns. I can't help you with that. Good luck.
econf \
--enable-songchange \
--disable-coreaudio \
--disable-sndio \
$(use_enable aac) \
$(use_enable alsa) \
$(use_enable ampache) \
$(use_enable aosd) \
$(use_enable bs2b) \
$(use_enable cdda cdaudio) \
$(use_enable cue) \
$(use_enable filewriter) \
$(use_enable flac) \
$(use_enable fluidsynth amidiplug) \
$(use_enable gtk) \
$(use gtk && use_enable opengl glspectrum) \
$(use_enable hotkeys hotkey) \
$(use_enable http neon) \
$(use_enable jack) \
$(use_enable gnome gnomeshortcuts) \
$(use_enable lame filewriter_mp3) \
$(use_enable libnotify notify) \
$(use_enable libsamplerate resample) \
$(use_enable libsamplerate speedpitch) \
$(use_enable lirc) \
$(use_enable mms) \
$(use_enable modplug) \
$(use_enable mp3 mpg123) \
$(use_enable nls) \
$(use_enable oss oss4) \
$(use_enable pulseaudio pulse) \
$(use_enable qt5 qt) \
$(use_enable qt5 qtaudio) \
$(use qt5 && use_enable opengl qtglspectrum) \
$(use_enable scrobbler scrobbler2) \
$(use_enable sdl sdlout) \
$(use_with sdl sdl $(usex sdl2 2 1)) \
$(use_enable sid) \
$(use_enable sndfile) \
$(use_enable sox soxr) \
$(use_enable vorbis) \
$(use_enable wavpack) \
$(use_with ffmpeg ffmpeg $(usex libav libav ffmpeg))
"$(use_enable aac)" \
"$(use_enable alsa)" \
"$(use_enable ampache)" \
"$(use_enable aosd)" \
"$(use_enable bs2b)" \
"$(use_enable cdda cdaudio)" \
"$(use_enable cue)" \
"$(use_enable filewriter)" \
"$(use_enable flac)" \
"$(use_enable fluidsynth amidiplug)" \
"$(use_enable gtk)" \
"$(use gtk && use_enable opengl glspectrum)" \
"$(use_enable hotkeys hotkey)" \
"$(use_enable http neon)" \
"$(use_enable jack)" \
"$(use_enable gnome gnomeshortcuts)" \
"$(use_enable lame filewriter_mp3)" \
"$(use_enable libnotify notify)" \
"$(use_enable libsamplerate resample)" \
"$(use_enable libsamplerate speedpitch)" \
"$(use_enable lirc)" \
"$(use_enable mms)" \
"$(use_enable modplug)" \
"$(use_enable mp3 mpg123)" \
"$(use_enable nls)" \
"$(use_enable oss oss4)" \
"$(use_enable pulseaudio pulse)" \
"$(use_enable qt5 qt)" \
"$(use_enable qt5 qtaudio)" \
"$(use qt5 && use_enable opengl qtglspectrum)" \
"$(use_enable scrobbler scrobbler2)" \
"$(use_enable sdl sdlout)" \
"$(usex sdl "--with-libsdl=" "" "$(usex sdl2 2 1)")" \
"$(use_enable sid)" \
"$(use_enable sndfile)" \
"$(use_enable sox soxr)" \
"$(use_enable vorbis)" \
"$(use_enable wavpack)" \
"$(use_with ffmpeg ffmpeg "$(usex libav libav ffmpeg)")"
}
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils
MY_P="${P/_/-}"
S="${WORKDIR}/${MY_P}"
......@@ -33,20 +32,17 @@ DEPEND="${RDEPEND}
PDEPEND="~media-plugins/audacious-plugins-${PV}"
src_configure() {
# D-Bus is a mandatory dependency, remote control,
# session management and some plugins depend on this.
# Building without D-Bus is *unsupported* and a USE-flag
# will not be added due to the bug reports that will result.
# Bugs #197894, #199069, #207330, #208606
# Audacious is barely usable without DBus, therefore it's hardcoded here
# but I'm open to making it optional if you can give a good use case for it
econf \
--enable-dbus \
$(use_enable nls) \
$(use_enable gtk gtk) \
$(use_enable qt5 qt)
"$(use_enable nls)" \
"$(use_enable gtk gtk)" \
"$(use_enable qt5 qt)"
}
pkg_postinst() {
if use_if_iuse qt5 && use_if_iuse gtk; then
if use gtk && use qt5; then
einfo "You have enabled both GTK+ and Qt interfaces. To use the Qt"
einfo "frontend, you need to start Audacious with the -Q flag"
fi
......
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit cmake-utils multilib
DESCRIPTION="FOSS software for video recording and live streaming"
......@@ -57,20 +56,21 @@ RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}"/bug-633596-workaround-for-"${PV}".patch )
src_configure() {
local libdir=$(get_libdir)
local libdir
libdir="$(get_libdir)"
local mycmakeargs+=(
-DDISABLE_ALSA=$(usex !alsa)
-DDISABLE_FREETYPE=$(usex !truetype)
-DDISABLE_JACK=$(usex !jack)
-DDISABLE_LIBFDK=$(usex !fdk)
-DDISABLE_PULSEAUDIO=$(usex !pulseaudio)
-DDISABLE_UDEV=$(usex !udev)
-DDISABLE_UI=$(usex !qt5)
-DDISABLE_V4L2=$(usex !v4l)
-DDISABLE_VLC=$(usex !vlc)
-DLIBOBS_PREFER_IMAGEMAGICK=$(usex imagemagick)
-DUSE_SSL=$(usex ssl)
-DOBS_MULTIARCH_SUFFIX=${libdir#lib}
"-DDISABLE_ALSA=$(usex !alsa)"
"-DDISABLE_FREETYPE=$(usex !truetype)"
"-DDISABLE_JACK=$(usex !jack)"
"-DDISABLE_LIBFDK=$(usex !fdk)"
"-DDISABLE_PULSEAUDIO=$(usex !pulseaudio)"
"-DDISABLE_UDEV=$(usex !udev)"
"-DDISABLE_UI=$(usex !qt5)"
"-DDISABLE_V4L2=$(usex !v4l)"
"-DDISABLE_VLC=$(usex !vlc)"
"-DLIBOBS_PREFER_IMAGEMAGICK=$(usex imagemagick)"
"-DUSE_SSL=$(usex ssl)"
"-DOBS_MULTIARCH_SUFFIX=${libdir#lib}"
)
cmake-utils_src_configure
......
......@@ -5,7 +5,6 @@ EAPI=6
CMAKE_MAKEFILE_GENERATOR="ninja"
VALA_MIN_API_VERSION="0.34"
inherit cmake-utils gnome2-utils vala
DESCRIPTION="Modern Jabber/XMPP Client using GTK+/Vala"
......@@ -42,23 +41,27 @@ src_prepare() {
src_configure() {
# this is dumb but setting -DPLUGINS didn't work
# shellcheck disable=SC2207
local disabled_plugins=(
$(usex gnupg "" "openpgp")
$(usex omemo "" "omemo")
$(usex http "" "http-files")
)
local mycmakeargs+=(
-DDISABLED_PLUGINS="$(local IFS=";"; echo "${disabled_plugins[*]}")"
"-DDISABLED_PLUGINS=$(local IFS=";"; echo "${disabled_plugins[*]}")"
)
cmake-utils_src_configure
}
pkg_postinst() {
update_caches() {
gnome2_icon_cache_update
xdg_desktop_database_update
}
pkg_postinst() {
update_caches
}
pkg_postrm() {
gnome2_icon_cache_update
xdg_desktop_database_update
update_caches
}
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit toolchain-funcs flag-o-matic
DESCRIPTION="A UNIX init scheme with service supervision"
......@@ -52,7 +51,7 @@ src_install() {
doexe "${FILESDIR}"/{1,3,ctrlaltdel}
# N.B. this is not $WORKDIR because $S is redefined above
cd "${S}"/..
cd "${S}"/.. || die
sed -i 's@/service@/etc/service@' etc/2 || die 'sed failed'
doexe etc/2
......
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit git-r3
DESCRIPTION="Pidgin/Purple PRotocol PLugin for Discord"
......@@ -15,6 +14,5 @@ KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="net-im/pidgin
dev-vcs/git
dev-libs/json-glib"
dev-libs/json-glib"
RDEPEND="${DEPEND}"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment