pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
openrw-git: Add CMAKE args to fix build
Module Name: pkgsrc-wip
Committed By: Dan Cîrnaț <dan%alt.md@localhost>
Pushed By: cirnatdan
Date: Fri Aug 16 12:06:01 2024 +0200
Changeset: 6d3d52c89a6cf556a38894ad299c0b4a9a13f1e1
Modified Files:
openrw-git/Makefile
openrw-git/PLIST
Removed Files:
openrw-git/distinfo
Log Message:
openrw-git: Add CMAKE args to fix build
Also fixes PLIST and pkglint
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6d3d52c89a6cf556a38894ad299c0b4a9a13f1e1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
openrw-git/Makefile | 7 ++++++-
openrw-git/PLIST | 1 +
openrw-git/distinfo | 2 --
3 files changed, 7 insertions(+), 3 deletions(-)
diffs:
diff --git a/openrw-git/Makefile b/openrw-git/Makefile
index 6d59a96c8d..b0c04611bd 100644
--- a/openrw-git/Makefile
+++ b/openrw-git/Makefile
@@ -7,7 +7,7 @@ PKGNAME= openrw-0
CATEGORIES= games
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= http://openrw.org
+HOMEPAGE= http://openrw.org/
COMMENT= Open Source recreation of Grand Theft Auto III
LICENSE= gnu-gpl-v3
@@ -17,6 +17,11 @@ USE_CMAKE= yes
USE_LANGUAGES= c c++
+
+CMAKE_ARGS+= -D_FFMPEG_AVCODEC_INCLUDE_DIRS=${PREFIX}/include/ffmpeg6
+CMAKE_ARGS+= -D_FFMPEG_AVCODEC_LIBRARY_DIRS=${PREFIX}/lib/ffmpeg6
+CMAKE_ARGS+= -D_FFMPEG_AVFORMAT_LIBRARY_DIRS=${PREFIX}/lib/ffmpeg6
+
.include "../../wip/mk/git-package.mk"
.include "../../audio/libmad/buildlink3.mk"
.include "../../audio/libsndfile/buildlink3.mk"
diff --git a/openrw-git/PLIST b/openrw-git/PLIST
index f7cf6513cb..05ebd0b9d1 100644
--- a/openrw-git/PLIST
+++ b/openrw-git/PLIST
@@ -1,2 +1,3 @@
@comment $NetBSD$
bin/rwgame
+share/doc/OpenRW/COPYING
diff --git a/openrw-git/distinfo b/openrw-git/distinfo
deleted file mode 100644
index afc76512f4..0000000000
--- a/openrw-git/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-$NetBSD$
-
Home |
Main Index |
Thread Index |
Old Index