# # CDDL HEADER START # # The contents of this file are subject to the terms of the # Common Development and Distribution License (the "License"). # You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. # See the License for the specific language governing permissions # and limitations under the License. # # When distributing Covered Code, include this CDDL HEADER in each # file and include the License file at usr/src/OPENSOLARIS.LICENSE. # If applicable, add the following below this CDDL HEADER, with the # fields enclosed by brackets "[]" replaced with your own identifying # information: Portions Copyright [yyyy] [name of copyright owner] # # CDDL HEADER END # # Copyright (c) 2016 by Jim Klimov. All rights reserved. # Copyright (c) 2019 Tim Mooney <Timothy.V.Mooney@gmail.com> # include ../../../make-rules/shared-macros.mk COMPONENT_NAME= testdisk COMPONENT_VERSION= 7.2 COMPONENT_PROJECT_URL= https://www.cgsecurity.org/wiki/TestDisk COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2 COMPONENT_ARCHIVE_HASH= sha256:f8343be20cb4001c5d91a2e3bcd918398f00ae6d8310894a5a9f2feb813c283f COMPONENT_ARCHIVE_URL= https://www.cgsecurity.org/$(COMPONENT_ARCHIVE) include $(WS_MAKE_RULES)/common.mk # Make gcc-14 happy CFLAGS += -Wno-error=incompatible-pointer-types PATH= $(PATH.gnu):$(QT5_BINDIR) PKG_CONFIG_PATH= $(PKG_CONFIG_PATH.$(BITS)):$(QT5_PKG_CONFIG_PATH) LD_OPTIONS += -L$(QT5_LIBDIR) -R$(QT5_LIBDIR) CONFIGURE_OPTIONS += --enable-qt # Auto-generated dependencies REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG) REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG) REQUIRED_PACKAGES += $(JPEG_IMPLEM_PKG) REQUIRED_PACKAGES += library/ncurses REQUIRED_PACKAGES += library/qt5 REQUIRED_PACKAGES += library/zlib REQUIRED_PACKAGES += system/file-system/ntfsprogs REQUIRED_PACKAGES += system/library REQUIRED_PACKAGES += sysutils/e2fsprogs