mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
development/cppcheck: Fix icon size (65x65 => 64x64).
Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
parent
830a31bbbb
commit
4066051cb5
1 changed files with 8 additions and 1 deletions
|
@ -22,6 +22,8 @@
|
|||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
# 20220406 bkw: Modified by SlackBuilds.org, BUILD=3:
|
||||
# - make 64x64 icon actually 64x64. wish I'd caught this yesterday.
|
||||
# 20220405 bkw: Modified by SlackBuilds.org, BUILD=2:
|
||||
# - add doinst.sh, because we have icons and a .desktop.
|
||||
# - install translations (*.qm) in usr/share/Cppcheck/lang/, not /usr/bin.
|
||||
|
@ -30,7 +32,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
|||
|
||||
PRGNAM=cppcheck
|
||||
VERSION=${VERSION:-2.6}
|
||||
BUILD=${BUILD:-2}
|
||||
BUILD=${BUILD:-3}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
|
@ -104,6 +106,11 @@ cd build
|
|||
make install/strip DESTDIR=$PKG
|
||||
cd ..
|
||||
|
||||
# 20220406 bkw: the "64x64" icon is really 65x65, overwrite with correct size.
|
||||
convert -background none -geometry 64x64! -gravity center \
|
||||
$PKG/usr/share/icons/hicolor/scalable/apps/cppcheck-gui.svg \
|
||||
$PKG/usr/share/icons/hicolor/64x64/apps/cppcheck-gui.png
|
||||
|
||||
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
|
|
Loading…
Reference in a new issue