diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2018-03-22 16:26:45 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2018-03-22 16:26:45 +0800 |
commit | 2813140a3eef388bfc540f0143e0f78771e73915 (patch) | |
tree | d92b2d482dacc57802309bf7cf52636815624c68 /deskutils | |
parent | fc39bfde3148b666fc827f54a3cf99b36bbe18b5 (diff) | |
download | freebsd-ports-graphics-2813140a3eef388bfc540f0143e0f78771e73915.tar.gz freebsd-ports-graphics-2813140a3eef388bfc540f0143e0f78771e73915.tar.zst freebsd-ports-graphics-2813140a3eef388bfc540f0143e0f78771e73915.zip |
Update to a newer snapshot from it's source. Move to the official github
mirror, since this allows to use the USE_GITHUB helper. Unfortunately this
snapshot is not tagged so we have to use GH_TAGNAME.
One big advantage is that this new version does not depend on the deprecated
x11-toolkits/libxfce4gui component anymore.
Since it's a in development plugin it does not provide a configure script but
depends on devel/xfce4-dev-tools to generate the required parts.
Move the two files from pkg-plist to PLIST_FILES.
PR: 226821
Submitted by: madpilot
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/xfce4-generic-slider/Makefile | 46 | ||||
-rw-r--r-- | deskutils/xfce4-generic-slider/distinfo | 5 | ||||
-rw-r--r-- | deskutils/xfce4-generic-slider/pkg-plist | 2 |
3 files changed, 21 insertions, 32 deletions
diff --git a/deskutils/xfce4-generic-slider/Makefile b/deskutils/xfce4-generic-slider/Makefile index a3821760e3f..5264542909c 100644 --- a/deskutils/xfce4-generic-slider/Makefile +++ b/deskutils/xfce4-generic-slider/Makefile @@ -2,43 +2,33 @@ # $FreeBSD$ PORTNAME= xfce4-generic-slider -PORTVERSION= 0.0.20100827 -PORTREVISION= 7 +PORTVERSION= 0.0.20171223 CATEGORIES= deskutils -MASTER_SITES= LOCAL/ehaupt/ MAINTAINER= ehaupt@FreeBSD.org COMMENT= Slider plugin to adjust and/or monitor any numeric variable LICENSE= GPLv3 +BUILD_DEPENDS= xdt-autogen:devel/xfce4-dev-tools LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 -USES= gettext-runtime pkgconfig xfce -USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 pango -USE_XFCE= libgui panel - -CFLAGS+= `pkg-config --cflags libxfce4panel-1.0 libxfcegui4-1.0` -LDFLAGS+= `pkg-config --libs libxfce4panel-1.0 libxfcegui4-1.0` - -post-patch: - @${REINPLACE_CMD} -e \ - "s|@PLUGINDIR@|${PREFIX}/lib/xfce4/xfce4/panel-plugins|" \ - ${WRKSRC}/generic-slider.desktop - -do-build: - ${CC} ${CFLAGS} -c ${WRKSRC}/generic-slider.c \ - -o ${WRKSRC}/generic-slider.o - ${CC} ${LDFLAGS} ${WRKSRC}/generic-slider.o \ - -o ${WRKSRC}/xfce4-generic-slider-plugin - -do-install: - @${MKDIR} ${STAGEDIR}${PREFIX}/share/xfce4/panel-plugins - @${MKDIR} ${STAGEDIR}${PREFIX}/lib/xfce4/xfce4/panel-plugins - ${INSTALL_DATA} ${WRKSRC}/generic-slider.desktop \ - ${STAGEDIR}${PREFIX}/share/xfce4/panel-plugins - ${INSTALL_PROGRAM} ${WRKSRC}/xfce4-generic-slider-plugin \ - ${STAGEDIR}${PREFIX}/lib/xfce4/xfce4/panel-plugins +USES= gettext gmake libtool pkgconfig xfce +USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 intltool pango +USE_XFCE= libmenu panel + +USE_GITHUB= yes +GH_ACCOUNT= xfce-mirror +GH_TAGNAME= d1fc31f + +PLIST_FILES= lib/xfce4/panel/plugins/libgeneric-slider.so \ + share/xfce4/panel/plugins/generic-slider.desktop + +pre-configure: + (cd ${WRKSRC} && ./autogen.sh) + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/xfce4/panel/plugins/libgeneric-slider.so .include <bsd.port.mk> diff --git a/deskutils/xfce4-generic-slider/distinfo b/deskutils/xfce4-generic-slider/distinfo index 897f4bbb8a9..7c7ac2227f3 100644 --- a/deskutils/xfce4-generic-slider/distinfo +++ b/deskutils/xfce4-generic-slider/distinfo @@ -1,2 +1,3 @@ -SHA256 (xfce4-generic-slider-0.0.20100827.tar.gz) = 79f3c8e4853bace9ac8abd454311ae02b06d02466b3a8c29135514d06b38fdb8 -SIZE (xfce4-generic-slider-0.0.20100827.tar.gz) = 19542 +TIMESTAMP = 1521623607 +SHA256 (xfce-mirror-xfce4-generic-slider-0.0.20171223-d1fc31f_GH0.tar.gz) = f616dfb951c5ee396e29c2dcff3eac3620bc5e14b0c20b0e1de60e0296ba3d7e +SIZE (xfce-mirror-xfce4-generic-slider-0.0.20171223-d1fc31f_GH0.tar.gz) = 21843 diff --git a/deskutils/xfce4-generic-slider/pkg-plist b/deskutils/xfce4-generic-slider/pkg-plist deleted file mode 100644 index 51d4e952dfc..00000000000 --- a/deskutils/xfce4-generic-slider/pkg-plist +++ /dev/null @@ -1,2 +0,0 @@ -lib/xfce4/xfce4/panel-plugins/xfce4-generic-slider-plugin -share/xfce4/panel-plugins/generic-slider.desktop |