Skip to content

Commit

Permalink
The libalkimia project was renamed to alkimia.
Browse files Browse the repository at this point in the history
Since the only user of (lib)alkimia is kmymoney, and KDE4 libalkimia
does not conflict with KF5 alkimia, just create separate port.

libalkmia could be zapped after kmymoney update.
  • Loading branch information
grayed committed Nov 6, 2018
1 parent f194050 commit 41b382a
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 0 deletions.
31 changes: 31 additions & 0 deletions productivity/alkimia/Makefile
@@ -0,0 +1,31 @@
# $OpenBSD: Makefile,v 1.7 2017/07/27 10:05:20 sthen Exp $
COMMENT = common classes for finance KDE 4 apps
CATEGORIES = productivity x11
HOMEPAGE = http://kmymoney2.sourceforge.net
MAINTAINER = KDE porting team <openbsd-kde@googlegroups.com>
V = 7.0.1
DISTNAME = alkimia-$V

SHARED_LIBS = alkimia5 0.0 # 7.0

# LGPLv2.1+
PERMIT_PACKAGE_CDROM = Yes

WANTLIB = Qt5Core Qt5DBus gmp m
WANTLIB += ${COMPILER_LIBCXX}

MASTER_SITES = ${MASTER_SITE_KDE:=/stable/alkimia/$V/src/}

MODULES = devel/kf5

LIB_DEPENDS = devel/gmp

CONFIGURE_ARGS += -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen:Bool=Yes \
-DCMAKE_DISABLE_FIND_PACKAGE_MPIR:Bool=Yes
CXXFLAGS += -I${LOCALBASE}/include
LDFLAGS += -L${LOCALBASE}/lib

do-test:
cd ${WRKBUILD} && ./libalkimia/alkcompanytest

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions productivity/alkimia/distinfo
@@ -0,0 +1,2 @@
SHA256 (alkimia-7.0.1.tar.xz) = QsSQJbP4SJ3Lxd9VEB75W8kg4WC51ez1c6iAYog5Mbs=
SIZE (alkimia-7.0.1.tar.xz) = 38400
3 changes: 3 additions & 0 deletions productivity/alkimia/pkg/DESCR
@@ -0,0 +1,3 @@
libalkimia is a library with common classes and functionality used
by finance applications for the KDE SC. Currently it supports a
common class to represent monetary values with arbitrary precision.
17 changes: 17 additions & 0 deletions productivity/alkimia/pkg/PLIST
@@ -0,0 +1,17 @@
@comment $OpenBSD: PLIST,v 1.2 2017/01/12 16:18:55 zhuk Exp $
include/alkimia/
include/alkimia/Qt5/
include/alkimia/Qt5/alkimia/
include/alkimia/Qt5/alkimia/alk_export.h
include/alkimia/Qt5/alkimia/alkcompany.h
include/alkimia/Qt5/alkimia/alkquoteitem.h
include/alkimia/Qt5/alkimia/alkvalue.h
lib/cmake/
lib/cmake/LibAlkimia5-7.0/
lib/cmake/LibAlkimia5-7.0/FindGMP.cmake
lib/cmake/LibAlkimia5-7.0/LibAlkimia5Config.cmake
lib/cmake/LibAlkimia5-7.0/LibAlkimia5ConfigVersion.cmake
lib/cmake/LibAlkimia5-7.0/LibAlkimia5Targets${MODCMAKE_BUILD_SUFFIX}
lib/cmake/LibAlkimia5-7.0/LibAlkimia5Targets.cmake
@lib lib/libalkimia5.so.${LIBalkimia5_VERSION}
lib/pkgconfig/libalkimia5.pc

0 comments on commit 41b382a

Please sign in to comment.