[Pkg-privacy-commits] [irssi-plugin-otr] 50/267: Make separate tarballs for irssi-otr and xchat-otr.
Ximin Luo
infinity0 at moszumanska.debian.org
Sat Aug 22 12:41:27 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch debian
in repository irssi-plugin-otr.
commit 6c0f6ef3d4ea9f520b86487aeb5011f63a3508c9
Author: Uli Meis <a.sporto+bee at gmail.com>
Date: Tue Feb 3 13:49:41 2009 +0100
Make separate tarballs for irssi-otr and xchat-otr.
---
CMakeLists.txt | 4 ++++
ChangeLog | 1 +
mksrcpackage.sh | 13 ++++++++++++-
3 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9207c26..39a1210 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -116,6 +116,8 @@ MARK_AS_ADVANCED(IRSSI_INCLUDE_DIR)
IF(NOT IRSSI_INCLUDE_DIR)
MESSAGE(STATUS "*** no irssi found ***")
+ELSEIF(BUILDFOR AND NOT BUILDFOR STREQUAL "irssi")
+ MESSAGE(STATUS "*** not building for irssi ***")
ELSE(NOT IRSSI_INCLUDE_DIR)
MESSAGE(STATUS "*** building for irssi ***")
SET(HAVE_IRSSI 1)
@@ -159,6 +161,8 @@ MARK_AS_ADVANCED(XCHAT_INCLUDE_DIR)
IF(NOT XCHAT_INCLUDE_DIR)
MESSAGE(STATUS "*** no xchat found ***")
+ELSEIF(BUILDFOR AND NOT BUILDFOR STREQUAL "xchat")
+ MESSAGE(STATUS "*** not building for xchat ***")
ELSE(NOT XCHAT_INCLUDE_DIR)
MESSAGE(STATUS "*** building for xchat ***")
SET(HAVE_XCHAT 1)
diff --git a/ChangeLog b/ChangeLog
index 5e62f75..46b0eb8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,5 @@
Version 0.3
+ * create queries for OTR messages if otr_createqueries is set
* finish conversations on unload unless otr_finishonunload is off
* added settings otr_policy, otr_policy_known and otr_ignore
* fixed two segfault sources
diff --git a/mksrcpackage.sh b/mksrcpackage.sh
index d59991b..c01738c 100755
--- a/mksrcpackage.sh
+++ b/mksrcpackage.sh
@@ -8,8 +8,19 @@ HDIR=irssi-otr-$VER
mkdir "$HDIR" &&\
(cd "$SDIR" && git archive --format=tar --prefix=irssi-otr-$VER/ HEAD )>$PKG &&\
(cd "$HDIR" && ln -s ../irssi-headers &&\
- echo "SET(IRSSIOTR_VERSION $VER)" >tarballdefs.cmake) &&\
+ echo -e "SET(IRSSIOTR_VERSION $VER)\nSET(BUILDFOR irssi)" >tarballdefs.cmake) &&\
tar rhf $PKG "$HDIR" &&\
rm $HDIR/{irssi-headers,tarballdefs.cmake} &&\
rmdir $HDIR &&\
gzip $PKG
+
+
+PKG=xchat-otr-$VER.tar
+HDIR=xchat-otr-$VER
+mkdir "$HDIR" &&\
+(cd "$SDIR" && git archive --format=tar --prefix=xchat-otr-$VER/ HEAD )>$PKG &&\
+(cd "$HDIR" && echo -e "SET(IRSSIOTR_VERSION $VER)\nSET(BUILDFOR xchat)" >tarballdefs.cmake) &&\
+tar rhf $PKG "$HDIR" &&\
+rm $HDIR/tarballdefs.cmake &&\
+rmdir $HDIR &&\
+gzip $PKG
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/irssi-plugin-otr.git
More information about the Pkg-privacy-commits
mailing list