Skip to content

Trying to package qt5ct #16

@ghost

Description

Hi folks,
After the great help from @krytarowski packaging molsketch, I've decided to try one on my own.
I'm trying to package qt5ct (https://sourceforge.net/projects/qt5ct), but I can't figure what I'm doing wrong!?
Here's my Makefile so far,


# $NetBSD$

DISTNAME=	qt5ct-0.41
CATEGORIES=	x11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=qt5ct/}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	[email protected]
HOMEPAGE=	https://sourceforge.net/projects/qt5ct/files/qt5ct-0.41.tar.bz2
COMMENT=	Tool for customizing Qt5-apps outside KDE
LICENSE=	2-clause-bsd

TOOL_DEPENDS+=	qt5-qttools-[0-9]*:../../x11/qt5-qttools

USE_CMAKE=	yes
USE_TOOLS=	pkg-config

USE_LANGUAGES=	c c++

.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../x11/qt5-qtsvg/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

and here's the error I'm getting,

=> Tool dependency qt5-qttools-[0-9]*: found qt5-qttools-5.13.1nb1
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.62.2
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.6.0
=> Build dependency x11-links>=1.30: found x11-links-1.30
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency qt5-qtbase>=5.13.1: found qt5-qtbase-5.13.1
=> Full dependency qt5-qtsvg>=5.13.1: found qt5-qtsvg-5.13.1
===> Overriding tools for qt5ct-0.41
===> Extracting for qt5ct-0.41
bzcat: /usr/pkgsrc/distfiles//qt5ct-0.41.tar.bz2 is not a bzip2 file.
tar: End of archive volume 1 reached
tar: Sorry, unable to determine archive format.
*** Error code 1

Stop.

Why?!
EXTRACT_SUFX= .tar.bz2 and the file is qt5ct-0.41.tar.bz2. Any thoughts or hints?
TIA

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions