*/*: fix WhitespaceCheck QA

This commit is contained in:
Yongxiang Liang 2023-11-15 10:36:42 +08:00 committed by 梁永祥
parent 24993a43b9
commit 932822e993
19 changed files with 70 additions and 78 deletions

View File

@ -16,7 +16,6 @@ LICENSE="MIT"
SLOT="0" SLOT="0"
KEYWORDS="~amd64" KEYWORDS="~amd64"
RESTRICT="mirror" RESTRICT="mirror"
RDEPEND="!app-misc/yq" RDEPEND="!app-misc/yq"

View File

@ -14,7 +14,6 @@ LICENSE="GPL-2"
SLOT="0" SLOT="0"
KEYWORDS="~alpha amd64 arm hppa ~ia64 mips ppc ~s390 sparc x86" KEYWORDS="~alpha amd64 arm hppa ~ia64 mips ppc ~s390 sparc x86"
S="${WORKDIR}/${PN}" S="${WORKDIR}/${PN}"
FONT_S="${S}" FONT_S="${S}"
FONT_SUFFIX="ttf" FONT_SUFFIX="ttf"

View File

@ -7,7 +7,6 @@ EGIT_REPO_URI="https://github.com/zevlg/tgs2png.git"
inherit cmake git-r3 inherit cmake git-r3
DESCRIPTION="Convert Telegram's animated stickers in TGS format into series of PNG images." DESCRIPTION="Convert Telegram's animated stickers in TGS format into series of PNG images."
HOMEPAGE="https://github.com/zevlg/tgs2png" HOMEPAGE="https://github.com/zevlg/tgs2png"

View File

@ -102,4 +102,3 @@ src_install() {
doins ${WORKDIR}/libjpeg-turbo-${PV}_build/libjpeg.so.8.2.2 doins ${WORKDIR}/libjpeg-turbo-${PV}_build/libjpeg.so.8.2.2
doins ${WORKDIR}/libjpeg-turbo-${PV}_build/libjpeg.so.8 doins ${WORKDIR}/libjpeg-turbo-${PV}_build/libjpeg.so.8
} }

View File

@ -12,7 +12,6 @@ SRC_URI="https://github.com/fontforge/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+" LICENSE="GPL-3+"
SLOT="0" SLOT="0"
RDEPEND="${DEPEND}" RDEPEND="${DEPEND}"
src_prepare(){ src_prepare(){

View File

@ -26,14 +26,14 @@ SLOT="0"
RDEPEND=" RDEPEND="
>=media-libs/libva-2.16 >=media-libs/libva-2.16
>=media-libs/gstreamer-1.0 >=media-libs/gstreamer-1.0
>=media-libs/gst-plugins-bad-1.0 >=media-libs/gst-plugins-bad-1.0
>=media-libs/libglvnd-1.6.0 >=media-libs/libglvnd-1.6.0
" "
DEPEND="${RDEPEND}" DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig BDEPEND="virtual/pkgconfig
>=media-libs/nv-codec-headers-11.1.5.1 >=media-libs/nv-codec-headers-11.1.5.1
" "
PATCHES=( PATCHES=(

View File

@ -80,4 +80,3 @@ multilib_src_install_all() {
rm -rf ${ED}/usr/share rm -rf ${ED}/usr/share
rm -rf ${ED}/usr/bin rm -rf ${ED}/usr/bin
} }

View File

@ -26,7 +26,6 @@ HOMEPAGE="https://github.com/qjfoidnh/BaiduPCS-Go"
LICENSE="Apache-2.0" LICENSE="Apache-2.0"
SLOT="0" SLOT="0"
src_compile() src_compile()
{ {
ego build -o bin/${PN} -trimpath ego build -o bin/${PN} -trimpath

View File

@ -15,43 +15,43 @@ SLOT="0"
KEYWORDS="~amd64" KEYWORDS="~amd64"
COMMON_DEPEND=" COMMON_DEPEND="
media-libs/libjpeg8 media-libs/libjpeg8
net-print/cups net-print/cups
sys-apps/dbus sys-apps/dbus
virtual/jpeg:0 virtual/jpeg:0
net-print/cups-filters net-print/cups-filters
scanner? ( scanner? (
media-gfx/sane-backends media-gfx/sane-backends
) )
" "
BDEPEND=" BDEPEND="
virtual/pkgconfig virtual/pkgconfig
" "
DEPEND=" DEPEND="
${COMMON_DEPEND} ${COMMON_DEPEND}
" "
RDEPEND=" RDEPEND="
${COMMON_DEPEND} ${COMMON_DEPEND}
app-text/ghostscript-gpl app-text/ghostscript-gpl
" "
S="${WORKDIR}/Pantum Linux Driver V1.1.94-1" S="${WORKDIR}/Pantum Linux Driver V1.1.94-1"
src_prepare(){ src_prepare(){
eapply_user eapply_user
unpack "${S}/Resources/pantum_1.1.94-1_amd64.deb" unpack "${S}/Resources/pantum_1.1.94-1_amd64.deb"
} }
src_install(){ src_install(){
tar -xvf "${S}/data.tar.xz" -C "$D" tar -xvf "${S}/data.tar.xz" -C "$D"
if ! use scanner ; then if ! use scanner ; then
rm -rf "${D}/usr/lib/x86_64-linux-gnu" rm -rf "${D}/usr/lib/x86_64-linux-gnu"
rm -rf "${D}/usr/local" rm -rf "${D}/usr/local"
fi fi
mv ${D}/usr/lib ${D}/usr/libexec mv ${D}/usr/lib ${D}/usr/libexec
mkdir "${D}/etc/ld.so.conf.d/" mkdir "${D}/etc/ld.so.conf.d/"
echo /opt/pantum/lib >> "${D}/etc/ld.so.conf.d/pantum.conf" echo /opt/pantum/lib >> "${D}/etc/ld.so.conf.d/pantum.conf"
} }
post_install(){ post_install() {
ldconfig ldconfig
} }

View File

@ -20,10 +20,10 @@ DEPEND="net-dialup/ppp"
RDEPEND="${DEPEND}" RDEPEND="${DEPEND}"
src_install(){ src_install(){
distutils-r1_src_install distutils-r1_src_install
insinto /etc/ insinto /etc/
doins sstp-server.ini doins sstp-server.ini
systemd_dounit ${FILESDIR}/sstp-server@.service systemd_dounit ${FILESDIR}/sstp-server@.service
} }

View File

@ -8,13 +8,14 @@ HOMEPAGE="https://github.com/lakinduakash/linux-wifi-hotspot"
SLOT="0" SLOT="0"
# inherit toolchain-funcs eutils # inherit toolchain-funcs eutils
DEPEND="media-gfx/qrencode DEPEND="
net-wireless/iw media-gfx/qrencode
net-wireless/hostapd net-wireless/iw
" net-wireless/hostapd
"
RDEPEND="${DEPEND}" RDEPEND="${DEPEND}"
if [ "$PV" == "9999" ]; then if [ "$PV" == "9999" ]; then
inherit git-r3 inherit git-r3
EGIT_REPO_URI="https://github.com/lakinduakash/linux-wifi-hotspot.git" EGIT_REPO_URI="https://github.com/lakinduakash/linux-wifi-hotspot.git"
else else
SRC_URI="https://github.com/lakinduakash/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" SRC_URI="https://github.com/lakinduakash/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

View File

@ -39,4 +39,4 @@ src_configure() {
src_install() { src_install() {
default default
use fuse || rm "${ED}/usr/share/man/man1/erofsfuse.1" || die use fuse || rm "${ED}/usr/share/man/man1/erofsfuse.1" || die
} }

View File

@ -20,16 +20,16 @@ LICENSE="MIT"
SLOT="0" SLOT="0"
RDEPEND=" RDEPEND="
dev-libs/libxml2 dev-libs/libxml2
dev-libs/icu dev-libs/icu
sys-fs/fuse:0 sys-fs/fuse:0
net-analyzer/net-snmp net-analyzer/net-snmp
" "
DEPEND="${RDEPEND}" DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig" BDEPEND="virtual/pkgconfig"
src_prepare(){ src_prepare() {
eapply_user eapply_user
eautoreconf eautoreconf
} }

View File

@ -20,14 +20,14 @@ LICENSE="MIT"
SLOT="0" SLOT="0"
RDEPEND=" RDEPEND="
sys-apps/util-linux sys-apps/util-linux
sys-libs/zlib sys-libs/zlib
" "
DEPEND="${RDEPEND}" DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig" BDEPEND="virtual/pkgconfig"
src_prepare(){ src_prepare(){
eapply_user eapply_user
eautoreconf eautoreconf
} }

View File

@ -16,7 +16,7 @@ KEYWORDS="amd64 x86 arm64 arm mips"
RDEPEND="sys-fs/zfs" RDEPEND="sys-fs/zfs"
src_install(){ src_install() {
systemd_dounit zpool-scrub@.service systemd_dounit zpool-scrub@.service
systemd_dounit zpool-scrub@.timer systemd_dounit zpool-scrub@.timer
} }

View File

@ -18,23 +18,23 @@ SLOT="0"
KEYWORDS="x86 amd64 arm arm64" KEYWORDS="x86 amd64 arm arm64"
PATCHES=( PATCHES=(
${FILESDIR}/glbinding-fix-install.patch ${FILESDIR}/glbinding-fix-install.patch
) )
src_configure(){ src_configure(){
mycmakeargs=( mycmakeargs=(
-DOPTION_BUILD_TOOLS=OFF -DOPTION_BUILD_TOOLS=OFF
-DOPTION_BUILD_EXAMPLES=OFF -DOPTION_BUILD_EXAMPLES=OFF
-DINSTALL_LIB=$(get_libdir) -DINSTALL_LIB=$(get_libdir)
-DINSTALL_SHARED=$(get_libdir) -DINSTALL_SHARED=$(get_libdir)
-DOPTION_BUILD_WITH_LTO=$(usex lto ON OFF) -DOPTION_BUILD_WITH_LTO=$(usex lto ON OFF)
) )
cmake-multilib_src_configure cmake-multilib_src_configure
} }
src_install(){ src_install(){
cmake-multilib_src_install cmake-multilib_src_install
# remove conflict files with libglvnd # remove conflict files with libglvnd
rm ${D}/usr/include/KHR/khrplatform.h rm ${D}/usr/include/KHR/khrplatform.h
} }

View File

@ -20,14 +20,14 @@ RDEPEND="${DEPEND}"
S="${WORKDIR}" S="${WORKDIR}"
src_unpack(){ src_unpack(){
cp ${DISTDIR}/extramaus.c $S/ cp ${DISTDIR}/extramaus.c $S/
} }
src_compile(){ src_compile(){
CC=$(tc-getCC) CC=$(tc-getCC)
$CC ${CFLAGS} ${LDFLAGS} extramaus.c -o extramaus -lX11 -lXext $CC ${CFLAGS} ${LDFLAGS} extramaus.c -o extramaus -lX11 -lXext
} }
src_install(){ src_install(){
dobin extramaus dobin extramaus
} }

View File

@ -10,7 +10,6 @@ SLOT="0"
LICENSE="GPL-2" LICENSE="GPL-2"
KEYWORDS="amd64 ~ppc sparc ~x86" KEYWORDS="amd64 ~ppc sparc ~x86"
RDEPEND="x11-wm/icewm" RDEPEND="x11-wm/icewm"
S="${WORKDIR}" S="${WORKDIR}"

View File

@ -25,7 +25,6 @@ RDEPEND="
dev-libs/boost[python] dev-libs/boost[python]
" "
src_prepare(){ src_prepare(){
sed -i "s/python3')/python-3.7')/g" meson.build sed -i "s/python3')/python-3.7')/g" meson.build
} }