*/*: 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"
KEYWORDS="~amd64"
RESTRICT="mirror"
RDEPEND="!app-misc/yq"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -20,10 +20,10 @@ DEPEND="net-dialup/ppp"
RDEPEND="${DEPEND}"
src_install(){
distutils-r1_src_install
distutils-r1_src_install
insinto /etc/
doins sstp-server.ini
insinto /etc/
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"
# inherit toolchain-funcs eutils
DEPEND="media-gfx/qrencode
net-wireless/iw
net-wireless/hostapd
"
DEPEND="
media-gfx/qrencode
net-wireless/iw
net-wireless/hostapd
"
RDEPEND="${DEPEND}"
if [ "$PV" == "9999" ]; then
inherit git-r3
inherit git-r3
EGIT_REPO_URI="https://github.com/lakinduakash/linux-wifi-hotspot.git"
else
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() {
default
use fuse || rm "${ED}/usr/share/man/man1/erofsfuse.1" || die
}
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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