Wed May 17 12:15:53 2023 UTC ()
databases/anymeal: import anymeal-1.18

AnyMeal is a free and open source recipe management software
developed using SQLite3 and Qt5.  It can manage a cookbook with
more than 250,000 MealMaster recipes, thereby allowing to import,
export, search, display, edit, and print them.


(wiz)
diff -r0 -r1.1 pkgsrc/databases/anymeal/DESCR
diff -r0 -r1.1 pkgsrc/databases/anymeal/Makefile
diff -r0 -r1.1 pkgsrc/databases/anymeal/PLIST
diff -r0 -r1.1 pkgsrc/databases/anymeal/distinfo
diff -r0 -r1.1 pkgsrc/databases/anymeal/patches/patch-Makefile.in
diff -r0 -r1.1 pkgsrc/databases/anymeal/patches/patch-configure

File Added: pkgsrc/databases/anymeal/DESCR
AnyMeal is a free and open source recipe management software
developed using SQLite3 and Qt5.  It can manage a cookbook with
more than 250,000 MealMaster recipes, thereby allowing to import,
export, search, display, edit, and print them.

File Added: pkgsrc/databases/anymeal/Makefile
# $NetBSD: Makefile,v 1.1 2023/05/17 12:15:53 wiz Exp $

DISTNAME=	anymeal-1.18
CATEGORIES=	databases
MASTER_SITES=	${MASTER_SITE_GITHUB:=wedesoft/}
GITHUB_RELEASE=	v${PKGVERSION_NOREV}
EXTRACT_SUFX=	.tar.xz

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://wedesoft.github.io/anymeal
COMMENT=	Free and open source recipe management software
LICENSE=	gnu-gpl-v3

GNU_CONFIGURE=	yes
USE_LIBTOOL=	yes
USE_LANGUAGES=	c c++
USE_TOOLS+=	gmake
CONFIGURE_ENV+=	GTEST=${PREFIX}/include

PREPEND_PATH+=	${QTDIR}/bin

# work around broken qt link test
CONFIGURE_ARGS+=	ax_cv_qt_test_result=yes

.include "../../converters/recode/buildlink3.mk"
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../devel/googletest/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../x11/qt5-qtserialport/buildlink3.mk"
.include "../../x11/qt5-qtsvg/buildlink3.mk"
.include "../../x11/qt5-qttools/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/databases/anymeal/PLIST
@comment $NetBSD: PLIST,v 1.1 2023/05/17 12:15:53 wiz Exp $
bin/anymeal
man/man1/anymeal.1
share/applications/de.wedesoft.anymeal.desktop
share/doc/anymeal/README.md
share/icons/hicolor/64x64/apps/anymeal.png
share/locale/de/LC_MESSAGES/anymeal_qt.qm
share/locale/fr/LC_MESSAGES/anymeal_qt.qm
share/locale/it/LC_MESSAGES/anymeal_qt.qm
share/locale/nl/LC_MESSAGES/anymeal_qt.qm
share/metainfo/de.wedesoft.anymeal.appdata.xml

File Added: pkgsrc/databases/anymeal/distinfo
$NetBSD: distinfo,v 1.1 2023/05/17 12:15:53 wiz Exp $

BLAKE2s (anymeal-1.18.tar.xz) = e47bc7a77475c5681928138324fa9465b670d6adaf5c4aefd7464f890c4c67d3
SHA512 (anymeal-1.18.tar.xz) = 3889ff1919f40ad040e6b882a19c4a732a452705358855b1ea0105f89d26a1a580991c848f57c5bccba67556e9b5b0b0e56c5bb46ac6ea41083ec86297df3804
Size (anymeal-1.18.tar.xz) = 863052 bytes
SHA1 (patch-Makefile.in) = 70b590e1849e97790eda3166ba27f3c7817b2920
SHA1 (patch-configure) = 443084b369a7eeef7ed96488c731e39a5b6c97db

File Added: pkgsrc/databases/anymeal/patches/patch-Makefile.in
$NetBSD: patch-Makefile.in,v 1.1 2023/05/17 12:15:53 wiz Exp $

Disable tests, need gtest-all.cc from googletest which pkgsrc doesn't install.

--- Makefile.in.orig	2022-12-07 18:32:53.000000000 +0000
+++ Makefile.in
@@ -382,7 +382,7 @@ top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
 ACLOCAL_AMFLAGS = -I m4
-SUBDIRS = anymeal tests
+SUBDIRS = anymeal # tests
 doc_DATA = README.md
 EXTRA_DIST = README.md LICENSE
 all: config.h

File Added: pkgsrc/databases/anymeal/patches/patch-configure
$NetBSD: patch-configure,v 1.1 2023/05/17 12:15:53 wiz Exp $

Disable googletest detection.

--- configure.orig	2022-12-07 18:32:53.000000000 +0000
+++ configure
@@ -16131,11 +16131,6 @@ fi
 if test "x$GTEST" = "x"; then
   GTEST="/usr/src/googletest/googletest"
 fi
-if test -e "$GTEST/src/gtest-all.cc"; then :
-
-else
-  as_fn_error $? "Could not find $GTEST/src/gtest-all.cc" "$LINENO" 5
-fi
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recode-library" >&5
 $as_echo_n "checking for recode-library... " >&6; }