- Update to 2.4.7
- Make aalib/jpeg dependency optional
This commit is contained in:
parent
003debeb01
commit
b7daa8ecd7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=240971
@ -6,8 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= gphoto2
|
||||
PORTVERSION= 2.4.5
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 2.4.7
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= SF/gphoto/gphoto/${PORTVERSION}
|
||||
|
||||
@ -15,8 +14,6 @@ MAINTAINER= pav@FreeBSD.org
|
||||
COMMENT= A command-line frontend to libgphoto2
|
||||
|
||||
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt \
|
||||
aa.1:${PORTSDIR}/graphics/aalib \
|
||||
jpeg.10:${PORTSDIR}/graphics/jpeg \
|
||||
gphoto2.2:${PORTSDIR}/graphics/libgphoto2
|
||||
|
||||
USE_GNOME= gnometarget
|
||||
@ -32,6 +29,17 @@ MAN1= gphoto2.1
|
||||
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
||||
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
||||
|
||||
OPTIONS= AALIB "Enable command line capture preview (aalib)" on
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_AALIB)
|
||||
LIB_DEPENDS+= aa.1:${PORTSDIR}/graphics/aalib \
|
||||
jpeg.10:${PORTSDIR}/graphics/jpeg
|
||||
.else
|
||||
CONFIGURE_ARGS+=--without-aalib --without-jpeg
|
||||
.endif
|
||||
|
||||
.if defined(WITHOUT_NLS)
|
||||
CONFIGURE_ARGS+= --disable-nls
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
@ -51,4 +59,4 @@ post-install:
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (gphoto2-2.4.5.tar.bz2) = cccbe437804c863b87807444ec58a8ac
|
||||
SHA256 (gphoto2-2.4.5.tar.bz2) = c9800e4683f68b36c264cdffd25f57c68c77073e7585784c404ec663d37f4b2e
|
||||
SIZE (gphoto2-2.4.5.tar.bz2) = 598659
|
||||
MD5 (gphoto2-2.4.7.tar.bz2) = a0bd7629040735f16e510b63edf386dd
|
||||
SHA256 (gphoto2-2.4.7.tar.bz2) = 16e21ab5387220ad885e1d27f936f3add4081d15a1039577002682be521b2c03
|
||||
SIZE (gphoto2-2.4.7.tar.bz2) = 641553
|
||||
|
@ -11,9 +11,9 @@ bin/gphoto2
|
||||
%%NLS%%share/locale/fi/LC_MESSAGES/gphoto2.mo
|
||||
%%NLS%%share/locale/fr/LC_MESSAGES/gphoto2.mo
|
||||
%%NLS%%share/locale/hu/LC_MESSAGES/gphoto2.mo
|
||||
%%NLS%%share/locale/id/LC_MESSAGES/gphoto2.mo
|
||||
%%NLS%%share/locale/it/LC_MESSAGES/gphoto2.mo
|
||||
%%NLS%%share/locale/ja/LC_MESSAGES/gphoto2.mo
|
||||
%%NLS%%share/locale/nb/LC_MESSAGES/gphoto2.mo
|
||||
%%NLS%%share/locale/nl/LC_MESSAGES/gphoto2.mo
|
||||
%%NLS%%share/locale/pa/LC_MESSAGES/gphoto2.mo
|
||||
%%NLS%%share/locale/pl/LC_MESSAGES/gphoto2.mo
|
||||
@ -24,7 +24,6 @@ bin/gphoto2
|
||||
%%NLS%%@dirrmtry share/locale/rw/LC_MESSAGES
|
||||
%%NLS%%@dirrmtry share/locale/rw
|
||||
%%NLS%%share/locale/sk/LC_MESSAGES/gphoto2.mo
|
||||
%%NLS%%share/locale/sl/LC_MESSAGES/gphoto2.mo
|
||||
%%NLS%%share/locale/sr/LC_MESSAGES/gphoto2.mo
|
||||
%%NLS%%share/locale/sv/LC_MESSAGES/gphoto2.mo
|
||||
%%NLS%%share/locale/uk/LC_MESSAGES/gphoto2.mo
|
||||
|
Loading…
Reference in New Issue
Block a user